﻿.sponsors-page__title {
    margin-top: 130px;
}

/* Zajistí dostatečný padding nahoře pro celý obsah sponsors stránky */
.sponsors-page__intro,
.sponsors-page__grid {
    margin-top: 24px;
}

body.sponsors-page #swup.main-content {
    padding-top: 130px;
}
/* =====================
   DOBRONOC — Unified Stylesheet
   ===================== */

/* =====================
   Globální proměnné a barvy
   ===================== */
:root {
    --color-red1: #D51A1A;
    --color-red2: #5A0A1B;
    --color-blue1: #0A293A;
    --color-blue2: #11151B;
    --header-height: 110px;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff;
    color: #16232a;
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

#swup {
    flex: 1;
}

/* =====================
   Sdílený layout
   ===================== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px 0 16px;
}

/* =====================
   Header & Footer — sdílené
   ===================== */
.header, .footer {
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    overflow: visible;
    padding-bottom: 20px;
}
#header-spacer {
    transition: height 0.38s ease;
}

/* Speciální úprava pro stránku sponsors, aby obsah nezačínal pod headerem */
.sponsors-page__title {
     margin-top: 130px;
}
.header__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, black 85%, rgba(0,0,0,0.4) 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, rgba(0,0,0,0.4) 95%, transparent 100%);
}
.header__overlay, .footer__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
}
.header__overlay {
    background: linear-gradient(90deg, var(--color-blue1) 0%, var(--color-blue2) 100%);
}
.footer__overlay {
    background: linear-gradient(270deg, var(--color-blue1) 0%, var(--color-blue2) 100%);
}
.header__overlay::before, .header__overlay::after,
.footer__overlay::before, .footer__overlay::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.75;
    filter: blur(64px);
    z-index: 1;
}
.header__overlay::before {
    width: 70%; height: 200%;
    left: 45%; top: -50%;
    background: radial-gradient(ellipse 80% 70% at 50% 50%, var(--color-red1) 0%, var(--color-red2) 70%, transparent 100%);
}
.header__overlay::after {
    width: 55%; height: 180%;
    left: -10%; top: -20%;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, var(--color-red1) 0%, var(--color-red2) 60%, transparent 100%);
    opacity: 0.45;
}
.footer__overlay::before {
    width: 70%; height: 200%;
    right: 45%; bottom: -50%;
    background: radial-gradient(ellipse 80% 70% at 50% 50%, var(--color-red1) 0%, var(--color-red2) 70%, transparent 100%);
}
.footer__overlay::after {
    width: 55%; height: 180%;
    right: -10%; bottom: -20%;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, var(--color-red1) 0%, var(--color-red2) 60%, transparent 100%);
    opacity: 0.45;
}
.header__content, .footer__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header__content {
    transition: padding 0.35s ease;
}

.header__logo {
    width: 300px;
    height: auto;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
    transition: font-size 0.35s ease, margin 0.35s ease, opacity 0.2s ease;
}

.header__logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* === Compact (scrolled) header === */
.header__spacer {
    display: none;
}
.header--scrolled .header__content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    max-width: unset;
    align-items: center;
    flex-direction: unset;
    padding: 14px 22px;
    gap: 0;
}
.header.header--scrolled {
    padding-bottom: 10px;
}
.header--scrolled .header__logo {
    grid-column: 1;
    justify-self: start;
    margin-bottom: 0;
    width: 140px;
    animation: logo-zoomin 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.header--scrolled .header__nav {
    grid-column: 2;
}
.header--scrolled .header__spacer {
    grid-column: 3;
    display: block;
}
@keyframes logo-zoomin {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@keyframes logo-zoomout {
    from { transform: scale(1); opacity: 1; }
    to   { transform: scale(0); opacity: 0; }
}
/* Fáze 1: logo zoom out z levého rohu — must override --scrolled animation */
.header--leaving .header__logo {
    animation: logo-zoomout 0.25s cubic-bezier(0.36, 0, 0.66, -0.56) both !important;
}
/* Přemostění mezi fázemi — logo neviditelné zatímco se layout přesouvá */
.header--hiding .header__logo {
    opacity: 0;
    transform: scale(0);
    animation: none !important;
}
/* Fáze 2: logo zoom in do středu (normální layout) */
.header--entering .header__logo {
    animation: logo-zoomin 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.header__nav {
    display: flex;
    gap: 32px;
    align-items: center;
}
.header__nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 4px 0;
    transition: border-bottom 0.2s;
}
.header__nav a:hover {
    border-bottom: 2px solid #fff;
}
.dropdown {
    position: relative;
}
/* Bridge: fills the visual gap so hover doesn't break when moving to menu */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -12px; right: -12px;
    height: 14px;
}
.dropdown__toggle {
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    color: #fff;
    font-size: 0.95rem;
    padding: 4px 0;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.2s;
    letter-spacing: inherit;
}
.dropdown__toggle:hover,
.dropdown:hover .dropdown__toggle {
    border-bottom-color: #fff;
}
.dropdown__arrow {
    font-size: 0.65rem;
    transition: transform 0.2s;
    display: inline-block;
}
.dropdown:hover .dropdown__arrow {
    transform: rotate(180deg);
}
.dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 41, 58, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    z-index: 100;
    overflow: hidden;
}
.dropdown__menu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: rgba(10, 41, 58, 0.97);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    rotate: 135deg;
}
.dropdown:hover .dropdown__menu {
    display: block;
    animation: dropdown-in 0.18s ease;
}
@keyframes dropdown-in {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.dropdown__menu li a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.dropdown__menu li a:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border-bottom: none;
}
.footer {
    margin-top: 48px;
    padding-top: 20px;
    color: #fff;
    background: none;
    -webkit-mask-image: linear-gradient(to top, black 85%, rgba(0,0,0,0.5) 95%, transparent 100%);
    mask-image: linear-gradient(to top, black 85%, rgba(0,0,0,0.5) 95%, transparent 100%);
}
.footer__content {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
}

.footer__contacts-wrap {
    display: flex;
    flex-direction: row;
    gap: 32px;
}

.footer__socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    margin-right: 12px;
}

@media (max-width: 700px) {
    .footer__content {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .footer__contacts-wrap {
        flex-direction: column;
        gap: 10px;
    }
    .footer__socials {
        justify-content: flex-start;
        margin: 0 0 0 0;
    }
}
.footer__contact h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    color: #fff;
}
.footer__person {
    font-size: 0.875rem;
    color: #fff;
    line-height: 1.7;
}
.footer__role {
    font-size: 0.75rem;
}
.footer__icon {
    margin-right: 8px;
}
.footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.3rem;
    margin-right: 5px;
    margin-top: 8px;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}
.footer__social:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.12);
    text-decoration: none;
}
.footer__person a {
    color: #fff;
    text-decoration: none;
}
.footer__person a:hover {
    text-decoration: underline;
}
.footer__person a.footer__social:hover {
    text-decoration: none !important;
}

/* =====================
   archiv.php
   ===================== */
.archiv-years-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.archiv-year-box {
    background: var(--color-blue1);
    color: #fff;
    border-radius: 24px;
    box-shadow: 0 6px 32px 0 rgba(30,30,30,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.22s, box-shadow 0.22s;
}
.archiv-year-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px 0 rgba(30,30,30,0.24);
}
.archiv-year-box__photo {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #1a2636;
    flex-shrink: 0;
}
.archiv-year-box__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}
.archiv-year-box:hover .archiv-year-box__photo img {
    transform: scale(1.05);
}
.archiv-year-box__body {
    padding: 28px 28px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.archiv-year-box-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.archiv-year-box-desc {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 0;
}
.archiv-year-box-link {
    display: inline-block;
    margin-top: 22px;
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}
.archiv-year-box:hover .archiv-year-box-link {
    color: #fff;
}
@media (max-width: 900px) {
    .archiv-years-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .archiv-year-box__photo {
        height: 220px;
    }
}

/* =====================
   detail.php — highlight box + galerie
   ===================== */
.highlight-box {
    display: flex;
    align-items: center;
    background: #fff;
    box-shadow: 0 4px 24px 0 #0001;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 40px;
    gap: 32px;
}
.highlight-box__text {
    flex: 1;
    font-size: 1.05rem;
}
.highlight-box__img {
    width: 300px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 2px 12px 0 #0002;
}
.gallery-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 48px 0 24px 0;
    color: #16232a;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
    margin-bottom: 48px;
}
.gallery__item {
    background: #1a2636;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.gallery__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
.gallery__item.g1  { grid-column: 1;          grid-row: 1 / span 2; }
.gallery__item.g2  { grid-column: 2;          grid-row: 1; }
.gallery__item.g3  { grid-column: 3;          grid-row: 1; }
.gallery__item.g4  { grid-column: 2;          grid-row: 2; }
.gallery__item.g5  { grid-column: 3;          grid-row: 2 / span 2; }
.gallery__item.g6  { grid-column: 1;          grid-row: 3 / span 2; }
.gallery__item.g7  { grid-column: 2;          grid-row: 3; }
.gallery__item.g8  { grid-column: 2 / span 2; grid-row: 4; }
.gallery__item.g9  { grid-column: 1;          grid-row: 5; }
.gallery__item.g10 { grid-column: 2;          grid-row: 5; }
.gallery__item.g11 { grid-column: 3;          grid-row: 5; }

@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
    }
    .gallery__item { grid-column: auto !important; grid-row: auto !important; }
    .gallery__item.g1, .gallery__item.g5, .gallery__item.g6 { grid-row: span 2 !important; }
    .highlight-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .highlight-box__img {
        width: 100%;
        max-width: 320px;
        height: 160px;
    }
}
@media (max-width: 600px) {
    .main-content {
        padding: 12px 4vw;
    }
    .gallery {
        grid-template-columns: 1fr;
        /* Zobrazit pouze prvni 3 fotky, zbytek schovat */
        max-height: none;
        grid-auto-rows: unset;
        gap: 14px;
    }
    .gallery__item {
        display: none;
        aspect-ratio: 16/9;
        height: auto;
        min-height: 0;
        max-height: 220px;
    }
    .gallery__item.g1,
    .gallery__item.g2,
    .gallery__item.g3 {
        display: block;
    }
    .gallery__item--more {
        display: block !important;
    }
    .gallery__item--more .gallery__more-btn {
        font-size: 1.2rem;
        padding: 12px 0;
    }
    .gallery__item img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
}

/* =====================
   detail.php — gallery interactions & lightbox
   ===================== */
.gallery__item--clickable {
    cursor: pointer;
}
.gallery__item--clickable img,
.gallery__item--more img {
    transition: opacity 0.2s;
}
.gallery__item--clickable:hover img,
.gallery__item--more:hover img {
    opacity: 0.82;
}

/* "+X more" overlay */
.gallery__item--more {
    cursor: pointer;
}
.gallery__more-btn {
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 40, 0.58);
    border: none;
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}
.gallery__more-btn:hover {
    background: rgba(15, 25, 40, 0.72);
}
.gallery__more-btn span {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Lightbox overlay */
.lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 22, 0.94);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.lb-overlay--open {
    display: flex;
}
.lb-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100vw - 140px);
    max-height: calc(100vh - 80px);
}
.lb-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 80px);
    border-radius: 8px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.6);
    object-fit: contain;
    user-select: none;
}
.lb-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1;
}
.lb-close:hover {
    background: rgba(255,255,255,0.24);
}
.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 2.4rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 1;
    padding: 0;
    line-height: 1;
}
.lb-nav:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-50%) scale(1.08);
}
.lb-nav--prev { left: 20px; }
.lb-nav--next { right: 20px; }
.lb-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    pointer-events: none;
}
@media (max-width: 600px) {
    .lb-img-wrap { max-width: calc(100vw - 80px); }
    .lb-nav--prev { left: 8px; }
    .lb-nav--next { right: 8px; }
    .lb-nav { width: 42px; height: 42px; font-size: 1.8rem; }
}

/* =====================
   drazba.php
   ===================== */
.drazba-hero {
    display: flex;
    align-items: stretch;
    gap: 28px;
    background: var(--color-blue1);
    border-radius: 24px;
    padding: 48px 40px;
    margin-bottom: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.drazba-hero::before {
    content: '';
    position: absolute;
    width: 560px; height: 560px;
    right: -120px; top: -200px;
    border-radius: 50%;
    background: radial-gradient(ellipse 80% 70% at 50% 50%, var(--color-red1) 0%, var(--color-red2) 60%, transparent 100%);
    opacity: 0.85;
    filter: blur(72px);
    pointer-events: none;
    z-index: 0;
}
.drazba-hero::after {
    content: '';
    position: absolute;
    width: 340px; height: 300px;
    left: -60px; bottom: -120px;
    border-radius: 50%;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, var(--color-red1) 0%, var(--color-red2) 55%, transparent 100%);
    opacity: 0.55;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.drazba-hero__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.drazba-hero__title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
}
.drazba-hero__desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.65;
    max-width: 520px;
}
.drazba-hero__img {
    width: 280px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.10);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    text-align: center;
    padding: 20px;
    min-height: 180px;
    box-sizing: border-box;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}
.drazba-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 64px;
}
.drazba-connector {
    width: 38%;
    height: 20px;
    background: var(--color-blue1);
    border-radius: 0 0 14px 14px;
    align-self: center;
    flex-shrink: 0;
}
.drazba-connector--left  { align-self: flex-start; margin-left: 40px; }
.drazba-connector--right { align-self: flex-end;   margin-right: 40px; }
.drazba-item {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    overflow: hidden;
}
.drazba-item--img-right {
    flex-direction: row-reverse;
}
.drazba-item__img {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d0d5da;
    color: #999;
    font-size: 0.82rem;
}
.drazba-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.drazba-item__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aab;
    font-size: 2.5rem;
}
.drazba-item__content {
    flex: 1;
    padding: 28px 36px;
    display: flex;
    flex-direction: column;
}
.drazba-item__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #16232a;
    margin: 0 0 10px;
}
.drazba-item__desc {
    font-size: 0.95rem;
    color: #445;
    line-height: 1.6;
    flex: 1;
}
.drazba-item__badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: flex-end;
    margin-top: 20px;
    background: var(--color-blue2);
    color: #fff;
    border-radius: 12px;
    padding: 8px 20px 11px;
}
.drazba-item__badge-label {
    font-size: 0.72rem;
    opacity: 0.65;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.drazba-item__badge-price {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
@media (max-width: 900px) {
    .drazba-hero {
        flex-direction: column;
        padding: 36px 28px;
    }
    .drazba-hero__img {
        width: 100%;
        min-height: 120px;
    }
    .drazba-item__img {
        width: 160px;
    }
}
@media (max-width: 600px) {
    .drazba-item,
    .drazba-item--img-right {
        flex-direction: column;
    }
    .drazba-item__img {
        width: 100%;
        height: 200px;
    }
    .drazba-connector {
        display: none;
    }
}

/* =====================
   Blur-fill backdrop – sdílený
   ===================== */
.blur-bg-layer {
    position: absolute;
    inset: -8px;          /* mírné přesahí -> není vidět řez bledem */
    background-size: contain;
    background-position: center;
    filter: blur(24px);
    transform: scale(1.05);
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}

/* =====================
   index.php — Úvodní stránka
   ===================== */
.home-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: #16232a;
    margin: 52px 0 40px;
    letter-spacing: -0.01em;
}
.home-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 28px 0 rgba(0,0,0,0.07);
    padding: 36px;
    margin-bottom: 40px;
}
.home-intro__text {
    flex: 1;
    font-size: 1.3rem;
    line-height: 1.75;
}
.home-intro__img {
    width: 340px;
    height: 220px;
    flex-shrink: 0;
    align-self: flex-start;
    border-radius: 16px;
    background: #d0d5da;
    position: relative;
    overflow: hidden;
}
.home-intro__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
}
.home-feature {
    position: relative;
    overflow: visible;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 140px;
    color: #fff;
}
.home-feature__text {
    flex: 0 0 63%;
    position: relative;
    z-index: 1;
    background: var(--color-blue1);
    border-radius: 24px;
    padding: 52px 44px;
}
.home-feature__title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.22;
    width: 90%;
}
.home-feature__desc {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.72;
    margin-bottom: 30px;
    width: 90%;
}
.home-feature__btn {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid rgba(255,255,255,0.65);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}
.home-feature__btn:hover {
    background: rgba(255,255,255,0.13);
    border-color: #fff;
}
.home-feature__photos {
    flex: 1;
    position: relative;
    min-height: 450px;
    z-index: 2;
}
.home-feature__photo {
    position: absolute;
    width: 430px;
    height: 240px;
    border-radius: 16px;
    background: #1e3040;
    overflow: hidden;
}
.home-feature__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(to right, rgba(213,26,26,1) 0%, rgba(90,10,27,1) 20%, transparent 70%)
    pointer-events: none;
    z-index: 1;
}
.home-feature__photo:first-child {
    top: 40px;
    left: -80px;
}
.home-feature__photo:last-child {
    top: 300px;
    left: -80px;
}
.home-feature__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.home-current {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 48px;
}
.home-current__img {
    flex: 1;
    min-height: 300px;
    background: #d0d5da;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 28px 0 rgba(0,0,0,0.07);
}
.home-current__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
}
.home-current__content {
    flex: 2;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 28px 0 rgba(0,0,0,0.07);
}
.home-current__title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #16232a;
    margin: 0 0 16px;
}
.home-current__desc {
    font-size: 0.97rem;
    color: #556;
    line-height: 1.72;
    margin-bottom: 28px;
    flex: 1;
}
.home-current__btn {
    display: inline-block;
    align-self: flex-start;
    padding: 10px 24px;
    background: var(--color-red1);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s;
}
.home-current__btn:hover {
    background: var(--color-red2);
}
@media (max-width: 900px) {
    .home-intro {
        flex-direction: column;
    }
    .home-intro__img {
        width: 100%;
        max-width: 420px;
        height: 200px;
    }
    .home-feature {
        flex-direction: column;
        overflow: hidden;
    }
    .home-feature__text {
        flex: none;
        width: 100%;
        border-radius: 24px 24px 0 0;
    }
    .home-feature__photos {
        width: 100%;
        min-height: 320px;
    }
    .home-feature__photo {
        width: 48%;
        height: 148px;
    }
    .home-feature__photo:first-child {
        top: 16px;
        left: 2%;
    }
    .home-feature__photo:last-child {
        top: 16px;
        left: 52%;
    }
    .home-current {
        flex-direction: column;
    }
    .home-current__img {
        width: 100%;
        height: 240px;
    }
}
@media (max-width: 600px) {
    .home-title {
        font-size: 1.85rem;
        margin: 32px 0 28px;
    }
    .home-feature__photos {
        min-height: 380px;
    }
    .home-feature__photo {
        width: 80%;
        height: 170px;
    }
    .home-feature__photo:first-child {
        top: 16px;
        left: 10%;
    }
    .home-feature__photo:last-child {
        top: 206px;
        left: 10%;
    }
}

/* =====================
   program.php
   ===================== */
.program-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 0 20px;
    margin-bottom: 8px;
}
.program-intro__text {
    flex: 1;
    font-size: 1rem;
    color: #556;
    line-height: 1.75;
}
.program-intro__logo {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.78rem;
    text-align: center;
    overflow: hidden;
}
.program-intro__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.program-section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #16232a;
    margin: 16px 0 28px;
    letter-spacing: -0.01em;
}
.program-banner {
    position: relative;
    overflow: hidden;
    background: var(--color-blue1);
    border-radius: 24px;
    padding: 44px 52px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.88);
    font-size: 1rem;
    line-height: 1.78;
}

.program-banner__text {
    position: relative;
    z-index: 1;
    max-width: 820px;
}
.program-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}
/* =====================
   Program — bloky
   ===================== */
.program-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 48px;
}

/* Sdílené prvky */
.program-item__num {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: #eef0f2;
    margin-bottom: -16px;
    margin-top: -8px;
    letter-spacing: -0.04em;
    user-select: none;
}
.program-item__title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #16232a;
    margin: 0 0 12px;
}
.program-item__desc {
    font-size: 0.96rem;
    color: #556;
    line-height: 1.68;
    margin-bottom: 20px;
}
.program-item__photos {
    display: flex;
    gap: 12px;
}
.program-item__thumb {
    width: 222px;
    height: 150px;
    border-radius: 10px;
    background: #d0d5da;
    flex-shrink: 0;
    overflow: hidden;
}
.program-item__btn {
    display: inline-block;
    align-self: flex-start;
    padding: 9px 22px;
    background: var(--color-blue1);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s;
}
.program-item__btn:hover {
    background: var(--color-blue2);
}

/* --- 01 Módní přehlídka / 03 Koncert: carousel + content layout --- */
.program-item {
    display: flex;
    align-items: stretch;
    gap: 24px;
    min-height: 360px;
}
.program-item__img {
    flex: 1.2;
    background: #d0d5da;
    border-radius: 22px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;
}
.program-item__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.program-item__content {
    flex: 1;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
}

/* =====================
   Program — Carousel component
   ===================== */
.program-carousel {
    flex: 1.2;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
    background: #1a2636;
    min-height: 360px;
}
.carousel-track-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.carousel-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    background: transparent;
    overflow: hidden;
}
.carousel-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.88);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.18);
    transition: background 0.2s, transform 0.2s;
    color: #16232a;
    padding: 0;
}
.carousel-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}
.carousel-btn--prev { left: 14px; }
.carousel-btn--next { right: 14px; }
.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
    background: #fff;
    transform: scale(1.3);
}
.program-item__tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: #eef0f2;
    color: #556;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: auto;
    align-self: flex-start;
}

/* --- 02 Dražba: tmavý sjednocený card, obrázek vlevo, text vpravo --- */
.program-item--drazba {
    display: flex;
    align-items: stretch;
    border-radius: 22px;
    overflow: hidden;
    min-height: 340px;
    position: relative;
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.18);
}

.program-item--drazba__img {
    flex: 1;
    background: var(--color-blue2);
    position: relative;
    overflow: hidden;
}
.program-item--drazba__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.program-item--drazba__content {
    flex: 1;
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-blue1);
    position: relative;
    z-index: 1;
}
.program-item--drazba__content .program-item__num { color: rgba(255,255,255,0.08); }
.program-item--drazba__content .program-item__title { color: #fff; }
.program-item--drazba__content .program-item__desc { color: rgba(255,255,255,0.75); }
.program-item--drazba__content .program-item__btn {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.55);
    color: #fff;
}
.program-item--drazba__content .program-item__btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

/* --- 03 Hudební vystoupení: obrázek přes celou šířku nahoře, text pod ním --- */
.program-item--music {
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
}
.program-item--music__img {
    width: 100%;
    height: 280px;
    flex-shrink: 0;
    background: #d0d5da;
    position: relative;
    overflow: hidden;
}
.program-item--music__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.program-item--music__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(255,255,255,0.9) 100%);
}
.program-item--music__content {
    background: #fff;
    padding: 28px 40px 36px;
    display: flex;
    gap: 40px;
    align-items: center;
}
.program-item--music__content .program-item__num {
    font-size: 6rem;
    margin: 0;
    flex-shrink: 0;
    color: #eef0f2;
}
.program-item--music__content .program-item__title { font-size: 1.5rem; margin-bottom: 8px; }
.program-item--music__body { flex: 1; }

/* --- 04 Tombola: content vlevo s červeným akcentem, obrázek menší vpravo --- */
.program-item--tombola .program-item__content {
    border-left: 5px solid var(--color-red1);
    border-radius: 22px;
    padding-left: 36px;
}
.program-item--tombola .program-item__img { flex: 0.8; }
.program-item--tombola .program-item__num { color: #fde8e8; }

/* Responsive */
@media (max-width: 900px) {
    .program-item,
    .program-item--tombola,
    .program-item--concert { flex-direction: column; }
    .program-item__img { min-height: 220px; }
    .program-carousel { min-height: 260px; }
    .program-item--drazba { flex-direction: column; }
    .program-item--drazba__img { min-height: 220px; }
    .program-item--music__content { flex-direction: column; gap: 8px; }
    .program-item--music__content .program-item__num { font-size: 4rem; }
}

.program-location {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 48px;
    min-height: 300px;
}
.program-location__map {
    flex: 1;
    background: #d8dde2;
    border-radius: 22px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #889;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    overflow: hidden;
}
.program-location__map iframe {
    width: 100%;
    border: none;
}
.program-location__content {
    flex: 1;
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
}
.program-location__title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #16232a;
    margin: 0 0 20px;
}
.program-location__detail {
    font-size: 0.97rem;
    color: #556;
    line-height: 1.72;
}
.program-location__detail strong {
    color: #16232a;
    font-weight: 600;
}
@media (max-width: 900px) {
    .program-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .program-item,
    .program-item--img-right {
        flex-direction: column;
    }
    .program-item__img {
        min-height: 200px;
    }
    .program-location {
        flex-direction: column;
    }
    .program-location__map {
        width: 100%;
        min-height: 220px;
    }
}
@media (max-width: 600px) {
    .program-section-title {
        font-size: 1.8rem;
    }
    .program-banner {
        padding: 32px 24px;
    }
    .program-item__content {
        padding: 24px 20px;
    }
    .program-item__title {
        font-size: 1.4rem;
    }
    .program-location__content {
        padding: 28px 24px;
    }
}

/* =====================
   Sponsors Marquee Component
   ===================== */
.sponsors {
    padding: 56px 0 48px;
    background: #fff;
    overflow: hidden;
}
.sponsors__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #16232a;
    margin: 0 0 48px 0;
    letter-spacing: 0.01em;
}
.sponsors__track {
    overflow: hidden;
    margin-bottom: 28px;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 7%,
        black 93%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 7%,
        black 93%,
        transparent 100%
    );
}
.sponsors__track:last-of-type {
    margin-bottom: 0;
}
.sponsors__inner {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    padding: 8px 0;
    will-change: transform;
}
.sponsors__track--ltr .sponsors__inner.sponsors__inner--ready {
    animation: sponsors-scroll-ltr 14s linear infinite;
}
.sponsors__track--rtl .sponsors__inner.sponsors__inner--ready {
    animation: sponsors-scroll-rtl 14s linear infinite;
}
.sponsors__track:hover .sponsors__inner.sponsors__inner--ready {
    animation-play-state: paused;
}
@keyframes sponsors-scroll-ltr {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-1 * var(--marquee-width, 50%))); }
}
@keyframes sponsors-scroll-rtl {
    from { transform: translateX(calc(-1 * var(--marquee-width, 50%))); }
    to   { transform: translateX(0); }
}
.sponsors__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}
.sponsors__item img {
    height: 68px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    filter: grayscale(75%) opacity(0.7);
    transition: filter 0.35s ease, transform 0.25s ease;
    user-select: none;
    pointer-events: none;
}
.sponsors__item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.06);
}

/* =====================
   Responsive — sponsors
   ===================== */
@media (max-width: 768px) {
    .sponsors__title {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }
    .sponsors__inner {
        gap: 40px;
    }
    .sponsors__item img {
        height: 52px;
        max-width: 130px;
    }
    .sponsors__track--ltr .sponsors__inner,
    .sponsors__track--rtl .sponsors__inner {
        animation-duration: 10s;
    }
}
@media (max-width: 480px) {
    .sponsors__inner {
        gap: 28px;
    }
    .sponsors__item img {
        height: 42px;
        max-width: 100px;
    }

}

/* =====================
   sponsors.php — standalone page
   ===================== */
.sponsors-page__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-blue1);
    margin: 0 0 16px 0;
}
.sponsors-page__intro {
    font-size: 1.05rem;
    color: #444;
    max-width: 700px;
    margin: 0 0 48px 0;
    line-height: 1.7;
}
.sponsors-page__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
    margin-bottom: 64px;
}
.sponsors-page__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: 1.5px solid rgba(0,0,0,0.06);
    text-decoration: none;
    transition: transform 0.22s, box-shadow 0.22s;
    gap: 18px;
}
.sponsors-page__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
    text-decoration: none;
}
.sponsors-page__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
}
.sponsors-page__logo img {
    max-height: 90px;
    max-width: 180px;
    object-fit: contain;
    filter: none;
    transition: filter 0.2s;
}
.sponsors-page__card:hover .sponsors-page__logo img {
    filter: none;
}
.sponsors-page__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    text-align: center;
    letter-spacing: 0.02em;
}
@media (max-width: 600px) {
    .sponsors-page__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .sponsors-page__card {
        padding: 24px 16px 16px;
    }
    .sponsors-page__logo {
        height: 60px;
    }
    .sponsors-page__logo img {
        max-height: 60px;
        max-width: 120px;
    }
}

/* =====================
   auspices.php — záštita
   ===================== */
.auspices-page {
    background: #fff;
    justify-items: center;
}

.auspices-page__card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 20px;
    padding: 48px 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    max-width: 560px;
    aspect-ratio: 210 / 297;
    margin-bottom: 64px;
}

.auspices-page__img {
    width: 100%;
    height: 90%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 600px) {
    .auspices-page__card {
        padding: 24px 16px;
        max-width: 100%;
    }
}

/* =====================
   Header — hamburger button
   ===================== */
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    flex-shrink: 0;
    transition: background 0.2s;
}
.header__hamburger:hover {
    background: rgba(255, 255, 255, 0.12);
}
.header__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================
   Mobile nav drawer
   ===================== */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: linear-gradient(135deg, var(--color-blue1) 0%, var(--color-blue2) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mobile-nav__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.mobile-nav__menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    display: block;
    transition: background 0.2s;
}
.mobile-nav__menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}
.mobile-nav__sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.mobile-nav__sub-title {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: -4px;
    padding-top: 4px;
}

/* =====================
   Responsive — mobile header (768px)
   ===================== */
@media (max-width: 768px) {
    :root { --header-height: 60px; }

    .header {
        padding-bottom: 0 !important;
    }
    .header__bg {
        -webkit-mask-image: none;
        mask-image: none;
    }
    /* Always slim bar: logo left, hamburger right */
    .header__content,
    .header--scrolled .header__content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 16px !important;
        max-width: unset !important;
        gap: 0 !important;
    }
    .header__logo,
    .header--scrolled .header__logo {
        grid-column: unset !important;
        justify-self: unset !important;
        width: 90px !important;
        margin-bottom: 0 !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .header__nav { display: none !important; }
    .header__spacer,
    .header--scrolled .header__spacer { display: none !important; }
    .header__hamburger { display: flex !important; }

    /* Disable logo animations on mobile */
    .header--leaving .header__logo,
    .header--entering .header__logo,
    .header--hiding .header__logo {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Show mobile nav */
    .mobile-nav { display: flex; }

    /* General page responsiveness */
    .home-intro__text { font-size: 1.1rem; }
    .home-current__content { padding: 24px 20px; }
    .drazba-hero__title { font-size: 1.75rem; }
    .drazba-item__content { padding: 22px 20px; }
    .program-item--drazba__content { padding: 28px 24px; }
    .program-item--music__content { padding: 20px 20px 28px; }
    .program-location__content { padding: 28px 20px; }
    .footer__content { padding: 20px 16px; }
    .archiv-year-box__body { padding: 20px 20px 18px; }
}

@media (max-width: 480px) {
    .home-feature__text { padding: 36px 24px; }
    .program-banner { padding: 28px 16px; }
    .highlight-box { padding: 20px; gap: 20px; }
    .home-current__content { padding: 20px 16px; }
    .drazba-item__content { padding: 18px 16px; }
}

/* Desktop — hide mobile-only elements */
@media (min-width: 769px) {
    .mobile-nav { display: none !important; }
    .header__hamburger { display: none !important; }
}

/* =====================
   Kontaktní stránka
   ===================== */
.contact-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-blue1);
    margin-top: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.contact-intro {
    font-size: 1.1rem;
    color: #445566;
    max-width: 640px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/*.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
    margin-bottom: 64px;
}*/

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 64px;
}

/* Form */
.contact-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-blue1);
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8ecf0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-blue1);
    letter-spacing: 0.02em;
}

.contact-form__input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1.5px solid #d0d8e0;
    border-radius: 10px;
    font-size: 0.975rem;
    font-family: inherit;
    color: #16232a;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}

.contact-form__input:focus {
    border-color: var(--color-blue1);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 41, 58, 0.08);
}

.contact-form__input::placeholder {
    color: #a0afbb;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form__btn {
    align-self: flex-start;
    background: linear-gradient(90deg, var(--color-blue1) 0%, #0d3550 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(10, 41, 58, 0.18);
}

.contact-form__btn:hover {
    background: linear-gradient(90deg, #0d3550 0%, var(--color-blue1) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(10, 41, 58, 0.26);
}

/* Info panel */
.contact-info {
    background: linear-gradient(135deg, var(--color-blue1) 0%, var(--color-blue2) 100%);
    border-radius: 18px;
    padding: 32px 28px;
    color: #fff;
    overflow: hidden;
    position: sticky;
    top: 130px;
}

.contact-info::before,
.contact-info::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
    filter: blur(56px);
    z-index: 0;
}

.contact-info::before {
    width: 80%;
    height: 160%;
    right: -20%;
    top: -40%;
    background: radial-gradient(ellipse 80% 70% at 50% 50%, var(--color-red1) 0%, var(--color-red2) 70%, transparent 100%);
}

.contact-info::after {
    width: 55%;
    height: 120%;
    left: -15%;
    bottom: -30%;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, var(--color-red1) 0%, var(--color-red2) 60%, transparent 100%);
    opacity: 0.4;
}

.contact-info > * {
    position: relative;
    z-index: 1;
}

.contact-info .contact-section-title {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

.contact-info__block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info__icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    color: #fff;
}

.contact-info__label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 3px;
}

.contact-info__value {
    font-size: 0.975rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info__value:hover {
    color: rgba(255, 255, 255, 0.75);
}

.contact-info__note {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.contact-info__note a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.contact-info__note a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .contact-info {
        position: static;
    }
    .contact-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 600px) {
    .contact-title {
        font-size: 1.6rem;
        margin-top: 32px;
    }
    .contact-intro {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    .contact-form__btn {
        width: 100%;
        text-align: center;
    }
    .contact-info {
        padding: 24px 20px;
    }
}

/* =====================
   WIP (Work in Progress) sekce
   ===================== */
.wip-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    min-height: 50vh;
}

.wip-section__icon {
    color: var(--color-red1);
    margin-bottom: 24px;
    opacity: 0.85;
}

.wip-section__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-blue1);
    margin: 0 0 16px;
}

.wip-section__text {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 520px;
    line-height: 1.7;
    margin: 0 0 32px;
}

.wip-section__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.wip-section__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    background: var(--color-red1);
    color: #fff;
}

.wip-section__btn:hover {
    background: var(--color-red2);
}

.wip-section__btn--secondary {
    background: transparent;
    color: var(--color-blue1);
    border: 2px solid var(--color-blue1);
}

.wip-section__btn--secondary:hover {
    background: var(--color-blue1);
    color: #fff;
}

@media (max-width: 600px) {
    .wip-section {
        padding: 100px 16px 60px;
    }
    .wip-section__title {
        font-size: 1.6rem;
    }
    .wip-section__links {
        flex-direction: column;
        width: 100%;
    }
    .wip-section__btn {
        width: 100%;
        text-align: center;
    }
}
