/* ============================================================
   TCL — Tenisový klub Litomyšl | Hlavní styl
   Brand barvy: žlutá #fcaf30, sekundární #bd7d14
   Bootstrap 5 proměnné přepsané v :root (bez kompilace SASSu)
   ============================================================ */

:root {
    /* Brand barvy klubu */
    --bs-primary: #fcaf30;
    --bs-primary-rgb: 252, 175, 48;
    --bs-body-bg: #ffffff;
    --bs-body-color: #3a3a3a;
    --bs-body-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-link-color: #fcaf30;
    --bs-link-hover-color: #bd7d14;
    --bs-border-color: #e5e5e5;

    --tcl-yellow: #fcaf30;
    --tcl-yellow-hover: #bd7d14;
    --tcl-yellow-bright: #fcaf30;
    --tcl-dark: #2d2d2d;
    --tcl-gray-text: #545454;
    --tcl-text-muted: #6b6b6b;
    --tcl-bg-soft: #eaeaea;
    --tcl-bg-dark-soft: #383838;
}

/* ------------------------------------------------------------
   Základ
   ------------------------------------------------------------ */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Prevence horizontálního přetoku (bílý pruh vpravo) i na iOS;
   overflow-x: clip nerozbíjí position: sticky (sticky navbar) */
@supports (overflow-x: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

body {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--tcl-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.btn {
    font-weight: 600;
    border-radius: 0;
}

.btn-primary {
    background-color: var(--tcl-yellow);
    border-color: var(--tcl-yellow);
    color: #ffffff;
    padding: 0.65rem 1.8rem;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--tcl-yellow-hover);
    border-color: var(--tcl-yellow-hover);
    color: #ffffff;
}

.btn-outline-primary {
    color: var(--tcl-yellow-hover);
    border-color: var(--tcl-yellow);
    padding: 0.65rem 1.8rem;
}

.btn-outline-primary:hover {
    background-color: var(--tcl-yellow);
    border-color: var(--tcl-yellow);
    color: #ffffff;
}

.btn-outline-light {
    border-radius: 0;
}

/* ------------------------------------------------------------
   Horní lišta (tmavá, telefon + sociální sítě)
   ------------------------------------------------------------ */
.topbar {
    background-color: var(--tcl-dark);
    color: #b9b9b9;
    font-size: 0.85rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 40px;
}

.topbar a {
    color: #cfcfcf;
    transition: color 0.2s ease;
}

.topbar a:hover {
    color: var(--tcl-yellow);
}

.topbar-phone {
    white-space: nowrap;
    color: #cfcfcf;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-phone:hover {
    color: var(--tcl-yellow);
}

.topbar-social {
    display: flex;
    gap: 0.5rem;
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #cfcfcf;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.topbar-social a:hover {
    background: var(--tcl-yellow);
    border-color: var(--tcl-yellow);
    color: #ffffff;
}

@media (max-width: 575.98px) {
    .topbar-phone span {
        display: none;
    }
}

/* ------------------------------------------------------------
   Navigační lišta (bílá, žlutý spodní okraj, logotyp)
   ------------------------------------------------------------ */
.navbar {
    background: #ffffff;
    border-bottom: 3px solid var(--tcl-yellow);
    padding: 0.8rem 0;
    transition: box-shadow 0.3s ease;
}

.navbar.navbar-scrolled {
    box-shadow: none;
}

.navbar-brand {
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-brand img {
    height: 52px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
}

.navbar-nav .nav-link {
    color: var(--tcl-gray-text);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.7rem 0.05rem;
    margin: 0 0.38rem;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    border-radius: 0;
    background: var(--tcl-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #000000;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-cta {
    margin-left: 0.4rem;
    padding: 0.55rem 1.3rem;
    background-color: var(--tcl-yellow);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 0;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-cta:hover {
    background-color: var(--tcl-yellow-hover);
    color: #ffffff;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(60%) sepia(60%) saturate(700%) hue-rotate(5deg);
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.8rem 0.1rem;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    .navbar-nav .nav-link::after {
        display: none;
    }
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--tcl-yellow-hover);
    }
    .navbar-cta {
        margin: 0.75rem 0 1rem;
        display: inline-block;
    }
}

/* Kompaktní horizontální menu pro notebooky (992–1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar {
        padding: 0.45rem 0;
    }
    .navbar-brand img {
        height: 38px;
    }
    .navbar-nav .nav-link {
        font-size: 0.76rem;
        margin: 0 0.18rem;
        padding: 0.55rem 0.05rem;
    }
    .navbar-cta {
        font-size: 0.76rem;
        padding: 0.4rem 0.75rem;
        margin-left: 0.15rem;
    }
}

/* ------------------------------------------------------------
   HERO BANNER — přizpůsobí se fotce, velký titulek na fotce
   ------------------------------------------------------------ */
.hero {
    position: relative;
    background-color: var(--tcl-dark);
}

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

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.22) 45%,
        rgba(0, 0, 0, 0.02) 100%
    );
}

.hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding-bottom: 3.5rem;
}

/* Na desktopu omezení výšky i šířky hero (ultra-široké displeje) */
@media (min-width: 992px) {
    .hero {
        max-width: 1920px;
        margin: 0 auto;
    }
    .hero-img {
        height: min(900px, 90vh);
        width: 100%;
        object-fit: cover;
        object-position: center;
    }
    .hero-inner {
        padding-bottom: 3rem;
    }
}

.hero-caption {
    max-width: 720px;
}

.hero-eyebrow {
    color: var(--tcl-yellow-bright);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.hero-eyebrow::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 3px;
    background: var(--tcl-yellow);
    vertical-align: middle;
    margin-right: 0.7rem;
}

.hero-text {
    color: #ffffff;
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767.98px) {
    /* Text zůstává na fotce, jen se zmenší, aby se vešel */
    .hero-inner {
        padding-bottom: 1.5rem;
    }
    .hero-caption {
        max-width: 96%;
    }
    .hero-eyebrow {
        font-size: 0.72rem;
        margin-bottom: 0.55rem;
    }
    .hero-text {
        font-size: clamp(1.15rem, 5.8vw, 1.45rem);
        margin-bottom: 1.1rem;
    }
}

/* ------------------------------------------------------------
   Společné sekce a nadpisy (vlnovka dle originálu)
   ------------------------------------------------------------ */
.section-intro,
.section-posts,
.section-results {
    padding: 4.5rem 0;
}

.section-offer,
.section-videos,
.section-sponsors {
    padding: 4.5rem 0;
    background-color: var(--tcl-bg-soft);
}

.section-eyebrow {
    color: var(--tcl-yellow-hover);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    color: var(--tcl-dark);
    margin-bottom: 1.1rem;
    position: relative;
    padding-bottom: 1.4rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 168px;
    height: 10px;
    background: url("../imgs/dekor/vlnovka.png") no-repeat center;
    background-size: contain;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--tcl-text-muted);
}

.section-text {
    color: var(--tcl-text-muted);
    margin-bottom: 1.25rem;
}

/* ------------------------------------------------------------
   Představení klubu
   ------------------------------------------------------------ */
.section-intro {
    position: relative;
    background-image: url("../imgs/dekor/uvod-poz.png");
    background-position: bottom right;
    background-repeat: no-repeat;
}

.section-cta-line {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tcl-dark);
    margin-bottom: 1.25rem;
}

.intro-media img {
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.intro-media::after {
    content: "";
    display: block;
    height: 5px;
    width: 100%;
    background: var(--tcl-yellow);
    margin-top: 0;
}

/* ------------------------------------------------------------
   Co nabízíme — seznam s odrážkami
   ------------------------------------------------------------ */
.offer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #dedede;
}

.offer-list li:last-child {
    border-bottom: none;
}

/* Dva sloupce na PC (jen úvodní stránka) */
.offer-list--cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
}

.offer-check {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-top: -2px;
    border-radius: 0;
    background: var(--tcl-yellow);
    color: #ffffff;
}

.offer-text {
    color: var(--tcl-text-muted);
    line-height: 1.6;
}

.offer-text strong {
    color: var(--tcl-dark);
}

.offer-desc {
    display: block;
    color: var(--tcl-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-top: 0.2rem;
}

/* Na co se zaměřujeme (stránka O klubu) */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
}

.focus-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tcl-dark);
    margin: 0 0 0.45rem;
    padding-left: 0.9rem;
    position: relative;
}

.focus-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 8px;
    height: 8px;
    background: var(--tcl-yellow);
}

.focus-desc {
    color: var(--tcl-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    padding-left: 0.9rem;
}

/* ------------------------------------------------------------
   CTA pás s fotkou (paralaxa)
   ------------------------------------------------------------ */
.cta-band {
    position: relative;
    background-image: url("../imgs/tcl-cust.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 6.5rem 0;
    text-align: center;
    color: #ffffff;
}

/* Paralaxa jen na zařízeních s myší (desktop) */
@media (hover: hover) and (pointer: fine) {
    .cta-band {
        background-attachment: fixed;
    }
}

/* Přístupnost: žádný pohyb při preferenci omezení pohybu */
@media (prefers-reduced-motion: reduce) {
    .cta-band {
        background-attachment: scroll;
    }
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7));
}

.cta-band-content {
    position: relative;
    z-index: 1;
}

.cta-eyebrow {
    color: var(--tcl-yellow);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.cta-title {
    color: #ffffff;
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto 2rem;
}

.cta-band .btn-primary {
    padding: 0.85rem 2.4rem;
}

.cta-band .btn-outline-light {
    padding: 0.85rem 2.4rem;
    border-radius: 0;
    border-width: 2px;
}

.cta-band .btn-outline-light:hover {
    background: #ffffff;
    color: #1f1f1f;
}

@media (max-width: 767.98px) {
    .cta-band {
        padding: 4rem 0;
    }
}

/* ------------------------------------------------------------
   Příspěvky — karty
   ------------------------------------------------------------ */
.post-card {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.post-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.post-card:hover .post-card-title {
    color: var(--tcl-yellow-hover);
}

.post-card:hover .post-card-more {
    color: var(--tcl-dark);
}

.post-card-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tcl-bg-soft);
    position: relative;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-img img {
    transform: scale(1.05);
}

.post-card-img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
}

.post-card-img .post-card-placeholder-logo {
    width: 45%;
    height: auto;
    object-fit: contain;
    opacity: 0.22;
    filter: grayscale(1);
}

.post-card:hover .post-card-img .post-card-placeholder-logo {
    transform: none;
}

.post-card-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--tcl-yellow);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 0;
    z-index: 2;
}

.post-card-body {
    padding: 1.4rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-title {
    font-size: 1.08rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.35;
    color: var(--tcl-dark);
    transition: color 0.2s ease;
}

.post-card-more {
    color: var(--tcl-yellow-hover);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ------------------------------------------------------------
   Videa (YouTube)
   ------------------------------------------------------------ */
.video-embed {
    aspect-ratio: 16 / 9;
    background: var(--tcl-dark);
    overflow: hidden;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ------------------------------------------------------------
   Výsledky — karty
   ------------------------------------------------------------ */
.result-card {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-radius: 0;
    padding: 1.6rem 1.6rem 1.7rem;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--tcl-yellow);
    transition: box-shadow 0.25s ease;
}

.result-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.result-img {
    display: block;
    margin: -1.6rem -1.6rem 1.25rem -1.6rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tcl-bg-soft);
}

.result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Výsledky (stránka Soutěže) — 2 sloupce, fotka vlevo v pevném rámu */
.result-item {
    display: flex;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-top: 4px solid var(--tcl-yellow);
    padding: 1.25rem;
    border-radius: 0;
    height: 100%;
}

.result-item-media {
    flex: 0 0 200px;
    width: 200px;
    align-self: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--tcl-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-item-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.result-item-media--placeholder {
    background: #f4f4f4;
    border: 1px dashed #d5d5d5;
}

.result-item-media--placeholder .result-placeholder-logo {
    width: 62%;
    height: auto;
    opacity: 0.22;
    filter: grayscale(1);
}

.result-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-item .result-title {
    margin-bottom: 0.5rem;
}

.result-item .result-text {
    flex-grow: 1;
}

@media (max-width: 991.98px) {
    .result-item-media {
        flex: 0 0 150px;
        width: 150px;
    }
}

@media (max-width: 575.98px) {
    .result-item {
        flex-direction: column;
    }

    .result-item-media {
        flex: 0 0 auto;
        width: 100%;
    }
}

.result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.result-date {
    color: var(--tcl-text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.result-place {
    background: var(--tcl-yellow);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.7rem;
    border-radius: 0;
    white-space: nowrap;
}

.result-title {
    font-size: 1.08rem;
    margin-bottom: 0.5rem;
}

.result-text {
    color: var(--tcl-text-muted);
    font-size: 0.93rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.result-more {
    color: var(--tcl-yellow-hover);
    font-weight: 700;
    font-size: 0.9rem;
}

.result-more:hover {
    color: var(--tcl-dark);
}

/* ------------------------------------------------------------
   Sponzoři
   ------------------------------------------------------------ */
.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.sponsor-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-radius: 0;
    padding: 1rem 1.4rem;
    min-width: 150px;
    min-height: 68px;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.sponsor-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

.sponsor-item img {
    max-height: 46px;
    max-width: 140px;
    object-fit: contain;
}

/* ------------------------------------------------------------
   Placeholder stránky
   ------------------------------------------------------------ */
.section-placeholder {
    padding: 6rem 0;
}

/* ------------------------------------------------------------
   Pata webu (tmavá #2d2d2d dle originálu)
   ------------------------------------------------------------ */
.main-footer {
    background: var(--tcl-dark);
    color: #dfdede;
    padding: 4rem 0 2.5rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--tcl-yellow);
    color: #1f1f1f;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-brand-name {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
}

.footer-brand-sub {
    color: #a9a9a9;
    font-size: 0.88rem;
}

.footer-text {
    color: #a9a9a9;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-top: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: background-color 0.2s ease;
}

.footer-social a:hover {
    background: var(--tcl-yellow);
    color: #ffffff;
}

.footer-heading {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.7rem;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: var(--tcl-yellow);
}

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

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

.footer-links a,
.footer-contact-link {
    color: #989898;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact-link:hover {
    color: var(--tcl-yellow);
}

.footer-address {
    color: #a9a9a9;
    font-size: 0.92rem;
    margin-bottom: 0;
}

.footer-address .footer-tel {
    color: #ffffff;
    font-weight: 600;
}

.footer-bottom {
    margin-top: 3.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #7f7f7f;
    font-size: 0.82rem;
}

.footer-bottom p + p {
    margin-top: 0.35rem;
}

.footer-author {
    color: #a9a9a9;
    transition: color 0.2s ease;
}

.footer-author:hover {
    color: var(--tcl-yellow);
}

/* ------------------------------------------------------------
   Vnitřní stránky (společné)
   ------------------------------------------------------------ */
.section-page {
    padding: 4.5rem 0;
}

/* ------------------------------------------------------------
   O klubu / Kontakt / Členství — seznamy a tabulky
   ------------------------------------------------------------ */
.club-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.club-facts li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--tcl-text-muted);
}

.club-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: var(--tcl-yellow);
}

.club-facts strong {
    color: var(--tcl-dark);
}

/* Responzivní karty místo tabulek (rozpis tréninků, trenéři) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.info-card {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-left: 4px solid var(--tcl-yellow);
    padding: 1.1rem 1.25rem;
    border-radius: 0;
}

.info-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tcl-dark);
    margin: 0 0 0.5rem;
}

.info-card-role {
    color: var(--tcl-yellow-hover);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin: -0.25rem 0 0.5rem;
}

.info-card-meta {
    color: var(--tcl-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.info-card-meta + .info-card-meta {
    margin-top: 0.1rem;
}

.info-card-meta a {
    color: var(--tcl-yellow-hover);
    font-weight: 600;
}

/* Karta osoby s fotkou vlevo (stránka Kontakt) */
.info-card--person {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
}

.info-card-photo {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #eef0f2;
}

.info-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-card-photo-icon {
    width: 46px;
    height: 46px;
    color: #c6ccd3;
}

.info-card-body {
    min-width: 0;
}

.info-label {
    display: inline-block;
    min-width: 3.2rem;
    color: var(--tcl-gray-text);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Členství — kroky a poplatky */
.step-card {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-top: 4px solid var(--tcl-yellow);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--tcl-yellow);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--tcl-dark);
    margin: 0 0 0.5rem;
}

.step-text {
    color: var(--tcl-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    flex-grow: 1;
}

.step-docs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.doc-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--tcl-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--bs-border-color);
    background: #ffffff;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.doc-link:hover {
    border-color: var(--tcl-yellow);
    color: var(--tcl-yellow-hover);
}

.doc-link svg {
    color: var(--tcl-yellow-hover);
    flex-shrink: 0;
}

.step-phone {
    display: inline-block;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--tcl-yellow-hover);
}

.step-link {
    font-weight: 700;
    color: var(--tcl-yellow-hover);
}

.fee-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    height: 100%;
}

.fee-card {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-top: 4px solid var(--tcl-yellow);
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fee-label {
    display: block;
    color: var(--tcl-gray-text);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.fee-amount {
    display: block;
    font-size: 1.7rem;
    line-height: 1.2;
    color: var(--tcl-yellow-hover);
    font-weight: 800;
}

.fee-note {
    display: block;
    color: var(--tcl-text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.payment-box {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-left: 4px solid var(--tcl-yellow);
    padding: 1.25rem 1.5rem;
    height: 100%;
}

.payment-box .club-facts {
    margin-bottom: 0;
}

.payment-box .club-facts li:last-child {
    margin-bottom: 0;
}

/* Kontakt */
.contact-block {
    height: 100%;
}

.map-box {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-bottom: 4px solid var(--tcl-yellow);
    padding: 0.4rem;
}

.map-canvas {
    width: 100%;
    height: 350px;
}

.map-box .leaflet-tile {
    filter: grayscale(1) contrast(0.98);
}

.tcl-map-pin {
    background: none;
    border: none;
}

.map-link {
    text-align: right;
    padding: 0.4rem 0.2rem 0;
}

.map-link a {
    color: var(--tcl-yellow-hover);
    font-size: 0.82rem;
    font-weight: 600;
}

.map-link a:hover {
    color: var(--tcl-dark);
}

.contact-address {
    color: var(--tcl-text-muted);
    margin-bottom: 0;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    flex-direction: column;
    padding: 0.85rem 0;
    border-bottom: 1px solid #ececec;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list strong {
    color: var(--tcl-dark);
}

.contact-list span {
    color: var(--tcl-text-muted);
}

.contact-list a {
    color: var(--tcl-yellow-hover);
}

/* ------------------------------------------------------------
   Soutěže — karty a soupisky
   ------------------------------------------------------------ */
.competition-card {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-radius: 0;
    padding: 1.5rem 1.5rem 1.7rem;
    border-top: 4px solid var(--tcl-yellow);
}

.competition-card p {
    color: var(--tcl-text-muted);
}

.competition-card a {
    color: var(--tcl-yellow-hover);
    font-weight: 700;
}

.team-list {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    color: var(--tcl-gray-text);
}

.team-list li {
    margin-bottom: 0.25rem;
}

/* ------------------------------------------------------------
   Fotogalerie — karty alb a mřížka fotek
   ------------------------------------------------------------ */
.gallery-card {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-bottom: 4px solid var(--tcl-yellow);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease;
}

.gallery-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.gallery-card-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tcl-bg-soft);
}

.gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-card-body {
    padding: 1.2rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-card-title {
    font-size: 1.08rem;
    color: var(--tcl-dark);
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.gallery-card-date {
    color: var(--tcl-text-muted);
    font-size: 0.82rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
}

.gallery-item {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--tcl-bg-soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.lightbox-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: background-color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--tcl-yellow);
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
}

.lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ------------------------------------------------------------
   Detail příspěvku
   ------------------------------------------------------------ */
.post-detail-img img {
    width: 100%;
}

.post-detail-perex {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--tcl-dark);
    margin-bottom: 1.5rem;
}

.post-detail-body {
    color: var(--tcl-text-muted);
    line-height: 1.8;
}

.post-detail-body h2,
.post-detail-body h3 {
    color: var(--tcl-dark);
    font-weight: 700;
    line-height: 1.3;
    margin: 1.4rem 0 0.6rem;
}

.post-detail-body h2 {
    font-size: 1.35rem;
}

.post-detail-body h3 {
    font-size: 1.1rem;
}

.post-detail-body img {
    max-width: 100%;
    height: auto;
}

.post-detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.post-detail-body td,
.post-detail-body th {
    border: 1px solid #e5e5e5;
    padding: 0.5rem 0.75rem;
}

/* Užší kontejner (detail příspěvku na PC) */
@media (min-width: 992px) {
    .container-narrow {
        max-width: 800px;
    }
}

/* ------------------------------------------------------------
   Stránkování
   ------------------------------------------------------------ */
.pagination-wrap {
    margin-top: 2.5rem;
}

.pagination .page-link {
    color: var(--tcl-yellow-hover);
    border-radius: 0;
    border-color: var(--bs-border-color);
    padding: 0.5rem 0.9rem;
}

.pagination .page-link:hover {
    background: var(--tcl-bg-soft);
    color: var(--tcl-dark);
}

.pagination .page-item.active .page-link {
    background: var(--tcl-yellow);
    border-color: var(--tcl-yellow);
    color: #ffffff;
}

/* ------------------------------------------------------------
   Responzivita
   ------------------------------------------------------------ */
@media (max-width: 767.98px) {
    .section-intro,
    .section-offer,
    .section-posts,
    .section-videos,
    .section-results,
    .section-sponsors,
    .section-page {
        padding: 3rem 0;
    }

    .offer-list--cols {
        grid-template-columns: 1fr;
    }

    .focus-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-item {
        min-width: 130px;
        min-height: 60px;
        padding: 0.8rem 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}
