/* ═══════════════════════════════════════════════════════
   sport.css — Single Sport Page Styles
   Used by page-sport.php (Template Name: Sport Page)
   ═══════════════════════════════════════════════════════ */

/* ── 1. HERO ─────────────────────────────────────────── */
.sport-hero {
    position: relative;
    background: var(--sport-color2, #003d6e);
    padding: 7rem 0 4rem;
    overflow: hidden;
    min-height: 340px;
}

.sport-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 50%, var(--sport-color, #0063A6) 0%, transparent 60%),
        linear-gradient(135deg, var(--sport-color2, #003d6e) 0%, #0a0e1a 100%);
}

.sport-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}

.sport-hero__breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 2.5rem;
}

.sport-hero__breadcrumb a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .2s;
}

.sport-hero__breadcrumb a:hover { color: #fff; }
.sport-hero__breadcrumb span:last-child { color: #fff; }

.sport-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.sport-hero__icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,.2);
}

.sport-hero__icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.sport-hero__text .zvis-label-tag { margin-bottom: .75rem; }

.sport-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 .6rem;
    text-transform: uppercase;
    letter-spacing: -.02em;
}

.sport-hero__tagline {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    margin: 0;
    font-weight: 500;
}

/* ── 2. INTRO ────────────────────────────────────────── */
.sport-intro {
    padding: 5rem 0;
    background: #fff;
}

.sport-intro__inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    align-items: start;
}

.sport-intro__text .zvis-label-tag {
    color: var(--sport-color, #0063A6);
    border-color: var(--sport-color, #0063A6);
}

.sport-intro__heading {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #0a0e1a;
    margin: .5rem 0 1.25rem;
    line-height: 1.2;
}

.sport-intro__body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #444;
}

/* Quick facts grid */
.sport-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-self: start;
}

.sport-fact {
    background: #f5f7fb;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    border-top: 3px solid var(--sport-color, #0063A6);
    text-align: center;
}

.sport-fact__value {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--sport-color, #0063A6);
    line-height: 1;
    margin-bottom: .4rem;
}

.sport-fact__label {
    font-size: .78rem;
    font-weight: 600;
    color: #666;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ── 3. VIDEO ────────────────────────────────────────── */
.sport-video {
    padding: 5rem 0;
    background: #0a0e1a;
}

.sport-video__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sport-video__header .zvis-label-tag {
    color: var(--sport-color, #0063A6);
    border-color: var(--sport-color, #0063A6);
}

.sport-video__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: .5rem 0 0;
}

/* Live embed */
.sport-video__wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 24px 80px rgba(0,0,0,.6);
}

.sport-video__wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Placeholder when no video yet */
.sport-video__placeholder {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 2px dashed rgba(255,255,255,.15);
}

.sport-video__placeholder-inner {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255,255,255,.03);
    color: rgba(255,255,255,.35);
}

.sport-video__play-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
}

.sport-video__placeholder-inner p {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0;
}

/* ── 4. RULES ────────────────────────────────────────── */
.sport-rules {
    padding: 5rem 0;
    background: #f5f7fb;
}

.sport-rules__inner {
    max-width: 780px;
    position: relative;
}

.sport-rules__inner .zvis-label-tag {
    color: var(--sport-color, #0063A6);
    border-color: var(--sport-color, #0063A6);
}

.sport-rules__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #0a0e1a;
    margin: .5rem 0 1.25rem;
}

.sport-rules__body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.sport-rules__accent {
    width: 48px;
    height: 4px;
    border-radius: 2px;
    margin-top: 2rem;
}

/* ── 5. CLUBS ────────────────────────────────────────── */
.sport-clubs {
    padding: 5rem 0;
    background: #fff;
}

.sport-clubs__header {
    margin-bottom: 2.5rem;
}

.sport-clubs__header .zvis-label-tag {
    color: var(--sport-color, #0063A6);
    border-color: var(--sport-color, #0063A6);
}

.sport-clubs__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #0a0e1a;
    margin: .5rem 0 0;
}

.sport-clubs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.sport-club-card {
    display: block;
    text-decoration: none;
    background: #f5f7fb;
    border-radius: 14px;
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.sport-club-card:hover {
    border-color: var(--sport-color, #0063A6);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    transform: translateY(-3px);
}

.sport-club-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sport-color, #0063A6);
    border-radius: 14px 14px 0 0;
}

.sport-club-card__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0a0e1a;
    margin-bottom: .6rem;
    line-height: 1.3;
}

.sport-club-card__desc {
    font-size: .9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.sport-club-card__link {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sport-color, #0063A6);
}

/* ── 6. CTA STRIP ────────────────────────────────────── */
.sport-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--sport-color, #0063A6) 0%, var(--sport-color2, #004E85) 100%);
    position: relative;
    overflow: hidden;
}

.sport-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.sport-cta__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.sport-cta__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 .6rem;
}

.sport-cta__desc {
    font-size: 1rem;
    color: rgba(255,255,255,.75);
    margin: 0;
    max-width: 500px;
}

.sport-cta__btns {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
    .sport-intro__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .sport-facts {
        grid-template-columns: repeat(4, 1fr);
    }

    .sport-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .sport-cta__desc { max-width: 100%; }
}

@media (max-width: 640px) {
    .sport-hero { padding: 5rem 0 3rem; }

    .sport-hero__inner { flex-direction: column; text-align: center; }
    .sport-hero__breadcrumb { flex-wrap: wrap; justify-content: center; }

    .sport-facts { grid-template-columns: 1fr 1fr; }

    .sport-cta__btns { flex-direction: column; width: 100%; }
    .sport-cta__btns .zvis-btn { text-align: center; }
}
