/* 
  RFA MSK Custom Styles
  Premium Tottenham Hotspur / FAČR inspired design system.
  Multi-layered ambient shadows, spring transitions, glassmorphism and fluid typography.
*/

:root {
    /* FAČR Color Palette */
    --facr-red: #D52B1E;
    --facr-red-dark: #b52014;
    --facr-red-glow: rgba(213, 43, 30, 0.35);
    --facr-blue: #0A3A82;
    --facr-blue-dark: #07224f;
    --facr-blue-light: #1e52a8;
    --facr-blue-glow: rgba(10, 58, 130, 0.35);
    --facr-white: #ffffff;

    /* Refined Neutral Surfaces & Text */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --bg-body: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-card: #ffffff;
    --bg-dark: #0b1528;
    --bg-darker: #050b14;

    /* Subtle Borders & Dividers */
    --border-subtle: rgba(10, 58, 130, 0.08);
    --border-subtle-white: rgba(255, 255, 255, 0.16);
    --border-card: rgba(15, 23, 42, 0.06);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0A3A82 0%, #07224f 50%, #D52B1E 100%);
    --gradient-blue: linear-gradient(135deg, #0A3A82 0%, #174ea6 100%);
    --gradient-red: linear-gradient(135deg, #D52B1E 0%, #ea3829 100%);
    /* Dvě rozostřené světelné plochy nad základním ztmavením — tohle je efekt,
       který dělá tmavé sekce „drahé". Statické, za běhu nestojí nic. */
    --gradient-hero:
        radial-gradient(46% 58% at 16% 16%, rgba(30, 82, 168, 0.50) 0%, transparent 68%),
        radial-gradient(40% 52% at 86% 82%, rgba(213, 43, 30, 0.26) 0%, transparent 72%),
        radial-gradient(circle at 50% 35%, rgba(10, 58, 130, 0.42) 0%, rgba(5, 11, 20, 0.90) 100%);
    --gradient-card-overlay: linear-gradient(180deg, rgba(5, 11, 20, 0) 0%, rgba(5, 11, 20, 0.75) 60%, rgba(5, 11, 20, 0.95) 100%);
    --gradient-shimmer: linear-gradient(90deg, rgba(241, 245, 249, 0.6) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(241, 245, 249, 0.6) 100%);

    /* Stíny — tři vrstvy: vlasový obrys, těsný kontaktní stín, široký ambientní.
       Obrys nahrazuje to, co jinak dělá border: drží hranu karty i tam, kde
       stín splyne s pozadím. Modrý nádech místo černé — stín na světlém
       podkladu nikdy není šedý, vždycky přebírá barvu okolí. */
    --shadow-sm:
        0 0 0 1px rgba(10, 37, 82, 0.04),
        0 1px 2px rgba(10, 37, 82, 0.05),
        0 2px 6px -2px rgba(10, 37, 82, 0.06);
    --shadow-md:
        0 0 0 1px rgba(10, 37, 82, 0.05),
        0 1px 2px rgba(10, 37, 82, 0.06),
        0 6px 16px -4px rgba(10, 37, 82, 0.10);
    --shadow-lg:
        0 0 0 1px rgba(10, 37, 82, 0.06),
        0 2px 4px -1px rgba(10, 37, 82, 0.06),
        0 12px 28px -8px rgba(10, 37, 82, 0.14);
    --shadow-xl:
        0 0 0 1px rgba(10, 37, 82, 0.06),
        0 4px 8px -2px rgba(10, 37, 82, 0.08),
        0 24px 48px -16px rgba(10, 37, 82, 0.20);
    --shadow-facr:
        0 0 0 1px rgba(10, 58, 130, 0.10),
        0 2px 4px -1px rgba(10, 58, 130, 0.10),
        0 10px 24px -8px rgba(10, 58, 130, 0.26);

    /* Světlo na horní hraně. Na bílých plochách skoro bílé, na barevných
       a tmavých jen naznačené — 0.85 tam dělalo ostrou linku, ne highlight. */
    --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    --shadow-inner-dark: inset 0 1px 0 rgba(255, 255, 255, 0.18);

    /* Tři vrstvy: barevný obrys, kontaktní stín a záře bez svislého posunu.
       Kontaktní stín je důležitý — čistá symetrická záře bez něj vypadá,
       že tlačítko visí v mlze. Záře je v klidu jen naznačená a rozsvítí se
       až na hover; na bílém podkladu by silná záře působila lacině. */
    --glow-red:
        0 0 0 1px rgba(213, 43, 30, 0.25),
        0 2px 6px -2px rgba(213, 43, 30, 0.32),
        0 0 26px -10px rgba(213, 43, 30, 0.30);
    --glow-red-strong:
        0 0 0 1px rgba(213, 43, 30, 0.40),
        0 4px 10px -3px rgba(213, 43, 30, 0.40),
        0 0 38px -10px rgba(213, 43, 30, 0.48);
    --glow-blue:
        0 0 0 1px rgba(10, 58, 130, 0.26),
        0 2px 6px -2px rgba(10, 58, 130, 0.32),
        0 0 26px -10px rgba(10, 58, 130, 0.30);
    --glow-blue-strong:
        0 0 0 1px rgba(10, 58, 130, 0.42),
        0 4px 10px -3px rgba(10, 58, 130, 0.40),
        0 0 38px -10px rgba(10, 58, 130, 0.48);

    /* Aliasy pro starší použití */
    --shadow-glow-red: var(--glow-red);
    --shadow-glow-blue: var(--glow-blue);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Motion — křivka a délka odděleně.
       Silnější ease-out než vestavěné CSS křivky: start je okamžitý,
       takže rozhraní působí, že reaguje dřív, než animace doběhne. */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

    --dur-press: 130ms;   /* stisk tlačítka — musí být pod 160 ms */
    --dur-fast: 120ms;    /* položky menu, odkazy — hoverované nejčastěji */
    --dur-base: 180ms;    /* karty, tlačítka, výchozí hover */
    --dur-slow: 240ms;    /* větší plochy, otevírání panelů */
    --dur-image: 320ms;   /* zoom fotek — smí být pomalejší, je to velká plocha */

    /* Aliasy pro zpětnou kompatibilitu (nově s ease-out a kratšími časy) */
    --transition-fast: var(--dur-fast) var(--ease-out);
    --transition-normal: var(--dur-base) var(--ease-out);
    --transition-smooth: var(--dur-slow) var(--ease-out);
    --transition-slow: var(--dur-image) var(--ease-out);
    /* Spring s overshootem — jen pro vzácné akce (otevření modalu), nikdy hover */
    --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

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

.mt-5 {
    margin-top: 3rem;
}

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

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

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

.pt-3 {
    padding-top: 1rem;
}

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

.relative {
    position: relative;
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.rounded {
    border-radius: 12px;
}

.max-w-700 {
    max-width: 700px;
}

/* Typographic Styles */
.section-subtitle {
    color: var(--facr-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--facr-blue);
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

/* Buttons with Shimmer & Spring Effects */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    border: 1px solid transparent;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    position: relative;
    overflow: hidden;
    transition: transform var(--dur-press) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-out),
                background-color var(--dur-base) var(--ease-out),
                background-image var(--dur-base) var(--ease-out),
                border-color var(--dur-base) var(--ease-out),
                color var(--dur-base) var(--ease-out);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

/* Button Shimmer / Light Sweep */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    /* Dřív se animovala vlastnost `left` — ta běží na hlavním vlákně.
       translateX dělá totéž na GPU a o 300 ms rychleji. */
    transform: translateX(-180%) skewX(-25deg);
    transition: transform 450ms var(--ease-out);
    z-index: -1;
}

@media (hover: hover) and (pointer: fine) {
    .btn:hover::before {
        transform: translateX(280%) skewX(-25deg);
    }

    .btn:hover {
        /* Elevaci nese stín, ne posun — -3px byl na kulatém tlačítku vidět jako skok */
        transform: translateY(-1px);
    }
}

/* Musí zůstat za :hover — při stisku má vyhrát tento stav. */
.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--gradient-red);
    color: white;
    box-shadow: var(--glow-red), var(--shadow-inner-dark);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b52014 0%, #d52b1e 100%);
    color: white;
    box-shadow: var(--glow-red-strong), var(--shadow-inner-dark);
}

.btn-secondary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: var(--glow-blue), var(--shadow-inner-dark);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #07224f 0%, #0A3A82 100%);
    color: white;
    box-shadow: var(--glow-blue-strong), var(--shadow-inner-dark);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background-color: white;
    color: var(--facr-blue);
    border-color: white;
    box-shadow: var(--shadow-lg);
}

.sm-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Glassmorphic Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(10, 37, 82, 0.05);
    border-bottom: 1px solid var(--border-subtle);
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-brand {
    display: inline-flex;
    align-items: center;
    transition: transform var(--transition-fast);
}

.logo-brand:hover {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    position: relative;
    font-size: 0.95rem;
    padding: 0.5rem 0.25rem;
    letter-spacing: 0.2px;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--gradient-red);
    border-radius: 4px;
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--facr-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--facr-blue);
}

/* Modern Dropdown Navigation Menu */
.nav-item-dropdown {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: -6px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: -12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 200px;
    box-shadow: var(--shadow-lg), var(--shadow-inner);
    border-radius: 14px;
    padding: 0.6rem;
    border: 1px solid var(--border-subtle);
    z-index: 1000;
    transform-origin: top left;
}

/* Neviditelný most zabraňující ztrátě hoveru při přejetí myší z tlačítka do menu */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
    display: block;
    animation: dropdownPop 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.1rem;
    color: var(--text-main);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    border-radius: 8px;
    transition: background-color var(--transition-fast),
                color var(--transition-fast),
                transform var(--transition-fast);
}

.dropdown-item:hover {
    background-color: rgba(10, 58, 130, 0.06);
    color: var(--facr-blue);
    transform: translateX(4px);
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0.5rem;
}

.menu-toggle .bar {
    width: 26px;
    height: 3px;
    background-color: var(--facr-blue);
    border-radius: 3px;
    transition: transform var(--transition-normal),
                opacity var(--transition-normal);
}

/* Sections Base */
.section {
    padding: 5.5rem 0;
    position: relative;
}

@media (min-width: 992px) {
    .section {
        padding: 7.5rem 0;
    }
}

/* Cinematic Hero Section */
.hero {
    height: 58vh;
    min-height: 420px;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.95);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(10, 58, 130, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(10, 58, 130, 0.35);
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 0.75rem;
    color: white;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: transparent;
    -webkit-text-stroke: 1px white;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 500;
    margin-bottom: 2.2rem;
    opacity: 0.95;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.3px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.hero-shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-shape-divider .shape-fill {
    fill: var(--bg-body);
}

@media (min-width: 768px) {
    .hero-shape-divider svg {
        height: 120px;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.image-hover {
    transition: transform var(--dur-image) var(--ease-out);
}

.image-hover:hover {
    transform: scale(1.03);
}

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-facr);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--facr-blue);
    /* Dřív `float 6s` — nekonečný posun u statického údaje ruší.
       Pomalé prosvětlení modré záře dělá totéž, aniž by prvek utíkal. */
    animation: badge-breathe 8s ease-in-out infinite;
}

.experience-badge .num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--facr-red);
    line-height: 1;
}

.experience-badge .text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--facr-blue);
    line-height: 1.2;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-list .icon-box {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background-color: rgba(10, 58, 130, 0.1);
    color: var(--facr-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background-color var(--transition-normal),
                color var(--transition-normal),
                transform var(--transition-normal);
}

.feature-list li:hover .icon-box {
    background-color: var(--facr-blue);
    color: white;
    transform: translateY(-3px) rotate(4deg);
}

.feature-list h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

/* --- Editorial Typography & Goals Grid (O nás) --- */
.editorial-kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--facr-red);
    margin-bottom: 0.75rem;
}

.section-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-main);
    font-weight: 400;
}

.about-text-lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #475569;
}

.editorial-goals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .editorial-goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .editorial-goals-grid {
        grid-template-columns: 1fr;
    }
}

.editorial-goal-card {
    background: white;
    border-radius: 18px;
    padding: 2.25rem 1.75rem;
    text-align: left;
    box-shadow: var(--shadow-sm), var(--shadow-inner);
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-normal);
    border: 1px solid var(--border-card);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.editorial-goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--facr-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.editorial-goal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md), var(--shadow-inner);
    border-color: rgba(10, 58, 130, 0.18);
}

.editorial-goal-card:hover::before {
    transform: scaleX(1);
}

.card-num {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--facr-blue);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid var(--facr-red);
    padding-bottom: 0.35rem;
    width: fit-content;
}

.card-title-lg {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.editorial-goal-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Individualizace (Nová prémiová sekce) */
.individual-section {
    background: linear-gradient(145deg, var(--bg-dark) 0%, #061122 100%);
    position: relative;
    overflow: hidden;
}

.individual-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(10, 58, 130, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.indiv-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

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

.indiv-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: background-color var(--transition-normal),
                transform var(--transition-normal),
                border-color var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.indiv-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #fcd34d, #f59e0b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.indiv-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: rgba(252, 211, 77, 0.3);
}

.indiv-card:hover::after {
    transform: scaleX(1);
}

.indiv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fcd34d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: background-color var(--transition-normal),
                color var(--transition-normal),
                border-color var(--transition-normal),
                transform var(--transition-normal);
}

.indiv-card:hover .indiv-icon {
    background: #fcd34d;
    color: var(--bg-dark);
    border-color: #fcd34d;
    transform: rotateY(180deg);
}

.indiv-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.indiv-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.indiv-card strong {
    color: white;
    font-weight: 600;
}

/* Criteria & Care Split layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr 1.2fr;
        gap: 6rem;
    }
}

.check-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.check-list i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--facr-red);
    font-size: 1.25rem;
}

.cta-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--facr-red);
    box-shadow: var(--shadow-md);
}

/* Care Accordion / Cards */
.care-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.care-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.care-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 58, 130, 0.1);
}

.care-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background-color: var(--facr-red);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.care-card:nth-child(even) .care-icon {
    background-color: var(--facr-blue);
}

.care-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.care-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Realizační tým */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem 1rem;
    transition: background-color var(--transition-normal),
                transform var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-member > p:last-child {
    margin-top: auto !important;
}

.team-member:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.placeholder-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.1);
    transition: border-color var(--transition-normal),
                color var(--transition-normal);
}

.team-member:hover .placeholder-photo {
    border-color: var(--facr-red);
    color: white;
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: white;
}

.team-member .role {
    color: #a1a1aa;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Partneři */
/* Added specific backgrounds for icons */
.facr-bg {
    background-color: var(--facr-red);
}

.kraj-bg {
    background-color: #f59e0b;
}

.mesto-bg {
    background-color: #10b981;
}

.klub-bg {
    background-color: var(--facr-blue);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal);
}

.pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-size: 1.25rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.pillar-card .check-list li {
    font-size: 0.9rem;
    padding-left: 2rem;
}

.pillar-card .check-list i {
    color: var(--facr-blue);
    font-size: 1rem;
}

/* Mimoškolní aktivity */
.extra-section {
    padding: 6rem 0;
    background: white;
}

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

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

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

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.experiences-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .experiences-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

.experience-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--transition-normal),
                transform var(--transition-normal);
}

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

.experience-card h3 {
    font-size: 1.15rem;
    color: var(--facr-blue);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 0.5rem;
}

.experience-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.thumb-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: transform var(--transition-normal),
                border-color var(--transition-normal),
                box-shadow var(--transition-normal);
    cursor: pointer;
}

.thumb-img:hover {
    transform: scale(1.1);
    border-color: var(--facr-red);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.tag {
    background: var(--bg-light);
    color: var(--facr-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(10, 58, 130, 0.1);
    transition: background-color var(--transition-normal),
                color var(--transition-normal);
}

.tag:hover {
    background: var(--facr-blue);
    color: white;
}

.image-border {
    border-radius: 20px;
    border: 8px solid white;
}

.floating-trophy {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    border: 4px solid white;
    animation: float 7s ease-in-out infinite;
}

/* Premium Footer */
.footer {
    background: linear-gradient(180deg, #071733 0%, #030812 100%);
    color: #94a3b8;
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Dvě rozostřené světelné plochy u horní hrany — stejný princip jako v heru.
   Statický gradient, žádná animace: za běhu nestojí nic a patička díky němu
   přestane být plochým tmavým obdélníkem. */
.footer::before {
    content: '';
    position: absolute;
    top: -180px;
    left: -10%;
    right: -10%;
    height: 480px;
    background:
        radial-gradient(42% 60% at 24% 50%, rgba(30, 82, 168, 0.55) 0%, transparent 70%),
        radial-gradient(36% 55% at 76% 38%, rgba(213, 43, 30, 0.26) 0%, transparent 72%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

/* Obsah patičky musí zůstat nad světelnou vrstvou. */
.footer > * {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo img {
    filter: none;
    transition: transform var(--transition-normal);
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-logo p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.footer-links ul li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: #94a3b8;
    font-weight: 500;
    transition: color var(--transition-fast),
                transform var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    transform: translateX(6px);
    color: #60a5fa;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--facr-red);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: #64748b;
    background: rgba(0, 0, 0, 0.25);
}

/* Animations */
/* Amplituda 10 px při 4 s působila jako animovaný GIF.
   5 px a delší perioda se čtou jako vznášení, ne jako poskakování. */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

    100% {
        transform: translateY(0px);
    }
}

/* Dýchající světlo místo pohybu: u statické informace ruší posun,
   pomalé prosvětlení ne. */
@keyframes badge-breathe {
    0%, 100% {
        box-shadow: var(--shadow-facr);
    }

    50% {
        box-shadow:
            0 0 0 1px rgba(10, 58, 130, 0.16),
            0 2px 4px -1px rgba(10, 58, 130, 0.12),
            0 10px 24px -8px rgba(10, 58, 130, 0.30),
            0 0 32px -6px rgba(10, 58, 130, 0.35);
    }
}

/* Scroll Reveal Classes */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    /* visibility: hidden drží prvek mimo pořadí tabulátoru a mimo odečítače,
       dokud není odkrytý — a zároveň ho prohlížeč vůbec nevykresluje,
       takže blur níž nestojí nic, dokud odkrývání opravdu neběží. */
    visibility: hidden;
    /* Rozostření překlene těch pár pixelů dráhy: oko to čte jako zaostření,
       ne jako přílet zdaleka. Proto stačí 14 px místo původních 50 px. */
    filter: blur(3px);
}

/* Zdvojená třída = vyšší specificita, takže přechod odkrývání vyhraje nad
   vlastním `transition` komponenty bez ohledu na pořadí v souboru.
   (Dřív rozhodovalo pořadí: karty nad .reveal-* se odkrývaly svým přechodem,
   karty pod ním zase natrvalo zdědily reveal přechod do hoveru.)
   Po dokončení odkrytí JS třídu sundá, takže se do hoveru nepropíše. */
.reveal.reveal,
.reveal-up.reveal-up,
.reveal-left.reveal-left,
.reveal-right.reveal-right {
    transition: opacity 400ms var(--ease-out),
                transform 450ms var(--ease-out),
                filter 400ms var(--ease-out);
    /* Kaskáda. --i nastavuje HTML (nebo JS u generovaných karet).
       Strop 5 drží i devítipoložkovou skupinu do 225 ms — delší kaskáda
       už působí, že stránka couvá před uživatelem. */
    transition-delay: calc(min(var(--i, 0), 5) * 45ms);
}

.reveal,
.reveal-up {
    transform: translateY(14px);
}

.reveal-left {
    transform: translateX(-14px);
}

.reveal-right {
    transform: translateX(14px);
}

.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
    filter: blur(0);
}

.reveal-load {
    animation: loadIn 1s ease-out forwards;
}

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

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

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        /* Dřív `left: -100% -> 0` s přechodem `0.4s ease` (zkratka = `all`).
           `left` přepočítává layout na každý snímek — na mobilu nejcitelnější
           místo celého webu. translateX běží na GPU. */
        transform: translateX(-100%);
        transition: transform 280ms var(--ease-out);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Lifestyle Grid */
.lifestyle-grid {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
    padding: 0 1rem;
}

.lifestyle-card {
    flex: 1;
    max-width: 280px;
    margin-left: -20px;
    transition: transform var(--transition-normal);
    position: relative;
    z-index: 1;
}

.lifestyle-card:first-child {
    margin-left: 0;
}

.lifestyle-card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: -10px 0 20px rgba(0,0,0,0.15);
    border: 4px solid white;
    transition: box-shadow var(--transition-normal);
    cursor: pointer;
}

.lifestyle-card:hover {
    transform: translateY(-12px) rotate(2.5deg);
    z-index: 10;
}

.lifestyle-card:hover img {
    box-shadow: -15px 15px 30px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .lifestyle-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .lifestyle-card {
        margin-left: 0;
        margin-top: -40px;
    }
    .lifestyle-card:first-child {
        margin-top: 0;
    }
}

/* Horizontal Timeline Section */
.timeline-section {
    background: white;
}

.horizontal-timeline-container {
    width: 100%;
    overflow-x: auto;
    padding: 3rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--facr-blue) #eef2f6;
}

.ht-wrapper {
    display: flex;
    position: relative;
    min-width: 1000px;
    margin: 0 auto;
    justify-content: space-between;
    padding: 0 20px;
}

.ht-line {
    position: absolute;
    top: 24px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: rgba(10, 58, 130, 0.1);
    z-index: 1;
}

.ht-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ht-dot {
    width: 16px;
    height: 16px;
    background: var(--facr-red);
    border-radius: 50%;
    margin-top: 17px;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 4px white;
    transition: transform var(--transition-normal),
                background-color var(--transition-normal);
}

.ht-item:hover .ht-dot {
    transform: scale(1.3);
    background: var(--facr-blue);
}

.ht-time {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--facr-blue);
    margin-bottom: 0.5rem;
}

.ht-desc {
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.3;
}

/* FAQ Section */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    user-select: none;
}

.faq-question strong {
    font-size: 1.05rem;
    color: var(--facr-blue);
    font-weight: 700;
    padding-right: 1rem;
}

.faq-question i {
    color: var(--facr-red);
    transition: transform var(--dur-base) var(--ease-out);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f8fafc;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-main);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--facr-blue);
    color: white;
    position: relative;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle,
.testimonials-section p.max-w-700 {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

@media (max-width: 1400px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    border-radius: 16px;
    position: relative;
    transition: background-color var(--transition-normal),
                transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--facr-red);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.author-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 2px solid var(--facr-red);
    background: #e5e7eb;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.author-info span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Modal FAQ overlay styles */
.faq-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 11, 20, 0.82);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.faq-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.faq-modal-content {
    background: white;
    width: 92%;
    max-width: 720px;
    max-height: 85vh;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.94) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-inner);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}

.faq-modal-overlay.open .faq-modal-content {
    transform: scale(1) translateY(0);
}

.faq-modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-modal-header h2 {
    font-size: 1.45rem;
    margin: 0;
    color: white;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.close-modal {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--dur-fast) var(--ease-out),
                transform var(--dur-press) var(--ease-out);
}

.close-modal:hover {
    background: var(--facr-red);
    transform: scale(1.1) rotate(90deg);
}

.faq-modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* Photo fix with Flip Card Animation */
.member-photo.img-circle-fix {
    width: 150px;
    height: 180px;
    margin: 0 auto 1.5rem;
    perspective: 1000px;
    cursor: pointer;
    background: transparent;
}

.member-photo-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
}

.member-photo.img-circle-fix.flipped .member-photo-inner {
    transform: rotateY(180deg);
}

.member-photo-front, .member-photo-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    background: #e5e7eb;
    border: 4px solid transparent;
    transition: border-color var(--transition-normal);
}

.member-photo-front {
    overflow: hidden;
}

.member-photo-back {
    background: var(--facr-blue);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    border-color: var(--facr-red);
}

.team-member:hover .member-photo.img-circle-fix:not(.flipped) .member-photo-front {
    border-color: var(--facr-red);
}

.member-achievements-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.member-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 0.70rem;
    line-height: 1.3;
}

.member-achievements li {
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1rem;
}

.member-achievements li::before {
    content: '🏆';
    position: absolute;
    left: -0.3rem;
    top: -0.1rem;
    font-size: 0.75rem;
}

.member-achievements li.ntl::before {
    content: '🪈'; /* Píšťalka emoji pro repezentaci */
}

.member-achievements li:last-child {
    margin-bottom: 0;
}

.member-license {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fcd34d;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.member-photo.img-circle-fix img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Lightbox Modal Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 11, 20, 0.88);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    object-fit: contain;
}

.lightbox-overlay.open .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--facr-red);
    transform: scale(1.15) rotate(90deg);
}

/* --- Team / Players List View (2 columns, Tottenham Style) --- */
.team-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .team-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

.team-list-item {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md), var(--shadow-inner);
    transition: box-shadow var(--transition-normal),
                transform var(--transition-normal),
                border-color var(--transition-normal);
    border: 1px solid var(--border-card);
    position: relative;
}

.team-list-item:hover {
    box-shadow: var(--shadow-lg), var(--shadow-inner);
    transform: translateY(-2px);
    border-color: rgba(10, 58, 130, 0.18);
}

.team-list-photo {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-list-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-smooth);
}

.team-list-item:hover .team-list-photo img {
    transform: scale(1.06);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #94a3b8;
    font-size: 2.5rem;
    transition: transform var(--transition-normal);
}

.team-list-item:hover .avatar-placeholder {
    transform: scale(1.05);
    color: var(--facr-blue);
}

.team-list-info {
    padding: 1.25rem 1.5rem;
    flex-grow: 1;
}

.team-list-info h3 {
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.team-list-role {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.35rem;
}

.team-list-club {
    display: inline-flex;
    align-items: center;
    background: rgba(213, 43, 30, 0.08);
    color: var(--facr-red);
    border: 1px solid rgba(213, 43, 30, 0.2);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Tottenham Hotspur Style Featured News Hub --- */
.tottenham-news-hub {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1.75rem;
    margin-bottom: 3.5rem;
    align-items: stretch;
}

@media (max-width: 991px) {
    .tottenham-news-hub {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.tottenham-spotlight {
    position: relative;
    background: var(--bg-dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-inner-dark);
    border: 1px solid var(--border-card);
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.tottenham-spotlight-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.tottenham-spotlight:hover .tottenham-spotlight-img {
    transform: scale(1.03);
}

.tottenham-spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 11, 20, 0.1) 0%, rgba(5, 11, 20, 0.45) 45%, rgba(5, 11, 20, 0.96) 100%);
    z-index: 1;
    pointer-events: none;
}

.tottenham-spotlight-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2.5rem 1.75rem;
}

.tottenham-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.tottenham-spotlight-title {
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    font-weight: 900;
    line-height: 1.18;
    color: white;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.tottenham-spotlight-excerpt {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.25rem;
    max-width: 90%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.tottenham-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.tottenham-arrows {
    display: flex;
    gap: 0.5rem;
}

.tottenham-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast),
                border-color var(--transition-fast),
                transform var(--transition-fast);
}

.tottenham-nav-btn:hover {
    background: var(--facr-red);
    border-color: var(--facr-red);
    transform: scale(1.08);
}

.tottenham-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.tottenham-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width var(--transition-normal),
                border-radius var(--transition-normal),
                background-color var(--transition-normal),
                box-shadow var(--transition-normal);
    border: none;
    padding: 0;
}

.tottenham-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--facr-red);
    box-shadow: 0 0 10px rgba(213, 43, 30, 0.6);
}

/* Side Top Stories (Tottenham Style) */
.tottenham-side-stories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

.tottenham-side-item {
    display: flex;
    gap: 1.25rem;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow-sm), var(--shadow-inner);
    border: 1px solid var(--border-card);
    cursor: pointer;
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-normal),
                background-color var(--transition-normal),
                color var(--transition-normal);
    position: relative;
    overflow: hidden;
    flex: 1;
    align-items: center;
    text-align: left;
}

.tottenham-side-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--facr-blue);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition-normal);
}

.tottenham-side-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md), var(--shadow-inner);
    border-color: rgba(10, 58, 130, 0.16);
}

.tottenham-side-item.active {
    background: rgba(10, 58, 130, 0.04);
    border-color: var(--facr-blue);
    box-shadow: var(--shadow-md), var(--shadow-inner);
}

.tottenham-side-item.active::before {
    transform: scaleY(1);
}

.tottenham-side-thumb {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

.tottenham-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.tottenham-side-item:hover .tottenham-side-thumb img {
    transform: scale(1.08);
}

.tottenham-side-info {
    flex-grow: 1;
}

.tottenham-side-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text-main);
    margin-top: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.tottenham-side-item:hover .tottenham-side-title,
.tottenham-side-item.active .tottenham-side-title {
    color: var(--facr-blue);
}

.news-tag-edu {
    background: rgba(234, 179, 8, 0.85);
    color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Secondary News Cards in Grid */
.news-grid-custom {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.news-sub-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm), var(--shadow-inner);
    color: inherit;
    height: 100%;
    border: 1px solid var(--border-card);
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-normal);
}

.news-sub-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-inner);
    border-color: rgba(10, 58, 130, 0.16);
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #f1f5f9;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.news-sub-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.news-tag {
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-img-wrap .news-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
}

.news-tag-u14 {
    background: rgba(10, 58, 130, 0.85);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.news-tag-u15 {
    background: rgba(213, 43, 30, 0.85);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.news-tag-default {
    background: rgba(15, 23, 42, 0.85);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

/* News Filter Buttons */
.news-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: white;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color var(--transition-normal),
                border-color var(--transition-normal),
                color var(--transition-normal),
                transform var(--transition-normal),
                box-shadow var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    border-color: var(--facr-blue);
    color: var(--facr-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: var(--facr-blue);
    color: white;
    border-color: var(--facr-blue);
    box-shadow: var(--shadow-glow-blue);
}

/* --- Skeleton Shimmer Loaders --- */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: var(--gradient-shimmer);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
}

.skeleton-card {
    background: white;
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
}

.skeleton-avatar {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    flex-shrink: 0;
}

.skeleton-text-group {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.skeleton-line {
    height: 16px;
    width: 80%;
}

.skeleton-line.short {
    width: 45%;
    height: 12px;
}

.skeleton-line.title {
    width: 70%;
    height: 22px;
}

/* --- Weekly Plan (Týdenní plán s přepínáním týdnů a roztaženým dnem) --- */
.weekly-nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.75rem;
}

.weekly-nav-tabs {
    display: inline-flex;
    background: #e2e8f0;
    padding: 0.35rem;
    border-radius: 50px;
    gap: 0.35rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    max-width: 100%;
}

.week-nav-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.4rem;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: #475569;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: color var(--transition-normal),
                background-color var(--transition-normal),
                box-shadow var(--transition-normal);
    position: relative;
    white-space: nowrap;
}

.week-nav-tab i {
    font-size: 0.95rem;
    color: #64748b;
    transition: color var(--transition-fast);
}

.week-nav-tab:hover {
    color: var(--facr-blue);
    background: rgba(255, 255, 255, 0.6);
}

.week-nav-tab.active {
    background: white;
    color: var(--facr-blue);
    box-shadow: var(--shadow-sm), 0 2px 8px rgba(10, 58, 130, 0.12);
}

.week-nav-tab.active i {
    color: var(--facr-red);
}

.week-tab-dates {
    font-size: 0.78rem;
    opacity: 0.8;
    font-weight: 500;
    margin-left: 0.2rem;
}

.week-tab-badge {
    background: var(--facr-red);
    color: white;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.plan-friday-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(10, 58, 130, 0.06);
    color: var(--facr-blue);
    border: 1px solid rgba(10, 58, 130, 0.15);
    padding: 0.45rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-friday-notice i {
    color: var(--facr-red);
}

.plan-pending-box {
    background: white;
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm), var(--shadow-inner);
    max-width: 650px;
    margin: 0 auto;
}

.plan-pending-icon {
    width: 64px;
    height: 64px;
    background: rgba(213, 43, 30, 0.1);
    color: var(--facr-red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.plan-pending-box h3 {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.plan-pending-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.weekly-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    width: 100%;
}

@media (min-width: 900px) {
    .weekly-cards-grid {
        flex-direction: row;
        gap: 1rem;
        align-items: stretch;
        justify-content: center;
    }
}

.day-card {
    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow-sm), var(--shadow-inner);
    overflow: hidden;
    border: 1px solid var(--border-card);
    transition: flex 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    opacity: 0.88;
}

@media (min-width: 900px) {
    .day-card {
        flex: 1 1 0;
        min-width: 0;
    }
}

.day-card:hover {
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), var(--shadow-inner);
    border-color: rgba(10, 58, 130, 0.2);
}

/* Aktivní / Dnešní den – mírně roztažený a vystupující do popředí */
.day-card.active-day {
    opacity: 1;
    border-color: var(--facr-red);
    box-shadow: 0 16px 32px -6px rgba(10, 58, 130, 0.18), 0 0 0 2px var(--facr-red), var(--shadow-inner);
    z-index: 5;
    cursor: default;
}

@media (min-width: 900px) {
    .day-card.active-day {
        flex: 1.42 1 0;
        transform: translateY(-8px) scale(1.02);
    }

    .day-card.active-day:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

.day-card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.15rem 0.9rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.35s ease, padding 0.35s ease;
    position: relative;
}

.day-card.active-day .day-card-header {
    background: linear-gradient(135deg, #d52b1e 0%, #a81c12 100%);
    padding: 1.35rem 1rem;
}

.day-badge-active {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    margin-bottom: 0.35rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.day-card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: font-size 0.35s ease;
}

.day-card.active-day .day-card-header h3 {
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.day-card-header .day-date {
    font-size: 0.85rem;
    opacity: 0.95;
    font-weight: 600;
    margin-top: 0.2rem;
}

.day-card-body {
    padding: 0.25rem 0;
    flex-grow: 1;
}

.schedule-row {
    display: flex;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: background 0.2s ease, padding 0.35s ease;
}

.day-card.active-day .schedule-row {
    padding: 0.95rem 1.15rem;
    background-color: rgba(213, 43, 30, 0.015);
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row:hover {
    background-color: rgba(10, 58, 130, 0.04);
}

.schedule-time {
    font-weight: 800;
    color: var(--facr-blue);
    width: 60px;
    flex-shrink: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    font-family: var(--font-heading);
    transition: color 0.3s ease, font-size 0.3s ease, width 0.3s ease;
}

.day-card.active-day .schedule-time {
    color: var(--facr-red);
    font-size: 0.9rem;
    width: 65px;
}

.schedule-event {
    flex-grow: 1;
    padding-left: 0.75rem;
    border-left: 2px solid rgba(10, 58, 130, 0.2);
    transition: border-left 0.3s ease, padding-left 0.3s ease;
}

.day-card.active-day .schedule-event {
    border-left: 3px solid var(--facr-red);
    padding-left: 0.85rem;
}

.schedule-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.88rem;
    line-height: 1.35;
    margin-bottom: 0.15rem;
}

.day-card.active-day .schedule-title {
    font-size: 0.92rem;
}

.schedule-resp {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Premium Form Styling (Omluvenky) */
.contact-form-wrapper {
    background: white !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow-xl), var(--shadow-inner) !important;
    border: 1px solid var(--border-card) !important;
    padding: 3rem !important;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: background-color var(--transition-normal),
                border-color var(--transition-normal),
                box-shadow var(--transition-normal);
}

.form-control:focus {
    background: white;
    border-color: var(--facr-blue);
    box-shadow: 0 0 0 4px rgba(10, 58, 130, 0.12);
    outline: none;
}

/* Social Media Circular Floating Buttons */
.social-links {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.social-link-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-normal),
                background-color var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.social-link-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 8px 20px -4px rgba(220, 39, 67, 0.5);
    border-color: transparent;
}

.social-link-btn.facebook:hover {
    background: #1877f2;
    color: white;
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 8px 20px -4px rgba(24, 119, 242, 0.5);
    border-color: transparent;
}


/* =========================================================================
   Opravy: přístupnost, ovládání na dotyku, redukce animací
   ========================================================================= */

/* --- Skip link (přeskočení navigace klávesnicí) --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: 0.75rem 1.25rem;
    background: var(--facr-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* --- Viditelný fokus pro klávesnici (dřív nebyl nikde) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--facr-red);
    outline-offset: 3px;
    border-radius: 4px;
}

.footer a:focus-visible,
.hero a:focus-visible,
.lightbox-close:focus-visible,
.close-modal:focus-visible {
    outline-color: #fcd34d;
}

/* Jen pro odečítače obrazovky */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Prvky převedené z <div>/<a> na <button> potřebují reset --- */
.menu-toggle {
    background: none;
    border: none;
    padding: 0;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
}

.faq-question {
    width: 100%;
    border: none;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    color: inherit;
}

.lightbox-close {
    background: none;
    border: none;
    line-height: 1;
    padding: 0;
}

/* --- Rozbalovací menu na dotykových zařízeních --- */
/* Původně se otevíralo jen přes :hover, takže na mobilu bylo nedostupné.
   Nově ho otevírá klik (třída .open z JS). */
.nav-item-dropdown.open .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@media (hover: none) {
    .nav-item-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-item-dropdown.open .dropdown-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-item-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-item-dropdown.open .dropdown-menu {
        display: block;
        animation: none;
    }

    /* Mobilní menu je scrollovatelné – s rozbaleným podmenu se nevejde na výšku */
    .nav-menu {
        justify-content: flex-start;
        padding: 2rem 0 4rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-dropdown-toggle {
        font-size: 1.25rem;
    }

    .nav-item-dropdown {
        text-align: center;
    }

    .dropdown-item {
        text-align: center;
        font-size: 1.05rem;
    }
}

/* Šipka u rozbaleného podmenu se otočí */
.nav-dropdown-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.nav-dropdown-toggle i {
    transition: transform var(--dur-base) var(--ease-out);
}

/* --- Eyebrow nadpis: dřív <h4>, teď <p> (kvůli pořadí nadpisů) --- */
.section-subtitle {
    font-family: var(--font-heading);
}

/* --- Hero na úvodní stránce --- */
/* Statický snímek z videa; na mobilu a při šetření dat se video vůbec nestahuje. */
.hero-home {
    background-image: url('assets/images/hero-poster.jpg');
    background-size: cover;
    background-position: center;
}

/* --- Fotky v galerii jsou ovladatelné klávesnicí --- */
.thumb-img:focus-visible {
    transform: scale(1.1);
    border-color: var(--facr-red);
}

/* --- Novinky: rozbalení textu přímo v kartě --- */
.news-body.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-expand {
    align-self: flex-start;
    margin-top: auto;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--facr-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-expand:hover {
    color: var(--facr-red);
}

/* --- Upozornění na neaktuální týdenní plán --- */
.plan-notice {
    max-width: 700px;
    margin: 0 auto 2rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #78350f;
    font-weight: 600;
    text-align: center;
}

/* --- Odkazy na sociální sítě (po doplnění URL v patičce) --- */
.social-link {
    color: #fff;
    font-size: 1.5rem;
    transition: color var(--dur-fast) var(--ease-out);
}

.social-link:hover {
    color: #fcd34d;
}

/* --- Respektování systémového nastavení "omezit pohyb" --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        visibility: visible;
        transform: none;
        filter: none;
        transition-delay: 0s;
    }
}

/* --- Pojistka bez JavaScriptu --- */
/* .reveal-* má visibility: hidden – bez JS by zůstal obsah neviditelný. */
.no-js .reveal,
.no-js .reveal-up,
.no-js .reveal-left,
.no-js .reveal-right {
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
}

/* =========================================================================
   Dotyková zařízení: hover se po tapnutí "zasekne"
   -------------------------------------------------------------------------
   Na mobilu/tabletu nejde myší odjet pryč, takže zvednutý prvek zůstane
   zvednutý až do dalšího tapu jinam. Vypínáme proto jen posun a zvětšení —
   barvy a stíny zůstávají, ty jako zpětná vazba na tap fungují správně.
   ========================================================================= */
@media (hover: none) {

    .dropdown-item:hover,
    .image-hover:hover,
    .editorial-goal-card:hover,
    .indiv-card:hover,
    .indiv-card:hover .indiv-icon,
    .feature-list li:hover .icon-box,
    .care-card:hover,
    .team-member:hover,
    .pillar-card:hover,
    .experience-card:hover,
    .thumb-img:hover,
    .footer-links a:hover,
    .lifestyle-card:hover,
    .ht-item:hover .ht-dot,
    .testimonial-card:hover,
    .close-modal:hover,
    .team-list-item:hover,
    .team-list-item:hover .team-list-photo img,
    .team-list-item:hover .avatar-placeholder,
    .tottenham-nav-btn:hover,
    .tottenham-side-item:hover,
    .tottenham-side-item:hover .tottenham-side-thumb img,
    .news-sub-card:hover,
    .news-sub-card:hover .card-img-wrap img,
    .filter-btn:hover,
    .social-link-btn.instagram:hover,
    .social-link-btn.facebook:hover {
        transform: none;
    }

    /* Stisk zůstává — na dotyku je to jediná okamžitá zpětná vazba. */
    .btn:active,
    .filter-btn:active,
    .week-nav-tab:active {
        transform: scale(0.97);
    }
}

/* =========================================================================
   Klikací karty v Manuálu pro rodiče + obsah informačních oken
   ========================================================================= */

.care-card-action {
    position: relative;
    align-items: center;
}

.care-card-trigger {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

/* Klikací je celá karta. Přístupné jméno ale nese tlačítko s nadpisem,
   takže odečítač i klávesnice dostanou smysluplný cíl, ne prázdný obdélník. */
.care-card-trigger::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

/* Fokusový rámeček patří kolem celé karty, ne jen kolem textu nadpisu. */
.care-card-action:has(.care-card-trigger:focus-visible) {
    outline: 3px solid var(--facr-red);
    outline-offset: 3px;
}

.care-card-trigger:focus-visible {
    outline: none;
}

.care-card-arrow {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: transform var(--dur-base) var(--ease-out),
                color var(--dur-base) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .care-card-action:hover .care-card-arrow {
        transform: translateX(3px);
        color: var(--facr-blue);
    }
}

/* --- Obsah informačních oken --- */
.info-modal-body .info-block + .info-block,
.info-modal-body .info-note + .info-block {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-card);
}

.info-modal-body h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    color: var(--facr-blue);
    margin-bottom: 0.6rem;
}

.info-modal-body h3 i {
    color: var(--facr-red);
    font-size: 0.9rem;
}

.info-modal-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-modal-body p + p {
    margin-top: 0.75rem;
}

.info-modal-body a {
    color: var(--facr-blue);
    font-weight: 600;
    border-bottom: 1px solid rgba(10, 58, 130, 0.25);
    transition: color var(--dur-fast) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out);
}

.info-modal-body a:hover {
    color: var(--facr-red);
    border-bottom-color: var(--facr-red);
}

/* Telefon a lhůta — to jsou dva údaje, kvůli kterým sem rodič přišel. */
.info-lead {
    font-family: var(--font-heading);
    font-size: 1.2rem !important;
    font-weight: 700;
    color: var(--text-main) !important;
}

.info-lead a {
    border-bottom: none;
}

/* Právní upozornění: vizuálně oddělené, aby se nedalo přehlédnout. */
.info-note {
    background: rgba(213, 43, 30, 0.04);
    border-left: 3px solid var(--facr-red);
    border-radius: 0 10px 10px 0;
    padding: 1.15rem 1.35rem;
}

.info-note p {
    font-size: 0.9rem;
    line-height: 1.65;
}

.info-channels {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.info-channels li {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.info-channels i {
    color: var(--facr-blue);
    font-size: 0.85rem;
    width: 1rem;
    flex-shrink: 0;
}

/* Přihlašovací údaje jako dvojice popisek/hodnota — rodič je opisuje,
   takže hodnota musí být na první pohled oddělená od popisku. */
.info-credentials {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.info-credentials dt {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.info-credentials dd {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    word-break: break-word;
}

@media (max-width: 480px) {
    .info-credentials {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .info-credentials dd {
        margin-bottom: 0.6rem;
    }
}

/* =========================================================================
   Týdenní plán — popisky místo časů, zvýrazněná místa a speciální akce
   ========================================================================= */

/* Časový sloupec je široký 60 px, protože počítá s "8:00". Popisek jako
   "Odpoledne" se do něj nevejde a přetékal za oddělovací linku — dostane
   proto menší písmo, zalomení a svislé vystředění vůči názvu akce. */
.schedule-time--label {
    /* Verzálky se do 60px sloupce nevejdou a lámaly se uprostřed slova
       ("ODPOLED / NE"). Malá písmena jsou užší, takže "Odpoledne" projde
       na jeden řádek — a v běžné velikosti se i lépe čte. */
    font-size: 0.68rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: none;
    white-space: nowrap;
    align-self: center;
}

.day-card.active-day .schedule-time--label {
    font-size: 0.72rem;
}

/* Místa s vlastní barvou v plánu (TJ Šoupalka) */
.venue-green {
    color: #15803d;
    font-weight: 700;
}

.schedule-resp .venue-green {
    font-weight: 600;
}

/* --- Speciální akce (v tabulce žlutě podbarvené) --- */
.schedule-row--special {
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.18) 0%, rgba(250, 204, 21, 0.05) 100%);
    /* Levý pruh drží zarovnání s ostatními řádky, barevný stín akci
       nadzvedne nad zbytek dne, aniž by se musela měnit velikost. */
    box-shadow: inset 3px 0 0 #eab308,
                0 2px 10px -3px rgba(234, 179, 8, 0.50);
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

/* Hover nesmí přebít žluté pozadí — jen ho zesílí. */
.schedule-row--special:hover {
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.26) 0%, rgba(250, 204, 21, 0.09) 100%);
}

.schedule-row--special .schedule-time,
.schedule-row--special .schedule-title {
    font-weight: 800;
    color: #854d0e;
}

.schedule-row--special .schedule-resp {
    color: #a16207;
    font-weight: 600;
}

.schedule-row--special .schedule-event,
.day-card.active-day .schedule-row--special .schedule-event {
    border-left-color: rgba(234, 179, 8, 0.6);
}

/* Číslovaný postup v informačním okně */
.info-steps {
    list-style: none;
    counter-reset: krok;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.info-steps li {
    counter-increment: krok;
    position: relative;
    padding-left: 2.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Číslo kroku jako kolečko — rodič postupuje shora dolů a potřebuje
   na první pohled vidět, ve kterém kroku je. */
.info-steps li::before {
    content: counter(krok);
    position: absolute;
    left: 0;
    top: -0.1rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-blue);
}

.info-steps strong {
    color: var(--text-main);
}

.info-steps code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
    background: var(--bg-light);
    border: 1px solid var(--border-card);
    border-radius: 5px;
    padding: 0.1rem 0.4rem;
    color: var(--facr-blue);
}

/* Tlačítko Číst — zobrazí se jen u novinek s vyplněným sloupcem Text */
.news-read-btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.tottenham-spotlight-content .news-read-btn {
    margin-top: 1.1rem;
}

.news-read-btn[hidden] {
    display: none;
}

/* Obsah okna s celým článkem */
.news-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.news-article-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.news-article-text br + br {
    content: '';
    display: block;
    margin-top: 0.7rem;
}

/* =========================================================================
   Karty bez ikon — nositelem hierarchie je typografie, ne obrázek
   ========================================================================= */

/* --- Pilíře: FAČR / KRAJ / MĚSTO / KLUBY --- */
/* Krátký název unese velký řez. Barevný vlasový pruh nad nadpisem
   nahrazuje bývalou ikonu — drží identitu partnera, ale nekrade pozornost. */
.pillar-card h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--facr-blue);
    margin-bottom: 0;
    padding-top: 1.1rem;
    position: relative;
}

.pillar-card h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--facr-blue);
    transition: width var(--dur-slow) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .pillar-card:hover h3::before {
        width: 68px;
    }
}

.pillar-facr h3 { color: var(--facr-red); }
.pillar-facr h3::before { background: var(--facr-red); }
.pillar-kraj h3 { color: #b45309; }
.pillar-kraj h3::before { background: #f59e0b; }
.pillar-mesto h3 { color: #047857; }
.pillar-mesto h3::before { background: #10b981; }
.pillar-klub h3 { color: var(--facr-blue); }
.pillar-klub h3::before { background: var(--facr-blue); }

/* --- Individuální rozvoj --- */
.indiv-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    padding-top: 1rem;
    position: relative;
}

.indiv-card h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--facr-red);
}

/* --- Komplexní péče o hráče --- */
/* Bez ikony zbyl v kartě jediný sloupec — flex s mezerou už nedává smysl. */
.care-card {
    display: block;
}

.care-card .care-text h3 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.6rem;
    color: var(--facr-blue);
}

/* Číslo pořadí místo ikony: drží rytmus seznamu a nesoupeří s nadpisem. */
.care-accordion {
    counter-reset: pece;
}

.care-card .care-text h3::before {
    counter-increment: pece;
    content: counter(pece, decimal-leading-zero);
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--facr-red);
    margin-bottom: 0.45rem;
}

/* Klikací karty v Manuálu mají ikonu i dál — tam se počítadlo nehodí. */
.care-card-action {
    display: flex;
}

.care-card-action .care-text h3::before {
    content: none;
}

/* =========================================================================
   Týdenní plán — nová hlavička dne, kompaktnější řádky
   ========================================================================= */

/* Původní modro-červený gradient (--gradient-primary) se ve třicet pixelů
   vysoké hlavičce slil do špinavé fialové. Místo přechodu mezi dvěma
   barvami značky teď stojí tmavá základna a nad ní měkké světlo —
   barva se objevuje jen jako tenký proužek na horní hraně. */
.day-card-header {
    background: #0b1e3d;
    background-image:
        radial-gradient(120% 140% at 12% 0%, rgba(30, 82, 168, 0.55) 0%, transparent 62%),
        linear-gradient(180deg, #10264a 0%, #081627 100%);
    padding: 1rem 0.9rem 0.85rem;
    border-bottom: none;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

/* Akcentní proužek nese identitu dne: modrý běžně, červený dnes. */
.day-card-header::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--facr-blue) 0%, #2f6bc7 100%);
}

.day-card.active-day .day-card-header {
    background-image:
        radial-gradient(120% 140% at 12% 0%, rgba(213, 43, 30, 0.42) 0%, transparent 62%),
        linear-gradient(180deg, #1a1430 0%, #0d0a18 100%);
    padding: 1.15rem 1rem 1rem;
}

.day-card.active-day .day-card-header::before {
    background: linear-gradient(90deg, var(--facr-red) 0%, #ff6a52 100%);
}

.day-card-header h3 {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
}

.day-card.active-day .day-card-header h3 {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

.day-card-header .day-date {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0.72;
    margin-top: 0.15rem;
}

/* Odznak "DNES" bez skla a stínu — na tmavém podkladu stačí obrys. */
.day-badge-active {
    background: rgba(213, 43, 30, 0.22);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 0.65rem;
    padding: 0.15rem 0.55rem;
}

/* --- Kompaktnější rozvrh --- */
/* Plán je široký 1440px, takže se dá ubrat na výšce řádku a písmu,
   aniž by se to hůř četlo — na obrazovku se vejde víc dne najednou. */
.schedule-row {
    padding: 0.6rem 0.85rem;
}

.day-card.active-day .schedule-row {
    padding: 0.7rem 1rem;
}

.schedule-time {
    width: 54px;
    font-size: 0.8rem;
}

.day-card.active-day .schedule-time {
    width: 58px;
    font-size: 0.85rem;
}

.schedule-title {
    font-size: 0.83rem;
    line-height: 1.3;
}

.day-card.active-day .schedule-title {
    font-size: 0.87rem;
}

.schedule-resp {
    font-size: 0.71rem;
}

.schedule-event {
    padding-left: 0.65rem;
}

/* --- TJ Šoupalka jako zelené pole, ne jen zelený text --- */
.venue-green {
    display: inline-block;
    background: #dcfce7;
    color: #0f172a;
    font-weight: 700;
    padding: 0.08em 0.45em;
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px rgba(21, 128, 61, 0.28);
}

.schedule-resp .venue-green {
    font-weight: 600;
    font-size: 0.95em;
}

/* Zamčená záložka příštího týdne (do čtvrtka) */
.week-nav-tab:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(1);
}

.week-nav-tab:disabled:hover {
    background: none;
    color: inherit;
    transform: none;
    box-shadow: none;
}

.plan-friday-notice--locked {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-muted);
    border-color: rgba(15, 23, 42, 0.1);
}
