/**
 * Custom CSS pro veřejný web fotbalového klubu
 * Klubové barvy: červená/modrá
 */

/* FC Barcelona Condensed font odstraněn - používáme pouze Roboto Condensed */
/* @font-face {
    font-family: 'FC Barcelona Condensed';
    src: url('../fonts/FCBARCELONACONDENSED.ttf?v=') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020-007F, U+00A0-00BF;
} */

/* Fallback font pro české znaky - Space Grotesk už je načtený v index_public.php */
/* Pokud není načtený, použije se systémový font */

:root {
    /* Accent Colors */
    --colorAccent: #b41e1e;
    --colorAccentLight: #f03232;
    --colorAccentDark: #6e0a0a;
    --colorAccentGold: #c8aa5a;
    --colorAccentTransparent16: rgba(180, 30, 30, .16);
    
    /* Text Colors */
    --colorTextPrimary: #fff;
    --colorTextSecondary: #a0a0a0;
    
    /* Background Colors */
    --colorBgWhite: #fff;
    --colorBgPrimary: #000;
    --colorBgSecondary: #000;
    --colorBgTertiary: #292929;
    --colorBgQuarternary: #333;
    
    /* Specific Colors */
    --colorSpartaYellow: #faa519;
    --colorGreenPositive: #169c01;
    
    /* Border/Outline Colors */
    --colorDividerBorder: hsla(0, 0%, 100%, .12);
    --colorOutline: hsla(0, 0%, 100%, .32);
    
    /* Semi-Transparent Background Colors */
    --colorBgSemiTransparent4: hsla(0, 0%, 100%, .04);
    --colorBgSemiTransparent8: hsla(0, 0%, 100%, .08);
    --colorBgSemiTransparent12: hsla(0, 0%, 100%, .12);
    --colorBgSemiTransparent16: hsla(0, 0%, 100%, .16);
    --colorBgSemiTransparent32: hsla(0, 0%, 100%, .32);
    
    /* Unlimited Background (Linear Gradient) */
    --colorBgUnlimited: linear-gradient(254deg, #f03232 4.46%, #b41e1e 95.54%);
    
    /* Kompatibilita s původními názvy */
    --klub-primary: var(--colorAccent);
    --klub-primary-dark: var(--colorAccentDark);
    --klub-secondary: #064a3c; /* Zelená barva klubu místo modré */
    --klub-dark: var(--colorBgPrimary);
    --klub-light: var(--colorBgSecondary);
}

/* Globální styly - Dark Theme */
html, body {
    height: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    padding-top: 0;
    background-color: var(--colorBgPrimary);
    color: var(--colorTextPrimary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    /* Vynucení správného fontu pro české znaky */
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Vynucení Roboto Condensed pro VŠECHNY prvky včetně nadpisů - VŠUDE */
* {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Všechny nadpisy také používají Roboto Condensed */
h1, h2, h3, h4, h5, h6,
.page-title, .section-title, .league-page-title, .display-4,
.player-name, .player-first-name, .player-last-name,
footer h5, footer h6 {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Všechny ostatní textové prvky */
p, span, div, a, li, td, th, label, input, textarea, select, button,
footer, footer *, footer p, footer a, footer li, footer span, footer div,
.text-muted, .text-light, .card-text, .card-body, .card-title,
.nav-link, .navbar-brand, .btn, .form-control, .form-label {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* VŠECHNA TLAČÍTKA - stejný zaoblený vzhled jako navbar tlačítko */
.btn,
button:not(.navbar-toggler):not(.close):not(.modal-close),
a.button:not(.nav-link):not(.navbar-brand),
input[type="submit"],
input[type="button"],
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-light,
.btn-dark,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-light,
.btn-outline-dark,
.btn-sm,
.btn-lg,
.btn-hero-play,
.btn-klub-primary,
.btn-klub-secondary,
.btn-teams-primary,
.btn-teams-secondary {
    border-radius: 25px !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid #c41e3a !important;
    background: transparent !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}

/* Tlačítka v aktualitách, galeriích a kontaktu - zmenšené na 50% */
.aktuality-page .btn,
.aktuality-detail-page .btn,
.galerie-page .btn,
.kontakt-page .btn,
.news-card .btn,
.gallery-card .btn,
.news-share .btn {
    font-size: 0.7rem !important; /* 50% z 1.4rem */
    padding: 6px 15px !important; /* 50% z 12px 30px */
    min-height: 27.5px !important; /* 50% z 55px */
    height: auto !important;
    line-height: 1.2 !important;
}

@media only screen and (min-width: 992px) {
    .aktuality-page .btn,
    .aktuality-detail-page .btn,
    .galerie-page .btn,
    .kontakt-page .btn,
    .news-card .btn,
    .gallery-card .btn,
    .news-share .btn {
        font-size: 0.9rem !important; /* 50% z 1.8rem */
        min-width: auto !important;
    }
}

/* Tlačítka na hlavní stránce - "Všechny zápasy" a "Vše o dotacích" - zmenšené na 50% */
.btn-klub-primary,
.btn-warning.btn-lg {
    font-size: 0.7rem !important; /* 50% z 1.4rem */
    padding: 6px 15px !important; /* 50% z 12px 30px */
    min-height: 27.5px !important; /* 50% z 55px */
    height: auto !important;
    line-height: 1.2 !important;
}

@media only screen and (min-width: 992px) {
    .btn-klub-primary,
    .btn-warning.btn-lg {
        font-size: 0.9rem !important; /* 50% z 1.8rem */
        min-width: auto !important;
    }
}

/* Hover efekt - červená výplň zespodu nahoru (stejný jako navbar tlačítko) */
.btn:hover:not(.navbar-toggler):not(.close):not(.modal-close):not(.btn-link),
button:hover:not(.navbar-toggler):not(.close):not(.modal-close),
a.button:hover:not(.nav-link):not(.navbar-brand),
input[type="submit"]:hover,
input[type="button"]:hover {
    color: #fff !important;
    border-color: #c41e3a !important;
}

.btn:hover:not(.navbar-toggler):not(.close):not(.modal-close):not(.btn-link):before,
button:hover:not(.navbar-toggler):not(.close):not(.modal-close):before,
a.button:hover:not(.nav-link):not(.navbar-brand):before,
input[type="submit"]:hover:before,
input[type="button"]:hover:before {
    height: 100% !important;
    opacity: 1 !important;
}

/* Before pseudo-element pro hover efekt (stejný jako navbar tlačítko) */
.btn:not(.navbar-toggler):not(.close):not(.modal-close):not(.btn-link):before,
button:not(.navbar-toggler):not(.close):not(.modal-close):before,
a.button:not(.nav-link):not(.navbar-brand):before,
input[type="submit"]:before,
input[type="button"]:before {
    position: absolute !important;
    content: "" !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 0 !important;
    opacity: 0 !important;
    background-color: #c41e3a !important;
    transition: all 0.3s ease !important;
    z-index: -1 !important;
}

/* Výjimky - některé tlačítka nemají být zaoblené */
.navbar-toggler,
.close,
.modal-header .close,
button.close,
.btn-link {
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
}

.btn-link:before {
    display: none !important;
}

/* Vynucení Roboto Condensed pro navmenu */
.navbar,
.navbar *,
.navbar-brand,
.nav-link,
.navbar-nav,
.navbar-nav *,
.navbar .button,
.navbar .tesla-slide-aside__button,
.navbar .tesla-slide-aside__button * {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Odsazení od horní části obrazovky kvůli fixed navbar */
main {
    padding-top: 80px !important;
}

/* Menší odsazení pro stránku zápasy */
main .container[style*="padding-top"] {
    padding-top: 1rem !important;
}

/* Výjimka pro HERO sekci na hlavní stránce */
#tesla-hero-root {
    padding-top: 0 !important;
}

/* Kontaktní formulář - menší a bez borderu */
.kontakt-formular {
    max-width: 600px !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.kontakt-formular .card-header {
    padding-bottom: 0.5rem !important;
}

.kontakt-formular .card-body {
    padding: 1rem !important;
}

/* Zajištění, že navbar pokrývá celou šířku */
.navbar .container,
.navbar .container-fluid {
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Import Space Grotesk font z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Nadpisy - pouze Roboto Condensed */
h1 {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: var(--colorTextPrimary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important; /* Písmenka skoro totálně u sebe */
    font-weight: 700 !important;
    font-size: 2.5rem !important; /* Jednotná velikost pro všechny H1 */
    margin-bottom: 2rem !important; /* Jednotný spacing */
}

/* Jednotný styl pro všechny H1 na stránkách */
h1.display-4,
h1.fw-bold,
.page-title h1,
h1.page-title,
.page-title,
.display-4 {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--colorTextPrimary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important; /* Písmenka skoro totálně u sebe */
    margin-bottom: 2rem !important;
}

h2 {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: var(--colorTextPrimary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

/* Červená čára pro H2 pouze u názvů sekcí */
section:not(.hero-section):not(.match-countdown-section) h2.section-title::after,
section h2.section-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 4px !important;
    background: linear-gradient(90deg, var(--colorAccent), var(--colorAccentLight)) !important;
    border-radius: 2px !important;
}

section:not(.hero-section):not(.match-countdown-section) h2.section-title,
section h2.section-title {
    position: relative !important;
}

h3, h4, h5, h6 {
    color: var(--colorTextPrimary);
    text-transform: uppercase !important;
}

/* Červená čára pouze u názvů sekcí a stránek */
/* Názvy stránek - page titles */
.page-title h1::after,
h1.page-title::after,
.page-title::after,
h1.display-4::after,
h1.fw-bold::after,
.display-4::after,
.league-page-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 4px !important;
    background: linear-gradient(90deg, var(--colorAccent), var(--colorAccentLight)) !important;
    border-radius: 2px !important;
}

.page-title h1,
h1.page-title,
.page-title,
h1.display-4,
h1.fw-bold,
.display-4,
.league-page-title {
    position: relative !important; /* Pro červenou čáru pod nadpisem */
    margin-bottom: 2rem !important; /* Zajištění místa pro čáru */
}

/* Obecné H1 na stránkách (s výjimkami pro karty, footer, hero, match-countdown) */
.container .d-flex h1:not(.card-title):not(.news-card h1):not(.gallery-card h1):not(.match-card h1):not(footer h1):not(#tesla-hero-root h1):not(.match-teams h1):not(.match-countdown-header h1):not(.hero-title)::after,
.container h1:not(.card-title):not(.news-card h1):not(.gallery-card h1):not(.match-card h1):not(footer h1):not(#tesla-hero-root h1):not(.match-teams h1):not(.match-countdown-header h1):not(.hero-title):not(.d-flex h1)::after,
.container-fluid .d-flex h1:not(.card-title):not(.news-card h1):not(.gallery-card h1):not(.match-card h1):not(footer h1):not(#tesla-hero-root h1):not(.match-teams h1):not(.match-countdown-header h1):not(.hero-title)::after,
.container-fluid h1:not(.card-title):not(.news-card h1):not(.gallery-card h1):not(.match-card h1):not(footer h1):not(#tesla-hero-root h1):not(.match-teams h1):not(.match-countdown-header h1):not(.hero-title):not(.d-flex h1)::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 4px !important;
    background: linear-gradient(90deg, var(--colorAccent), var(--colorAccentLight)) !important;
    border-radius: 2px !important;
}

.container .d-flex h1:not(.card-title):not(.news-card h1):not(.gallery-card h1):not(.match-card h1):not(footer h1):not(#tesla-hero-root h1):not(.match-teams h1):not(.match-countdown-header h1):not(.hero-title),
.container h1:not(.card-title):not(.news-card h1):not(.gallery-card h1):not(.match-card h1):not(footer h1):not(#tesla-hero-root h1):not(.match-teams h1):not(.match-countdown-header h1):not(.hero-title):not(.d-flex h1),
.container-fluid .d-flex h1:not(.card-title):not(.news-card h1):not(.gallery-card h1):not(.match-card h1):not(footer h1):not(#tesla-hero-root h1):not(.match-teams h1):not(.match-countdown-header h1):not(.hero-title),
.container-fluid h1:not(.card-title):not(.news-card h1):not(.gallery-card h1):not(.match-card h1):not(footer h1):not(#tesla-hero-root h1):not(.match-teams h1):not(.match-countdown-header h1):not(.hero-title):not(.d-flex h1) {
    position: relative !important;
    margin-bottom: 2rem !important; /* Zajištění místa pro čáru pod názvem */
}

/* Vyloučení červené čáry z různých míst */
#tesla-hero-root h1::after,
#tesla-hero-root h2::after,
#tesla-hero-root h3::after,
#tesla-hero-root h4::after,
#tesla-hero-root h5::after,
#tesla-hero-root h6::after,
footer h5::after,
footer h6::after,
.match-teams h1::after,
.match-teams h2::after,
.match-teams h3::after,
.match-teams h4::after,
.match-teams h5::after,
.match-teams h6::after,
.match-countdown-header h1::after,
.match-countdown-header h2::after,
.match-countdown-header h3::after,
.match-countdown-header h4::after,
.match-countdown-header h5::after,
.match-countdown-header h6::after,
.hero-title::after,
.hero-subtitle::after,
.news-card h1::after,
.news-card h2::after,
.news-card h3::after,
.news-card h4::after,
.news-card h5::after,
.news-card h6::after,
.news-card .card-title::after,
.gallery-card h1::after,
.gallery-card h2::after,
.gallery-card h3::after,
.gallery-card h4::after,
.gallery-card h5::after,
.gallery-card h6::after,
.gallery-card .card-title::after,
.match-card h1::after,
.match-card h2::after,
.match-card h3::after,
.match-card h4::after,
.match-card h5::after,
.match-card h6::after,
.match-card .card-title::after,
.card-title::after {
    display: none !important;
    content: none !important;
}

p, span, div, a {
    color: var(--colorTextPrimary);
}

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

/* Navbar customizace - Dark Theme - FINÁLNÍ VZHLED Z HLAVNÍ STRÁNKY - NEJPŘESNĚJŠÍ SELEKTORY */
body .navbar,
body .navbar-dark,
.navbar,
.navbar-dark,
nav.navbar,
nav.navbar-dark {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    width: auto !important;
    max-width: 90% !important;
    min-width: fit-content !important;
    margin: 0 !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    z-index: 100 !important;
    background: rgba(30, 30, 30, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Zajištění, že navbar není ovlivněn Tesla CSS nebo jinými styly - NEJVYŠŠÍ PRIORITA */
body .navbar,
body .navbar *,
.navbar,
.navbar *,
nav.navbar,
nav.navbar * {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.navbar-dark::after {
    display: none !important;
}

.navbar-dark::before {
    display: none !important;
}

/* Navbar container - upraveno pro zaoblený design - FINÁLNÍ VZHLED Z HLAVNÍ STRÁNKY */
body .navbar .container,
body .navbar .container-fluid,
.navbar .container,
.navbar .container-fluid,
nav.navbar .container,
nav.navbar .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.95) !important;
    padding: 8px 16px !important;
    margin-right: 10px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
}

.navbar-brand:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 1) !important;
}

/* Navbar odkazy - zarovnání na střed */
.navbar-collapse {
    display: flex !important;
    align-items: center !important;
}

.navbar-nav {
    flex: 1 !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body .navbar .nav-link,
.navbar .nav-link,
.navbar-nav .nav-link,
nav.navbar .nav-link {
    white-space: nowrap !important; /* Zabraňuje zalamování textu na více řádků */
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease !important;
    padding: 8px 16px !important;
    margin: 0 4px !important;
    border-radius: 25px !important;
    font-weight: 500 !important;
    position: relative !important;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body .navbar .nav-link:hover,
.navbar .nav-link:hover,
.navbar-nav .nav-link:hover,
nav.navbar .nav-link:hover {
    color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

body .navbar .nav-link.active,
.navbar .nav-link.active,
.navbar-nav .nav-link.active,
nav.navbar .nav-link.active {
    color: var(--colorAccent) !important;
    font-weight: 600 !important;
    background: rgba(50, 50, 50, 0.8) !important;
}

/* Nav-user-btn - kruhové tlačítko přihlášení vpravo v navbaru */
.nav-user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}
.nav-user-btn:hover {
    color: #fff;
    transform: scale(1.05);
}
.nav-user-btn i {
    font-size: 1.25rem;
}
/* Přihlášený uživatel - plně červené s bílou ikonou */
.nav-user-btn--logged-in {
    background: #c41e3a;
    border-color: #c41e3a;
}
.nav-user-btn--logged-in:hover {
    background: #a81930;
    border-color: #a81930;
    color: #fff;
}
/* Nepřihlášený - průhledné, bílá ikona */
.nav-user-btn:not(.nav-user-btn--logged-in):hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Navbar Tesla button - tlačítko Přihlásit - FINÁLNÍ VZHLED Z HLAVNÍ STRÁNKY (zastaralé, nahrazeno nav-user-btn) */
body .navbar .tesla-slide-aside__button,
.navbar .tesla-slide-aside__button {
    margin-top: 0 !important;
    height: 41.25px !important; /* 75% z 55px */
    position: relative !important;
    display: inline-block !important;
    margin-left: 10px !important;
}

/* Zajištění, že button je klikatelný a má správný z-index - ZMENŠENO NA 75% */
body .navbar .tesla-slide-aside__button .button,
.navbar .tesla-slide-aside__button .button,
body .navbar .tesla-slide-aside__button a.button,
.navbar .tesla-slide-aside__button a.button {
    z-index: 1 !important;
    pointer-events: auto !important;
    font-size: 0.9rem !important; /* 75% z 1.2rem */
    width: 135px !important; /* 75% z 180px */
    min-width: 135px !important;
    --btn-color: #c41e3a !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    color: #fff !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    height: 41.25px !important; /* 75% z 55px */
    font-weight: 300 !important;
    line-height: 1 !important;
    border-radius: 25px !important;
}

@media only screen and (min-width: 992px) {
    body .navbar .tesla-slide-aside__button .button,
    .navbar .tesla-slide-aside__button .button,
    body .navbar .tesla-slide-aside__button a.button,
    .navbar .tesla-slide-aside__button a.button {
        font-size: 1.125rem !important; /* 75% z 1.5rem */
        width: 157.5px !important; /* 75% z 210px */
        min-width: 157.5px !important;
    }
}

/* Hover efekt - červená výplň zespodu nahoru */
body .navbar .tesla-slide-aside__button .button:hover:before,
.navbar .tesla-slide-aside__button .button:hover:before,
body .navbar .tesla-slide-aside__button a.button:hover:before,
.navbar .tesla-slide-aside__button a.button:hover:before {
    height: 100% !important;
    opacity: 1 !important;
}

/* Before pseudo-element pro hover efekt */
body .navbar .tesla-slide-aside__button .button:before,
.navbar .tesla-slide-aside__button .button:before,
body .navbar .tesla-slide-aside__button a.button:before,
.navbar .tesla-slide-aside__button a.button:before {
    position: absolute !important;
    content: "" !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 0 !important;
    opacity: 0 !important;
    background-color: #c41e3a !important;
    transition: all 0.3s !important;
    z-index: -1 !important;
}

/* Button border - ZMENŠENO NA 75% */
body .navbar .tesla-slide-aside__button .button__border,
.navbar .tesla-slide-aside__button .button__border {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    --btn-color: #c41e3a !important;
    width: 135px !important; /* 75% z 180px */
    height: 41.25px !important; /* 75% z 55px */
    border: 1px solid #c41e3a !important;
    pointer-events: none !important;
    z-index: 0 !important;
    transition: all 0.6s ease-in-out !important;
    border-radius: 25px !important;
}

@media only screen and (min-width: 992px) {
    body .navbar .tesla-slide-aside__button .button__border,
    .navbar .tesla-slide-aside__button .button__border {
        width: 157.5px !important; /* 75% z 210px */
    }
}

/* Glow efekt pro border */
body .navbar .tesla-slide-aside__button .button__border::after,
.navbar .tesla-slide-aside__button .button__border::after {
    position: absolute !important;
    content: "" !important;
    left: 50% !important;
    top: 50% !important;
    width: 150% !important;
    height: 220% !important;
    opacity: 0.3 !important;
    transform: translate(-50%, -50%) !important;
    background: radial-gradient(ellipse at center, #c41e3a 1%, transparent 80%) !important;
    z-index: -1 !important;
    transition: opacity 0.6s ease-in-out, background 0.6s linear 0.5s !important;
    pointer-events: none !important;
}

/* Mobilní úpravy navbar */
@media (max-width: 991.98px) {
    .navbar-nav {
        justify-content: flex-start !important;
        margin: 0 !important;
    }
}

/* Navbar toggler - hamburger menu */
.navbar-toggler {
    display: block !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 0.25rem 0.5rem !important;
    background-color: transparent !important;
    z-index: 1051 !important;
    position: relative !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5em !important;
    height: 1.5em !important;
}

/* Zajištění, že navbar-toggler je viditelný na mobilu */
@media (max-width: 991.98px) {
    /* Zakomentovat starý navbar na mobilu - vůbec se nezobrazí */
    nav.navbar.navbar-expand-lg.navbar-dark.bg-dark.fixed-top,
    .navbar.navbar-expand-lg.navbar-dark.bg-dark.fixed-top {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }
    
    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1051 !important;
    }
    
    .navbar-collapse {
        background-color: var(--colorBgPrimary) !important;
        margin-top: 0.5rem;
        padding: 1rem;
        border-top: 1px solid var(--colorDividerBorder);
    }
    
    /* Oprava - sekce se neposouvají mimo obrazovku na mobilu */
    section:not(.hero-section):not(.match-countdown-section) {
        /* Zakomentováno - posouvalo sekce mimo obrazovku */
        /* left: 50% !important; */
        /* right: 50% !important; */
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .match-countdown-section {
        /* Zakomentováno - posouvalo sekce mimo obrazovku */
        /* left: 50% !important; */
        /* right: 50% !important; */
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
}

/* Hero sekce - propracovaný design */
.hero-section {
    position: relative;
    min-height: 80vh;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out, filter 0.8s ease-in-out;
    transform: scale(1.1);
    filter: blur(3px) brightness(0.7);
    will-change: transform, opacity, filter;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(199, 35, 51, 0.92) 0%, 
        rgba(139, 20, 41, 0.95) 30%,
        rgba(13, 110, 253, 0.85) 70%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
    transition: opacity 0.5s ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-badge-divider {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.hero-badge-id {
    background: rgba(220, 53, 69, 0.8);
    border-color: rgba(220, 53, 69, 1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 0, 0, 0.3);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.7),
        0 0 8px rgba(0, 0, 0, 0.4);
    max-width: 85%;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.btn-hero-play {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: var(--colorAccent);
    color: var(--colorTextPrimary);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(180, 30, 30, 0.4);
}

.btn-hero-play:hover {
    background: var(--colorAccentLight);
    color: var(--colorTextPrimary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 30, 30, 0.6);
    text-decoration: none;
}

.btn-hero-play:active {
    transform: translateY(0);
}

/* Hero Sidebar */
.hero-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    z-index: 10;
    background: rgba(14, 14, 14, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--colorDividerBorder);
    padding: 2rem 1.5rem;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.hero-sidebar::-webkit-scrollbar {
    width: 6px;
}

.hero-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.hero-sidebar::-webkit-scrollbar-thumb {
    background: rgba(220, 53, 69, 0.5);
    border-radius: 3px;
}

.hero-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(220, 53, 69, 0.7);
}

.hero-sidebar-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.hero-sidebar-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-sidebar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--colorBgSemiTransparent4);
    border: 1px solid var(--colorDividerBorder);
    border-left: 3px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.hero-sidebar-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    min-width: 40px;
    transition: color 0.3s ease;
}

.hero-sidebar-text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.hero-sidebar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--colorAccent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-sidebar-item:hover {
    background: var(--colorBgSemiTransparent8);
    border-color: var(--colorAccentTransparent16);
    border-left-color: var(--colorAccent);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(180, 30, 30, 0.2);
    text-decoration: none;
    color: inherit;
}

.hero-sidebar-item:hover .hero-sidebar-number {
    color: var(--colorAccent);
}

.hero-sidebar-item:hover .hero-sidebar-text {
    color: rgba(255, 255, 255, 0.95);
}

.hero-sidebar-item:hover::before {
    opacity: 1;
}

.hero-sidebar-item.active {
    background: var(--colorAccentTransparent16);
    border-color: var(--colorAccent);
    border-left-color: var(--colorAccent);
    box-shadow: 0 4px 15px rgba(180, 30, 30, 0.4), inset 0 0 20px rgba(180, 30, 30, 0.1);
    transform: translateX(5px);
}

.hero-sidebar-item.active .hero-sidebar-number {
    color: var(--colorAccent);
}

.hero-sidebar-item.active .hero-sidebar-text {
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
}

.hero-sidebar-item.active::before {
    opacity: 1;
}

.hero-sidebar-item-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.hero-sidebar-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-sidebar-item:hover .hero-sidebar-item-thumb img {
    transform: scale(1.1);
}

.hero-sidebar-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-sidebar-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    transition: color 0.3s ease;
}

.hero-sidebar-item.active .hero-sidebar-item-title {
    color: #fff;
}

.hero-sidebar-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-sidebar-more {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-sidebar-more:hover {
    color: #dc3545;
    text-decoration: none;
    transform: translateX(5px);
}

/* Animace pro přepínání hero obsahu */
.hero-text-content {
    position: relative;
    min-height: 200px;
}

.hero-title,
.hero-subtitle {
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.hero-title.fade-out,
.hero-subtitle.fade-out {
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
}

.hero-title.fade-in,
.hero-subtitle.fade-in {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Match countdown sekce - Full Width */
.match-countdown-section {
    width: 100%;
    background-color: var(--colorBgSecondary);
    padding: 1rem 0;
    margin: 0;
    border-radius: 15px;
}

.match-countdown-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .match-countdown-wrapper {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .match-countdown-wrapper {
        padding: 0 0.75rem;
    }
}

.match-countdown {
    background: linear-gradient(135deg, rgba(41, 41, 41, 0.8) 0%, rgba(30, 30, 30, 0.9) 50%, rgba(20, 20, 20, 1) 100%) !important; /* Jemnější gradient místo jednobarevného pozadí */
    border: 1px solid var(--colorDividerBorder);
    border-radius: 0;
    padding: 1.5rem;
    color: var(--colorTextPrimary);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.match-countdown > .match-teams,
.match-countdown .match-teams {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.match-countdown-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--colorDividerBorder);
    gap: 0.5rem;
    width: 100%;
}

.match-countdown-header .badge {
    background-color: var(--colorAccent);
    color: var(--colorTextPrimary);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0;
    border-radius: 4px;
    line-height: 1.2;
}

.match-countdown-header .text-muted {
    color: var(--colorTextSecondary) !important;
    font-size: 0.8rem;
    line-height: 1.2;
}

.match-teams {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    flex-wrap: nowrap;
    gap: 3rem;
    width: 100%;
}

.team-info {
    text-align: center;
    flex: 0 0 auto;
    min-width: 180px;
    max-width: 250px;
}

.team-info.team-left {
    order: 1;
    flex: 0 0 auto;
}

.team-info.team-right {
    order: 3;
    flex: 0 0 auto;
}

.team-info h4 {
    color: var(--colorTextPrimary);
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.team-info p {
    color: var(--colorTextSecondary);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.3;
}

.team-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.team-logo img,
.team-logo .team-logo-small {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.team-logo .team-logo-small {
    width: 60px;
    height: 60px;
    font-size: 2rem;
}

.countdown-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2;
    min-width: 400px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0;
    flex-wrap: nowrap;
}

.countdown-item {
    text-align: center;
    background: var(--colorBgSemiTransparent8);
    border: 1px solid var(--colorDividerBorder);
    padding: 0.75rem 0.6rem;
    border-radius: 8px;
    min-width: 70px;
    max-width: 80px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: var(--colorBgSemiTransparent16);
    border-color: var(--colorAccent);
}

.countdown-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--colorTextPrimary);
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--colorTextSecondary);
    font-weight: 600;
    line-height: 1.2;
}

/* News sidebar - Dark Theme */
.news-sidebar {
    background: linear-gradient(135deg, rgba(41, 41, 41, 0.8) 0%, rgba(30, 30, 30, 0.9) 50%, rgba(20, 20, 20, 1) 100%) !important; /* Jemnější gradient místo jednobarevného pozadí */
    border: 1px solid var(--colorDividerBorder);
    border-radius: 10px;
    padding: 1.5rem;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--colorDividerBorder);
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: var(--colorBgSemiTransparent8);
    text-decoration: none;
    color: inherit;
}

.news-thumbnail {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.news-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--colorTextPrimary);
}

/* Tlačítka */
.btn-klub-primary {
    background-color: var(--klub-primary);
    border-color: var(--klub-primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s;
}

.btn-klub-primary:hover {
    background-color: var(--klub-primary-dark);
    border-color: var(--klub-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-klub-secondary {
    background-color: var(--klub-secondary);
    border-color: var(--klub-secondary);
    color: white;
    font-weight: 600;
}

.btn-klub-secondary:hover {
    background-color: var(--klub-secondary-dark);
    border-color: var(--klub-secondary-dark);
    color: white;
}

/* Match cards - Dark Theme */
.match-card {
    border: 1px solid var(--colorDividerBorder);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(41, 41, 41, 0.8) 0%, rgba(30, 30, 30, 0.9) 50%, rgba(20, 20, 20, 1) 100%) !important; /* Jemnější gradient místo jednobarevného pozadí */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(180, 30, 30, 0.2);
    border-color: var(--colorAccent);
}

.match-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--colorAccent);
}

.match-score {
    font-size: 2rem;
    font-weight: bold;
    color: var(--colorAccent);
}

/* News cards - Dark Theme */
.news-card {
    border: 1px solid var(--colorDividerBorder);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(41, 41, 41, 0.8) 0%, rgba(30, 30, 30, 0.9) 50%, rgba(20, 20, 20, 1) 100%) !important; /* Jemnější gradient místo jednobarevného pozadí */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(180, 30, 30, 0.2);
    border-color: var(--colorAccent);
}

.news-card-img {
    height: 200px;
    object-fit: cover;
}

/* Sekce - Dark Theme */
.section {
    padding: 4rem 0;
    background-color: var(--colorBgPrimary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--colorTextPrimary);
    position: relative;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--colorAccent), var(--colorAccentLight));
    border-radius: 2px;
}

/* Footer - Dark Theme - Sticky - Konzistentní pro všechny stránky */
footer {
    flex-shrink: 0;
    background-color: var(--colorBgSecondary) !important;
    border-top: 1px solid var(--colorDividerBorder);
    margin-top: auto;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 0 !important;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

footer.bg-dark {
    background-color: var(--colorBgSecondary) !important;
}

footer .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

footer h5 {
    color: #c41e3a !important;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

footer h6 {
    color: #c41e3a !important;
    font-weight: 600;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Všechny textové prvky ve footeru */
footer p,
footer a,
footer li,
footer span,
footer div,
footer .text-muted,
footer .text-light {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

footer a {
    color: var(--colorTextSecondary) !important;
    transition: color 0.3s;
    text-decoration: none;
}

footer a:hover {
    color: #c41e3a !important;
}

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

footer .text-light {
    color: var(--colorTextSecondary) !important;
}

footer .text-danger {
    color: #c41e3a !important;
}

footer ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer .social-link {
    color: var(--colorTextSecondary) !important;
}

footer .social-link:hover {
    color: #c41e3a !important;
}

/* Sociální sítě v footeru */
.social-link {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: var(--colorAccent) !important;
    transform: translateY(-3px) scale(1.1);
}

.social-link i {
    transition: all 0.3s ease;
}

/* Mobilní úpravy footeru - centrování obsahu */
@media (max-width: 768px) {
    footer .container {
        text-align: center !important;
    }
    
    footer .row {
        justify-content: center !important;
        text-align: center !important;
    }
    
    footer .row > [class*="col-"] {
        text-align: center !important;
        margin-bottom: 1.5rem;
    }
    
    footer .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    
    footer .text-md-end {
        text-align: center !important;
    }
    
    footer .d-flex {
        justify-content: center !important;
    }
}

@media (max-width: 576px) {
    footer .container {
        text-align: center !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    footer .row {
        justify-content: center !important;
        text-align: center !important;
    }
    
    footer .row > [class*="col-"] {
        text-align: center !important;
        margin-bottom: 1.5rem;
        width: 100% !important;
    }
    
    footer .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    
    footer .text-md-end {
        text-align: center !important;
    }
    
    footer .d-flex {
        justify-content: center !important;
    }
    
    footer h5 {
        text-align: center !important;
    }
    
    footer p {
        text-align: center !important;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
    }
    
    .hero-content {
        min-height: 60vh;
        padding: 3rem 2rem;
    }
    
    .hero-sidebar {
        min-height: auto;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-sidebar {
        max-height: 300px;
    }
    
    .hero-sidebar-item {
        padding: 0.75rem;
    }
    
    .hero-sidebar-item-thumb {
        width: 80px;
        height: 60px;
    }
    
    /* Match countdown responsive */
    .match-countdown-section {
        padding: 1rem 0 !important;
        overflow: visible !important;
    }
    
    .match-countdown-wrapper {
        padding: 0 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .match-countdown {
        padding: 1.5rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }
    
    .match-countdown-header {
        width: 100% !important;
        padding-bottom: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .match-countdown-header .btn-group {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        justify-content: center !important;
    }
    
    .match-countdown-header .btn-group .btn {
        flex: 1 1 auto !important;
        min-width: 80px !important;
        font-size: 0.85rem !important;
        padding: 0.5rem 0.75rem !important;
    }
    
    .match-countdown-header .text-center {
        width: 100% !important;
        text-align: center !important;
    }
    
    .match-countdown-header .badge {
        display: block !important;
        margin: 0.5rem auto !important;
        width: fit-content !important;
        font-size: 0.7rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .match-countdown-header .text-muted {
        display: block !important;
        margin-top: 0.5rem !important;
        font-size: 0.75rem !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Nejbližší zápasy – mobil: jeden řádek logo | odpočet | logo (podobně jako sparta.cz) */
    .match-countdown .match-teams {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.25rem !important;
        width: 100% !important;
    }
    
    .match-countdown .team-info {
        width: auto !important;
        max-width: 26% !important;
        min-width: 0 !important;
        flex: 0 1 auto !important;
    }
    
    /* Na mobilu jen loga – bez názvů a „Domácí/Venkovní“ */
    .match-countdown .team-info h4,
    .match-countdown .team-info p {
        display: none !important;
    }
    
    .match-countdown .team-info .team-logo {
        width: 52px !important;
        height: 52px !important;
        min-width: 48px !important;
        padding: 5px !important;
        margin: 0 auto !important;
    }
    
    .match-countdown .team-info .team-logo .team-logo-small {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.1rem !important;
    }
    
    .match-countdown .countdown-container {
        order: 2 !important;
        min-width: 0 !important;
        width: auto !important;
        flex: 1 1 auto !important;
        max-width: none !important;
        margin: 0 !important;
    }
    
    .match-countdown .countdown-timer {
        margin: 0 !important;
        gap: 0.3rem !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
    }
    
    .match-countdown .countdown-item {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        flex: 0 0 40px !important;
        padding: 0.4rem 0.1rem !important;
        box-sizing: border-box !important;
    }
    
    .match-countdown .countdown-number {
        font-size: 1.15rem !important;
    }
    
    .match-countdown .countdown-label {
        font-size: 0.55rem !important;
    }
}

@media (max-width: 576px) {
    .match-countdown-section {
        padding: 0.75rem 0 !important;
    }
    
    .match-countdown-wrapper {
        padding: 0 0.75rem !important;
    }
    
    .match-countdown {
        padding: 1rem 0.5rem !important;
    }
    
    .match-countdown-header .btn-group .btn {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.5rem !important;
        min-width: 70px !important;
    }
    
    .match-countdown-header .badge {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.6rem !important;
    }
    
    .match-countdown-header .text-muted {
        font-size: 0.7rem !important;
    }
    
    /* Ještě kompaktnější řádek logo – čas – logo */
    .match-countdown .team-info .team-logo {
        width: 46px !important;
        height: 46px !important;
        min-width: 44px !important;
        padding: 4px !important;
    }
    
    .match-countdown .team-info {
        max-width: 28% !important;
    }
    
    .match-countdown .countdown-timer {
        gap: 0.2rem !important;
    }
    
    .match-countdown .countdown-item {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        flex: 0 0 40px !important;
        padding: 0.35rem 0.1rem !important;
        box-sizing: border-box !important;
    }
    
    .match-countdown .countdown-number {
        font-size: 1rem !important;
    }
    
    .match-countdown .countdown-label {
        font-size: 0.5rem !important;
    }
    
    .section-title {
        font-size: 1.75rem !important;
    }
}

/* Sekce Dotace (MŠMT/NSA požadavky) */
.section-dotace {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%) !important;
    border-top: 4px solid #ffc107 !important;
    box-shadow: 0 -4px 10px rgba(255, 193, 7, 0.2);
}

.section-dotace h2 {
    color: #856404;
    font-weight: 700;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    position: relative !important; /* Pro červenou čáru pod nadpisem */
}

.section-dotace h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 4px !important;
    background: linear-gradient(90deg, var(--colorAccent), var(--colorAccentLight)) !important;
    border-radius: 2px !important;
}

.section-dotace p,
.section-dotace .lead,
.section-dotace .text-muted {
    color: #000000 !important;
}

.section-dotace p strong {
    color: #000000 !important;
}

.section-dotace .dotace-list .badge {
    font-size: 1rem;
    font-weight: 700;
    min-width: 80px;
}

.section-dotace .dotace-info strong {
    color: #212529;
    font-size: 1.1rem;
}

.section-dotace .btn-warning {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
}

.section-dotace .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

/* Tabulka dotací */
.table-responsive {
    border-radius: 0.375rem;
    overflow: hidden;
}

.table thead th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: rgba(255, 193, 7, 0.1);
}

.table tfoot th {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Utility classes */
.text-klub-primary {
    color: var(--klub-primary) !important;
}

.bg-klub-primary {
    background-color: var(--klub-primary) !important;
}

.border-klub-primary {
    border-color: var(--klub-primary) !important;
}

/* Dark Theme - Komponenty */
/* Full width container - přepis Bootstrap - POUZE PRO ADMIN PANEL */
body.admin-panel .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
}

/* Centrování container-fluid v admin panelu */
.admin-main-content .container-fluid {
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 768px) {
    body.admin-panel .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 576px) {
    body.admin-panel .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 100px;
    padding-right: 100px;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 992px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 100% !important;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 100% !important;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 100% !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 100% !important;
    }
}

.container {
    color: var(--colorTextPrimary);
}

.bg-light {
    background-color: var(--colorBgSecondary) !important;
    color: var(--colorTextPrimary);
}

.card {
    background: linear-gradient(135deg, rgba(41, 41, 41, 0.8) 0%, rgba(30, 30, 30, 0.9) 50%, rgba(20, 20, 20, 1) 100%) !important; /* Jemnější gradient místo jednobarevného pozadí */
    border-color: var(--colorDividerBorder);
    color: var(--colorTextPrimary);
}

.card-header {
    background-color: var(--colorBgSecondary);
    border-bottom-color: var(--colorDividerBorder);
    color: var(--colorTextPrimary);
}

.card-title {
    color: var(--colorTextPrimary);
}

.card-text {
    color: var(--colorTextSecondary);
}

.btn-outline-light {
    border-color: #c41e3a !important;
    color: #fff !important;
    background-color: transparent !important;
}

.btn-outline-light:hover,
.btn-outline-light.active {
    background-color: transparent !important;
    border-color: #c41e3a !important;
    color: #fff !important;
}

/* Match cards - Dark Theme */
.match-card {
    background: linear-gradient(135deg, rgba(41, 41, 41, 0.8) 0%, rgba(30, 30, 30, 0.9) 50%, rgba(20, 20, 20, 1) 100%) !important; /* Jemnější gradient místo jednobarevného pozadí */
    border-color: var(--colorDividerBorder);
    color: var(--colorTextPrimary);
}

.match-card:hover {
    border-color: var(--colorAccent);
    box-shadow: 0 6px 12px rgba(180, 30, 30, 0.2);
}

.match-card-header {
    border-bottom-color: var(--colorDividerBorder);
}

.match-score {
    color: var(--colorAccent);
}

/* Poslední zápas - homepage - vycentrovaný layout bez duplikace skóre */
.last-match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.last-match-team {
    min-width: 0;
    max-width: 45%;
}
.last-match-logo,
.last-match-logo-placeholder {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}
.last-match-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--colorBgTertiary);
    border-radius: 50%;
    font-size: 1.25rem;
}
.last-match-team-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--colorTextPrimary);
}
.last-match-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--colorAccent);
    flex-shrink: 0;
    min-width: 60px;
    text-align: center;
}

/* Mobil / úzká obrazovka: jeden řádek tým – skóre – tým */
@media (max-width: 768px) {
    .last-match-teams {
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.35rem !important;
        padding: 0.75rem 0.35rem !important;
    }
    .last-match-team {
        flex: 1 1 0 !important;
        max-width: none !important;
        min-width: 0 !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    .last-match-team-name {
        font-size: 0.65rem !important;
        line-height: 1.15 !important;
        font-weight: 600 !important;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        word-break: break-word;
    }
    .last-match-logo,
    .last-match-logo-placeholder {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.65rem !important;
    }
    .last-match-score {
        font-size: 1rem !important;
        min-width: 2.5rem !important;
        margin-left: 0.15rem !important;
        margin-right: 0.15rem !important;
    }
    .match-card .last-match-teams {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
}

/* News sidebar - Dark Theme */
.news-sidebar {
    background: linear-gradient(135deg, rgba(41, 41, 41, 0.8) 0%, rgba(30, 30, 30, 0.9) 50%, rgba(20, 20, 20, 1) 100%) !important; /* Jemnější gradient místo jednobarevného pozadí */
    border: 1px solid var(--colorDividerBorder);
}

.news-item {
    border-bottom-color: var(--colorDividerBorder);
}

.news-item:hover {
    background-color: var(--colorBgSemiTransparent8);
}

.news-title {
    color: var(--colorTextPrimary);
}

/* Tlačítka - Dark Theme */
.btn-klub-primary {
    background-color: transparent !important;
    border-color: #c41e3a !important;
    color: #fff !important;
}

.btn-klub-primary:hover {
    background-color: transparent !important;
    border-color: #c41e3a !important;
    color: #fff !important;
}

.btn-danger {
    background-color: transparent !important;
    border-color: #c41e3a !important;
    color: #fff !important;
}

.btn-danger:hover {
    background-color: transparent !important;
    border-color: #c41e3a !important;
    color: #fff !important;
}

/* Badges - Dark Theme */
.badge {
    color: var(--colorTextPrimary);
}

.bg-danger {
    background-color: var(--colorAccent) !important;
}

.bg-secondary {
    background-color: var(--colorBgTertiary) !important;
    color: var(--colorTextPrimary) !important;
}

.bg-info {
    background-color: var(--colorBgTertiary) !important;
    color: var(--colorTextPrimary) !important;
}

/* Players Section - Carousel */
.players-section {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #0e0e1f 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.players-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(60deg, transparent, transparent 20px, rgba(255, 255, 255, 0.015) 20px, rgba(255, 255, 255, 0.015) 40px),
        repeating-linear-gradient(-60deg, transparent, transparent 20px, rgba(255, 255, 255, 0.015) 20px, rgba(255, 255, 255, 0.015) 40px);
    pointer-events: none;
    opacity: 0.6;
}

.players-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.players-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--colorTextPrimary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.players-nav {
    display: flex;
    gap: 0.5rem;
}

.players-nav-btn {
    width: 45px;
    height: 45px;
    background: var(--colorBgSemiTransparent12);
    border: 1px solid var(--colorDividerBorder);
    color: var(--colorTextPrimary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.players-nav-btn:hover {
    background: var(--colorAccent);
    border-color: var(--colorAccent);
    transform: scale(1.1);
}

.players-nav-btn:active {
    transform: scale(0.95);
}

.players-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 -1rem;
    padding: 1rem 0;
}

.players-carousel {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.player-card {
    flex: 0 0 auto;
    width: 80%;
    max-width: 400px;
    max-height: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(180, 30, 30, 0.8) 0%, rgba(110, 10, 10, 0.9) 50%, rgba(70, 5, 5, 1) 100%) !important; /* Jemnější červený gradient */
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Hover efekt odstraněn */
/* .player-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(180, 30, 30, 0.3);
} */

.player-photo-wrapper {
    position: absolute !important; /* Absolutní pozice, aby pokrývalo celou kartu */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important; /* Celá výška karty */
    background: linear-gradient(135deg, rgba(180, 30, 30, 0.8) 0%, rgba(110, 10, 10, 0.9) 50%, rgba(70, 5, 5, 1) 100%) !important; /* Jemnější červený gradient */
    overflow: hidden !important;
    z-index: 1 !important; /* Střední vrstva - nad player-card, pod player-info */
    margin: 0 !important;
    padding: 0 !important;
}

.player-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.player-photo-placeholder {
    object-fit: contain !important;
    filter: blur(2px) !important;
    -webkit-filter: blur(2px) !important;
    opacity: 0.6 !important;
}

.news-placeholder-logo,
.gallery-placeholder-logo {
    object-fit: contain !important;
    filter: blur(2px) !important;
    -webkit-filter: blur(2px) !important;
    opacity: 0.6 !important;
    background-color: var(--colorBgSecondary) !important;
    padding: 1rem !important;
}

.player-number {
    position: absolute !important;
    top: calc(70% - 40px) !important; /* Posunuto ještě výše */
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 8rem !important;
    font-weight: 900 !important;
    color: rgba(255, 255, 255, 0.3) !important; /* Bílá barva místo žluté */
    z-index: 1 !important;
    pointer-events: none !important;
    font-family: 'Arial Black', sans-serif !important;
    text-stroke: none !important; /* Bez obrysu */
    -webkit-text-stroke: none !important;
}

.player-info,
.player-card .player-info,
.players-section .player-info,
.players-carousel-wrapper .player-info {
    padding: 1rem 1.5rem !important;
    padding-top: 2rem !important; /* Více místa nahoře - posunuto výš */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 40%) !important; /* Gradient začíná ještě výše */
    background-color: transparent !important; /* Explicitní background-color */
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    min-height: auto !important;
    max-height: 140px !important; /* Zvýšeno kvůli většímu padding-top */
    height: auto !important;
    display: block !important;
    position: absolute !important; /* Absolutní pozice pro správné vrstvení */
    bottom: 0 !important; /* Umístění na spodní část karty */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2 !important; /* Horní vrstva - nad player-photo-wrapper */
    overflow: hidden !important;
    margin: 0 !important;
    /* Blur efekt na horní hraně */
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 15%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 100%) !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 15%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 100%) !important;
}

/* Přepis všech možných děděných pozadí */
.player-card .player-info {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 40%) !important; /* Gradient začíná ještě výše */
    background-color: transparent !important;
    padding-top: 2rem !important; /* Více místa nahoře */
    max-height: 140px !important;
}

/* Blur efekt na horní hraně pomocí pseudo-elementu */
.player-info::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 30px !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent) !important;
    filter: blur(8px) !important;
    -webkit-filter: blur(8px) !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.player-name {
    margin-bottom: 0.5rem;
    margin-top: 0 !important; /* Name zůstává na místě */
    color: #fff !important; /* Plně bílá barva, neovlivněna průhledností */
    position: relative !important;
    z-index: 3 !important; /* Nad pozadím player-info */
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.player-first-name {
    display: inline !important;
    font-size: 1rem !important; /* Menší velikost jako na obrázku */
    color: #fff !important; /* Plně bílá barva */
    font-weight: 400 !important; /* Normální váha */
    margin-bottom: 0 !important;
    margin-right: 0.5rem !important;
    opacity: 1 !important; /* Zajištění plné opacity */
    text-shadow: none !important; /* Bez stínu pro čistší vzhled */
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    text-transform: none !important; /* Zachovat původní velikost písmen */
    letter-spacing: normal !important;
}

.player-last-name {
    display: inline !important;
    font-size: 1.8rem !important; /* Větší velikost jako na obrázku */
    font-weight: 700 !important; /* Tučné */
    color: #fff !important; /* Plně bílá barva */
    text-transform: uppercase !important; /* Všechna velká písmena */
    letter-spacing: 0px !important; /* Bez mezer mezi písmeny */
    opacity: 1 !important; /* Zajištění plné opacity */
    text-shadow: none !important; /* Bez stínu pro čistší vzhled */
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.player-position {
    font-size: 0.85rem;
    color: var(--colorTextSecondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.videos-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.videos-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.videos-nav-btn {
    width: 45px;
    height: 45px;
    background: var(--colorBgSemiTransparent12);
    border: 1px solid var(--colorDividerBorder);
    color: var(--colorTextPrimary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.videos-nav-btn:hover {
    background: var(--colorAccent);
    border-color: var(--colorAccent);
    transform: scale(1.1);
}

.videos-nav-btn:active {
    transform: scale(0.95);
}

.players-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.pagination-dot {
    width: 40px;
    height: 4px;
    background: var(--colorBgSemiTransparent32);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.pagination-dot.active {
    background: var(--colorSpartaYellow);
    width: 60px;
}

.pagination-dot:hover {
    background: var(--colorAccent);
}

/* Responsive Players Section */
@media (max-width: 1200px) {
    .player-card {
        flex: 0 0 auto;
        max-width: 460px;
        min-width: 220px;
    }
}

@media (max-width: 992px) {
    .player-card {
        flex: 0 0 auto;
        max-width: 460px;
        min-width: 200px;
    }
    
    .players-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .players-section {
        padding: 3rem 1rem;
    }
    
    .players-carousel-wrapper {
        width: 300px !important;
        max-width: 300px !important;
        min-width: 0;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }
    
    .player-card {
        flex: 0 0 250px;
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        box-sizing: border-box;
    }
    
    .player-number {
        font-size: 6rem;
    }
    
    .player-last-name {
        font-size: 1.2rem;
    }

    /* Jméno: křestní a příjmení pod sebou */
    .player-card .player-name {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.2rem !important;
    }

    .player-card .player-first-name {
        display: block !important;
        margin-right: 0 !important;
    }

    .player-card .player-last-name {
        display: block !important;
    }
    
    .players-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .players-carousel-wrapper {
        width: 300px !important;
        max-width: 300px !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }
    
    .player-card {
        flex: 0 0 250px;
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        box-sizing: border-box;
    }
    
    .players-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .players-nav {
        align-self: flex-end;
    }
}

/* Match Cards - Small variant */
.match-teams-small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0;
    gap: 1rem;
}

.team-small {
    flex: 1;
    text-align: center;
}

.team-small h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--colorTextPrimary);
}

.vs-divider {
    font-weight: 700;
    color: var(--colorTextSecondary);
    font-size: 0.9rem;
}

.match-score-small {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--colorAccent);
}

.match-countdown-small {
    text-align: center;
    margin: 1rem 0;
}

.countdown-timer-small {
    display: inline-flex;
    gap: 0.5rem;
    background: var(--colorBgSemiTransparent8);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.countdown-timer-small span {
    color: var(--colorTextPrimary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* News Cards */
.news-card-img {
    height: 200px;
    object-fit: cover;
}

.news-card-img-placeholder {
    height: 200px;
    background: var(--colorBgSecondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-detail {
    color: var(--colorTextPrimary);
}

.news-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--colorTextSecondary);
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hero obrázek v detailu aktuality */
.news-hero-image {
    width: 100%;
    margin-bottom: 2rem;
}

.news-hero-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.news-share {
    border-top-color: var(--colorDividerBorder) !important;
}

/* Gallery Cards */
.gallery-card {
    overflow: hidden;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: var(--colorTextPrimary);
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-info i {
    margin-right: 0.5rem;
}

/* Forms - Dark Theme */
.form-control {
    background-color: var(--colorBgTertiary) !important;
    border-color: var(--colorDividerBorder) !important;
    color: var(--colorTextPrimary) !important;
}

.form-control:focus {
    background-color: var(--colorBgTertiary) !important;
    border-color: var(--colorAccent) !important;
    color: var(--colorTextPrimary) !important;
    box-shadow: 0 0 0 0.2rem rgba(180, 30, 30, 0.25);
}

.form-control::placeholder {
    color: var(--colorTextSecondary) !important;
    opacity: 0.6;
}

.form-label {
    color: var(--colorTextPrimary);
}

.form-check-input {
    background-color: var(--colorBgTertiary);
    border-color: var(--colorDividerBorder);
}

.form-check-input:checked {
    background-color: var(--colorAccent);
    border-color: var(--colorAccent);
}

.form-check-label {
    color: var(--colorTextSecondary);
}

/* Pagination - Dark Theme */
.pagination .page-link {
    background-color: var(--colorBgTertiary);
    border-color: var(--colorDividerBorder);
    color: var(--colorTextPrimary);
}

.pagination .page-link:hover {
    background-color: var(--colorBgSecondary);
    border-color: var(--colorAccent);
    color: var(--colorTextPrimary);
}

.pagination .page-item.active .page-link {
    background-color: var(--colorAccent);
    border-color: var(--colorAccent);
    color: var(--colorTextPrimary);
}

/* Alerts - Dark Theme */
.alert {
    border-color: var(--colorDividerBorder);
}

.alert-success {
    background-color: rgba(22, 156, 1, 0.2);
    border-color: var(--colorGreenPositive);
    color: var(--colorTextPrimary);
}

.alert-danger {
    background-color: rgba(180, 30, 30, 0.2);
    border-color: var(--colorAccent);
    color: var(--colorTextPrimary);
}

.alert-warning {
    background-color: rgba(250, 165, 25, 0.2);
    border-color: var(--colorSpartaYellow);
    color: var(--colorTextPrimary);
}

.alert-info {
    background-color: var(--colorBgSemiTransparent8);
    border-color: var(--colorDividerBorder);
    color: var(--colorTextPrimary);
}

/* Links */
a {
    color: var(--colorAccent);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--colorAccentLight);
}

/* Videos Section - fixní velikost 300x250px */
.videos-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 -1rem;
    padding: 1rem 0;
}

.videos-carousel {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.video-item {
    flex: 0 0 auto;
    width: 80%;
    max-width: 300px;
    flex-shrink: 0;
}

.video-thumbnail {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: var(--colorBgSecondary);
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

/* Kliknutelný náhled videa - pouze thumbnail + play ikona */
.video-thumbnail-clickable {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail-clickable:hover .video-thumbnail-play {
    transform: scale(1.1);
    opacity: 1;
}

.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Placeholder za obrázkem – zobrazí se při chybě načtení (onerror) */
.video-thumbnail-placeholder.video-thumbnail-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.video-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.video-thumbnail-play {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(196, 30, 58, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.2s, opacity 0.2s;
    pointer-events: none;
}

.video-thumbnail-play i {
    margin-left: 4px;
}

/* Video modal - celé video v popup */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.video-modal.video-modal-open {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.video-modal-close,
.video-modal-fullscreen {
    position: absolute;
    top: 1rem;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}

.video-modal-close:hover,
.video-modal-fullscreen:hover {
    background: rgba(0, 0, 0, 0.8);
}

.video-modal-close {
    right: 1rem;
    line-height: 1;
}

.video-modal-fullscreen {
    right: 4rem;
}

.video-modal-title {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 6rem;
    margin: 0;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    z-index: 5;
}

.video-modal-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 300px;
    background: #000;
}

.video-modal-player video,
.video-modal-player iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.video-modal-player video {
    object-fit: contain;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--colorTextPrimary);
    margin-bottom: 0.5rem;
}

.video-description {
    font-size: 0.875rem;
    color: var(--colorTextSecondary);
    margin: 0;
}

@media (max-width: 768px) {
    .videos-carousel-wrapper {
        margin: 0 -0.5rem;
    }
    
    .video-item {
        width: 85%;
        max-width: 280px;
    }
    
    .video-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .videos-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Teams Section - podle screenu */
.teams-section {
    padding: 3rem 0;
}

.teams-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.teams-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--colorTextPrimary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    display: flex;
    align-items: center;
}

.teams-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.teams-section .teams-tabs .team-tab {
    border-radius: 999px;
}

.team-tab {
    background: transparent;
    border: none;
    color: var(--colorTextSecondary);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.team-tab:hover {
    color: var(--colorTextPrimary);
}

/* Aktivní stav záložek řeší assets/css/components.css (výplň + bílý text) */

.teams-hero {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.teams-hero-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.teams-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.teams-hero-buttons {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.btn-teams-primary,
.btn-teams-secondary {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-teams-primary {
    background: var(--colorAccent);
    color: var(--colorTextPrimary);
}

.btn-teams-primary:hover {
    background: var(--colorAccentLight);
    color: var(--colorTextPrimary);
    transform: translateY(-2px);
}

.btn-teams-secondary {
    background: var(--colorBgTertiary);
    color: var(--colorTextPrimary);
    border: 1px solid var(--colorDividerBorder);
}

.btn-teams-secondary:hover {
    background: var(--colorBgQuarternary);
    color: var(--colorTextPrimary);
    transform: translateY(-2px);
}

.teams-league {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 1) 100%) !important; /* Jemnější gradient místo jednobarevného pozadí */
    height: 100%;
    min-height: 500px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
}

/* Tabulka přímo pod .teams-league (bez vnitřního wrapperu) – plná šířka tmavého bloku */
.teams-section .teams-league > .league-table {
    width: 100%;
    max-width: none;
    align-self: stretch;
}

.league-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--colorDividerBorder);
}

.league-tab {
    background: transparent;
    border: none;
    color: var(--colorTextSecondary);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.league-tab:hover {
    color: var(--colorTextPrimary);
}

.league-tab.active {
    color: var(--colorTextPrimary);
}

.league-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--colorAccent);
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.league-table thead {
    border-bottom: 2px solid var(--colorDividerBorder);
}

.league-table th {
    padding: 1rem 0.5rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--colorTextSecondary);
}

.league-table th:first-child {
    width: 50px;
    text-align: center;
}

.league-table th:nth-child(2) {
    width: auto;
}

.league-table th:nth-child(3),
.league-table th:nth-child(4) {
    width: 80px;
    text-align: center;
}

.league-table tbody tr {
    border-bottom: 1px solid var(--colorDividerBorder);
    transition: background 0.3s ease;
}

.league-table tbody tr:hover {
    background: var(--colorBgSemiTransparent8);
}

.league-table td {
    padding: 1rem 0.5rem;
    color: var(--colorTextPrimary);
}

.league-table td:first-child {
    text-align: center;
    font-weight: 700;
    color: var(--colorTextSecondary);
}

.league-table td:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.league-table td:nth-child(3),
.league-table td:nth-child(4) {
    text-align: center;
    font-weight: 600;
}

.league-table-ellipsis td {
    color: var(--colorTextSecondary);
    font-size: 0.9rem;
    border-top: 1px dashed var(--colorBorder);
}

.league-table-our-team {
    font-weight: 600;
    background: var(--colorAccentTransparent16);
}

.league-table-our-team td {
    border-top: 1px solid var(--colorAccent);
}

.team-logo-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--colorBgTertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.league-team-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--colorBgTertiary);
    flex-shrink: 0;
    vertical-align: middle;
}

/* Placeholder v zápasech – stejná velikost jako logo */
.match-item-team .team-logo-small {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
}

/* Placeholder v sekci „nadcházející zápas“ – stejná velikost jako team-logo-img (60px) */
.team-display .team-logo-small {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
}

a.league-full-table {
    color: var(--colorTextPrimary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    margin-top: auto;
    align-self: stretch;
    justify-content: center;
    box-sizing: border-box;
}

a.league-full-table:hover {
    color: var(--colorAccent);
}

/* League Page Styles */
.league-page-header {
    margin-bottom: 2rem;
}

.league-page-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--colorTextPrimary);
    text-transform: uppercase;
    letter-spacing: 0 !important; /* Písmenka skoro totálně u sebe */
    margin-bottom: 2rem;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    position: relative !important; /* Pro červenou čáru pod nadpisem */
}

.league-page-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 4px !important;
    background: linear-gradient(90deg, var(--colorAccent), var(--colorAccentLight)) !important;
    border-radius: 2px !important;
}

.league-filters {
    margin-bottom: 2rem;
}

.league-filters .form-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    color: var(--colorTextSecondary);
}

.league-filter-select {
    background-color: var(--colorBgTertiary);
    border: 1px solid var(--colorDividerBorder);
    color: var(--colorTextPrimary);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.league-filter-select:focus {
    background-color: var(--colorBgTertiary);
    border-color: var(--colorAccent);
    color: var(--colorTextPrimary);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.league-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--colorDividerBorder);
    margin-bottom: 2rem;
}

.league-tab-link {
    padding: 1rem 2rem;
    color: var(--colorTextSecondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.league-tab-link:hover {
    color: var(--colorTextPrimary);
    background-color: var(--colorBgSecondary);
}

.league-tab-link.active {
    color: var(--colorAccent);
    border-bottom-color: var(--colorAccent);
}

/* Mobil: tři taby se musí vejít na 375 px bez horizontálního posunu */
@media (max-width: 575.98px) {
    .league-tab-link {
        flex: 1 1 0;
        text-align: center;
        padding: 0.85rem 0.35rem;
        font-size: 0.8rem;
        letter-spacing: 0.2px;
        white-space: nowrap;
    }
}

.league-table-container {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 1) 100%) !important; /* Jemnější gradient místo jednobarevného pozadí */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--colorDividerBorder);
}

.league-full-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 1) 100%) !important; /* Jemnější gradient místo jednobarevného pozadí */
    display: table;
    table-layout: auto;
}

.league-full-table thead {
    display: table-header-group;
    background: var(--colorBgTertiary);
    border-bottom: 2px solid var(--colorDividerBorder);
}

.league-full-table tbody {
    display: table-row-group;
}

.league-full-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--colorTextSecondary);
    border-bottom: 2px solid var(--colorDividerBorder);
    display: table-cell;
    vertical-align: middle;
}

.league-full-table th:first-child {
    width: 60px;
    text-align: center;
}

.league-full-table th:nth-child(2) {
    min-width: 250px;
}

.league-full-table th:nth-child(3),
.league-full-table th:nth-child(4),
.league-full-table th:nth-child(5),
.league-full-table th:nth-child(6),
.league-full-table th:nth-child(7),
.league-full-table th:nth-child(8) {
    text-align: center;
    width: 100px;
}

.league-full-table tbody tr {
    border-bottom: 1px solid var(--colorDividerBorder);
    transition: background-color 0.2s ease;
}

.league-full-table tbody tr:hover {
    background-color: var(--colorBgTertiary);
}

.league-full-table tbody tr.highlighted {
    background-color: rgba(196, 30, 58, 0.2);
    border-left: 4px solid var(--colorAccent);
}

.league-full-table tbody tr.highlighted:hover {
    background-color: rgba(196, 30, 58, 0.28);
}

.league-full-table tbody tr.highlighted td:nth-child(2) {
    font-weight: 700;
    color: var(--colorAccent);
}

.league-full-table td {
    padding: 1.25rem 1.5rem;
    color: var(--colorTextPrimary);
    font-size: 0.95rem;
    display: table-cell;
    vertical-align: middle;
}

.league-full-table td:first-child {
    text-align: center;
    font-weight: 700;
    color: var(--colorTextSecondary);
    font-size: 1rem;
}

.league-full-table td:nth-child(2) {
    font-weight: 500;
}

.league-full-table td:nth-child(3),
.league-full-table td:nth-child(4),
.league-full-table td:nth-child(5),
.league-full-table td:nth-child(6),
.league-full-table td:nth-child(7),
.league-full-table td:nth-child(8) {
    text-align: center;
}

.league-full-table td:nth-child(8) {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--colorAccent);
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Liga (liga.php) – mobil: jen #, tým, Z, B + bez log */
@media (max-width: 992px) {
    /* Nechat jen sloupce 1,2,3,8 */
    .league-full-table th:nth-child(4),
    .league-full-table th:nth-child(5),
    .league-full-table th:nth-child(6),
    .league-full-table th:nth-child(7),
    .league-full-table td:nth-child(4),
    .league-full-table td:nth-child(5),
    .league-full-table td:nth-child(6),
    .league-full-table td:nth-child(7) {
        display: none !important;
    }

    /* Hlavičky: dlouhé texty skrýt, krátké ukázat */
    .league-full-table .th-short {
        display: inline;
    }
    .league-full-table .th-long {
        display: none;
    }

    /* Bez log na mobilu */
    .league-full-table .team-logo-small,
    .league-full-table .league-team-logo-img {
        display: none !important;
    }

    /* Kompaktní layout, aby se vešel i sloupec B */
    .league-full-table {
        table-layout: fixed;
        width: 100%;
    }

    .league-full-table th,
    .league-full-table td {
        padding: 0.85rem 0.75rem;
    }

    .league-full-table th:first-child,
    .league-full-table td:first-child {
        width: 44px;
    }

    .league-full-table th:nth-child(3),
    .league-full-table td:nth-child(3),
    .league-full-table th:nth-child(8),
    .league-full-table td:nth-child(8) {
        width: 52px;
        text-align: center;
        white-space: nowrap;
    }

    /* Team column může zúžit a použít ellipsis */
    .league-full-table th:nth-child(2) {
        min-width: 0 !important;
        width: auto !important;
    }

    .league-full-table td:nth-child(2),
    .league-full-table td:nth-child(2) .team-cell,
    .league-full-table td:nth-child(2) span {
        min-width: 0;
    }

    .league-full-table td:nth-child(2) span {
        display: inline-block;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .league-full-table .team-cell {
        gap: 0;
    }
}

@media (max-width: 992px) {
    .teams-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .teams-section .teams-tabs {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        gap: 0.35rem;
    }
    
    .teams-section .team-tab {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0.65rem 0.5rem;
        font-size: 0.9rem;
    }

    /* Hero s obrázkem + overlay: max. 250px výšky, dole viditelná tlačítka */
    .teams-section .teams-hero {
        height: 250px;
        max-height: 250px;
        min-height: 0;
    }

    .teams-section .teams-hero-image {
        height: 100%;
        min-height: 0;
        max-height: 250px;
    }

    .teams-section .teams-hero-overlay {
        max-height: 250px;
    }

    .teams-section .teams-hero-buttons {
        flex-direction: column;
        bottom: 0.5rem;
        left: 0.65rem;
        right: 0.65rem;
        gap: 0.4rem;
    }

    .teams-section .btn-teams-primary,
    .teams-section .btn-teams-secondary {
        padding: 0.45rem 0.65rem;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
        justify-content: center;
    }

    .teams-section .btn-teams-primary i,
    .teams-section .btn-teams-secondary i {
        margin-left: 0.35rem !important;
    }
    
    /* Odsazení jen u .teams-league – tabulka využije celou vnitřní šířku bloku */
    .teams-section .teams-league {
        min-height: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 1.5rem 0.75rem;
        align-items: stretch;
    }

    .teams-section .teams-league > .league-table {
        width: 350px;
        max-width: min(350px, 100%);
        margin-left: auto;
        margin-right: auto;
        table-layout: fixed;
        box-sizing: border-box;
    }

    .teams-section .league-table th:nth-child(3),
    .teams-section .league-table th:nth-child(4) {
        width: 3rem;
        min-width: 3rem;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    /* display:flex na <td> zúžuje tabulku v mobilních prohlížečích */
    .teams-section .league-table td:nth-child(2) {
        display: table-cell;
        vertical-align: middle;
    }

    /* Homepage mini tabulka: na mobilu nikdy žádné logo ani placeholder */
    .teams-section .league-table .team-logo-small,
    .teams-section .league-table .league-team-logo-fallback,
    .teams-section .league-table .league-team-logo-img {
        display: none !important;
    }

    .teams-section .league-table td:nth-child(2) > span.league-team-name {
        display: inline-block;
        max-width: 13ch;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }
}

/* Gallery Detail - Modern Masonry Grid */
.gallery-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 10px;
    gap: 15px;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.gallery-masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
}

.gallery-masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Grid row span bude nastaveno dynamicky pomocí JavaScript podle skutečných rozměrů obrázků */

.gallery-masonry-item .gallery-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

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

.gallery-masonry-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
}

@media (min-width: 1200px) {
    .gallery-masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Gallery Modal with Carousel */
#galleryModal .modal-content {
    background-color: var(--colorBgPrimary);
    border: none;
}

#galleryModal .modal-header {
    border-bottom: 1px solid var(--colorDividerBorder);
}

#galleryModal .modal-footer {
    border-top: 1px solid var(--colorDividerBorder);
}

.gallery-modal-image {
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Šipky a křížek lightboxu: obecný styl tlačítek v tomto souboru (position: relative, border,
   background: transparent – vše s !important) je shazoval pod fotku vlevo dole a křížku bral ikonu.
   Proto zde vše s !important. */
#galleryModal .carousel-control-prev,
#galleryModal .carousel-control-next {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    box-shadow: none !important;
    overflow: visible !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

#galleryModal .carousel-control-prev:hover,
#galleryModal .carousel-control-next:hover,
#galleryModal .carousel-control-prev:focus,
#galleryModal .carousel-control-next:focus {
    opacity: 1 !important;
    background: rgba(180, 30, 30, 0.8) !important;
}

#galleryModal .carousel-control-prev::before,
#galleryModal .carousel-control-next::before,
#galleryModal .btn-close::before {
    display: none !important;
    content: none !important;
}

#galleryModal .carousel-control-prev {
    left: 20px !important;
    right: auto !important;
}

#galleryModal .carousel-control-next {
    right: 20px !important;
    left: auto !important;
}

#galleryModal .carousel-control-prev-icon,
#galleryModal .carousel-control-next-icon {
    width: 20px !important;
    height: 20px !important;
}

#galleryModal .btn-close {
    position: relative !important;
    width: 1em !important;
    height: 1em !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0.25em !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0.375rem !important;
    box-shadow: none !important;
    overflow: visible !important;
    opacity: 0.85 !important;
    filter: none !important;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
}

#galleryModal .btn-close:hover {
    opacity: 1 !important;
}

#galleryModal .carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 8px;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 80%;
}

#galleryModal .carousel-caption p {
    margin: 0;
    color: var(--colorTextPrimary);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .gallery-modal-image {
        max-height: 70vh;
    }
    
    #galleryModal .carousel-control-prev,
    #galleryModal .carousel-control-next {
        width: 40px !important;
        height: 40px !important;
    }
    
    #galleryModal .carousel-control-prev {
        left: 10px !important;
    }
    
    #galleryModal .carousel-control-next {
        right: 10px !important;
    }
}

/* Bento Box Design for Sections */
.bento-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 1) 100%) !important; /* Jemnější gradient místo jednobarevného pozadí */
    border: 1px solid #c41e3a;
    border-radius: 0;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bento-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent
    );
}

.bento-box:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Apply bento box to all main sections - full width breakout */
section:not(.hero-section):not(.match-countdown-section) {
    background: var(--colorBgSecondary);
    border: none;
    border-radius: 0;
    padding: 2.5rem;
    margin-bottom: 2rem;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

section:not(.hero-section):not(.match-countdown-section)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent
    );
    z-index: 1;
}

section:not(.hero-section):not(.match-countdown-section):hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Ensure section titles are visible */
section:not(.hero-section):not(.match-countdown-section) .section-title {
    position: relative;
    z-index: 2;
}

/* Special styling for match-countdown-section */
.match-countdown-section {
    background: var(--colorBgSecondary);
    border: none;
    border-radius: 15px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 2rem 0;
    margin: 2rem 0;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.match-countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent
    );
}

/* Players section - already has background, adjust border */
.players-section {
    border: none;
    border-radius: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.players-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent
    );
    z-index: 1;
}

/* Teams section */
.teams-section {
    border: none;
    border-radius: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    padding: 2.5rem;
}

.teams-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent
    );
}

/* Dotace section - keep yellow background but add border and shadow */
.section-dotace {
    border: none !important;
    border-radius: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-shadow: 
        0 8px 32px rgba(255, 193, 7, 0.2),
        0 2px 8px rgba(255, 193, 7, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.section-dotace::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 193, 7, 0.4) 50%, 
        transparent
    );
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section:not(.hero-section):not(.match-countdown-section),
    .bento-box,
    .teams-section,
    .players-section {
        border-radius: 0;
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        /* Zakomentováno - posouvalo sekce mimo obrazovku */
        /* left: 50% !important; */
        /* right: 50% !important; */
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .match-countdown-section {
        border-radius: 15px !important;
        padding: 1.5rem 0;
        margin: 1.5rem auto !important;
        width: 100% !important;
        max-width: 100% !important;
        /* Zakomentováno - posouvalo sekce mimo obrazovku */
        /* left: 50% !important; */
        /* right: 50% !important; */
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .hero-section {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-content {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 576px) {
    section:not(.hero-section):not(.match-countdown-section),
    .bento-box,
    .teams-section,
    .players-section {
        padding: 1rem 0.75rem;
        margin-bottom: 1rem;
        margin-left: 0;
        margin-right: 0;
        width: 100% !important;
        max-width: 100% !important;
        /* Zakomentováno - posouvalo sekce mimo obrazovku */
        /* left: 50% !important; */
        /* right: 50% !important; */
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .match-countdown-section {
        border-radius: 15px !important;
        padding: 1rem 0;
        margin: 1rem 0;
        /* Zakomentováno - posouvalo sekce mimo obrazovku */
        /* left: 50% !important; */
        /* right: 50% !important; */
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .section-title {
        font-size: 1.75rem !important;
        padding: 0 0.75rem;
    }
    
    /* Cards - mobilní úpravy */
    .match-card,
    .news-card,
    .card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 1rem !important;
    }
    
    .match-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .match-score {
        font-size: 1.5rem !important;
    }
    
    /* Row a col úpravy */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    [class*="col-"] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/* Text colors */
.text-white {
    color: var(--colorTextPrimary) !important;
}

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

/* Override Bootstrap border classes for sections */
section.border-top,
section.border-warning,
section.border-top.border-warning {
    border-color: #c41e3a !important;
    border-top-color: #c41e3a !important;
}

/* Ensure all sections have red border */
section:not(.hero-section) {
    border-color: #c41e3a !important;
}

/* Mobilní úpravy - obecné */
@media (max-width: 576px) {
    /* Zajištění, že všechny elementy jsou přes celou šířku */
    body {
        overflow-x: hidden;
    }
    
    /* Reset margin a padding pro hlavní elementy */
    main {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Zajištění, že všechny sekce jsou přes celou šířku a vycentrované */
    section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Úprava padding pro všechny sekce */
    section:not(.hero-section):not(.match-countdown-section) {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Hero sekce - centrování */
    .hero-section {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-content {
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Úprava nadpisů */
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
    }
}


/* Sdílení aktuality (veřejný detail) */
.share-panel-compact .btn { min-height: 44px; }
