/* ==================== ZÁKLADNÍ PROMĚNNÉ ==================== */
:root {
    --brand-black: #000000;
    --brand-dark: #111111;
    --brand-gray: #222222;
    --brand-gray-light: #f3f4f6;
    --brand-white: #ffffff;
    --brand-accent: #00E5FF;
    --brand-accent-hover: #00B3CC;
    --text-muted: #9ca3af;
    
    --font-body: 'Inter', sans-serif;
    --font-display: 'Oswald', sans-serif;
}

/* ==================== RESET A VŠEOBECNÉ STYLY ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; border-radius: 0 !important; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--brand-white); line-height: 1.5; display: flex; flex-direction: column; min-height: 100vh; background-color: var(--brand-black); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); text-transform: uppercase; }
a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }
svg { width: 100%; height: 100%; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* BARVY POZADÍ */
.bg-white { background-color: var(--brand-white); }
.bg-black { background-color: var(--brand-black); }
.bg-dark { background-color: var(--brand-dark); }
.bg-gray { background-color: var(--brand-gray); }
.bg-light { background-color: var(--brand-gray-light); }
.text-black { color: var(--brand-black); }
.text-white { color: var(--brand-white); }
.text-gray { color: var(--brand-gray); }
.text-accent { color: var(--brand-accent); }
.text-gray-dark { color: #4b5563; }
.text-center { text-align: center; }
.section { padding: 96px 0; position: relative; }
.section-border { border-bottom: 4px solid var(--brand-accent); }
.section-border-top { border-top: 2px solid var(--brand-gray); }
.section-border-bottom { border-bottom: 2px solid var(--brand-black); }
.section-border-thick { border-bottom: 8px solid var(--brand-accent); }
.section-heading { font-size: 3rem; font-weight: 900; line-height: 1.15; margin-bottom: 2rem; }
.section-tag { 
    color: var(--brand-accent); 
    font-weight: 700; 
    letter-spacing: 2px; 
    font-size: 0.875rem; 
    margin-bottom: 0.5rem; 
    display: flex; 
    align-items: center; /* Drží modrou linku uprostřed výšky textu */
    gap: 1rem; 
    justify-content: left;
    
    /* TOTO PŘEBÍJE CENTROVÁNÍ RODIČE: */
    align-self: flex-start; 
    margin-left: 0; 
}
.border-bottom { border-bottom: 2px solid #d1d5db; }

/* EFEKTY A ROZLOŽENÍ */
.sharp-box { border: 2px solid #333; transition: all 0.3s ease; display: block; }
.sharp-box:hover { border-color: var(--brand-accent); box-shadow: 6px 6px 0px var(--brand-accent); transform: translate(-4px, -4px); }
.accent-shadow { box-shadow: 8px 8px 0px var(--brand-accent); }
.bw-img { filter: grayscale(100%); transition: filter 0.3s; }
.border-thick { border: 4px solid var(--brand-black); }
.two-cols { display: grid; grid-template-columns: 1fr; gap: 4rem; }
.two-cols.gap-large { gap: 6rem; }
.align-center { align-items: center; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .two-cols { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: 1fr 1fr; } }

/* SEKCE O NÁS */
.about-title { font-size: 4rem; font-weight: 900; line-height: 1; margin-bottom: 1.5rem; }
.line { width: 48px; height: 4px; background: var(--brand-accent); display: block; }
.about-p { font-weight: 700; color: var(--brand-black); font-size: 1.25rem; }
.text-body p { color: #374151; font-size: 1.125rem; margin-bottom: 1.5rem; }
.highlight-box { background-color: var(--brand-gray-light); padding: 2rem; border-left: 8px solid var(--brand-accent); }
.highlight-box h4 { font-weight: 900; font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--brand-black); }
.image-showcase { position: relative; justify-content: center; display: flex; align-items: center}
.decor-box { position: absolute; bottom: -24px; left: -24px; background: var(--brand-black); padding: 16px; border: 2px solid var(--brand-accent); width: 80px; height: 80px; color: var(--brand-accent); }
.section-header { max-width: 800px; margin: 0 auto 4rem; }
.section-tag.center{ justify-content: center; }
.section-subtitle { color: var(--text-muted); font-size: 1.125rem; }
.sharp-box h4 { font-size: 1.875rem; font-weight: 900; color: white; margin-bottom: 1rem; transition: color 0.3s; }
.sharp-box:hover h4 { color: var(--brand-accent); }
.sharp-box p { color: var(--text-muted); font-weight: 300; }
.sharp-box { padding: 2rem; }
.icon-box { width: 64px; height: 64px; color: var(--brand-accent); border: 2px solid var(--brand-accent); padding: 12px; margin-bottom: 1.5rem; }
.about-img { transition: all 0.4s ease; filter: grayscale(100%); box-shadow: 8px 8px 0px var(--text-muted);}
.about-img:hover { filter: grayscale(0%); box-shadow: 8px 8px 0px var(--brand-accent-hover); }
.grid-2.padding { padding: 0 7rem;}
.trainings-wrapper { background: var(--brand-gray); padding: 2rem; border: 2px solid var(--brand-black); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.trainings-desc { color: #d1d5db; font-size: 1.125rem; font-weight: 300; margin-bottom: 2rem; }
.age-box { background: var(--brand-black); border-left: 8px solid var(--brand-accent); padding: 1.5rem; box-shadow: 6px 6px 0px rgba(0,229,255,0.2); margin-bottom: 2.5rem; }
.age-box h4 { color: var(--brand-accent); font-weight: 900; font-size: 1.25rem; letter-spacing: 2px; }
.age-box p { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.5rem; }
.trainings-img { transition: all 0.4s ease; filter: grayscale(100%); box-shadow: 8px 8px 0px var(--brand-black); }
.trainings-img:hover { filter: grayscale(0%); box-shadow: 8px 8px 0px var(--brand-accent-hover); }
.heading-bottom-mg { margin-bottom: 0.5rem;}
.sponsors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; justify-items: center; align-items: center; margin-top: 3rem; }
.sponsor-logo { width: 100%; max-width: 180px; filter: grayscale(100%); transition: all 0.3s; }
.sponsor-logo:hover { filter: grayscale(0%); }
@media (min-width: 768px) { .sponsors-grid { grid-template-columns: repeat(4, 1fr); } }
.doc-link { display: flex; flex-direction: column; align-items: center; padding: 1.5rem; border: 2px solid var(--brand-gray); cursor: pointer; }
.doc-link:hover { border-color: var(--brand-accent); }
.doc-link svg { width: 48px; height: 48px; color: #6b7280; margin-bottom: 1rem; transition: color 0.3s; }
.doc-link:hover svg { color: var(--brand-accent); }
.doc-link h4 { font-size: 1.25rem; font-weight: 700; }
.file-info { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 2px; color: #6b7280; margin-top: 0.5rem; }
.span-2 { grid-column: 1 / -1;}
.links-list { display: flex; flex-direction: column; gap: 1rem; }
.ext-link { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; transition: all 0.3s; }
.primary-link { background: var(--brand-gray); border-left: 4px solid var(--brand-accent); }
.primary-link:hover { background: white; }
.primary-link:hover h4 { color: var(--brand-black); }
.primary-link:hover svg { color: var(--brand-black); }
.primary-link:hover p { color: #4b5563; }
.primary-link h4 { font-size: 1.5rem; font-weight: 900; color: white; transition: color 0.3s; }
.primary-link p { color: var(--text-muted); font-size: 0.875rem; transition: color 0.3s; }
.primary-link svg { width: 32px; height: 32px; color: var(--brand-accent); transition: color 0.3s; }
.secondary-link { background: var(--brand-dark); border-left: 4px solid #4b5563; }
.secondary-link:hover { border-color: var(--brand-accent); background: var(--brand-gray); }
.secondary-link:hover h4, .secondary-link:hover svg { color: var(--brand-accent); }
.secondary-link h4 { font-size: 1.25rem; font-weight: 900; color: #e5e7eb; transition: color 0.3s; }
.secondary-link p { color: #6b7280; font-size: 0.875rem; }
.secondary-link svg { width: 24px; height: 24px; color: #6b7280; transition: color 0.3s; }
.ext-link-text { flex-grow: 1; }
.schedule-list { display: flex; flex-direction: column; gap: 2rem; }
.schedule-item { display: flex; align-items: flex-start; gap: 1rem; }
.schedule-icon { width: 56px; height: 56px; padding: 12px; flex-shrink: 0; }
.accent-bg { background: var(--brand-accent); color: var(--brand-black); }
.white-bg { background: white; color: var(--brand-black); border: white;}
.schedule-text h4 { font-size: 1.875rem; font-weight: 900; color: white; }
.schedule-text .time { color: var(--brand-accent); font-weight: 700; font-size: 1.125rem; letter-spacing: 2px; margin-top: 0.25rem; }
.schedule-text .location { color: var(--text-muted); margin-top: 0.25rem; }

/* NAVIGACE */
.navbar { position: fixed; width: 100%; z-index: 50; background-color: rgba(0, 0, 0, 0.95); backdrop-filter: blur(10px); border-bottom: 2px solid var(--brand-gray); transition: all 0.3s; }
.navbar.scrolled { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.5); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 96px; }
.logo-group { display: flex; align-items: center; gap: 12px; }
.logo-box { width: 48px; height: 48px; background: white; border: 2px solid var(--brand-accent); display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.logo-group:hover .logo-box { transform: scale(1.1); }
.logo-box img { width: 40px; height: 40px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; letter-spacing: 2px; color: white; transition: color 0.3s; }
.logo-group:hover .logo-title { color: var(--brand-accent); }
.logo-subtitle { font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 3px; color: var(--text-muted); }
.desktop-menu { display: none; gap: 2rem; }
.desktop-menu a { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: 1px; color: white; }
.desktop-menu a:hover { color: var(--brand-accent); }
.mobile-menu-btn { display: block; background: none; border: 2px solid transparent; color: white; cursor: pointer; padding: 8px; transition: border-color 0.3s; width: 48px; height: 48px; }
.mobile-menu-btn:hover { border-color: var(--brand-accent); color: var(--brand-accent); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--brand-dark); border-top: 2px solid var(--brand-accent); padding: 10px 0; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5); }
.mobile-menu.active { display: block; }
.mobile-menu a { display: block; padding: 12px 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: white; }
.mobile-menu a:hover { background: var(--brand-accent); color: var(--brand-black); }
@media (min-width: 1024px) { .desktop-menu { display: flex; } .mobile-menu-btn, .mobile-menu { display: none !important; } }

/* HERO SEKCE */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 50px; overflow: hidden; }
.hero-mini { min-height: 40vh; padding-top: 96px; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 4px solid var(--brand-accent); }
.hero-bg { position: absolute; inset: 0; background-image: radial-gradient(#222 1px, transparent 1px); background-size: 24px 24px; z-index: 1; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top right, #000, rgba(17,17,17,0.9), #000); }

/* Základní rozložení (mobilní - pod sebou) */
.hero-container { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 3rem; padding: 3rem; width: 100%; max-width: 1400px; margin: 0 auto; }
.hero-content { flex: 1.2; text-align: center; padding: 0 20px;}

.hero-tag { display: inline-block; background: var(--brand-gray); border: 2px solid var(--brand-gray); padding: 4px 16px; margin-bottom: 1.5rem; margin-top: 5rem; transition: border-color 0.3s; }
.hero-tag:hover { border-color: var(--brand-accent); }
.hero-tag span { color: var(--brand-accent); font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 2px; }
.hero-title { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; color: white; }
.hero-title span { color: var(--brand-accent); }
.hero-text { font-size: 1.125rem; color: var(--text-muted); font-weight: 300; max-width: 600px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; align-items: center; }

.btn { padding: 16px 40px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 1px; border: 2px solid var(--brand-accent); display: inline-block; text-align: center; transition: all 0.3s;}
.btn-primary { background: var(--brand-accent); color: var(--brand-black); }
.btn-primary:hover { background: white; border-color: white; color: var(--brand-black); }
.btn-secondary { background: var(--brand-black); color: white; }
.btn-secondary:hover { background: var(--brand-accent); color: var(--brand-black); }

/* ===== NOVÁ ČÁST PRO LOGO ===== */
.main_logo_section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 2rem;
}

/* Zvětšený světelný kruh ZA logem */
.main_logo_section::before {
    content: '';
    position: absolute;
    width: 600px;  
    height: 600px; 
    /* Zjemněný střed, aby to pod logem nepůsobilo "vypáleně" */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    border-radius: 50%;
}

.main_logo_section img {
    width: 100%;
    max-width: 450px; 
    height: auto;
    position: relative;
    z-index: 1; /* Logo je nad světlem */
    animation: float 6s ease-in-out infinite;
}

/* Úprava světla pro mobily a tablety */
@media (max-width: 992px) {
    .main_logo_section::before {
        width: 400px;
        height: 400px;
    }
    .main_logo_section img {
        max-width: 300px;
    }
}

/* ===== DESKTOPOVÉ ROZLOŽENÍ ===== */
@media (min-width: 1024px) { 
    .hero-container { 
        flex-direction: row; /* Hodí text a logo vedle sebe */
        text-align: left; 
        padding: 0 4rem; /* Přidán mírný padding zleva/zprava, aby to nebylo nalepené na krajích */
        gap: 6rem; /* Větší mezera mezi textem a logem */
    } 
    .hero-content { 
        text-align: left; 
        padding: 0;
    } 
    .hero-title { 
        font-size: 6rem; 
    } 
    .hero-text { 
        margin: 0 0 2.5rem 0; 
        font-size: 1.25rem; 
    } 
    .hero-actions { 
        flex-direction: row; 
    }
    
    .main_logo_section {
        width: 100%;
        padding: 3rem;

        margin-top: 50px;
    }
}


/* PATIČKA */
.footer { padding-top: 80px; padding-bottom: 32px; margin-top: auto; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.footer-logo-box { width: 56px; height: 56px; background: var(--brand-accent); display: flex; align-items: center; justify-content: center; }
.footer-logo-box img { width: 48px; height: 48px; filter: invert(1); mix-blend-mode: multiply; }
.footer-title { font-family: var(--font-display); font-weight: 900; font-size: 1.875rem; letter-spacing: 3px; color: var(--brand-accent); }
.footer-desc { color: var(--text-muted); font-weight: 300; max-width: 400px; margin-bottom: 2rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { width: 48px; height: 48px; border: 2px solid var(--brand-gray); display: flex; align-items: center; justify-content: center; color: white; }
.social-links a:hover { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand-black); }
.social-links svg { width: 24px; height: 24px; }
.footer-nav h4, .footer-contact h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 2px; border-bottom: 2px solid var(--brand-accent); padding-bottom: 8px; display: inline-block; margin-bottom: 1.5rem; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--text-muted); font-family: var(--font-display); letter-spacing: 1px; }
.footer-nav a:hover { color: var(--brand-accent); }
.footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-muted); }
.footer-contact svg { width: 24px; height: 24px; color: var(--brand-accent); flex-shrink: 0; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--brand-accent); }
.footer-bottom { border-top: 1px solid var(--brand-gray); padding-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 2px; color: #6b7280; text-align: center; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-main { grid-column: span 2; } .footer-bottom { flex-direction: row; justify-content: space-between; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } .footer-main { grid-column: auto; } }
.main_logo_section { padding-right: 4rem; }

/* TRENÉŘI */
.coach-card { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.coach-img { width: 100%; height: 350px; object-fit: cover; filter: grayscale(100%); transition: all 0.4s ease; border-bottom: 4px solid var(--brand-gray); }
.sharp-box:hover .coach-img { filter: grayscale(0%); border-bottom: 4px solid var(--brand-accent); }
.coach-info { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.coach-name { font-size: 2rem; font-weight: 900; margin-bottom: 0.25rem; color: white; }
.coach-role { font-weight: 700; color: var(--brand-accent); letter-spacing: 1px; margin-bottom: 1.5rem; }
.coach-desc { color: var(--text-muted); margin-bottom: 2rem; flex-grow: 1; }

/* AKTUALITY / ČLÁNKY */
.article-card { padding: 0 !important; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; }
.article-img { width: 100%; height: 250px; object-fit: cover; filter: grayscale(100%); transition: all 0.4s ease; border-bottom: 4px solid var(--brand-black); }
.sharp-box:hover .article-img { filter: grayscale(0%); border-bottom: 4px solid var(--brand-accent); }
.article-info { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.article-date { font-weight: 700; color: var(--brand-accent); font-size: 0.875rem; letter-spacing: 1px; margin-bottom: 0.5rem; }
.article-title { font-size: 1.75rem; font-weight: 900; color: white; margin-bottom: 1rem; transition: color 0.3s; }
.sharp-box:hover .article-title { color: var(--brand-accent); }
.article-excerpt { color: var(--text-muted); margin-bottom: 1.5rem; flex-grow: 1; }
.article-read-more { font-weight: 700; color: white; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; letter-spacing: 1px; transition: color 0.3s;}
.article-read-more svg { width: 16px; height: 16px; }
.sharp-box:hover .article-read-more { color: var(--brand-accent); }

/* Vzhled plného článku */
.post-content { max-width: 800px; margin: 0 auto; }
.post-content h2 { margin-top: 3rem; margin-bottom: 1.5rem; font-size: 2.5rem; }
.post-content p { color: #374151; font-size: 1.125rem; margin-bottom: 1.5rem; line-height: 1.8; }
.post-content img { border: 4px solid var(--brand-accent); margin: 2rem 0; width: 100%; }

/* WP Menu fix */
.desktop-menu ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.desktop-menu li { list-style: none; }
.desktop-menu a { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: 1px; color: white; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { width: 100%; }

/* ===== TYPOGRAFICKÉ LOGO V PATIČCE ===== */
.footer-logo-text {
    display: flex;
    flex-direction: column;
    text-decoration: none; /* Odstraní případné podtržení odkazu */
    line-height: 1.2; /* Těsně srazí řádky k sobě */
}

.logo-main {
    font-family: var(--font-display, sans-serif); /* Využije váš hlavní nadpisový font */
    font-weight: 900;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: white;
    text-transform: uppercase;
}

.logo-sub {
    font-family: var(--font-display, sans-serif);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 4px; /* Větší mezery mezi písmeny pro vyvážení */
    color: #888888; /* Jemná šedá barva jako na návrhu */
    text-transform: uppercase;
    margin-top: -2px; /* Jemně přisune slovo Ultimate blíž k hlavnímu textu */
}

/* Jemný efekt po najetí myší */
.footer-logo-text:hover .logo-main {
    color: var(--brand-accent, #00e5ff); /* Zvýrazní se vaší neonovou barvou */
    transition: color 0.3s ease;
}

/* ==================== VYSKAKOVACÍ OKNO (BEZ FOTKY) ==================== */

/* Tmavé pozadí přes celou obrazovku */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center; /* Drží okno vždy bezpečně uprostřed obrazovky */
    z-index: 9999;
    padding: 5vh 1rem; /* Ochranná mezera nahoře a dole pro menší displeje */
}

/* Hlavní box okna s neonovým efektem */
.popup-content {
    background-color: var(--brand-black, #111111);
    width: 100%;
    max-width: 700px; /* Zvětšená šířka okna (lze libovolně upravit) */
    max-height: 90vh; /* Okno nikdy nezabere víc než 90 % výšky obrazovky */
    overflow-y: auto; /* Kdyby náhodou text přetekl, zapne se posuvník */
    border-radius: 12px;
    position: relative;
    
    /* Zářivý neonový okraj a stín */
    border: 1px solid rgba(0, 229, 255, 0.4); 
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.15), 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Obarvení posuvníku (pokud se na malých displejích výjimečně objeví) */
.popup-content::-webkit-scrollbar { width: 6px; }
.popup-content::-webkit-scrollbar-thumb {
    background: var(--brand-accent, #00e5ff);
    border-radius: 6px;
}

/* Křížek pro zavření */
.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.08); /* Lehce prosvětlené černé pozadí */
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.3s;
}

.popup-close-btn:hover {
    background: var(--brand-accent, #00e5ff);
    color: var(--brand-black, #000);
    transform: scale(1.1);
}

.popup-close-btn svg { width: 24px; height: 24px; }

/* Obal pro veškerý text uvnitř okna */
.popup-body {
    padding: 3.5rem 2.5rem 2.5rem 2.5rem; /* Zvětšený horní padding kvůli křížku */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Textový štítek "POŘÁDÁME" */
.section-tag-pop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--brand-accent, #00e5ff);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-tag .line {
    height: 2px;
    width: 30px;
    background-color: var(--brand-accent, #00e5ff);
}

/* Hlavní nadpis */
.popup-title {
    font-family: var(--font-display, sans-serif);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.3;
    color: white;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
}

.popup-title span { color: var(--brand-accent, #00e5ff); }

/* Lišta s datumem, místem a kategorií */
.popup-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
}

.detail-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--brand-accent, #00e5ff);
}

/* Štítek kategorie (U20) */
.category-badge span {
    background-color: var(--brand-accent, #00e5ff);
    color: var(--brand-black, #000);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 900;
    font-family: var(--font-display, sans-serif);
}

/* Doplňující text pod detaily */
.popup-text {
    color: #a0a0a0;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    max-width: 90%; /* Zabrání tomu, aby se text roztáhl úplně od kraje ke kraji */
}

/* Obal pro tlačítko zruší zbytečný přesah dolů */
.popup-actions {
    margin-bottom: 0; 
}


/* BLOG */
/* Zmenšení nadpisu POUZE na stránce Aktuality */
body.blog h1,
body.blog .page-title {
    font-size: 3.5rem !important; /* Zmenšená velikost (původní byla obrovská) */
}

/* Úprava pro mobily (aby to nebylo moc velké ani na telefonu), opět jen pro Aktuality */
@media (max-width: 768px) {
    body.blog h1,
    body.blog .page-title {
        font-size: 2.2rem !important;
    }
}

