/* Mondial 2026 .net - Design System */
/* "Pitch & Paper" light editorial — navy + emerald/teal on off-white. */

:root {
    --primary-glow: rgba(15, 169, 104, 0.28);
    --primary-400: #34d399;
    --primary-500: #0FA968;
    --primary-600: #0B8C55;
    --primary-800: #0a5c3a;
    --shadow-glow-primary: 0 8px 22px rgba(15, 169, 104, 0.22);

    --bg-primary: #f5f7fa;
    --bg-secondary: #eef1f6;
    --bg-card-dark: #ffffff;
    --bg-glass: #ffffff;
    --bg-glass-hover: #f3f6fa;
    --bg-glass-light: rgba(11, 27, 51, 0.04);
    --bg-glass-light-strong: rgba(11, 27, 51, 0.07);
    --bg-card-glass-dark: #ffffff;

    --border-subtle: #e6eaf1;
    --border-light: #e6eaf1;
    --border-medium: #d6dde8;
    --border-glass: #e6eaf1;
    --border-glass-strong: #d6dde8;
    --border-glass-light: #d6dde8;
    --border-card: #e6eaf1;

    --text-primary: #0b1b33;
    --text-secondary: #3a465c;
    --text-muted: #4f5d73;
    --text-grey: #3f4b5f;
    --text-subtle: #5f6f86;
    --text-disabled: #b8c0cf;
    --text-dark: #0b1b33;

    --accent-primary: #0FA968;
    --accent-primary-light: #34d399;
    --accent-primary-dark: #0B8C55;
    --accent-primary-bg: rgba(15, 169, 104, 0.1);
    --accent-primary-border: rgba(15, 169, 104, 0.22);

    --gold: #b7791f;
    --gold-bg: rgba(232, 146, 12, 0.12);
    --gold-border: rgba(232, 146, 12, 0.28);

    --shadow-sm: 0 1px 2px rgba(11, 27, 51, 0.06);
    --shadow-md: 0 4px 12px rgba(11, 27, 51, 0.07);
    --shadow-lg: 0 12px 32px rgba(11, 27, 51, 0.10);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-2xl: 20px;
    --radius-full: 9999px;

    --glass-blur: blur(14px);
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(at 0% 0%, rgba(11,27,51,0.03) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(15, 169, 104, 0.04) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-secondary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tailwind neutral utilities are tuned for dark themes; strengthen them here. */
.text-neutral-300 { color: #dbe5f1 !important; }
.text-neutral-400 { color: #4f5d73 !important; }
.text-neutral-500 { color: #5f6f86 !important; }

::selection { background-color: rgba(15, 169, 104, 0.2); color: var(--primary-500); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(11, 27, 51, 0.1); border-radius: var(--radius-md); }
::-webkit-scrollbar-thumb:hover { background: rgba(11, 27, 51, 0.2); }
* { scrollbar-width: thin; scrollbar-color: rgba(11, 27, 51, 0.1) transparent; }

/* ===== Glass Panel ===== */
.glass-panel {
    background: var(--bg-card-dark);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ===== Tabs ===== */
.tabs {
    display: flex; align-items: center; gap: 0.25rem; padding: 0.25rem;
    background: rgba(11, 27, 51, 0.05); border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle); overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
    padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 500;
    color: var(--text-muted); border-radius: var(--radius-md); cursor: pointer;
    transition: all var(--transition-fast); white-space: nowrap; flex-shrink: 0;
    background: none; border: none; font-family: inherit;
}
.tab:hover { color: var(--text-primary); }
.tab-active { background: var(--text-primary); color: var(--bg-primary); box-shadow: var(--shadow-sm); }

/* ===== Filter tabs ===== */
.filter-tab {
    display: inline-flex; align-items: center; gap: 0.375rem;
    padding: 0.5rem 1rem; font-size: 0.8125rem; font-weight: 500;
    color: var(--text-grey); background: transparent; border: none;
    border-radius: var(--radius-lg); cursor: pointer;
    transition: all 0.2s ease; white-space: nowrap; font-family: inherit;
}
.filter-tab:hover { color: var(--text-primary); }
.filter-tab-active, .filter-tab.active { background: white; color: var(--text-dark); }

/* ===== Card ===== */
.card {
    background: var(--bg-glass); backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); overflow: hidden;
}
.card-header {
    padding: 0.75rem 1rem; background: rgba(11, 27, 51, 0.02);
    border-bottom: 1px solid var(--border-subtle);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500;
    border-radius: var(--radius-lg); border: 1px solid transparent;
    cursor: pointer; transition: all var(--transition-fast); font-family: inherit;
}
.btn-primary { background: var(--primary-500); color: white; border: none; }
.btn-primary:hover {
    background: var(--primary-400); transform: translateY(-2px);
    box-shadow: 0 0 20px var(--primary-glow), 0 4px 12px rgba(15, 169, 104, 0.3);
}
.btn-ghost { background: transparent; color: var(--text-muted); border: none; }
.btn-ghost:hover { background: rgba(11, 27, 51, 0.05); color: var(--text-primary); }

/* ===== Badge ===== */
.badge {
    display: inline-flex; align-items: center; padding: 0.25rem 0.625rem;
    font-size: 0.625rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; border-radius: var(--radius-full);
    white-space: nowrap; flex-shrink: 0;
}
.badge-host { background: var(--gold-bg); border: 1px solid var(--gold-border); color: var(--gold); }
.badge-conf { background: rgba(11,27,51,0.05); border: 1px solid var(--border-light); color: var(--text-muted); }
.badge-accent { background: var(--accent-primary-bg); border: 1px solid var(--accent-primary-border); color: var(--primary-500); }
.badge-live {
    background: rgba(15, 169, 104, 0.18);
    border: 1px solid rgba(15, 169, 104, 0.6);
    color: #34d399;
    display: inline-flex; align-items: center;
}
.badge-live::before {
    content: ''; width: 6px; height: 6px;
    background: #34d399; border-radius: 50%;
    margin-right: 5px;
    box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.7);
    animation: live-pulse 1.4s infinite;
}
@keyframes live-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(255, 77, 109, 0.7); }
    70%  { box-shadow: 0 0 0 6px rgba(255, 77, 109, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(255, 77, 109, 0);   }
}

/* ===== Hero ===== */
.hero-section {
    position: relative; width: 100%; height: 340px;
    padding: 24px; display: flex; flex-direction: column;
    border-radius: var(--radius-2xl); overflow: hidden;
}
.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 20%;
    z-index: 0;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; }
.hero-title { font-size: 52px; font-weight: 800; line-height: 1.05; letter-spacing: -1px; color: var(--text-primary); }
.hero-subtitle { font-size: 1rem; color: var(--text-muted); max-width: 520px; line-height: 1.7; }

@media (max-width: 640px) {
    .hero-section { height: 260px; padding: 16px; border-radius: var(--radius-xl); }
    .hero-title { font-size: 28px; }
    main { padding-top: 3.5rem !important; padding-left: 0.75rem !important; padding-right: 0.75rem !important; gap: 1rem !important; }
    #site-header { height: 3.5rem !important; }
    #site-header .h-full { height: 3.5rem; }
}

/* ===== Group Card ===== */
.group-team-row {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-fast);
}
.group-team-row:last-child { border-bottom: none; }
.group-team-row:hover { background: rgba(11,27,51,0.02); }

/* ===== Match Detail / Head-to-head ===== */
.match-venue-hero {
    position: relative;
    overflow: hidden;
    padding: 13rem 1rem 1rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background: rgba(10,10,10,0.92);
    box-shadow: var(--shadow-lg);
}
.match-venue-bg {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 0;
    height: 260px;
    background-image: var(--match-venue-image);
    background-size: cover;
    background-position: center;
    opacity: 0.82;
}
.match-venue-overlay {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 1;
    height: 285px;
    background:
        linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.62) 38%, rgba(10,10,10,0.12) 100%),
        linear-gradient(90deg, rgba(5,5,5,0.48) 0%, rgba(5,5,5,0.08) 48%, rgba(5,5,5,0.48) 100%);
}
.match-detail-hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
    max-width: 760px;
    margin: 0 auto;
}
@media (min-width: 1024px) {
    .match-detail-hero {
        grid-template-columns: 260px 130px 260px;
        justify-content: center;
    }
}
.match-team-panel,
.match-score-panel {
    position: relative;
    overflow: hidden;
    min-height: 142px;
    background:
        radial-gradient(circle at 50% 0%, rgba(11,27,51,0.08), transparent 45%),
        linear-gradient(145deg, rgba(18,18,18,0.88), rgba(7,7,7,0.94));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(11,27,51,0.10);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.match-team-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}
.match-team-panel::after {
    content: '';
    position: absolute;
    inset: auto 12% 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15,169,104,0.55), transparent);
}
.match-team-glow {
    position: absolute;
    inset: -40% 10% auto;
    height: 140px;
    background: radial-gradient(circle, rgba(15,169,104,0.16), transparent 62%);
    pointer-events: none;
}
.match-team-flag {
    position: relative;
    z-index: 1;
    margin-bottom: 0.625rem;
    padding: 0.375rem;
    border-radius: 14px;
    background: rgba(11,27,51,0.04);
    border: 1px solid rgba(11,27,51,0.07);
}
.match-team-flag .flag-icon {
    width: 78px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}
.match-team-name {
    position: relative;
    z-index: 1;
    font-size: clamp(1.05rem, 1.6vw, 1.45rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.03em;
}
.match-score-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0.75rem;
}
.match-score-panel::before {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 18px;
    border: 1px solid rgba(15,169,104,0.16);
    pointer-events: none;
}
.match-scoreline {
    position: relative;
    z-index: 1;
    font-size: clamp(2.15rem, 4vw, 3.2rem);
    font-weight: 950;
    line-height: 0.95;
    color: #fff;
    letter-spacing: -0.08em;
    text-shadow: 0 0 28px rgba(15,169,104,0.18);
}
.match-score-meta {
    position: relative;
    z-index: 1;
    margin-top: 0.625rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.h2h-card {
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 0%, rgba(15,169,104,0.09), transparent 34%),
        rgba(15,15,15,0.92);
}
.h2h-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}
.h2h-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem;
}
@media (min-width: 640px) {
    .h2h-stat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.h2h-stat-card {
    min-height: 86px;
    padding: 1rem 0.75rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(11,27,51,0.05), rgba(11,27,51,0.02));
    border: 1px solid var(--border-subtle);
    text-align: center;
}
.h2h-stat-value {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--primary-400);
    line-height: 1;
}
.h2h-stat-label {
    margin-top: 0.5rem;
    font-size: 0.625rem;
    line-height: 1.2;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.h2h-history {
    border-top: 1px solid var(--border-subtle);
}
.h2h-history-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-fast), transform var(--transition-fast);
}
.h2h-history-row:last-child { border-bottom: none; }
.h2h-history-row:hover {
    background: rgba(11,27,51,0.035);
}
.h2h-score-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(11,27,51,0.06);
    border: 1px solid var(--border-subtle);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.h2h-empty {
    padding: 2rem 1.25rem;
    text-align: center;
}
.h2h-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1rem;
    border-radius: 18px;
    color: var(--primary-400);
    background: rgba(15,169,104,0.12);
    border: 1px solid rgba(15,169,104,0.24);
    box-shadow: 0 0 30px rgba(15,169,104,0.12);
}
.h2h-empty-matchup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 100%;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(11,27,51,0.035);
    border: 1px solid var(--border-subtle);
}
.h2h-empty-team {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
}
.h2h-empty-team span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.h2h-empty-vs {
    font-size: 0.625rem;
    font-weight: 900;
    color: var(--primary-500);
    letter-spacing: 0.1em;
}
.h2h-empty-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
}
.h2h-empty-text {
    max-width: 520px;
    margin: 0.625rem auto 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ===== Venue Card ===== */
.venue-img-area {
    height: 180px; position: relative; overflow: hidden;
    display: flex; align-items: flex-end; padding: 1rem;
}
.venue-img-area::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,15,15,0.95) 0%, rgba(15,15,15,0.2) 60%, transparent 100%);
    z-index: 1;
}
.venue-img-label { position: relative; z-index: 2; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(11,27,51,0.6); }

/* ===== Stade Card link ===== */
.stade-card-link { transition: transform var(--transition-fast), border-color var(--transition-fast); }
.stade-card-link:hover { transform: translateY(-4px); border-color: rgba(15,169,104,0.3); }

/* ===== Stade Hero (stade detail page) ===== */
.stade-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-card);
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}
.stade-hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.stade-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.55) 50%, rgba(5,5,5,0.2) 100%);
}
.stade-hero-content {
    position: relative; z-index: 2;
    padding: 1.5rem;
    width: 100%;
}
@media (min-width: 640px) {
    .stade-hero { min-height: 340px; }
    .stade-hero-content { padding: 2rem; }
}

/* ===== Stade Meta Grid ===== */
.stade-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .stade-meta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}

/* ===== Stade Map ===== */
.stade-map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(11,27,51,0.02);
}
.stade-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.2) brightness(0.85) contrast(1.05);
}

/* ===== Team Card ===== */
.team-card-link {
    display: block; text-decoration: none; color: inherit;
    transition: all 0.3s ease;
}
.team-card-link:hover { transform: translateY(-4px); }
.team-card-link:hover .glass-panel { border-color: rgba(15,169,104,0.3); }

/* ===== Standings Table ===== */
.standings-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.standings-table th {
    padding: 0.5rem 0.25rem; font-size: 0.625rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-subtle);
    text-align: left; border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
}
.standings-table td { padding: 0.5rem 0.25rem; border-bottom: 1px solid var(--border-subtle); }
.standings-table tbody tr:last-child td { border-bottom: none; }
.standings-table tbody tr:hover td { background: rgba(11,27,51,0.02); }
.standings-table .pos { width: 24px; text-align: center; font-weight: 700; }
.standings-table .qual { color: #22c55e; }
.standings-table .team { max-width: 0; overflow: hidden; }
.standings-table .team-cell { display: flex; align-items: center; gap: 0.375rem; min-width: 0; }
.standings-table .team-cell > a,
.standings-table .team-cell > span:not([class*="font-mono"]) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.standings-table .team-cell > .flag-icon { flex-shrink: 0; }
.standings-table .team-cell > span[class*="font-mono"] { flex-shrink: 0; }
.standings-table .pts { font-weight: 700; color: var(--gold); text-align: center; white-space: nowrap; }
.standings-table .num { text-align: center; color: var(--text-muted); white-space: nowrap; }
@media (min-width: 640px) {
    .standings-table th,
    .standings-table td { padding: 0.625rem 0.75rem; }
    .standings-table .team-cell { gap: 0.5rem; }
    .standings-table .pos { width: 32px; }
}

/* Mobile standings: hide secondary stats, expandable detail rows */
.mobile-ranking-details { display: none; }

@media (max-width: 767px) {
    .mobile-hide-stat { display: none; }

    .standings-table .team-cell .flag-icon {
        width: 30px; height: 20px; flex-shrink: 0; object-fit: cover;
    }
    .standings-table .team { min-width: 110px; }
    .standings-table .team-cell { gap: 0.5rem; }
    .standings-table th.num,
    .standings-table td.num,
    .standings-table td.pts { padding-left: 0.2rem; padding-right: 0.2rem; font-size: 0.75rem; }

    .ranking-row { cursor: pointer; -webkit-tap-highlight-color: transparent; }

    .mobile-ranking-details.open { display: table-row; }
    .mobile-ranking-details td {
        padding: 0.5rem 1rem; border-bottom: 1px solid var(--border-subtle);
        background: rgba(11,27,51,0.015);
    }
    .mobile-ranking-details-content {
        display: flex; gap: 1.25rem; flex-wrap: wrap;
        color: var(--text-muted); font-size: 0.8125rem;
    }
    .mobile-ranking-details-content span { white-space: nowrap; }
}

@media (min-width: 768px) {
    .ranking-row[role="button"] { cursor: pointer; }
    .mobile-ranking-details { display: none !important; }
}

/* ===== Flag images ===== */
.flag-icon { display: inline-block; vertical-align: middle; border-radius: 2px; object-fit: cover; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.flag-placeholder { display: inline-block; width: 24px; height: 16px; background: rgba(11,27,51,0.04); border-radius: 2px; border: 1px dashed rgba(11,27,51,0.1); }
.flag-placeholder-sm { width: 20px; height: 13px; }

/* ===== Key Date Row ===== */
.date-row {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.875rem 1rem; border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-fast);
}
.date-row:last-child { border-bottom: none; }
.date-row:hover { background: rgba(11,27,51,0.02); }

/* ===== Info Item ===== */
.info-item { padding: 1.25rem; background: rgba(11,27,51,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.info-label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-subtle); margin-bottom: 0.375rem; font-weight: 600; }
.info-value { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); }

/* ===== Team Hero (equipe page) ===== */
.team-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
    padding: 1.25rem;
    background: var(--bg-card-dark);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.team-hero-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.team-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.team-hero-image {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    justify-self: center;
    background: rgba(11,27,51,0.02);
}
.team-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (min-width: 640px) {
    .team-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .team-hero { grid-template-columns: minmax(0, 1fr) 240px; gap: 2rem; }
    .team-hero-image {
        max-width: none;
        width: 240px;
        aspect-ratio: auto;
        align-self: stretch;
        justify-self: end;
        min-height: 320px;
    }
}

/* ===== Team page two-column layout (main + articles sidebar) ===== */
.team-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "side" "main";
    gap: 1.25rem;
}
.team-main { grid-area: main; min-width: 0; }
.team-side { grid-area: side; min-width: 0; }
@media (min-width: 1024px) {
    .team-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        grid-template-areas: "main side";
        gap: 1.5rem;
    }
    .team-side-sticky {
        position: sticky;
        top: 80px;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        padding-right: 4px;
    }
    .team-side-sticky::-webkit-scrollbar { width: 6px; }
    .team-side-sticky::-webkit-scrollbar-thumb { background: rgba(11,27,51,0.08); border-radius: 3px; }
}

/* When a team has no articles at all, drop the sidebar and let main take full width */
.team-layout.team-layout--no-side {
    grid-template-columns: 1fr;
    grid-template-areas: "main";
}
.team-layout.team-layout--no-side .team-side { display: none; }

/* ===== Article Sections (team page) ===== */
.article-sections { display: flex; flex-direction: column; gap: 1.5rem; }
.article-section { background: var(--bg-glass); border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); padding: 1rem 1rem 1.25rem; }
.article-section-header {
    display: flex; align-items: center; gap: 0.5rem;
    padding-bottom: 0.75rem; margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}
.article-section-title { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); margin: 0; }
.article-section-hint { font-size: 0.6875rem; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.08em; }
.article-section-count {
    margin-left: auto; font-size: 0.6875rem; font-weight: 600;
    color: var(--text-subtle); background: rgba(11,27,51,0.04);
    padding: 0.125rem 0.5rem; border-radius: var(--radius-full); min-width: 24px; text-align: center;
}

.article-grid {
    display: grid; grid-template-columns: 1fr; gap: 0.875rem;
}
@media (min-width: 768px) {
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Sidebar context: keep cards 1-column even on wide screens */
.team-side .article-grid { grid-template-columns: 1fr; }
.team-side .article-card-img { height: 110px; }
.team-side .article-section { padding: 0.75rem 0.75rem 1rem; }
.team-side .article-section-header { padding-bottom: 0.5rem; margin-bottom: 0.5rem; }

/* Listing page context: 3 columns on wide screens */
@media (min-width: 1024px) {
    .article-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.article-empty {
    padding: 1.25rem; text-align: center; color: var(--text-subtle);
    font-size: 0.8125rem; font-style: italic;
}
.article-empty-block {
    background: var(--bg-glass); border: 1px dashed var(--border-light);
    border-radius: var(--radius-lg);
}

/* ===== Article Card ===== */
.article-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: rgba(11,27,51,0.02); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.article-card:hover { transform: translateY(-2px); border-color: rgba(15,169,104,0.3); }
.article-card-img {
    height: 140px; background-size: cover; background-position: center;
    background-color: rgba(11,27,51,0.03);
    position: relative;
}
.article-card-img-placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--text-subtle); background-image: none !important;
}
.article-card-body { padding: 0.875rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.article-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.article-card-title { font-size: 0.9375rem; font-weight: 700; color: var(--text-primary); line-height: 1.35; margin: 0; }
.article-card-excerpt { font-size: 0.8125rem; color: var(--text-grey); line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-footer { margin-top: auto; padding-top: 0.5rem; font-size: 0.6875rem; color: var(--text-subtle); border-top: 1px solid var(--border-subtle); }

/* Label badges */
.article-label {
    display: inline-flex; align-items: center;
    font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    background: rgba(11,27,51,0.05); border: 1px solid var(--border-light);
    color: var(--text-muted);
}
.article-label-apercu { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); color: #93c5fd; }
.article-label-resume { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); color: #86efac; }
.article-label-revue  { background: rgba(15,169,104,0.12);  border-color: rgba(15,169,104,0.3);  color: #0B8C55; }

/* Other-team chips inside cards */
.article-team-badges { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; font-size: 0.625rem; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.06em; }
.article-team-badge { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.125rem 0.375rem; background: rgba(11,27,51,0.04); border-radius: var(--radius-sm); color: var(--text-muted); text-transform: none; letter-spacing: 0; font-weight: 500; }

/* ===== Article Detail page ===== */
.article-detail {
    background: var(--bg-card-dark);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.article-hero-img {
    width: 100%; aspect-ratio: 16 / 9;
    background-size: cover; background-position: center;
    background-color: rgba(11,27,51,0.03);
}
.article-detail-header { padding: 1.5rem 1.5rem 0.75rem; }
.article-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.75rem; color: var(--text-subtle); }
.article-detail-date::before { content: '·'; margin-right: 0.5rem; opacity: 0.5; }
.article-detail-title { font-size: 1.625rem; font-weight: 800; color: var(--text-primary); line-height: 1.2; margin: 0 0 0.5rem; }
.article-detail-excerpt { font-size: 1rem; color: var(--text-grey); line-height: 1.6; margin: 0 0 0.75rem; }
.article-detail-teams { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.article-team-chip {
    display: inline-flex; align-items: center; gap: 0.375rem;
    padding: 0.25rem 0.625rem; background: rgba(11,27,51,0.04);
    border: 1px solid var(--border-light); border-radius: var(--radius-full);
    font-size: 0.75rem; color: var(--text-muted);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}
.article-team-chip:hover { border-color: rgba(15,169,104,0.4); color: var(--text-primary); }

/* Reading area - the article's own inline <style> is stripped before render,
   so we restyle .mr-article here to match the dark site theme.
   Selectors are forced with :where(...) priority semantics via specificity to
   override any residual classes that might ship with future articles. */
.article-detail-body {
    background: transparent;
    color: var(--text-primary);
    padding: 1.25rem 1.5rem 1.75rem;
    font-size: 1rem;
    line-height: 1.7;
}
.article-detail-body .mr-article { color: var(--text-grey); font-size: 1rem; line-height: 1.7; }
.article-detail-body .mr-article p { margin: 0 0 1.1rem; color: var(--text-grey); }
.article-detail-body .mr-article p:last-child { margin-bottom: 0; }
.article-detail-body .mr-article h1,
.article-detail-body .mr-article h2,
.article-detail-body .mr-article h3,
.article-detail-body .mr-article h4 { color: var(--text-primary); font-weight: 700; line-height: 1.3; }
.article-detail-body .mr-article h1 { font-size: 1.5rem; margin: 1.5rem 0 0.75rem; }
.article-detail-body .mr-article h2 { font-size: 1.25rem; margin: 1.75rem 0 0.5rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border-subtle); }
.article-detail-body .mr-article h3 { font-size: 1.1rem; margin: 1.25rem 0 0.5rem; }
.article-detail-body .mr-article a,
.article-detail-body a { color: #0B8C55; text-decoration: underline; text-decoration-color: rgba(15,169,104,0.4); text-underline-offset: 3px; }
.article-detail-body .mr-article a:hover { color: #6ee7b0; }
.article-detail-body .mr-article strong { color: var(--text-primary); font-weight: 600; }
.article-detail-body .mr-article em { font-style: italic; color: var(--text-muted); }
.article-detail-body .mr-article ul,
.article-detail-body .mr-article ol { margin: 0.75rem 0 1.1rem; padding-left: 1.5rem; color: var(--text-grey); }
.article-detail-body .mr-article li { margin: 0.4rem 0; }
.article-detail-body .mr-article li::marker { color: var(--primary-500); }
.article-detail-body .mr-article blockquote {
    margin: 1.25rem 0;
    padding: 0.75rem 1.1rem;
    border-left: 3px solid var(--primary-500);
    background: rgba(15,169,104,0.06);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-style: italic;
}
.article-detail-body .mr-article hr {
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid var(--border-subtle);
}
.article-detail-body .mr-article img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}
.article-detail-body .mr-article code {
    background: rgba(11,27,51,0.06);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 0.875em;
    color: #0B8C55;
}
.article-detail-body .mr-article pre {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    overflow-x: auto;
    margin: 1.25rem 0;
}
.article-detail-body .mr-article pre code {
    background: transparent;
    padding: 0;
    color: var(--text-grey);
}
.article-detail-body .mr-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    background: rgba(11,27,51,0.02);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.article-detail-body .mr-article table th,
.article-detail-body .mr-article table td {
    padding: 0.65rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}
.article-detail-body .mr-article table th {
    background-color: rgba(11,27,51,0.04);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.7rem;
}
.article-detail-body .mr-article table tr:last-child td { border-bottom: none; }
.article-detail-body .mr-article table tr:hover td { background-color: rgba(11,27,51,0.02); }

@media (min-width: 640px) {
    .article-detail-header { padding: 2rem 2rem 1rem; }
    .article-detail-body { padding: 1.5rem 2.25rem 2.5rem; font-size: 1.0625rem; }
    .article-detail-body .mr-article h1 { font-size: 1.75rem; }
    .article-detail-body .mr-article h2 { font-size: 1.4rem; }
    .article-detail-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .article-section { padding: 0.875rem 0.75rem 1rem; }
    .article-card-img { height: 120px; }
    .article-card-title { font-size: 0.875rem; }
}

/* ===== Mobile nav ===== */
.mobile-nav-link { -webkit-tap-highlight-color: transparent; transition: opacity 0.15s ease; }
.mobile-nav-link:active { opacity: 0.6; }

/* ===== Mobile logo centering ===== */
@media (max-width: 767px) {
    .mobile-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ===== Plus bottom-sheet ===== */
.plus-menu-overlay {
    position: fixed;
    inset: 0;
    bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.plus-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}
.plus-menu-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card-dark);
    border-top: 1px solid var(--border-card);
    border-radius: 1rem 1rem 0 0;
    padding: 1.25rem 1rem;
    padding-bottom: 1.25rem;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.plus-menu-overlay.open .plus-menu-sheet {
    transform: translateY(0);
}
.plus-menu-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background var(--transition-fast), color var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}
.plus-menu-link:hover,
.plus-menu-link:active {
    background: rgba(11, 27, 51, 0.05);
    color: var(--text-primary);
}
@media (min-width: 1024px) {
    .plus-menu-overlay { display: none !important; }
}

/* ===== Footer accordion ===== */
.footer-accordion summary { list-style: none; -webkit-tap-highlight-color: transparent; }
.footer-accordion summary::-webkit-details-marker { display: none; }
.footer-accordion[open] .footer-chevron { transform: rotate(180deg); }

/* ===== Countdown Banner ===== */
.countdown-banner {
    position: relative;
    display: block;
    width: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(30, 5, 10, 0.9) 50%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(15, 169, 104, 0.15);
    border-radius: var(--radius-xl);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.countdown-banner:hover { border-color: rgba(15, 169, 104, 0.45); }
.countdown-banner:focus-visible { outline: 2px solid #0FA968; outline-offset: 2px; }
.countdown-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background-image: url('../images/Netbet-fr_Desktop.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.countdown-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary);
}
.countdown-units {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
    padding: 0.75rem 0.5rem;
}
.countdown-unit .cd-value {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}
.countdown-unit .cd-label {
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    margin-top: 0.25rem;
}
.countdown-sep {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-500);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 1rem;
}
.countdown-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(15, 169, 104, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 640px) {
    .countdown-inner {
        padding: 1rem 0.5rem;
        gap: 0.5rem;
        background-image: url('../images/Netbet-fr_Mobile.png');
    }
    .countdown-unit { min-width: 56px; padding: 0.5rem 0.25rem; }
    .countdown-unit .cd-value { font-size: 1.5rem; }
    .countdown-sep { font-size: 1rem; margin-bottom: 0.75rem; }
}

/* ===== Animations ===== */
.fade-in { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.slide-up { animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== Match carousel ===== */
.match-carousel {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}
.match-carousel::-webkit-scrollbar { display: none; }
.match-card-carousel {
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card-dark);
    border: 1px solid var(--border-card);
    color: inherit;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.match-card-carousel:hover {
    border-color: rgba(15, 169, 104, 0.4);
    transform: translateY(-2px);
}
.match-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.match-card-top > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.match-card-teams {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}
.match-card-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}
.match-card-team .flag-icon {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.match-card-team-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}
.match-card-vs {
    font-size: 0.625rem;
    font-weight: 800;
    color: var(--primary-500);
    letter-spacing: 0.1em;
    flex-shrink: 0;
    margin-top: 0.625rem;
}
.match-card-venue {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    color: var(--text-subtle);
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.625rem;
}
.carousel-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: var(--radius-full);
    background: rgba(11, 27, 51, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.carousel-nav-btn:hover {
    background: rgba(11, 27, 51, 0.1);
    color: #fff;
    border-color: rgba(15, 169, 104, 0.4);
}

/* ===== Offre NetBet ===== */
.offer-hero {
    background: linear-gradient(135deg, rgba(20, 6, 10, 0.95) 0%, rgba(15, 15, 15, 0.92) 55%, rgba(20, 6, 10, 0.95) 100%);
    border: 1px solid rgba(15, 169, 104, 0.2);
}
.offer-hero p {
    color: #d8e4f0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.offer-hero p.text-\[11px\] {
    color: #b8c7d8 !important;
}
.offer-hero-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 520px;
    max-width: 120%;
    background: radial-gradient(circle, rgba(15, 169, 104, 0.22) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.offer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 50%, var(--primary-600) 100%);
    box-shadow: 0 8px 24px rgba(15, 169, 104, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}
.offer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 169, 104, 0.5);
    filter: brightness(1.05);
}
.offer-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.offer-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 800;
    color: #fff;
    background: rgba(15, 169, 104, 0.15);
    border: 1px solid rgba(15, 169, 104, 0.35);
}

.offer-rule-item,
.glass-panel:not(.offer-hero):not(.offer-cta-band) p {
    color: #3f4b5f;
}
.offer-cta-band p:not(.text-lg) {
    color: #d8e4f0 !important;
}

.offer-cta-band {
    background: linear-gradient(135deg, rgba(15, 169, 104, 0.12) 0%, rgba(15, 15, 15, 0.85) 70%);
    border: 1px solid rgba(15, 169, 104, 0.2);
}

/* Per-match NetBet betting CTA */
.match-bet-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-xl, 1rem);
    text-decoration: none;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 169, 104, 0.16) 0%, rgba(15, 15, 15, 0.9) 70%);
    border: 1px solid rgba(15, 169, 104, 0.28);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.match-bet-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 169, 104, 0.5);
    box-shadow: 0 14px 36px rgba(15, 169, 104, 0.28);
}
.match-bet-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.match-bet-cta-glow {
    position: absolute;
    top: -60%;
    left: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(15, 169, 104, 0.25) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.match-bet-cta-left {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-width: 0;
}
.match-bet-cta-icon { color: var(--primary-400, #34d399); flex-shrink: 0; }
.match-bet-cta-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.match-bet-cta-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.match-bet-cta-sub {
    font-size: 0.72rem;
    color: var(--text-muted, #9ca3af);
    line-height: 1.3;
}
.match-bet-cta-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 50%, var(--primary-600) 100%);
    box-shadow: 0 6px 18px rgba(15, 169, 104, 0.35);
}
@media (max-width: 640px) {
    .match-bet-cta { flex-direction: column; align-items: stretch; text-align: left; }
    .match-bet-cta-btn { justify-content: center; }
}

/* Small "Parier" chip injected into match listing rows */
.match-bet-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    padding: 0.22rem 0.55rem;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    box-shadow: 0 2px 8px rgba(15, 169, 104, 0.35);
    transition: transform var(--transition-fast), filter var(--transition-fast);
}
.match-bet-chip:hover { transform: translateY(-1px); filter: brightness(1.08); }
.match-bet-chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.match-bet-chip iconify-icon { font-size: 0.85em; }
/* Smaller, icon-less variant (used under the VS on carousel cards) */
.match-bet-chip-sm {
    padding: 0.14rem 0.45rem;
    font-size: 0.6rem;
    box-shadow: 0 1px 5px rgba(15, 169, 104, 0.3);
}
/* Reserved trailing cell so rows align whether or not a chip is present */
.match-bet-cell {
    width: 84px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Carousel cards: stack the chip under the VS, centered */
.match-card-vs-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}
.match-card-vs-col .match-card-bet-slot:empty { display: none; }

.offer-rules summary::-webkit-details-marker { display: none; }
.offer-rules[open] .offer-rules-chevron { transform: rotate(180deg); }
.offer-rule-item {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.offer-rule-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: var(--radius-full);
    background: var(--primary-500);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .tab { padding: 0.375rem 0.75rem; font-size: 0.6875rem; }
}

/* =========================================================================
   LIGHT-EDITORIAL OVERRIDES  (mondial2026.net "Pitch & Paper" skin)
   Layered after the base rules to flip the remaining literal-dark contexts,
   recolour ambient Tailwind utilities, and keep photo-hero text legible.
   ========================================================================= */

body {
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(900px 360px at 100% -5%, rgba(14, 124, 134, 0.07), transparent 60%),
        radial-gradient(820px 320px at -5% 0%, rgba(15, 169, 104, 0.07), transparent 55%);
    color: var(--text-secondary);
}
::selection { background-color: rgba(15, 169, 104, 0.18); color: var(--primary-600); }

/* Cards / panels get a soft editorial shadow */
.glass-panel { box-shadow: var(--shadow); box-shadow: var(--shadow-lg); }
.card, .glass-panel { box-shadow: var(--shadow-sm); }

/* Active filter / tab pills: navy fill, light text (white fill is invisible now) */
.filter-tab-active, .filter-tab.active { background: var(--text-primary); color: #fff; }

/* "Live" badge stays a true live red on the light skin */
.badge-live { background: rgba(216, 58, 82, 0.12); border-color: rgba(216, 58, 82, 0.45); color: #d83a52; }
.badge-live::before { background: #d83a52; box-shadow: 0 0 0 0 rgba(216, 58, 82, 0.6); }
@keyframes live-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(216, 58, 82, 0.6); }
    70%  { box-shadow: 0 0 0 6px rgba(216, 58, 82, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(216, 58, 82, 0);   }
}

/* Countdown banner → clean light card (drop the dark NetBet wash) */
.countdown-banner { background: var(--bg-card-dark); border: 1px solid var(--border-card); box-shadow: var(--shadow-sm); }
.countdown-inner { background-image: none; background: linear-gradient(135deg, rgba(15,169,104,0.06), rgba(14,124,134,0.05)); }
.countdown-label { color: var(--text-primary); }
.countdown-unit .cd-value { color: var(--text-primary); }
.countdown-unit .cd-label { color: var(--text-muted); }
.countdown-sep { color: var(--primary-500); }

/* Offer hero stays a rich navy→teal panel with light text */
.offer-hero { background: linear-gradient(135deg, #0b1b33 0%, #122a4d 55%, #0e7c86 100%); border: 1px solid rgba(15,169,104,0.25); }

/* Photo heroes: force legible light text over the image overlays */
.hero-title { color: #fff; }
.hero-subtitle { color: rgba(255,255,255,0.82); }
.venue-img-label { color: rgba(255,255,255,0.85); }
.match-score-meta, .stade-hero-content .info-label { color: rgba(255,255,255,0.78); }

/* ---- Ambient Tailwind utility recolour (used inline in markup + JS) ---- */
.text-white { color: var(--text-primary) !important; }
.text-neutral-200 { color: var(--text-secondary) !important; }
.text-neutral-300 { color: #3a465c !important; }
.text-neutral-400 { color: #4f5d73 !important; }
.text-neutral-500 { color: #526176 !important; }
.text-neutral-600 { color: #5f6f86 !important; }
.bg-white\/5  { background-color: rgba(11, 27, 51, 0.04) !important; }
.bg-white\/10 { background-color: rgba(11, 27, 51, 0.06) !important; }
.border-white\/5  { border-color: var(--border-subtle) !important; }
.border-white\/10 { border-color: var(--border-light) !important; }

/* Restore light text inside dark photo-hero containers */
.hero-content .text-white,
.hero-content .text-neutral-200,
.hero-content .text-neutral-300,
.match-venue-hero .text-white,
.match-detail-hero .text-white,
.stade-hero .text-white,
.offer-hero .text-white { color: #fff !important; }
.hero-content .bg-white\/10,
.stade-hero .bg-white\/10,
.offer-hero .bg-white\/10 { background-color: rgba(255,255,255,0.14) !important; }
.hero-content .border-white\/10,
.stade-hero .border-white\/10,
.offer-hero .border-white\/10 { border-color: rgba(255,255,255,0.2) !important; }

/* =========================================================================
   EDITORIAL LAYOUT SYSTEM  (mondial2026.net — distinct from .com structure)
   ========================================================================= */

body { font-family: 'Inter', system-ui, sans-serif; }
.font-display { font-family: 'Sora', 'Inter', system-ui, sans-serif; }

/* Edition strip above header */
.edition-strip {
    background: var(--text-primary);
    color: rgba(255,255,255,0.88);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
}
.edition-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.45rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.edition-strip-kicker {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-400);
}
.edition-strip-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; color: rgba(255,255,255,0.65); }
.edition-strip-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

/* Magazine header — underline tabs, not pills */
.site-header-editorial {
    background: var(--bg-card-dark);
    border-bottom: 2px solid var(--text-primary);
    box-shadow: var(--shadow-sm);
}
.site-header-editorial .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.875rem 1rem 0;
}
.site-header-editorial .brand-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}
.site-header-editorial .brand-tagline {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-subtle);
    margin-top: 0.15rem;
}
.nav-tabs-editorial {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    margin-top: -1px;
}
.nav-tabs-editorial::-webkit-scrollbar { display: none; }
.nav-tab-editorial {
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.nav-tab-editorial:hover { color: var(--text-primary); }
.nav-tab-editorial.active {
    color: var(--text-primary);
    border-bottom-color: var(--primary-500);
}

/* Split editorial hero (no full-bleed video) */
.editorial-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 1.25rem 0 1.75rem;
    padding: 1.5rem;
    background: var(--bg-card-dark);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
@media (min-width: 768px) {
    .editorial-hero { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; padding: 0; }
    .editorial-hero-text { padding: 2rem 2rem 2rem 2.25rem; }
}
.editorial-hero-kicker {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-600);
    margin-bottom: 0.75rem;
}
.editorial-hero-title {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}
.editorial-hero-lead {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
    max-width: 36rem;
}
.editorial-hero-hosts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.host-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
}
.editorial-hero-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.editorial-hero-visual {
    position: relative;
    min-height: 220px;
    background: var(--bg-secondary);
    overflow: hidden;
}
@media (min-width: 768px) {
    .editorial-hero-visual { min-height: 100%; border-left: 1px solid var(--border-subtle); }
}
.editorial-hero-visual video,
.editorial-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.editorial-hero-visual-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--text-primary);
    border-radius: var(--radius-sm);
}

/* Stats ticker band */
.stats-ticker {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    background: var(--bg-card-dark);
    margin-bottom: 1.75rem;
}
.stats-ticker::-webkit-scrollbar { display: none; }
.stats-ticker-item {
    flex: 1 0 auto;
    min-width: 120px;
    padding: 0.875rem 1.25rem;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
}
.stats-ticker-item:last-child { border-right: none; }
.stats-ticker-value {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}
.stats-ticker-label {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-top: 0.35rem;
}

/* Magazine 2-column home layout */
.magazine-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
@media (min-width: 1024px) {
    .magazine-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; }
}
.magazine-main { min-width: 0; }
.magazine-aside { min-width: 0; }
@media (min-width: 1024px) {
    .magazine-aside-sticky {
        position: sticky;
        top: 7.5rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
}

/* Section headers — rule + label */
.section-editorial {
    margin-bottom: 1.75rem;
}
.section-editorial-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.625rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--text-primary);
}
.section-editorial-title {
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0;
}
.section-editorial-link {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary-600);
    text-decoration: none;
}
.section-editorial-link:hover { text-decoration: underline; }

/* Article lead + list (not card grid) */
.article-lead-layout { display: flex; flex-direction: column; gap: 0; }
.article-lead {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-fast);
}
.article-lead:hover { opacity: 0.92; }
@media (min-width: 640px) {
    .article-lead { grid-template-columns: 200px 1fr; gap: 1.25rem; }
}
.article-lead-img {
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
}
.article-lead-body { min-width: 0; }
.article-lead-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0.5rem 0 0.5rem;
}
.article-lead-excerpt {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-list-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.875rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
    text-decoration: none;
    color: inherit;
    align-items: start;
    transition: background var(--transition-fast);
}
.article-list-row:hover { background: var(--bg-glass-hover); margin: 0 -0.5rem; padding-left: 0.5rem; padding-right: 0.5rem; border-radius: var(--radius-sm); }
.article-list-row:last-child { border-bottom: none; }
.article-list-thumb {
    width: 72px;
    height: 54px;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
}
.article-list-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0.25rem 0 0;
}

/* Match timeline (not stacked rows in card) */
.match-timeline { position: relative; padding-left: 1.25rem; }
.match-timeline::before {
    content: '';
    position: absolute;
    left: 0.35rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-500), var(--border-subtle));
    border-radius: 1px;
}
.match-timeline-item {
    position: relative;
    display: block;
    padding: 0.75rem 0 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px dashed var(--border-subtle);
    transition: background var(--transition-fast);
}
.match-timeline-item:last-child { border-bottom: none; }
.match-timeline-item::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 1.15rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bg-card-dark);
    border: 2px solid var(--primary-500);
}
.match-timeline-item:hover { background: var(--bg-glass-hover); margin: 0 -0.5rem; padding-left: 1.5rem; padding-right: 0.5rem; border-radius: var(--radius-sm); }
.match-timeline-time {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-600);
    margin-bottom: 0.35rem;
}
.match-timeline-teams {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}
.match-timeline-meta {
    font-size: 0.6875rem;
    color: var(--text-subtle);
    margin-top: 0.25rem;
}

/* Match ticket cards (sidebar — vertical stack, not carousel) */
.match-ticket {
    display: block;
    padding: 0.875rem 1rem;
    background: var(--bg-card-dark);
    border: 1px solid var(--border-card);
    border-left: 3px solid var(--primary-500);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.match-ticket:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}
.match-ticket-stage {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 0.5rem;
}
.match-ticket-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.match-ticket-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}
.match-ticket-vs {
    font-size: 0.625rem;
    font-weight: 800;
    color: var(--primary-500);
}
.match-ticket-footer {
    font-size: 0.625rem;
    color: var(--text-subtle);
    border-top: 1px dashed var(--border-subtle);
    padding-top: 0.5rem;
}

/* Group pill tabs + single panel */
.group-pills {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 0.875rem;
    padding-bottom: 0.25rem;
}
.group-pills::-webkit-scrollbar { display: none; }
.group-pill {
    flex-shrink: 0;
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}
.group-pill:hover { color: var(--text-primary); border-color: var(--border-medium); }
.group-pill.active {
    color: #fff;
    background: var(--text-primary);
    border-color: var(--text-primary);
}
.group-panel-compact .group-team-row {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
}
.group-panel-compact .group-team-row:first-child { border-top: 1px solid var(--border-subtle); }

/* Venue strip — horizontal mini cards */
.venue-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}
.venue-strip::-webkit-scrollbar { display: none; }
.venue-mini {
    flex: 0 0 200px;
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card-dark);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.venue-mini:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.venue-mini-img {
    height: 90px;
    background-size: cover;
    background-position: center;
}
.venue-mini-body { padding: 0.625rem 0.75rem; }
.venue-mini-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.15rem;
}
.venue-mini-city { font-size: 0.625rem; color: var(--text-subtle); }

/* Sidebar countdown compact */
.countdown-compact {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(11,27,51,0.04), rgba(15,169,104,0.08));
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: border-color var(--transition-fast);
}
.countdown-compact:hover { border-color: var(--primary-500); }
.countdown-compact-label {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-600);
    margin-bottom: 0.5rem;
}
.countdown-compact .countdown-units { gap: 0.25rem; justify-content: flex-start; }
.countdown-compact .countdown-unit { min-width: 48px; padding: 0.35rem 0.25rem; }
.countdown-compact .countdown-unit .cd-value { font-size: 1.25rem; }
.countdown-compact .countdown-unit .cd-label { font-size: 0.5rem; }
.countdown-compact .countdown-sep { font-size: 0.875rem; margin-bottom: 0.5rem; }

/* Pull-quote SEO block */
.pull-quote-block {
    margin-top: 2rem;
    padding: 1.75rem 1.5rem 1.75rem 1.25rem;
    border-left: 4px solid var(--primary-500);
    background: var(--bg-card-dark);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}
.pull-quote-block h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}
.pull-quote-block p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}
.pull-quote-block p:last-child { margin-bottom: 0; }

/* Editorial footer */
.footer-editorial {
    margin-top: 3rem;
    background: var(--text-primary);
    color: rgba(255,255,255,0.75);
    border-radius: 0;
}
.footer-editorial a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-editorial a:hover { color: #fff; }
.footer-editorial-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .footer-editorial-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-editorial-brand {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}
.footer-editorial-brand span { color: var(--primary-400); }
.footer-editorial-col h4 {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-400);
    margin: 0 0 0.875rem;
}
.footer-editorial-col ul { list-style: none; padding: 0; margin: 0; }
.footer-editorial-col li { margin-bottom: 0.5rem; font-size: 0.8125rem; }
.footer-editorial-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.45);
}

/* Page shell — wider editorial main */
main.editorial-main {
    max-width: 1200px;
    padding-top: 0;
}
@media (max-width: 767px) {
    main.editorial-main { padding-top: 0; padding-bottom: 5rem; }
    #site-header.site-header-editorial { position: relative; }
    .magazine-aside-sticky { position: static; }
}
