/*
Theme Name: Theatergroep DERF
Theme URI: https://derftheater.nl
Author: Lorenzo de Kamps
Author URI: https://derftheater.nl
Description: A modern block theme for Theatergroep DERF using static content blocks.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   1. CSS Variables & Settings
   ========================================================================== */
:root {
    /* Colors */
    --color-bg-base: #111111;
    --color-bg-dark: #0a0a0a;
    --color-text-main: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-accent-gold: #d4af37;
    --color-border-subtle: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 3rem;
    /* Increased closer to reference */
    --text-5xl: 3rem;
    --text-huge: clamp(2.5rem, 10vw, 8rem);
    /* Responsive huge text: starts at 2.5rem, scales with viewport, caps at 8rem */

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --duration-normal: 0.3s;
    --duration-slow: 0.7s;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Reset WordPress default block spacing for our custom layout */
:where(.wp-block-group.is-layout-flow)> :where(section) {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

html {
    font-family: var(--font-sans);
    line-height: 1.5;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    scroll-behavior: smooth;
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-normal) ease;
}

a:hover {
    color: var(--color-accent-gold);
}

ul,
ol {
    list-style: none;
}

p {
    margin-bottom: var(--space-sm);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1536px;
    /* Matched to Tailwind 2xl breakpoint */
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Typography Utilities */
.font-serif {
    font-family: var(--font-serif);
}

.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.tracking-widest {
    letter-spacing: 0.2em;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.font-normal {
    font-weight: 400;
}

.font-bold {
    font-weight: 700;
}

/* Text Size Utilities */
.text-xs {
    font-size: var(--text-xs);
}

.text-sm {
    font-size: var(--text-sm);
}

.text-base {
    font-size: var(--text-base);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-xl {
    font-size: var(--text-xl);
}

.text-2xl {
    font-size: var(--text-2xl);
}

.text-3xl {
    font-size: var(--text-3xl);
}

.text-4xl {
    font-size: var(--text-4xl);
}

.text-5xl {
    font-size: var(--text-5xl);
}

.text-huge {
    font-size: var(--text-huge);
}

.text-gold {
    color: var(--color-accent-gold);
}

.text-muted {
    color: var(--color-text-muted);
}

.date-extra-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent-gold);
    color: var(--color-bg-base);
    /* Black text on gold */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    margin-top: 8px;
    line-height: 1;
    border-radius: 0;
    /* Square/Sharp look like theme */
}

.theme-light {
    background-color: #ffffff;
    color: #000000;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   3. Components
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--duration-normal) ease;
}

.btn-primary {
    background-color: rgba(255, 255, 255, 0.05);
    /* Glassy look */
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    color: var(--color-text-main);
}

.btn-primary:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-bg-base);
    border-color: var(--color-accent-gold);
}

/* Ticket Buy Button (Black with Gold Hover) */
.btn-ticket-buy {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.btn-ticket-buy:hover {
    background-color: var(--color-accent-gold) !important;
    color: #000 !important;
    border-color: var(--color-accent-gold) !important;
}

.btn-outline {
    background: transparent;
    border-color: currentColor;
}

/* ==========================================================================
   4. Layout Sections
   ========================================================================== */

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: background-color var(--duration-normal) ease, padding var(--duration-normal) ease;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    /* Fallback */
}

.site-header.scrolled {
    background-color: var(--color-bg-dark);
    padding: var(--space-sm) 0;
    backdrop-filter: blur(10px);
}

/* Admin Bar Adjustments */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 0;
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    line-height: 2.5rem;
    /* 36px */
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1001;
    /* Above mobile menu */
    position: relative;
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 3rem;
        /* Increased gap */
    }
}

.nav-link {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.8);
    /* Changed from 0.6 */
    position: relative;
}

.nav-link:hover {
    color: var(--color-accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text-main);
    transition: width var(--duration-normal) ease;
}

.nav-link:hover::after {
    width: 100%;
    background-color: var(--color-accent-gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: block;
    z-index: 1001;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: transform var(--duration-normal) ease, opacity var(--duration-normal) ease;
}

.line-1 {
    top: 0;
}

.line-2 {
    top: 50%;
    transform: translateY(-50%);
}

.line-3 {
    bottom: 0;
}

body.menu-open .line-1 {
    transform: rotate(45deg);
    top: 9px;
}

body.menu-open .line-2 {
    opacity: 0;
}

body.menu-open .line-3 {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--color-bg-dark);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) ease;
}

body.menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--color-text-main);
}

.mobile-nav-link:hover {
    color: var(--color-accent-gold);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-base) 0%, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--space-md);
    max-width: 900px;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-style: italic;
    color: var(--color-accent-gold);
    margin-bottom: var(--space-sm);
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: var(--text-huge);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.025em;
    /* Closer to -3.2px */
    margin-bottom: var(--space-xl);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Intro Section (Mosaic Layout) */
.intro-section {
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.intro-mosaic {
    /* Ensure enough space for the layout */
    padding-bottom: 0;
}


/* Mobile Layout (Default) */
.mosaic-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.mosaic-content {
    order: 1;
    /* Text first on mobile */
    text-align: center;
    padding: 0 var(--space-md);
}

.intro-title {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    font-style: italic;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.intro-text-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.intro-text {
    font-size: var(--text-lg);
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.gold-separator {
    width: 60px;
    height: 4px;
    background-color: var(--color-accent-gold);
    margin: 0 auto;
}

.mosaic-images {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: var(--space-sm);
    padding: 0 var(--space-md);
    margin-bottom: var(--space-3xl);
}

.mosaic-img {
    background-size: cover;
    background-position: center;
    border-radius: 2px;
}

.mosaic-img.img-1 {
    grid-column: 1 / 3;
    /* Full width top */
    grid-row: 1;
}

.mosaic-img.img-2 {
    grid-column: 2;
    grid-row: 2;
}

.mosaic-img.img-3 {
    grid-column: 1;
    grid-row: 2;
}

/* Desktop Layout (Mosaic) */
@media (min-width: 1024px) {
    .intro-mosaic {
        padding: var(--space-3xl) 0;
        padding-bottom: 10rem;
        /* Extra space for bottom image */
    }

    .mosaic-container {
        display: block;
        /* Switch to relative container */
        position: relative;
        min-height: 700px;
        /* Adjust based on content */
    }

    /* Text Block - Top Right */
    .mosaic-content {
        position: absolute;
        top: 0;
        right: 0;
        width: 45%;
        text-align: left;
        padding: 0;
        padding-left: var(--space-xl);
        z-index: 10;
    }

    .intro-title {
        font-size: 4rem;
        /* Larger on desktop */
    }

    .intro-text-wrapper {
        margin: 0;
        /* Align left */
        max-width: 100%;
    }

    .gold-separator {
        margin: 0;
        /* Align left */
    }

    /* Image Container */
    .mosaic-images {
        display: block;
        /* Custom absolute positioning */
        position: static;
        /* Children are absolute to container */
        margin: 0;
        padding: 0;
        height: 100%;
        width: 100%;
    }

    /* 
       Image 1: Top Left (Large vertical)
       Roughly based on reference: Tall, left side.
    */
    .mosaic-img.img-1 {
        position: absolute;
        top: 0;
        left: 0;
        width: 45%;
        height: 550px;
        z-index: 1;
    }

    /* 
       Image 2: Bottom Right (Under text)
       Positioned below the text content.
    */
    .mosaic-img.img-2 {
        position: absolute;
        bottom: -50px;
        /* Overhang section slightly or just align bottom */
        right: 0;
        width: 35%;
        height: 300px;
        z-index: 1;
    }

    /* 
       Image 3: Bottom Left/Center (The merging piece)
       Overlaps Image 1 and sits between columns
    */
    .mosaic-img.img-3 {
        position: absolute;
        bottom: -50px;
        left: 35%;
        /* Shifted in */
        width: 25%;
        /* Smaller */
        height: 350px;
        z-index: 2;
        /* On top of img-1 */
        border: 10px solid var(--color-text-main);
        /* White border to separate */
    }
}

/* ==========================================================================
   Single Page Mosaic Layout (Restored)
   ========================================================================== */

/* Container & Wrapper */
.single-intro-section {
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.mosaic-container-single {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Text Content (Mobile: First) */
.mosaic-content-single {
    order: 1;
    z-index: 10;
}

.intro-text-wrapper-single {
    max-width: 100%;
}

/* Credits Grid */
.info-block-single {
    margin-top: var(--space-xl);
}

.credits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.credit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.5rem;
}

.credit-item .info-label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.5);
}

/* Images (Mobile: Second / Stacked Grid) */
.mosaic-images-single {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.mosaic-img-single {
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    width: 100%;
    /* Default height for all images on mobile */
    height: 250px;
}

/* Specific heights variation for mobile interest */
.mosaic-img-single.img-1 {
    height: 300px;
}

.mosaic-img-single.img-2 {
    height: 250px;
}

.mosaic-img-single.img-3 {
    height: 250px;
}


/* Desktop Layout (Min-width: 1024px) */
@media (min-width: 1024px) {
    .single-intro-section {
        padding: var(--space-3xl) 0;
        /* More padding on desktop */
    }

    .mosaic-container-single {
        display: block;
        /* Relative wrapper */
        position: relative;
        min-height: 800px;
        /* Layout height */
    }

    /* Full Width Intro Override */
    .mosaic-content-single.full-width-intro {
        width: 100%;
        padding-right: 0;
    }

    .mosaic-container-single:has(.full-width-intro) {
        min-height: auto;
    }

    /* Content: Left Side, 45% Width */
    .mosaic-content-single {
        width: 45%;
        padding-right: var(--space-xl);
    }

    .credits-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 columns for credits */
        column-gap: var(--space-lg);
        row-gap: var(--space-sm);
    }

    .credit-item {
        margin-bottom: 0;
    }

    /* Images: Right Side, Absolute positioning mosaic */
    .mosaic-images-single {
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        display: block;
        /* Enable absolute children */
    }

    /* 
       Mosaic Pattern for Single Page 
       Img 1: Large Top Right
       Img 2: Smaller Bottom Right
       Img 3: Overlapping Bottom Left of the image container
    */

    /* Main Image */
    .mosaic-img-single.img-1 {
        position: absolute;
        top: 0;
        right: 0;
        width: 80%;
        height: 500px;
        z-index: 1;
    }

    /* Secondary Image */
    .mosaic-img-single.img-2 {
        position: absolute;
        top: 400px;
        /* Overlap slightly vertically */
        left: 0;
        width: 55%;
        height: 350px;
        z-index: 2;
        border: 10px solid #fff;
        /* Border to separate */
    }

    /* Tertiary Image */
    .mosaic-img-single.img-3 {
        position: absolute;
        bottom: 0;
        right: 0;
        /* Align right */
        width: 40%;
        height: 250px;
        z-index: 1;
    }
}

/* Shows Grid (Journal Layout) */
.shows-section {
    background-color: var(--color-bg-dark);
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--color-border-subtle);
    /* Reduced from 3xl per user request */
}

/* Shows List Layout */
.shows-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.shows-header-info {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.show-title-large {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    font-style: normal;
    /* Removed italic if that was part of the issue, user said "not in line", but primarily weight */
    font-weight: 400 !important;
    /* Force lighter */
    color: var(--color-text-main);
    margin-bottom: var(--space-xs);
}

.show-credits {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.show-location {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-gold);
}

.shows-list {
    display: flex;
    flex-direction: column;
}

.show-row {
    display: flex;
    flex-direction: column;
    /* padding: var(--space-md) 0; */
    border-bottom: 1px solid var(--color-border-subtle);
    gap: var(--space-sm);
}

.show-row:first-child {
    border-top: 1px solid var(--color-border-subtle);
}

@media (min-width: 768px) {
    .show-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        /* padding: var(--space-lg) 0; */
    }
}

.show-date-info {
    display: flex;
    flex-direction: column;
}

.show-day {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.show-date {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--color-text-main);
}

.show-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

@media (min-width: 768px) {
    .show-actions {
        margin-top: 0;
    }
}

.show-price {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--color-accent-gold);
    font-weight: 700;
}

.btn-ticket {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--color-border-subtle);
    color: var(--color-text-main);
    text-transform: uppercase;
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    transition: all var(--duration-normal) ease;
}

.btn-ticket:hover {
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
    border-color: var(--color-text-main);
}


/* What's On Title Section */
.whats-on-title-section {
    background-color: var(--color-bg-dark);
    padding: var(--space-xl) 0;
    margin-bottom: 0;
    /* Flush with grid */
}

.section-title {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    /* Larger title */
    color: var(--color-text-main);
    font-style: italic;
    font-weight: 400;
}

/* Shows Grid (Refined Layout) */
.shows-grid-section {
    background-color: #ffffff;
    /* White background as requested */
    color: var(--color-bg-base);
    padding: var(--space-2xl) 0;
}

.shows-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-lg);
    /* Increased margin/gap */
}

@media (min-width: 768px) {
    .shows-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .shows-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
        /* Keep consistent spacing */
    }
}

/* Card Styling */
.show-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    transition: transform var(--duration-normal) ease;
    height: 100%;
}

.show-card:hover .card-image img {
    transform: scale(1.05);
}

.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    /* Mobile: shorter height */
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
    .card-image {
        aspect-ratio: 1/1;
        /* Desktop: Square */
    }
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-content {
    /* padding: 0; No padding needed on transparent/white bg */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
}

.card-date {
    color: #e5a00d;
    /* Darker gold for white bg */
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    font-family: var(--font-sans);
}

.card-title {
    color: var(--color-bg-base);
    /* Dark text on white bg */
    font-size: var(--text-lg);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 4px;
    font-family: var(--font-sans);
}

.card-subtitle {
    color: rgba(0, 0, 0, 0.6);
    font-size: var(--text-sm);
    margin-top: auto;
}

.card-link {
    position: absolute;
    inset: 0;
    z-index: 10;
}

/* Featured Card (Volkstuin - Large Overlay Style) */
.show-card.featured {
    grid-column: span 1;
    margin-bottom: var(--space-md);
}

.show-card.featured .card-image {
    aspect-ratio: 3/4;
    /* Taller */
    margin-bottom: 0;
}

.show-card.featured .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    padding: var(--space-xl);
    padding-top: var(--space-4xl);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.show-card.featured .card-title {
    color: #ffffff;
    font-size: var(--text-4xl);
    /* Much Larger */
    margin-bottom: var(--space-xs);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.show-card.featured .card-date {
    color: var(--color-accent-gold);
    display: block;
    font-size: var(--text-lg);
}

.show-card.featured .card-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-base);
}

/* Grid Spanning Logic for Desktop */
/* Featured Card Split Layout - Mobile First */
.show-card.featured {
    grid-column: span 1;
    height: auto;
    margin-bottom: var(--space-md);
}

.card-split-container {
    display: flex;
    flex-direction: column;
    /* Stack on mobile */
    background-color: var(--color-bg-dark);
    /* Dark bg for contrast */
    border-radius: 2px;
    overflow: hidden;
}

.card-image-side {
    width: 100%;
    aspect-ratio: 3/2;
    /* Defined aspect ratio for mobile */
    position: relative;
    overflow: hidden;
}

.card-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.card-info-side {
    width: 100%;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

/* Hide the old overlay on split layout */
.show-card.featured .card-overlay {
    display: none;
}

/* Featured Typography */
.card-title-featured {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    /* Smaller on mobile */
    line-height: 1.1;
    color: var(--color-text-main);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    font-style: italic;
}

.gold-separator-small {
    width: 40px;
    height: 2px;
    background-color: var(--color-accent-gold);
    margin-bottom: var(--space-md);
}

.show-intro-text {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 100%;
}

.card-meta-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
}

.card-date-large {
    font-size: var(--text-lg);
    color: var(--color-accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-location {
    font-size: var(--text-base);
    color: var(--color-text-muted);
}

.btn-featured {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-sm);
}

/* Tablet Enhancements (and up) */
@media (min-width: 768px) {

    .show-card.featured,
    .show-card.wide {
        grid-column: span 2;
    }

    /* Move Responsive Split Layout here (was 1024px) */
    .show-card.featured {
        min-height: 400px;
        margin-bottom: 0;
    }

    .card-split-container {
        flex-direction: row;
        height: 100%;
    }

    .card-info-side {
        width: 50%;
        padding: var(--space-2xl);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .card-image-side {
        width: 50%;
        position: relative;
        display: flex;
    }

    .card-image-side img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
    }
}

/* Desktop Enhancements */
@media (min-width: 1024px) {
    .show-card.featured {
        grid-column: 1 / -1;
        /* Span full width */
    }

    .card-title-featured {
        font-size: var(--text-4xl);
    }

    .show-intro-text {
        max-width: 90%;
    }

    .card-date-large {
        font-size: var(--text-xl);
    }

    .show-card.wide {
        grid-column: span 2;
    }

    .show-card.wide .card-image {
        aspect-ratio: 2/1;
        /* Wide image for variety */
    }
}

/* Ticket Badge update */
.ticket-badge {
    position: absolute;
    top: var(--space-md);
    right: 0;
    background-color: var(--color-accent-gold);
    color: var(--color-bg-base);
    font-size: var(--text-sm);
    font-weight: 800;
    text-transform: uppercase;
    padding: 8px 20px;
    z-index: 5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Actors Slider */
.actors-section {
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
    padding: var(--space-3xl) 0;
    overflow: hidden;
    /* Hide scrollbar for slider */
}

.actors-header {
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-md);
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.actors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on mobile */
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .actors-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns on tablet/desktop */
        column-gap: var(--space-xl);
        row-gap: var(--space-2xl);
    }
}

.actor-card {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .actor-card {
        width: 100%;
        /* Fluid width in grid */
        flex-shrink: 1;
    }
}

.actor-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.actor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all var(--duration-normal) ease;
}

.actor-card:hover .actor-image img {
    filter: grayscale(0%);
}

.actor-name {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 400;
}

.actor-role {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.5);
}

/* Quote Section */
.quote-section {
    position: relative;
    padding: var(--space-3xl) 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/images/quote.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--color-text-main);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .quote-section {
        background-attachment: fixed;
        /* Parallax effect */
    }
}

.quote-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay for readability */
    z-index: 1;
}

.quote-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.quote-text {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    line-height: 1.4;
    font-style: italic;
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .quote-text {
        font-size: var(--text-4xl);
    }
}

.quote-author {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent-gold);
}

/* Footer */
.site-footer {
    background-color: #050505;
    color: var(--color-text-muted);
    padding: var(--space-2xl) 0;
    /* 80px */
    font-size: var(--text-sm);
    line-height: 1.625;
    /* Increased line-height */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h4 {
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
}

.footer-col p {
    margin-bottom: var(--space-md);
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a:hover {
    color: var(--color-text-main);
}

.footer-bottom {
    border-top: 1px solid var(--color-border-subtle);
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    justify-content: space-between;
    font-size: var(--text-xs);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
    }
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    /* 36px */
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: var(--space-md);
    color: var(--color-text-main);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

/* Forms (Newsletter) */
.newsletter-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-sm);
    color: white;
    margin-bottom: var(--space-md);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-accent-gold);
}

.newsletter-form button {
    width: 100%;
    background: white;
    color: black;
    border: none;
    padding: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--duration-normal) ease;
}

.newsletter-form button:hover {
    background: var(--color-accent-gold);
}

/* ==========================================================================
   5. Single Voorstelling Refactor Styles
   ========================================================================== */

/* Layout & Grid */
.hero-section-single {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.writer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .writer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.logistics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .logistics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Prevent grid blowout from swiper/flex children */
.logistics-info,
.logistics-dates {
    min-width: 0;
}

.exhibition-info-section {
    padding: var(--space-xl) 0;
    transition: background-color 0.3s;
}

@media (min-width: 768px) {
    .exhibition-info-section {
        padding: var(--space-3xl) 0;
    }
}

/* Info Text Content styles to match homepage */
.info-text-content p {
    font-size: var(--text-lg);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    color: rgba(0, 0, 0, 0.7);
    /* Match intro text color on light bg */
}

/* Block quotes or emphasis in content */
.info-text-content blockquote {
    border-left: 4px solid var(--color-accent-gold);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    font-style: italic;
    font-family: var(--font-serif);
    font-size: var(--text-xl);
}

/* Light Theme Overrides */
.theme-light {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.theme-light .section-title {
    color: #000000 !important;
}

/* Info Block - Dark Theme (User Request) */
.info-block {
    background: #000000;
    color: #ffffff;
    border: 1px solid var(--color-border-subtle);
    padding: 2rem;
    border-radius: 4px;
}

.info-block .info-label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-accent-gold);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.info-block a {
    color: white;
    text-decoration: underline;
}

.info-block a:hover {
    color: var(--color-accent-gold);
}

/* Remove the light theme overrides for the info block specifically */
.theme-light .info-block {
    background: #000000 !important;
    color: #ffffff !important;
    border: none;
}

.theme-light .info-block .info-label {
    color: var(--color-accent-gold) !important;
}

.theme-light .info-block .google-maps-link {
    color: #ffffff !important;
}

/* Flyer Section */
.flyer-section {
    padding: var(--space-xl) 0;
    background-color: #f5f5f5;
    /* Light grey separator */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.flyer-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.flyer-download-btn:hover {
    background: var(--color-accent-gold);
    color: #000;
}

/* FAQ Light Theme Overrides & Accordion Logic */
.theme-light.faq-section {
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: var(--space-2xl) 0;
}

.theme-light .faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.theme-light .faq-question {
    color: #000000 !important;
    font-weight: 500;
    padding: 1.5rem 0;
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.4;
}

.theme-light .faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 400;
}

.faq-item.active .theme-light .faq-question::after,
.theme-light .faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    color: rgba(0, 0, 0, 0.7) !important;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
    padding-bottom: 0;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    padding-bottom: 0;
    /* Padding handled by inner element content flow or margin */
}

/* Ensure spacing inside the answer */
.faq-answer p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Date Blocks */
.play-dates-section {
    background: var(--color-bg-dark);
    padding: var(--space-2xl) 0;
}

.date-block-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .date-block-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .date-block-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Smaller blocks variant */
.date-block-grid.small-blocks {
    gap: 0.5rem;
}

.date-block-grid.small-blocks .date-block {
    padding: 1rem;
}

@media (min-width: 1024px) {
    .date-block-grid.small-blocks {
        grid-template-columns: repeat(2, 1fr);
        /* User request: 2 blocks next to each other on desktop */
    }
}

.date-block {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s;
}

.date-block:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Gallery & Lightbox */
.exhibition-gallery {
    padding-bottom: 4rem;
    width: 100%;
    overflow: hidden;
    /* Prevent mobile blowout */
    position: relative;
}

/* Swiper Navigation Custom (Arrows below) */
/* Swiper Navigation Custom (Arrows below) - Cleaner Style */
.swiper-nav-buttons-custom {
    display: flex;
    gap: 40px;
    /* Increased gap */
}

.nav-arrow {
    width: auto;
    height: auto;
    border: none;
    /* Removed border */
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    /* Larger arrow */
    color: rgba(255, 255, 255, 0.7);
    /* Muted by default */
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-arrow:hover {
    background: transparent;
    /* No background on hover */
    color: var(--color-accent-gold);
    /* Just color change */
    transform: scale(1.1);
    border: none;
}

/* Editorial Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: var(--space-sm);
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 300px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Spanning classes for visual variety */
.gallery-item.col-span-2 {
    grid-column: span 2;
}

.gallery-item.row-span-2 {
    grid-row: span 2;
}

/* Fallback for swiper removal */
.swiper-nav-buttons {
    display: none;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

/* Ticket Header Bar */
.ticket-header-bar {
    background-color: #000;
    width: 100%;
    padding: var(--space-md) 0;
    margin-bottom: var(--space-xl);
}

/* Lightbox Close Button */
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* ==========================================================================
   5. Contact Form (Essential Form Customization)
   ========================================================================== */
.entry-content form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    font-family: var(--font-sans);
    width: 100%;
    /* Ensure form takes full width of container */
    position: relative;
}

/* Headings in Contact Section */
.entry-content h2,
.contact-intro h2 {
    font-family: var(--font-serif);
    font-weight: 700;
}

/* Control Wrapper */
.ef-ctrl-wrp {
    display: flex !important;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    position: relative;
    width: 100%;
    /* Ensure wrappers are full width */
}

/* Labels */
.ef-ctrl-wrp label,
.ef-label,
.entry-content form label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    /* Default: Light text for Dark BG */
    font-weight: 500;
}

/* Inputs & Textareas */
.entry-content form input[type="text"],
.entry-content form input[type="email"],
.entry-content form textarea {
    background-color: transparent;
    /* Default: Transparent for Dark BG */
    border: 1px solid var(--color-border-subtle);
    border-radius: 2px;
    padding: var(--space-sm);
    color: var(--color-text-main);
    /* Default: White text */
    font-family: var(--font-sans);
    font-size: var(--text-base);
    transition: all var(--duration-normal) ease;
    width: 100%;
    box-sizing: border-box;
    /* Ensure padding doesn't break width */
}

.entry-content form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Error Messages - Centered and Visible */
.ef-error,
.ef-error-message,
.ef-validation-error {
    color: #ff4d4d;
    /* Red error color */
    font-size: var(--text-xs);
    margin-bottom: var(--space-md);
    display: block;
    width: 100%;
    max-width: 600px;
    /* Match form width */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    /* Center the text */
    padding: 10px;
    border: 1px solid #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
}

/* Focus States (Default) */
.entry-content form input:focus,
.entry-content form textarea:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    background-color: rgba(255, 255, 255, 0.02);
}

/* Checkbox */
.entry-content form input[type="checkbox"] {
    accent-color: var(--color-accent-gold);
    width: auto;
    margin-right: var(--space-xs);
}

/* Checkbox Wrapper - Needs specific styling to align horizontal */
.ef-ctrl-wrp:has(input[type="checkbox"]),
.entry-content form div:has(input[type="checkbox"]) {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

/* Submit Button (Default) */
.entry-content form button[type="submit"] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: var(--text-sm);
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    /* Glassy */
    backdrop-filter: blur(4px);
    color: var(--color-text-main);
    transition: all var(--duration-normal) ease;
    margin-top: var(--space-md);
}

.entry-content form button[type="submit"]:hover {
    background-color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    color: var(--color-bg-base);
}

/* 
   CONTEXT AWARE OVERRIDES 
   Applied when inside a white background block or specific light-theme container 
*/
.has-white-background-color form .ef-ctrl-wrp label,
.has-white-background-color form .ef-label,
.theme-light form .ef-ctrl-wrp label,
.theme-light form .ef-label,
/* Privacy Labels */
.has-white-background-color form label,
.theme-light form label {
    color: var(--color-bg-base) !important;
    /* Force Dark Text */
    font-weight: 600;
}

.has-white-background-color form input[type="text"],
.has-white-background-color form input[type="email"],
.has-white-background-color form textarea,
.theme-light form input[type="text"],
.theme-light form input[type="email"],
.theme-light form textarea {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    color: var(--color-bg-base);
    /* Dark Text */
}

.has-white-background-color form input:focus,
.has-white-background-color form textarea:focus,
.theme-light form input:focus,
.theme-light form textarea:focus {
    background-color: #ffffff;
}

.has-white-background-color form button[type="submit"],
.theme-light form button[type="submit"] {
    border: 1px solid var(--color-bg-base);
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
}

.has-white-background-color form button[type="submit"]:hover,
.theme-light form button[type="submit"]:hover {
    background-color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    color: var(--color-bg-base);
}

/* Mobile First Adjustments */
@media (max-width: 768px) {
    .entry-content form {
        padding: 0 var(--space-sm);
    }

    .entry-content form button[type="submit"] {
        width: 100%;
        /* Full width button on mobile */
    }
}

/* ==========================================================================
   6. Voorstelling Archive Layout (Homepage Style)
   ========================================================================== */

/* The Featured Show uses .show-card.featured (Shared). */

.shows-list-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* 
   Regular Show Row (.archive-show-row) 
/* 
   Regular Show Row (.archive-show-row) 
   Creative Mosaic Design: Alternating, Deep Overlap, Editorial Typography.
*/

.archive-show-row {
    display: flex;
    flex-direction: column;
    padding-bottom: 4rem;
    position: relative;
    background-color: transparent;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .archive-show-row {
        flex-direction: row;
        align-items: center;
        /* Center overlap vertically */
        min-height: 400px;
    }

    /* Alternating Direction */
    .archive-show-row.layout-right {
        flex-direction: row-reverse;
    }
}

/* Image Container */
.row-image-container {
    width: 100%;
    margin-bottom: -3rem;
    /* Mobile heavy overlap */
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 1;
    /* Behind content */
}

@media (min-width: 768px) {
    .row-image-container {
        width: 60%;
        /* Occupy 60% of width */
        margin-bottom: 0;
    }
}

.row-image-container img {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.7s ease;
    /* Slower, smoother zoom */
}

.archive-show-row:hover .row-image-container img {
    transform: scale(1.03);
    /* Subtle zoom */
}

/* Content Side (The Editorial Card) */
.row-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    padding: 2rem;
    position: relative;
    z-index: 2;
    /* On top */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    /* Premium shadow */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    width: 90%;
    /* Mobile width */
    margin: 0 auto;
    /* Center on mobile */
}

/* Desktop Overlap */
@media (min-width: 768px) {
    .row-content {
        width: 45%;
        /* Fixed percentage */
        padding: 3.5rem;
        /* Generous padding like Intro */
        margin: 0;
    }

    /* Left Layout: Content overlaps from Right */
    .layout-left .row-content {
        margin-left: -100px;
        /* Deep overlap */
    }

    /* Right Layout: Content overlaps from Left */
    .layout-right .row-content {
        margin-right: -100px;
        /* Deep overlap */
    }
}

.archive-show-row:hover .row-content {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* Typography & Decoration */

.row-top-bar {
    margin-bottom: 0.5rem;
}

.row-date-range {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #444444;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Title: Huge, Serif, Italic (Intro Style) */
.row-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.5rem;
    /* Big */
    margin: 0.5rem 0 1.5rem 0;
    line-height: 1.1;
    color: #000000;
}

@media (min-width: 768px) {
    .row-title {
        font-size: 3rem;
        /* Even bigger on desktop */
    }
}

.row-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.archive-show-row:hover .row-title a {
    color: var(--color-accent-gold);
}

/* Gold Separator (reusing similar logic to intro but scoped) */
.gold-separator-small {
    width: 50px;
    height: 2px;
    background-color: var(--color-accent-gold);
    margin-bottom: 1.5rem;
}

/* Excerpt */
.row-excerpt {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
}

/* Link Overlay */
.block-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
}

/* ==========================================================================
   Swiper & Gallery Refinements
   ========================================================================== */

/* Constrain Image Size */
.swiper-slide {
    height: 500px !important;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    /* Ensure slide doesn't expand infinitely */
    box-sizing: border-box;
}

.gallery-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
    max-height: none !important;
}

/* Custom Navigation Arrows */
.swiper-nav-buttons-custom {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.nav-arrow {
    font-size: 2rem;
    cursor: pointer;
    color: #000;
    /* Force black for visibility on white */
    transition: color 0.3s ease;
}

.nav-arrow:hover {
    color: var(--color-accent-gold);
}

/* Laposta Newsletter Form Styling */
.lsb-form {
    margin-top: var(--space-md);
}

.lsb-form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-sm);
    color: white;
    margin-bottom: var(--space-md);
    font-family: var(--font-sans);
    box-sizing: border-box;
}

.lsb-form-input:focus {
    outline: none;
    border-color: var(--color-accent-gold);
}

.lsb-form-button {
    width: 100%;
    background: white;
    color: black;
    border: none;
    padding: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--duration-normal) ease;
    font-family: var(--font-sans);
}

.lsb-form-button:hover {
    background: var(--color-accent-gold);
}

/* Labels - Visible and Styled */
.lsb-form-label {
    display: block;
    margin-bottom: 0.5rem;
    /* space-xs */
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    font-weight: 500;
}

.lsb-form-field-wrapper {
    margin-bottom: var(--space-md);
}

.lsb-form-input {
    margin-bottom: 0;
    /* Remove input margin since wrapper handles spacing */
}

/* Error and Success States */
.lsb-form-field-has-error .lsb-form-input {
    border-color: #ff4d4d;
}

.lsb-form-field-error-feedback,
.lsb-form-global-error {
    color: #ff4d4d;
    font-size: var(--text-xs);
    margin-bottom: var(--space-sm);
}

.lsb-success-title,
.lsb-success-text {
    color: var(--color-accent-gold);
}

.lsb-loader {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #fff;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Utility: Hide on Mobile/Tablet if Slideshow Present */
@media (max-width: 1023px) {
    .hidden-on-mobile {
        display: none !important;
    }
}

/* ==========================================================================
   6. Utility Classes (Refactor Support)
   ========================================================================== */

/* Colors */
.text-black {
    color: #000000 !important;
}

.text-white {
    color: #ffffff !important;
}

.text-gold {
    color: var(--color-accent-gold) !important;
}

.text-muted {
    color: var(--color-text-muted) !important;
}

/* Backgrounds */
.bg-dark {
    background-color: var(--color-bg-dark) !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.bg-transparent {
    background-color: transparent !important;
}

/* Spacing & Layout */
.w-full {
    width: 100% !important;
}

.h-full {
    height: 100% !important;
}

.flex {
    display: flex !important;
}

.flex-col {
    flex-direction: column !important;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.items-center {
    align-items: center !important;
}

.justify-center {
    justify-content: center !important;
}

.justify-between {
    justify-content: space-between !important;
}

.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-4 {
    gap: 1rem !important;
}

.gap-8 {
    gap: 2rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-8 {
    margin-bottom: 2rem !important;
}

.p-0 {
    padding: 0 !important;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Component Specific Utilities */
.section-padding {
    padding: var(--space-2xl) 0;
}

.section-padding-bottom {
    padding-bottom: var(--space-2xl);
}

.uppercase-tracked {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.admin-link-alert {
    color: red !important;
}

.text-underline {
    text-decoration: underline !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.object-cover {
    object-fit: cover !important;
}

.object-contain {
    object-fit: contain !important;
}

.border-white {
    border: 1px solid white !important;
}

.border-light {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.border-dark {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Visibility */
.hidden {
    display: none !important;
}

.block {
    display: block !important;
}

@media (max-width: 767px) {
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hidden-desktop {
        display: none !important;
    }
}

/* Specific Fixes for Refactor */
.date-highlight-box {
    border: 1px solid white;
    padding: 10px 20px;
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.flyer-swiper-wrapper {
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 2rem;
}

/* Intro Images */
.bg-intro-1 {
    background-image: url('assets/images/intro/intro-1.jpg');
}

.bg-intro-2 {
    background-image: url('assets/images/intro/intro-2.jpg');
}

.bg-intro-3 {
    background-image: url('assets/images/intro/intro-3.jpg');
}

/* ==========================================================================
   Refactor Utilities & Fixes (Added Jan 2026)
   ========================================================================== */

/* 1. Hero Fixes */
@media (min-width: 768px) {
    .hidden-desktop {
        display: none !important;
    }
}

.min-hero {
    height: 50vh !important;
    min-height: 400px !important;
}

/* 2. Spacing & Layout Utilities (Tailwind-like) */
.pb-8 {
    padding-bottom: 2rem;
}

.pt-8 {
    padding-top: 2rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

.cursor-pointer {
    cursor: pointer;
}

.block {
    display: block;
}

.hidden-on-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hidden-on-mobile {
        display: flex;
    }

    /* Restores flex for mosaic */
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8 {
    gap: 2rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-2 {
    gap: 0.5rem;
}

.items-center {
    align-items: center;
}

.inline-flex {
    display: inline-flex;
}

.bg-light {
    background-color: #f9f9f9;
}

.text-black {
    color: #000;
}

.border-b {
    border-bottom-width: 1px;
}

.border-black {
    border-color: #000;
}

.list-none {
    list-style: none;
}

.p-0 {
    padding: 0;
}

.m-0 {
    margin: 0;
}

.container-narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 3. Date Blocks (Restored Design) */
.date-block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.date-block {
    border: 1px solid #e5e5e5;
    padding: 1rem;
    text-align: center;
    background: #fff;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.date-block:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.date-day {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.date-time {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
}

.date-location {
    display: block;
    font-size: 0.85rem;
    color: var(--color-accent-gold);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* 4. Archive & General Fixes */
.date-highlight-box {
    border: 1px solid white;
    padding: 10px 20px;
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1rem;
}

.flyer-swiper-wrapper {
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 2rem;
}

.entry-text-style {
    font-size: var(--text-lg);
    line-height: 1.8;
}

.entry-text-style p {
    margin-bottom: var(--space-sm);
}

.entry-text-style ul,
.entry-text-style ol {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
}

.entry-text-style ul {
    list-style-type: disc;
}

.entry-text-style ol {
    list-style-type: decimal;
}

.entry-text-style li {
    margin-bottom: 0.25rem;
}

.entry-text-style strong,
.entry-text-style b {
    font-weight: 700;
    /* color: var(--color-text-main); */
}

.entry-text-style a {
    text-decoration: underline;
    text-underline-offset: 4px;
    /* color: var(--color-text-main); */
    transition: color var(--duration-normal) ease;
}

.entry-text-style a:hover {
    color: var(--color-accent-gold);
}

.post-date {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-accent-gold);
    display: block;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.date-list-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent-gold) !important;
    /* Force Gold */
    margin-bottom: 0.25rem;
}

.show-cast-text {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: #666;
}

.row-cast-text {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    color: #666;
}

.col-full {
    grid-column: 1 / -1;
}

/* ==========================================================================
   7. Featured & List Date Styles (Restoration)
   ========================================================================== */

/* Homepage Featured Card Dates */
.show-row-featured {
    display: flex;
    flex-direction: column;
    /* Stacked */
    align-items: flex-start;
    /* Left align */
    width: 100%;
    /* Ensure full width for border */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 0;
    /* More breathing room */
    margin-bottom: 0;
}

.show-day-featured {
    color: var(--color-accent-gold);
    font-weight: 700;
    /* Bold */
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-sans);
    /* Screenshot 1 shows Title Case "Vrijdag", removing uppercase transform if strictly followed, 
       but keeping standardized look if preferred. Screenshot shows "Vrijdag" -> Normal Case */
    text-transform: none;
}

.show-date-featured {
    color: #f0f0f0;
    font-family: var(--font-serif);
    /* Looks like serif in screenshots */
    font-size: 1.1rem;
    text-align: left;
    font-weight: 300;
}

/* Single Show Date List (Clean / Calm Style) */
.shows-list {
    margin-top: 2rem;
    border-top: none;
    /* No top border */
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Reduced from 2rem to account for border padding */
}

.show-row-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Align to bottom as per live site */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* Restored border */
    padding-bottom: 0.75rem;
    /* Reduced padding */
    width: 100%;
}

@media (max-width: 768px) {
    .show-row-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .show-actions {
        width: 100%;
    }

    .btn-ticket-black {
        width: 100%;
        text-align: center;
        display: block;
    }
}

.show-date-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    /* Approx 0.25rem */
}

.show-day-list {
    color: #000000;
    font-weight: 600;
    /* Semi-bold */
    font-size: 14px;
    /* Specific size */
    font-family: var(--font-sans);
    /* Outfit */
    text-transform: none;
    line-height: 1.2;
}

.show-date-list {
    color: #000000;
    font-family: var(--font-serif);
    /* Cormorant Garamond */
    font-size: 20px;
    /* Specific size */
    font-weight: 400;
    /* Regular */
    line-height: 1.2;
}

.date-extra-label {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    background-color: var(--color-accent-gold);
    color: #000;
    padding: 4px 8px;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.btn-ticket-black {
    background-color: #000000;
    color: #ffffff;
    padding: 10px 24px;
    /* Exact padding */
    text-transform: uppercase;
    font-size: 12px;
    /* Exact size */
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    /* Guessing slightly less tracking */
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 400;
    /* Regular per inspection? Or unspec, defaults to 400 */
    border-radius: 0;
}

.btn-ticket-black:hover {
    background-color: var(--color-accent-gold);
    color: #000000;
    border-color: var(--color-accent-gold);
}


.w-full-imp {
    width: 100% !important;
}

/* Flyer Styling */
.flyer-slide {
    width: 280px !important;
    /* Much larger square */
    height: 280px !important;
    margin: 0 !important;
    /* Left align */
}

.flyer-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    /* Square crop */
    object-position: top;
    /* Show top of flyer */
    border: 1px solid #eee;
}

.flyer-block-swiper .swiper-wrapper {
    justify-content: flex-start;
    /* Left align flex items */
}

/* ==========================================================================
   8. Contact Page & Form Refinements
   ========================================================================== */

/* Typography matching Index/Serif style */
.entry-text-style h1,
.entry-text-style h2,
.entry-text-style h3 {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.entry-text-style h1 {
    font-size: 3rem;
    color: var(--color-text-main);
    /* or black depending on theme context, but usually black in page-content */
}

.theme-light .entry-text-style h1,
.theme-light .entry-text-style h2,
.theme-light .entry-text-style h3 {
    color: #000;
}

.entry-text-style h2 {
    font-size: 2.25rem;
}

.entry-text-style h3 {
    font-size: 1.75rem;
}

/* Form Error Handling (Contact Form 7 & Generic) */
/* Form Error Handling (Contact Form 7 & Generic) */
.wpcf7-not-valid-tip,
.ef-error {
    display: block;
    font-size: 0.85rem;
    color: #ff4d4d;
    /* Red error color */
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
    position: relative;
    /* Ensure it doesn't float next to input */
    width: 100%;
}

.wpcf7-response-output {
    margin: 2rem 0 1rem !important;
    padding: 1rem !important;
    border: 1px solid #ff4d4d !important;
    border-radius: 4px;
    background-color: rgba(255, 77, 77, 0.05);
    display: block !important;
    clear: both;
}

/* Specific fix if errors are appearing "next to" form */
.wpcf7-form-control-wrap,
/* High specificity to override Essential Forms greedy selectors */
body .site-main .entry-content .ef-ctrl-wrp,
body .entry-content .ef-ctrl-wrp {
    display: flex !important;
    flex-direction: column !important;
    position: relative;
    width: 100%;
}

.entry-text-style input[type="text"],
.entry-text-style input[type="email"],
.entry-text-style textarea {
    width: 100%;
    margin-bottom: 0.5rem;
    /* Space for potential error message */
}