/* CeramikFest Minified CSS */
:root {
    --primary-blue: #A2AEF4;
    --primary-orange: #E44900;
    --black: #000;
    --white: #FFF;
    --cream: #F5F1E8;
    --light-gray: #E8E5DD;
    --dark-gray: #3A3A3A;
    --terracotta: #C44536;
    --earth-brown: #6B4423;
    --font-heading: 'catalpa', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --spacing-xs: .5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .2)
}

/* Event Instructor & Layout Styles - Consolidated */
.event-instructors-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 0;
    color: #333;
}

.event-instructors-compact svg {
    flex-shrink: 0;
    color: var(--primary-orange);
    stroke: var(--primary-orange);
}

.event-instructors-compact span {
    font-weight: 500;
    font-size: 0.95rem;
}

.event-details-expanded {
    display: block !important;
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e0e0e0 !important;
}

.event-details-expanded.hidden {
    display: none !important;
}

/* Desktop-first two-column layout - FORCED */
.events-grid .event-card .event-details-layout {
    display: grid !important;
    grid-template-columns: 3fr 1fr !important;
    gap: 48px !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.events-grid .event-card .event-description-column,
.events-grid .event-card .event-instructors-column {
    min-width: 0 !important;
}

.events-grid .event-card .event-instructors-column {
    background: #f9f9f9 !important;
    border-radius: 8px !important;
    padding: 16px !important;
}

/* Typography for H3 and H4 in columns */
.event-description-column h3,
.event-description-column h4,
.event-instructors-column h3,
.event-instructors-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.event-description-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.instructors-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.instructor-detail-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instructor-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.instructor-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.instructor-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.instructor-name {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.instructor-bio {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

/* Stack columns on tablets/mobile */
@media (max-width: 991px) {
    .events-grid .event-card .event-details-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }
}

@media (max-width: 767px) {
    .events-grid .event-card .event-details-layout {
        gap: 32px;
    }

    .events-grid .event-card .event-instructors-column {
        order: -1;
    }
    
    .instructor-detail-card {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }
    
    .instructor-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    font-family: var(--font-body);
    color: var(--black);
    line-height: 1.7;
    background-color: var(--cream);
    overflow-x: hidden
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all .3s ease
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: normal;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm)
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem)
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem)
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem)
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem)
}

p {
    margin-bottom: var(--spacing-sm)
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md)
}

.container-full {
    width: 100%;
    padding: 0 var(--spacing-md)
}

section {
    padding: var(--spacing-xl) 0
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #E44900;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all .3s ease
}

.main-header.scrolled {
    background: rgba(228, 73, 0, .75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md)
}

@media (max-width:768px) {
    .main-header.scrolled .header-container {
        padding: var(--spacing-xs) var(--spacing-md);
        transition: padding .3s ease
    }

    .main-header.scrolled .logo-image {
        height: 50px
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    position: relative
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff
}

.logo-image {
    height: 100px;
    width: auto;
    display: block;
    transition: height .3s ease
}

.logo-highlight {
    color: var(--primary-orange)
}

.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%)
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center
}

.main-nav a {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1.05rem;
    letter-spacing: .5px;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-bottom: 2px solid transparent;
    transition: all .3s ease
}

.main-nav a:hover,
.main-nav a.active {
    color: #000;
    border-bottom-color: #000
}

.header-social {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center
}

.language-switcher {
    position: relative;
    margin-right: var(--spacing-sm);
    padding-right: var(--spacing-sm);
    border-right: 2px solid rgba(255, 255, 255, .3)
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 6px;
    color: #E44900;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
    transition: all .3s ease
}

.lang-dropdown-toggle:hover {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1)
}

.lang-dropdown-toggle .flag {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--primary-orange)
}

.lang-dropdown-toggle .lang-code {
    font-size: .85rem
}

.lang-dropdown-toggle .dropdown-arrow {
    width: 16px;
    height: 16px;
    stroke-width: 3;
    transition: transform .3s ease
}

.language-switcher.active .dropdown-arrow {
    transform: rotate(180deg)
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .3s ease;
    z-index: 1000
}

.language-switcher.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all .3s ease;
    border-bottom: 1px solid #f0f0f0
}

.lang-option:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0
}

.lang-option:hover {
    background: #f8f9fa
}

.lang-option.active {
    background: #E44900;
    color: #fff
}

.lang-option .flag {
    font-size: 1.3rem;
    line-height: 1
}

.lang-option .lang-code {
    font-weight: 700;
    font-size: .85rem;
    min-width: 24px
}

.lang-option .lang-name {
    font-size: .9rem
}

.header-social {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center
}

.header-social .social-icons-group {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center
}

.admin-header-simple .header-container {
    justify-content: space-between
}

.admin-header-simple .admin-language-switcher {
    display: flex;
    align-items: center
}

.admin-header-simple .language-switcher {
    position: relative;
    margin: 0;
    padding: 0;
    border: none
}

.mobile-footer {
    display: none
}

.header-social .social-icon {
    width: 32px;
    height: 32px;
    color: #fff;
    transition: all .3s ease;
    border-bottom: 2px solid transparent;
    position: relative;
    z-index: 100
}

.header-social .social-icon:hover {
    color: #A2AEF4 !important;
    border-bottom-color: #A2AEF4
}

.header-social .social-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor
}

.header-social .social-icon i {
    display: inline-flex;
    width: 32px;
    height: 32px;
    font-size: 32px;
    line-height: 1;
    color: #fff;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 101
}

.header-social .social-icon:hover i {
    color: #A2AEF4 !important
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0
}

.hero-video-desktop {
    display: block
}

.hero-video-mobile {
    display: none
}

@media (max-width:768px) {
    .hero-video-desktop {
        display: none
    }

    .hero-video-mobile {
        display: block
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 1
}

.scroll-down-arrow {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: all .3s ease
}

.scroll-down-arrow svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3))
}

.scroll-down-arrow:hover {
    color: var(--primary-orange);
    transform: translateX(-50%) scale(1.1)
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    40% {
        transform: translateX(-50%) translateY(-10px)
    }

    60% {
        transform: translateX(-50%) translateY(-5px)
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: var(--spacing-md)
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .3);
    animation: fadeInUp 1s ease-out
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out .2s backwards
}

.hero-date {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out .4s backwards
}

.countdown {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out .6s backwards
}

.countdown-item {
    background: rgba(255, 255, 255, .15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    min-width: 100px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, .3)
}

.countdown-value {
    display: block;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-heading)
}

.countdown-label {
    display: block;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--spacing-xs);
    opacity: .9
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out .8s backwards
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: .95rem;
    cursor: pointer;
    transition: all .3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1.5;
    font-family: var(--font-body)
}

button.btn {
    font-family: var(--font-body);
    padding: 1rem 2.5rem;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange)
}

button.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange)
}

.btn-primary:hover {
    background: #c43f00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md)
}

.btn-secondary {
    background: #A2AEF4;
    color: var(--black);
    border-color: #A2AEF4
}

.btn-secondary:hover {
    background: #8a9de8;
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md)
}

.btn-outline {
    background: transparent;
    color: var(--primary-orange);
    border-color: var(--primary-orange)
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: var(--white)
}

.section-header {
    margin-bottom: var(--spacing-lg)
}

.section-header.centered {
    text-align: left
}

.section-title {
    color: var(--black);
    position: relative;
    display: inline-block
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    margin: var(--spacing-sm) 0 var(--spacing-md)
}

.section-header.centered .section-divider {
    margin-left: 0;
    margin-right: 0
}

.section-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px
}

.section-header.centered .section-description {
    margin-left: 0;
    margin-right: 0
}

.about-section {
    background: var(--white)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center
}

.about-content {
    order: 1
}

.about-image-desktop {
    position: relative;
    order: 2;
    display: block
}

.about-image-mobile {
    display: none;
    margin: var(--spacing-md) 0
}

.about-content h3 {
    color: var(--primary-orange);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md)
}

.about-content p {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md)
}

.about-cta {
    margin-top: var(--spacing-md)
}

.image-frame {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg)
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--primary-blue);
    border-radius: 50%;
    z-index: -1
}

.image-frame::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    background: var(--primary-orange);
    opacity: .3;
    z-index: -1
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.photo-credit {
    margin-top: var(--spacing-xs);
    padding-left: var(--spacing-sm);
    font-size: .85rem;
    color: var(--dark-gray);
    font-style: italic
}

.photo-credit a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color .3s ease
}

.photo-credit a:hover {
    color: var(--primary-orange);
    text-decoration: underline
}

.festival-2026-section {
    background: var(--white);
    padding: var(--spacing-xl) 0
}

.festival-2026-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center
}

.festival-2026-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8
}

.festival-2026-content p:last-of-type {
    margin-bottom: var(--spacing-lg)
}

.festival-2026-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg)
}

.festival-2026-image {
    position: relative
}

.festival-2026-image .image-frame {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15)
}

.festival-2026-image img {
    width: 100%;
    height: auto;
    display: block
}

/* Float image right in festival content to allow text wrap */
.festival-2026-section .festival-2026-image-frame {
    float: right;
    margin: 0 0 var(--spacing-md) var(--spacing-lg);
    max-width: 40%;
    position: relative;
    top: 0;
}

/* Clear float after festival content to prevent layout issues */
.festival-2026-content::after {
    content: "";
    display: table;
    clear: both;
}

.page-hero {
    padding-top: calc(var(--spacing-xl) + 60px)
}

/* Position hero titles/content at bottom for festival and about pages */
.festiwal-hero,
.about-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 55vh; /* ensure enough vertical space */
    padding-bottom: 90px; /* bottom padding for readability */
}

@media (max-width: 768px) {
    .festiwal-hero,
    .about-hero {
        min-height: 60vh;
        padding-bottom: 64px; /* slightly reduced for smaller screens */
    }
}

@media (max-width: 480px) {
    .festiwal-hero,
    .about-hero {
        min-height: 65vh;
        padding-bottom: 56px;
    }
}

.artists-section {
    background: var(--light-gray);
    padding: var(--spacing-xl) 0
}

.artists-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center
}

.artists-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-size: 1.1rem
}

.artists-cta {
    margin-top: var(--spacing-lg)
}

.highlights-section {
    background: var(--light-gray);
    padding: var(--spacing-xl) 0
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg)
}

.highlight-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: var(--shadow-sm)
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md)
}

.highlight-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center
}

.highlight-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2
}

.highlight-card h3 {
    color: var(--black);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem
}

.highlight-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: .95rem;
    margin: 0
}

.gallery-categories-section {
    background: var(--white);
    padding: var(--spacing-xl) 0
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg)
}

.gallery-category {
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease
}

.gallery-category:hover {
    transform: translateY(-5px)
}

.gallery-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-sm)
}

.gallery-category:hover .gallery-thumbnail {
    box-shadow: var(--shadow-lg)
}

.gallery-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease
}

.gallery-category:hover .gallery-thumbnail img {
    transform: scale(1.05)
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .3) 50%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease
}

.gallery-category:hover .gallery-overlay {
    opacity: 1
}

.gallery-overlay .btn {
    background: var(--white);
    color: var(--black)
}

.gallery-overlay .btn:hover {
    background: var(--primary-orange);
    color: var(--white)
}

.gallery-category-name {
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: var(--spacing-xs)
}

.gallery-category-credit {
    text-align: center;
    font-size: .875rem;
    color: rgba(0, 0, 0, .6)
}

.gallery-overlay-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md)
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10002;
    transition: color .3s ease
}

.gallery-close:hover {
    color: var(--primary-orange)
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, .3);
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all .3s ease;
    z-index: 10002
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, .3);
    border-color: rgba(255, 255, 255, .5)
}

.gallery-prev {
    left: 40px
}

.gallery-next {
    right: 40px
}

.gallery-image-container {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.gallery-image-container img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 50px rgba(0, 0, 0, .5)
}

.gallery-credit {
    color: var(--white);
    margin-top: var(--spacing-md);
    font-size: .875rem;
    text-align: center
}

.partners-logos-section {
    background: var(--white);
    padding: var(--spacing-xl) 0
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-md);
    align-items: center;
    justify-items: center
}

.partners-carousel {
    display: none
}

.partner-logo {
    width: 100%;
    max-width: 150px;
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: transform .3s ease, box-shadow .3s ease
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md)
}

.partner-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter .3s ease
}

.partner-logo:hover img {
    filter: grayscale(0%)
}

@media (max-width:968px) {
    .partners-grid {
        display: none
    }

    .partners-carousel {
        display: block;
        overflow: hidden;
        position: relative;
        padding: var(--spacing-md) 0
    }

    .carousel-track {
        display: flex;
        gap: var(--spacing-md);
        animation: scroll 60s linear infinite
    }

    .carousel-track .partner-logo {
        flex-shrink: 0;
        width: 120px
    }

    .carousel-track:hover {
        animation-play-state: paused
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(calc(-120px * 41 - var(--spacing-md) * 41))
    }
}

.sponsors-section {
    background: var(--light-gray);
    padding: var(--spacing-xl) 0
}

.sponsors-section .section-header p {
    max-width: 800px;
    margin: var(--spacing-md) 0;
    line-height: 1.8;
    color: var(--dark-gray)
}

.sponsor-cta {
    text-align: center;
    margin: var(--spacing-xl) 0
}

.donation-info {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-sm)
}

.donation-info h4 {
    color: var(--primary-orange);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem
}

.donation-info p {
    line-height: 1.8;
    color: var(--dark-gray);
    margin: 0
}

.location-section {
    background: var(--white)
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg)
}

.location-info {
    padding: var(--spacing-md)
}

.location-info h3 {
    color: var(--primary-orange);
    margin-bottom: var(--spacing-md)
}

.location-address {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--primary-blue)
}

.contact-details {
    margin-bottom: var(--spacing-md)
}

.contact-details h4 {
    margin-bottom: var(--spacing-sm)
}

.contact-details a {
    color: var(--primary-orange);
    text-decoration: underline
}

.contact-details a:hover {
    color: var(--primary-blue)
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md)
}

.location-map iframe {
    display: block
}

.main-footer {
    background: #A2AEF4;
    color: var(--black);
    padding: var(--spacing-lg) 0 var(--spacing-md)
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg)
}

.footer-section h3 {
    color: var(--black);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
    font-weight: 700
}

.footer-section ul {
    list-style: none
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs)
}

.footer-section a {
    color: rgba(0, 0, 0, .8);
    transition: color .3s ease
}

.footer-section a:hover {
    color: var(--primary-orange)
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md)
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, .1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    position: relative;
    z-index: 10
}

.social-icon:hover {
    background: transparent;
    transform: translateY(-3px);
    color: #E44900 !important
}

.social-icon i {
    display: inline-flex;
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 11
}

.social-icon:hover i {
    color: #E44900 !important
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--black)
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, .1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(0, 0, 0, .6);
    font-size: .9rem
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (max-width:968px) {

    .about-grid,
    .festival-2026-grid,
    .newsletter-content,
    .location-grid {
        grid-template-columns: 1fr
    }

    .festival-2026-grid {
        gap: var(--spacing-lg)
    }
    .festival-2026-section .festival-2026-image-frame {
        float: none;
        margin: 0 0 var(--spacing-md) 0;
        max-width: 100%;
    }

    .festival-2026-image {
        order: -1
    }

    .about-image-desktop {
        display: none
    }

    .about-image-mobile {
        display: block
    }

    .about-content h3 {
        margin-bottom: var(--spacing-sm)
    }

    .countdown {
        gap: var(--spacing-sm)
    }

    .countdown-item {
        min-width: 80px;
        padding: var(--spacing-sm)
    }

    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))
    }

    .gallery-nav {
        font-size: 1.5rem;
        padding: .5rem 1rem
    }

    .gallery-prev {
        left: 10px
    }

    .gallery-next {
        right: 10px
    }

    .gallery-close {
        top: 10px;
        right: 20px;
        font-size: 2.5rem
    }
}

@media (max-width:768px) {
    .menu-toggle {
        display: block;
        font-size: 2rem; /* Larger icon for mobile */
        padding: 10px 14px; /* Increase tap target */
        line-height: 1;
        min-width: 48px; /* Recommended touch target */
        min-height: 48px;
        border-radius: 8px;
        /* Removed background and blur per request */
    }

    .language-switcher {
        margin-right: 6px;
        padding-right: 6px
    }

    .lang-dropdown-toggle {
        padding: 4px 8px;
        gap: 4px
    }

    .lang-dropdown-toggle .flag {
        font-size: 1rem
    }

    .lang-dropdown-toggle .lang-code {
        font-size: .75rem
    }

    .lang-dropdown-toggle .dropdown-arrow {
        width: 14px;
        height: 14px
    }

    .lang-dropdown-menu {
        min-width: 200px
    }

    .lang-option {
        padding: 14px 16px;
        gap: 10px;
        font-size: 1.05rem
    }

    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        left: auto;
        transform: none;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(228, 73, 0, .75);
        -webkit-backdrop-filter: blur(25px);
        backdrop-filter: blur(25px);
        transition: right .3s ease;
        overflow-y: auto
    }

    .main-nav.active {
        right: 0
    }

    .main-nav ul {
        flex-direction: column;
        padding: var(--spacing-sm) 0;
        gap: 0
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .2)
    }

    .main-nav a {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
        color: #fff;
        font-weight: 500;
        font-size: 1.05rem;
        text-align: right
    }

    .main-nav a:hover {
        background: rgba(255, 255, 255, .1);
        border-bottom-color: #fff
    }

    .mobile-footer {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-md) var(--spacing-md);
        margin-top: var(--spacing-sm);
        border-top: 2px solid rgba(255, 255, 255, .3);
        position: relative;
        z-index: 10
    }

    .mobile-footer .language-switcher {
        position: relative;
        margin: 0;
        padding: 0;
        border: none;
        justify-content: center
    }

    .mobile-footer .lang-dropdown-menu {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        right: auto;
        min-width: 200px;
        background: #fff
    }

    .mobile-footer .language-switcher.active .lang-dropdown-menu {
        transform: translateX(-50%) translateY(0)
    }

    .mobile-footer .lang-dropdown-toggle {
        width: 100%;
        justify-content: center;
        background: #fff;
        padding: 12px 16px;
        font-size: 1.1rem
    }

    .mobile-footer .lang-option {
        background: #fff !important;
        color: #333 !important
    }

    .mobile-footer .lang-option:hover {
        background: #f8f9fa !important
    }

    .mobile-footer .lang-option.active {
        background: #E44900 !important;
        color: #fff !important
    }

    .mobile-footer .social-icons-group {
        display: flex;
        justify-content: center;
        gap: var(--spacing-md);
        position: relative;
        z-index: 11
    }

    .mobile-footer .social-icon {
        color: #fff !important;
        width: 48px !important;
        height: 48px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border-radius: 0 !important;
        position: relative;
        z-index: 102
    }

    .mobile-footer .social-icon svg {
        fill: #fff !important;
        width: 32px !important;
        height: 32px !important;
        display: block !important
    }

    .mobile-footer .social-icon i {
        display: inline-flex !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 32px !important;
        line-height: 1 !important;
        color: #fff !important;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 103
    }

    .mobile-footer .social-icon svg path {
        fill: #fff !important
    }

    .mobile-footer .social-icon:hover {
        color: #E44900 !important;
        background: transparent !important;
        transform: none !important
    }

    .mobile-footer .social-icon:hover i {
        color: #E44900 !important
    }

    .mobile-footer .social-icon:hover svg {
        fill: #E44900 !important
    }

    .header-social.desktop-only {
        display: none
    }

    section {
        padding: var(--spacing-lg) 0
    }

    .hero-cta {
        flex-direction: column
    }

    .btn {
        width: 100%
    }
}

@media (max-width:480px) {
    .countdown {
        flex-wrap: wrap
    }

    .countdown-item {
        flex: 1 1 40%
    }

    .gallery-grid {
        grid-template-columns: 1fr
    }
}

@media print {

    .main-header,
    .main-footer,
    .menu-toggle,
    .hero-cta,
    .newsletter-section,
    .sponsor-cta,
    .modal {
        display: none
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    animation: fadeIn .3s ease
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

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

.modal-content {
    background-color: #EFF2F7;
    margin: auto;
    padding: 0;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown .3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3)
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
    transition: color .3s ease;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2)
}

.modal-close:hover,
.modal-close:focus {
    color: #E44900
}

#openArtistModal {
    cursor: pointer;
    border: none
}

@media (max-width:768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 10px
    }

    .modal-close {
        top: 5px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 30px
    }

    .sib-form-block img {
        width: 100% !important;
        height: auto !important
    }
}