/* Base CSS Theme Overlay */
:root {
    --primary-blue: #3b5bdb;
    --accent-blue: #2563EB;
    --header-bg: #0A1118;
    --body-bg: #F1F5F9;
    --card-bg: #FFFFFF;
    --text-dark: #1E293B;
    --text-light: #FFFFFF;
    --text-muted: #64748B;
    --border-color: #CBD5E1;
    --transition-smooth: 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    overflow-x: clip;
    width: 100%;
}
body {
    background-color: var(--body-bg);
    color: var(--text-dark);
    line-height: 1.5;
}

/* ==== TOP TICKER ==== */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-ticker {
    background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 35%, #2563eb 50%, #1e3a8a 65%, #0f172a 100%);
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    padding: 0.42rem 0;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.ticker-content {
    display: flex;
    animation: ticker 25s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

.ticker-content span {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.diamond {
    color: #60a5fa;
    margin: 0 1rem;
    font-size: 0.6rem;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

/* ==== NAVBAR ==== */
.navbar {
    background-color: var(--header-bg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--accent-blue);
    border-image: linear-gradient(90deg, #0f172a, var(--accent-blue), #60a5fa, var(--accent-blue), #0f172a) 1;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-light);
}

.brand-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.25em;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0.5rem 0;
    transition: color var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover {
    color: var(--text-light);
}

/* DROPDOWN */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--header-bg);
    border: 1px solid rgba(255,255,255,0.12);
    border-top: 3px solid var(--accent-blue); /* Distinctive top border indicating active */
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: all var(--transition-smooth);
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all var(--transition-smooth);
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    padding-left: 1.8rem;
}

.lock-icon a {
    font-size: 1rem;
    color: #94a3b8;
    margin-left: 1rem;
}
.lock-icon a:hover {
    color: var(--text-light);
}

/* ==== MAIN CONTENT ==== */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

/* UNIFIED SECTION HEADER */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
}

.section-title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    color: var(--header-bg);
    text-transform: uppercase;
    margin: 0;
}

.title-accent {
    width: 5px;
    height: 1.25em;
    background-color: var(--accent-blue);
    display: inline-block;
    border-radius: 2px;
    margin-right: 1rem;
}

/* SECTION FOOTER CTA */
.section-footer-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    width: 100%;
}

.section-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    text-decoration: none;
    font-weight: 800;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition-smooth);
}

.section-footer-cta i {
    transition: transform var(--transition-smooth);
}

.section-footer-cta:hover {
    background-color: var(--accent-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.section-footer-cta:hover i {
    transform: translateX(4px);
}

.scores-carousel-nav {
    display: flex;
    gap: 0.6rem;
}

.scores-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--accent-blue);
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.scores-btn:hover {
    background: var(--accent-blue);
    color: var(--text-light);
}

@media (max-width: 768px) {
    .scores-btn {
        display: none !important;
    }
}

/* SCORES SCROLLER */
.scores-scroller-wrapper {
    position: relative;
    overflow: hidden;
}

.scores-scroller {
    display: flex;
    gap: 1.25rem; /* Spacing between cards */
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 0.5rem 0.2rem; /* Give shadow room to breathe */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.scores-scroller::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.recent-scores-container {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.recent-scores-container.loaded {
    opacity: 1;
}

/* PROGRAM RECORDS SNAPSHOT BAR */
.program-records-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    border-left: 4px solid var(--accent-blue);
    border-radius: 6px;
    padding: 0.65rem 1.15rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.program-records-label,
.records-bar-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.program-records-label i,
.records-bar-label i {
    color: #60a5fa;
}

.program-records-pills,
.records-pills-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.program-record-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    padding: 0.32rem 0.75rem;
    text-decoration: none;
    color: #ffffff;
    transition: background var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth);
}

.program-record-pill:hover {
    background: rgba(37, 99, 235, 0.24);
    border-color: rgba(96, 165, 250, 0.55);
    transform: translateY(-1px);
}

.program-record-team {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f8fafc;
}

.program-record-val,
.record-numbers {
    font-size: 0.84rem;
    font-weight: 900;
    color: #ffffff;
}

.program-record-streak,
.record-streak {
    font-size: 0.66rem;
    font-weight: 800;
    padding: 0.12rem 0.42rem;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

.program-record-streak.streak-win,
.record-streak.streak-win {
    background: rgba(16, 185, 129, 0.22);
    color: #6ee7b7;
}

.program-record-streak.streak-loss,
.record-streak.streak-loss {
    background: rgba(248, 113, 113, 0.22);
    color: #fecaca;
}

/* UNIFIED TEAM LEVEL BADGES */
.level-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.2;
}

.level-badge--varsity {
    background: #0f172a;
    color: #ffffff;
    border-left: 3px solid #2563eb;
}

.level-badge--jvblue {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.level-badge--jvwhite {
    background: #e2e8f0;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.level-badge--program {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

/* Dark-surface variants for Upcoming Events Band & Program Records Bar */
.level-badge-dark--varsity,
.program-records-bar .level-badge--varsity {
    background: #2563eb;
    color: #ffffff;
    border: 1px solid #60a5fa;
}

.level-badge-dark--jvblue,
.program-records-bar .level-badge--jvblue {
    background: rgba(59, 130, 246, 0.22);
    color: #bfdbfe;
    border: 1px solid rgba(96, 165, 250, 0.45);
}

.level-badge-dark--jvwhite,
.program-records-bar .level-badge--jvwhite {
    background: rgba(241, 245, 249, 0.16);
    color: #f8fafc;
    border: 1px solid rgba(203, 213, 225, 0.35);
}

.score-card {
    flex: 0 0 calc((100% - (1.25rem * 3)) / 4); /* Display 4 cards factoring gap calculation */
    min-width: 260px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    cursor: pointer;
}

.score-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    border-color: #93c5fd;
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 800;
}

.team-level {
    color: var(--accent-blue);
    letter-spacing: 0.08em;
}

.score-date-group {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.score-outcome-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.12rem 0.42rem;
    border-radius: 3px;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.score-outcome-badge.outcome-win {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.score-outcome-badge.outcome-loss {
    background: #e2e8f0;
    color: #334155;
    border: 1px solid #94a3b8;
}

.game-date {
    color: #334155;
    font-size: 0.72rem;
    font-weight: 700;
}

.score-table {
    width: 100%;
    border-collapse: collapse;
}

.score-table th {
    font-size: 0.65rem;
    color: #475569;
    font-weight: 700;
    padding: 0.5rem 0.5rem 0.2rem;
    text-align: center;
}

.score-table th:first-child {
    text-align: left;
    padding-left: 1rem;
}

.score-table td {
    font-size: 0.9rem;
    padding: 0.55rem 0.5rem;
    text-align: center;
    color: #334155;
    font-weight: 600;
    border-top: 1px solid #f1f5f9;
}

.score-table td:first-child {
    text-align: left;
    padding-left: 1rem;
    font-weight: 700;
}

.team-bold {
    color: var(--text-dark) !important;
    font-weight: 800 !important;
}

.runs {
    background-color: #f1f5f9; /* highlight column background slightly */
    font-weight: 600;
}

.score-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.48rem 1rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 5px 5px;
    margin-top: auto;
}

.score-card-link {
    color: var(--accent-blue);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color var(--transition-smooth);
}

.score-card-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.score-card-link.secondary {
    color: #475569;
}

.score-card-link.secondary:hover {
    color: var(--accent-blue);
}

/* ==== FEATURED STORY ==== */
.featured-story-container {
    margin-top: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.featured-news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.featured-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.featured-image-panel {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--border-color);
    background-size: cover;
    background-position: center top; /* Show upper portion of sports images */
    background-repeat: no-repeat;
    border-bottom: 4px solid var(--accent-blue);
}

.featured-content {
    padding: 2.5rem;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
}

.featured-meta-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.featured-type-badge {
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.featured-date-badge, .featured-author-badge {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.featured-story-title {
    color: var(--text-dark);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

/* Hidden in standard stacked mode; shown in desktop split mode */
.featured-story-excerpt {
    display: none;
}

.featured-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-blue);
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: gap var(--transition-smooth), color var(--transition-smooth);
    width: fit-content;
}

.featured-read-btn:hover {
    gap: 0.8rem;
    color: #1d4ed8;
}

/* ==== LATEST NEWS GRID ==== */
.latest-news-container {
    margin-top: 1rem;
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 1rem;
}

.news-grid.news-grid--4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.news-grid.news-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.news-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #cbd5e1;
    border-bottom: 4px solid var(--accent-blue);
}

.thumb-1 { background: linear-gradient(135deg, #3b82f6, #1e40af); }
.thumb-2 { background: linear-gradient(135deg, #10b981, #047857); }
.thumb-3 { background: linear-gradient(135deg, #C8D4E0, #8FA3B8); }
.thumb-4 { background: linear-gradient(135deg, #ef4444, #b91c1c); }

.news-content {
    padding: 1.35rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 0.8rem;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.news-category {
    color: var(--accent-blue);
}

.news-date {
    color: var(--text-muted);
}

.news-title {
    font-size: 1.06rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ==== UPCOMING EVENTS BAND (DIVISION 1 / POWER 4 BROADCAST SLATE) ==== */
.upcoming-events-band {
    background-color: var(--header-bg); /* #0A1118 */
    width: 100%;
    border-top: 4px solid var(--accent-blue);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
}

.events-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3.5rem 2rem;
}

.dark-mode-title {
    color: var(--text-light) !important;
}

/* Broadcast Header Bar */
.d1-events-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.d1-events-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.d1-events-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #60a5fa;
}

.d1-events-title-line {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.d1-events-title-line .section-title {
    margin-bottom: 0;
}

.d1-events-count-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #93c5fd;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
}

.d1-events-controls-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.d1-events-filter-pills {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.28rem;
    border-radius: 10px;
    flex-wrap: wrap;
}

.d1-evt-filter-btn {
    border: none;
    background: transparent;
    color: #cbd5e1;
    font-family: 'Inter', sans-serif;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.42rem 0.8rem;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.d1-evt-filter-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.d1-evt-filter-btn.active {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

/* Scroller & Base Event Card */
.events-scroller {
    display: flex;
    gap: 1.5rem; /* 24px — synced with script.js carousel math */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0.2rem 1.25rem;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.events-scroller::-webkit-scrollbar {
    display: none;
}

.events-card {
    flex: 0 0 calc((100% - (1.5rem * 2)) / 3);
    min-width: 340px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-top: 3px solid var(--evt-accent, var(--accent-blue));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* Content-based container adaptation via :has() using site palette */
.events-card:has(.d1-matchup-arena) {
    background: #111827;
}

.events-card:not(:has(.d1-matchup-arena)) {
    background: #111827;
    border-top-color: var(--accent-blue);
}

@supports not selector(:has(*)) {
    .events-card.has-matchup {
        background: #111827;
    }
}

.events-card:hover {
    background: #1f2937;
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.35);
    border-top-color: var(--evt-accent, var(--accent-blue));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

/* Card Top Status Header */
.d1-evt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.d1-evt-header-left,
.d1-evt-header-right {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.d1-evt-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.d1-evt-date-pill i {
    color: #60a5fa;
    font-size: 0.72rem;
}

.d1-evt-rel-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.d1-evt-rel-chip.is-today {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: #60a5fa;
}

.d1-evt-rel-chip.is-tomorrow {
    background: rgba(37, 99, 235, 0.22);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.45);
}

.d1-evt-rel-chip.is-soon {
    background: rgba(37, 99, 235, 0.14);
    color: #cbd5e1;
    border-color: rgba(96, 165, 250, 0.28);
}

.d1-evt-rel-chip.is-final {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.d1-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
    animation: d1EvtPulse 1.6s infinite ease-in-out;
}

@keyframes d1EvtPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.55; }
}

.d1-evt-venue-tag {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.18rem 0.48rem;
    border-radius: 4px;
}

.d1-evt-venue-tag.is-home {
    background: rgba(37, 99, 235, 0.22);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.35);
}

.d1-evt-venue-tag.is-away {
    background: rgba(148, 163, 184, 0.14);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.d1-evt-venue-tag.is-neutral {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.d1-evt-cat-pill {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 5px;
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.35);
}

/* Matchup Arena (Head-to-Head Broadcast Layout) */
.d1-matchup-arena {
    padding: 0.95rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    justify-content: center;
}

.d1-arena-team {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.d1-arena-team.is-winner {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(96, 165, 250, 0.35);
}

.d1-arena-crest {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #0a1118;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 4px;
}

.d1-arena-crest-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.d1-arena-crest-mono {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 0.04em;
    background: rgba(37, 99, 235, 0.25);
    border-radius: 6px;
}

.d1-arena-team-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.d1-arena-school {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.d1-arena-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-top: 0.12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.d1-arena-score {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-light);
    font-variant-numeric: tabular-nums;
    margin-left: auto;
    padding-left: 0.5rem;
}

/* Center VS / Time / Final Bar */
.d1-arena-vs-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.32rem 0.65rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.d1-arena-vs-pill {
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.14rem 0.45rem;
    border-radius: 4px;
}

.d1-arena-vs-pill.home {
    background: rgba(37, 99, 235, 0.25);
    color: #93c5fd;
}

.d1-arena-vs-pill.away {
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}

.d1-arena-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: #60a5fa;
    letter-spacing: 0.02em;
}

.d1-arena-conf-tag {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.32);
    padding: 0.12rem 0.42rem;
    border-radius: 4px;
}

.d1-arena-wl-badge {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    padding: 0.16rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.d1-arena-wl-badge.win {
    background: var(--accent-blue);
    color: #ffffff;
    border: 1px solid #60a5fa;
}

.d1-arena-wl-badge.loss {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.d1-arena-wl-badge.tie {
    background: rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.32);
}

.d1-arena-rhe-summary {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

/* Program / Calendar Event Arena */
.d1-prog-arena {
    padding: 1.1rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.d1-prog-date-tile {
    width: 72px;
    min-height: 82px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    flex-shrink: 0;
}

.d1-prog-mon {
    font-size: 0.68rem;
    font-weight: 800;
    color: #60a5fa;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.d1-prog-day {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.05;
    margin: 0.1rem 0;
}

.d1-prog-dow {
    font-size: 0.62rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.d1-prog-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
}

.d1-prog-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.25;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.d1-prog-time-row {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: #60a5fa;
}

.d1-prog-tz {
    font-size: 0.7rem;
    font-weight: 600;
    color: #cbd5e1;
}

.d1-prog-desc {
    font-size: 0.76rem;
    font-weight: 500;
    color: #cbd5e1;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer Bar */
.d1-evt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.d1-evt-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

.d1-evt-loc i {
    color: #60a5fa;
    flex-shrink: 0;
}

.d1-evt-footer-links {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.d1-evt-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

.d1-evt-action-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.d1-evt-action-btn.is-primary {
    background: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.35);
}

.events-card:hover .d1-evt-action-btn.is-primary {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
}

/* Empty State */
.d1-evt-empty-state {
    width: 100%;
    padding: 2.5rem 1.5rem;
    background: #111827;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
}

.d1-evt-empty-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.16);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.d1-evt-empty-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: #cbd5e1;
    margin: 0;
}

.d1-evt-empty-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.25rem;
}

/* Band Bottom Quick-Schedule & Calendar Strip */
.d1-events-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.d1-events-quick-schedules {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.d1-quick-sched-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #cbd5e1;
    margin-right: 0.25rem;
}

.d1-quick-sched-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #f8fafc;
    text-decoration: none;
    padding: 0.38rem 0.8rem;
    border-radius: 7px;
    background: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.3);
    transition: all 0.2s ease;
}

.d1-quick-sched-pill i {
    color: #60a5fa;
    font-size: 0.72rem;
}

.d1-quick-sched-pill:hover {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(96, 165, 250, 0.55);
    color: #ffffff;
    transform: translateY(-1px);
}

.d1-events-main-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    padding: 0.52rem 1.15rem;
    border-radius: 6px;
    background: var(--accent-blue);
    border: 2px solid #60a5fa;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.d1-events-main-cta:hover {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.align-center-nav {
    align-items: center;
}

/* ==== LATEST PHOTOS ==== */
.view-all-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color var(--transition-smooth);
}

.view-all-link:hover {
    color: #4f83f0;
    text-decoration: underline;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.photo-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.photo-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

/* Gradients acting as placeholder photo textures */
.photo-1 { background: linear-gradient(135deg, #0f172a, #334155); }
.photo-2 { background: linear-gradient(135deg, #1e293b, #475569); }
.photo-3 { background: linear-gradient(135deg, #020617, #1e293b); }
.photo-4 { background: linear-gradient(135deg, #0f172a, #1e293b); }

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.48) 32%, transparent 60%);
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1.15rem 1.25rem;
    color: white;
    transition: background 0.3s ease;
}

.photo-card:hover .photo-thumbnail {
    transform: scale(1.05); /* Hover zoom */
}

.photo-card:hover .photo-overlay {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.55) 38%, transparent 65%);
}

.photo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(37, 99, 235, 0.88);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.4rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.photo-badge i {
    font-size: 0.65rem;
    color: #ffffff;
    margin: 0;
}

.photo-caption {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Spacing for Championship History sub-header */
.champ-history-header {
    margin-top: 3rem;
}

.championships-container {
    margin-top: 3rem;
    padding-bottom: 3rem;
}

/* Subtitle under the heading */
.champ-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: -1.25rem 0 2rem 2.25rem; /* align with heading text, not the blue bar */
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* All 5 basketball championship banners in one balanced row */
.champ-banners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: start;
}

.champ-row-sep { display: none; }

.champ-banner-item {
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.14));
    transition: transform 0.25s ease, filter 0.25s ease;
    will-change: transform, filter;
}

.champ-banner-item:hover {
    transform: translateY(-5px) scale(1.015);
    filter: drop-shadow(0 16px 28px rgba(0,0,0,0.24));
}

.champ-banner-img {
    width: 100%;       /* fills the full column */
    height: auto;
    aspect-ratio: 683 / 1024;
    display: block;
    object-fit: contain;
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.banner-item {
    position: relative;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.15)); /* Fixed static shadow */
    will-change: transform, filter;
    transform: translateZ(0);
}

.banner-img {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 1127;
    display: block;
    object-fit: contain;
}

/* Achievement row divider — gradient royal blue line */
.banners-row-divider {
    height: 2px;
    margin: 4rem 10% 4rem;
    background: linear-gradient(
        to right,
        transparent,
        rgba(37, 99, 235, 0.4) 20%,
        rgba(59, 130, 246, 0.9) 50%,
        rgba(37, 99, 235, 0.4) 80%,
        transparent
    );
    border-radius: 2px;
}

/* Achievement banners — matched full width & column alignment with the 5 banners above */
.banners-grid--achievements {
    width: 100%;
    margin: 1.5rem 0 0;
    gap: 1.5rem;
}

.banners-grid--achievements .banner-item {
    padding: 0;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.banners-grid--achievements .banner-item:hover {
    transform: translateY(-6px) scale(1.03);
    filter: drop-shadow(0 14px 20px rgba(0,0,0,0.35));
}

/* ==== NEXT LEVEL: AFFILIATED PRO BASEBALL ALUMNI CARDS (HOMEPAGE) ==== */
.home-pro-subtitle {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-pro-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 0.5rem;
}

.pro-alumni-card {
    display: flex;
    flex-direction: column;
    background: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.pro-alumni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
    border-color: var(--accent-blue);
}

.pro-alumni-card--mlb {
    border-color: rgba(245, 158, 11, 0.55);
}

.pro-alumni-card--mlb:hover {
    border-color: #f59e0b;
}

.pro-alumni-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 3.75;
    background: radial-gradient(circle at 50% 42%, rgba(56, 189, 248, 0.22) 0%, #1e293b 58%, #090f1d 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-alumni-card--mlb .pro-alumni-media {
    background: radial-gradient(circle at 50% 42%, rgba(245, 158, 11, 0.24) 0%, #1e293b 58%, #090f1d 100%);
}

.pro-alumni-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.35s ease;
}

.pro-alumni-card:hover .pro-alumni-photo {
    transform: scale(1.04);
}

/* Fallback large hat mode when no player photo is available */
.pro-alumni-media.is-hat-fallback .pro-alumni-photo {
    display: none;
}

.pro-alumni-hat-fallback {
    display: none;
    width: 82%;
    height: 82%;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
    transition: transform 0.3s ease;
}

.pro-alumni-media.is-hat-fallback .pro-alumni-hat-fallback {
    display: block;
}

.pro-alumni-card:hover .pro-alumni-hat-fallback {
    transform: scale(1.08);
}

/* Subtle bottom vignette on photo so corner hat badge & border pop cleanly */
.pro-alumni-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 100%);
    pointer-events: none;
}

.pro-alumni-level-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 2;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.22rem 0.52rem;
    border-radius: 4px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.pro-alumni-level-badge.badge-mlb {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a;
}

.pro-alumni-level-badge.badge-milb {
    background: rgba(37, 99, 235, 0.92);
    color: #ffffff;
    border: 1px solid rgba(147, 197, 253, 0.4);
}

/* Corner cap badge when showing real player photo */
.pro-alumni-cap-badge {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.pro-alumni-media.is-hat-fallback .pro-alumni-cap-badge {
    display: none;
}

.pro-alumni-cap-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pro-alumni-body {
    padding: 0.8rem 0.85rem 0.9rem;
    background: #0f172a;
    border-top: 2px solid var(--accent-blue);
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    flex: 1;
}

.pro-alumni-card--mlb .pro-alumni-body {
    border-top-color: #f59e0b;
}

.pro-alumni-year {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #60a5fa;
}

.pro-alumni-card--mlb .pro-alumni-year {
    color: #fbbf24;
}

.pro-alumni-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.pro-alumni-org {
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 1200px) {
    .home-pro-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .home-pro-grid .pro-alumni-card {
        flex: 0 0 calc((100% - 3rem) / 4);
        max-width: 240px;
    }
}

@media screen and (max-width: 768px) {
    .home-pro-grid .pro-alumni-card {
        flex: 0 0 calc((100% - 2rem) / 3);
    }
}

@media screen and (max-width: 540px) {
    .home-pro-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .home-pro-grid .pro-alumni-card {
        max-width: none;
    }
}

/* ==== HEADER & FOOTER SOCIAL ICONS ==== */
.nav-social-group {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: 0.35rem;
}

.nav-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f8fafc;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.nav-social-link .social-svg-icon {
    width: 17px;
    height: 17px;
    display: block;
    flex-shrink: 0;
}

.nav-social-link.nav-social-x:hover {
    background: #000000;
    border-color: #60a5fa;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.nav-social-link.nav-social-ig:hover {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(221, 42, 123, 0.35);
}

.footer-social-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    padding: 0.55rem 0.95rem 0.55rem 0.6rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-social-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
}

.footer-social-x .footer-social-icon-box {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-social-ig .footer-social-icon-box {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-social-icon-box .social-svg-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.footer-social-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.footer-social-platform {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 0.12rem;
}

.footer-social-handle {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.footer-social-ext {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    margin-left: 0.25rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-social-btn:hover {
    background: rgba(37, 99, 235, 0.22);
    border-color: #60a5fa;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.footer-social-btn:hover .footer-social-ext {
    color: #ffffff;
    transform: translate(1px, -1px);
}



/* ==== SPONSORSHIPS ==== */
.sponsorships-section {
    padding-top: 0;
    padding-bottom: 2rem;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Light translucent white */
    margin: 2rem 0 4rem 0;
}

.sponsorship-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.sponsor-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.sponsor-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    transform: scale(1.05); /* hide blurred edges */
}

.bg-1, .bg-2, .bg-3, .bg-4 { background: linear-gradient(135deg, #1e3a8a, #0f172a); }

.sponsor-content {
    position: relative;
    z-index: 1;
    background: linear-gradient(to top, rgba(2,6,23,0.95) 0%, rgba(2,6,23,0.4) 100%);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sponsor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: auto;
}

.sponsor-label {
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.sponsor-icon {
    color: #60a5fa;
    font-size: 1rem;
}

.sponsor-title {
    color: var(--text-light);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.sponsor-subtext {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ==== PREMIUM FOOTER ==== */
.premium-footer {
    background-color: #020617; /* Very dark navy / black */
    color: #cbd5e1;
    border-top: 4px solid var(--accent-blue);
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 3rem;
}

/* Branding Col */
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.footer-brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

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

.brand-sub {
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.brand-main {
    color: var(--text-light);
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.1;
}

.footer-about {
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    max-width: 420px;
}

.contact-link,
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.86rem;
    color: #e2e8f0;
    text-decoration: none;
    transition: color var(--transition-smooth);
}

.contact-link i,
.contact-item i {
    color: #60a5fa;
    margin-top: 0.2rem;
    width: 16px;
    text-align: center;
}

.contact-link:hover {
    color: #ffffff;
}

.contact-link.athletics-site-link {
    font-weight: 700;
    color: #93c5fd;
    margin-top: 0.75rem;
}

.contact-link.athletics-site-link:hover {
    color: #ffffff;
}

/* Links Col */
.footer-header {
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 60px;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
}

.footer-nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: color var(--transition-smooth);
}

.footer-nav a:hover {
    color: #60a5fa;
}

/* Booster Col */
.booster-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    padding: 2.75rem 2.5rem;
    text-align: left;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.booster-title {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.booster-subtext {
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.btn-booster {
    display: inline-block;
    background-color: var(--accent-blue);
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    padding: 1.1rem 2.5rem;
    border-radius: 6px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-booster:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

/* Copyright Strip */
.footer-bottom-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.dac-logo-box {
    display: flex;
    align-items: center;
}

.dac-footer-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* ==== MOBILE MENU OVERRIDES ==== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.mobile-menu-btn.active .bar:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.mobile-menu-btn.active .bar:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active .bar:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

@media screen and (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }

    /* FORCED Mobile Overrides: Make Featured Card identical to News Cards on ALL mobile/tablet views */
    .featured-news-card {
        border-radius: 4px !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.03) !important;
    }
    
    .featured-content {
        padding: 1.25rem !important;
    }
    
    .featured-story-title {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
        line-height: 1.4 !important;
        font-weight: 800 !important;
    }

    .featured-meta-row {
        gap: 0.8rem !important;
        margin-bottom: 0.8rem !important;
    }

    .featured-type-badge, .featured-date-badge, .featured-author-badge {
        font-size: 0.75rem !important;
    }

    .featured-read-btn {
        display: none !important;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        flex-direction: row;
        justify-content: flex-end;
        align-items: stretch;
        padding: 0;
        overflow: hidden;
        transition: right 0s 0.4s, opacity 0.4s ease;
        opacity: 0;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
        opacity: 1;
        transition: right 0s 0s, opacity 0.4s ease;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.75rem;
        width: 85%;
        max-width: 380px;
        height: 100%;
        background: var(--header-bg);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: -15px 0 40px rgba(0,0,0,0.6);
        padding: 8.5rem 2.5rem 4rem;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        margin: 0;
    }

    .nav-links.active .nav-list {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.25rem;
        font-weight: 700;
        padding: 0.5rem 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item.dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        min-width: 100%;
        border-top: none;
        border-left: 2px solid rgba(255, 255, 255, 0.1);
        padding-left: 1.25rem;
        transition: max-height 0.4s ease, margin-top 0.4s ease;
    }

    .nav-item.dropdown.open .dropdown-menu {
        max-height: 380px;
        margin-top: 0.75rem;
        border-left-color: var(--accent-blue);
    }

    .nav-item.dropdown.open .nav-link {
        color: var(--accent-blue);
    }

    .nav-item.dropdown.open .nav-link i {
        transform: rotate(180deg);
    }

    .nav-item.dropdown .nav-link i {
        transition: transform 0.3s ease;
    }

    .dropdown-link {
        padding: 0.75rem 0;
        font-size: 1.05rem;
        color: var(--text-muted);
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .news-grid,
    .news-grid.news-grid--4,
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid .news-card:nth-child(n+5) {
        display: none;
    }
    
    .banners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .champ-banners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .sponsorship-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .score-card {
        flex: 0 0 calc((100% - 1.25rem) / 2); /* 2 columns on tablet */
    }
    
    .events-card {
        flex: 0 0 calc((100% - 1.5rem) / 2); /* 2 columns on tablet */
        min-width: 0;
    }
}

@media screen and (max-width: 600px) {
    .news-grid,
    .news-grid.news-grid--4,
    .news-grid.news-grid--2,
    .photos-grid {
        grid-template-columns: 1fr;
    }
    
    .banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .champ-banners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .sponsorship-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom-strip {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .score-card {
        flex: 0 0 100%; /* Match identical width of stories without gap peeking */
    }
    
    .events-card {
        flex: 0 0 100%; /* Match identical width of stories without gap peeking */
        min-width: 0;
    }

    .content-wrapper, .events-container, .footer-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .nav-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .brand-logo {
        height: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
/* ==== STORY PAGE ==== */
.story-page-wrapper {
    max-width: 1400px;
    padding-top: 3.5rem;
}

.story-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

/* Left Column */
/* =========================================
   INTEGRATED CONTEXTUAL BREADCRUMBS
   ========================================= */
.hero-breadcrumb-wrap {
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: flex-start;
}
.hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.2s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.hero-breadcrumb i { font-size: 0.7rem; transition: transform 0.2s ease; }
.hero-breadcrumb:hover { 
    color: #fff; 
    background: rgba(255,255,255,0.1); 
    border-color: rgba(255,255,255,0.2); 
}
.hero-breadcrumb:hover i { transform: translateX(-4px); }

.page-breadcrumb-wrap {
    margin-bottom: 1.5rem;
    display: flex;
}
.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s ease;
}
.page-breadcrumb i { font-size: 0.7rem; transition: transform 0.2s ease; }
.page-breadcrumb:hover { 
    color: var(--accent-blue);
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.page-breadcrumb:hover i { transform: translateX(-4px); }



.story-hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #cbd5e1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.story-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
}
.story-category {
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border: 1px solid var(--accent-blue);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}
.story-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.story-boxscore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent-blue);
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-left: 0.25rem;
}

.story-boxscore-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}


.story-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 2.5rem;
    letter-spacing: -0.01em;
}

/* Rich Text Styling (.tiptap-content) */
.story-body {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #334155;
    padding-bottom: 4rem;
    max-width: 800px;
}

.story-body p {
    margin-bottom: 1.5rem;
}
.story-body h1, .story-body h2, .story-body h3, .story-body h4 {
    color: var(--text-dark);
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.story-body h2 { font-size: 1.8rem; border-bottom: 2px solid #e2e8f0; padding-bottom: 0.5rem; }
.story-body h3 { font-size: 1.5rem; }
.story-body ul, .story-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}
.story-body li {
    margin-bottom: 0.5rem;
}
.story-body blockquote {
    border-left: 4px solid var(--accent-blue);
    background: #f8fafc;
    padding: 1.5rem;
    font-style: italic;
    font-size: 1.15rem;
    color: #475569;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}
.story-body img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin: 2rem 0;
}
.story-body a {
    color: var(--accent-blue);
    text-decoration: underline;
}
.story-body hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 3rem 0;
}

/* Right Column */
.story-sidebar {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    margin-bottom: 1.5rem;
}

.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sidebar-card {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    transition: transform var(--transition-smooth);
}
.sidebar-card:hover {
    transform: translateX(4px);
}

.sidebar-thumb {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    flex-shrink: 0;
    background-color: #e2e8f0;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
}

.sidebar-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.3rem;
}
.sidebar-cat {
    color: var(--accent-blue);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.sidebar-date {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
}
.sidebar-title-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 992px) {
    .story-layout {
        grid-template-columns: 1fr;
    }
    .story-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 600px) {
    .story-social-share {
        flex-wrap: wrap;
    }
    .story-body {
        font-size: 1.05rem;
        padding-bottom: 2.5rem;
    }
}

.sidebar-view-all {
    display: block;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.2s;
}
.sidebar-view-all:hover {
    color: #1d4ed8;
}
/* Social Share */
.story-social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}
.share-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-right: 0.5rem;
}
.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: white;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}
.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.share-fb { background-color: #1877F2; }
.share-x { background-color: #1DA1F2; }
.share-email { background-color: #64748B; }
.share-copy {
    width: auto;
    border-radius: 20px;
    padding: 0 1rem;
    gap: 0.5rem;
    background-color: var(--card-bg);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 0.8rem;
}
.share-copy:hover {
    background-color: #f8fafc;
    color: var(--accent-blue);
}

/* ─────────────────────────────────────────────────────────────────────────────
   CANCELLED GAMES MODAL
   ───────────────────────────────────────────────────────────────────────────── */
.cancel-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 1rem;
}

.cancel-modal-content {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 25px 50px -12px rgba(239, 68, 68, 0.25);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  transform: translateY(20px);
  animation: slideUpModal 0.4s ease forwards;
}

@keyframes slideUpModal {
  to { transform: translateY(0); }
}

.cancel-modal-header {
  background: rgba(239, 68, 68, 0.1);
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  padding: 1.5rem;
  text-align: center;
}

.cancel-modal-icon {
  font-size: 2.5rem;
  color: #ef4444;
  margin-bottom: 0.5rem;
  animation: pulseWarning 2s infinite;
}

@keyframes pulseWarning {
  0%   { filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0)); }
  50%  { filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.6)); }
  100% { filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0)); }
}

.cancel-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #f1f5f9;
  text-transform: uppercase;
  margin: 0;
}

.cancel-modal-body {
  padding: 1.5rem;
}

.cancel-modal-subtext {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.cancel-modal-subtext strong {
  color: #ef4444;
}

.cancel-modal-list {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem;
  max-height: 250px;
  overflow-y: auto;
}

.cancel-modal-date {
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.25rem;
}

.cancel-modal-game {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cancel-modal-game:last-child {
  margin-bottom: 0;
}

.cancel-modal-team {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.cancel-modal-vs {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.95rem;
}

.cancel-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cancel-modal-close:hover {
  color: #f1f5f9;
  transform: scale(1.1);
}

/* ==== NEWS ARCHIVE PORTAL (UPGRADED D1 EDITORIAL DISPLAY) ==== */
.news-archive-container {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

/* ==== MULTI-VIEW ARCHIVE TOOLBAR ==== */
.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 1.05rem 1.4rem;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.toolbar-left-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
}

.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toolbar-select {
    appearance: none;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.62rem 2.35rem 0.62rem 0.95rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    min-width: 145px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.toolbar-select:hover {
    border-color: #94a3b8;
    background: #ffffff;
}

.toolbar-select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: #ffffff;
}

.select-caret {
    position: absolute;
    right: 0.9rem;
    font-size: 0.7rem;
    color: #64748b;
    pointer-events: none;
}

.toolbar-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 210px;
    max-width: 320px;
}

.toolbar-search {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.62rem 1rem 0.62rem 2.35rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.toolbar-search:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: #ffffff;
}

.search-icon {
    position: absolute;
    left: 0.9rem;
    color: #64748b;
    font-size: 0.8rem;
    pointer-events: none;
}

.toolbar-view-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    padding: 0.3rem;
    border-radius: 9px;
    border: 1px solid #e2e8f0;
}

.view-type-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.15;
    margin: 0 0.45rem 0 0.35rem;
    text-align: right;
}

.view-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #64748b;
    width: 36px;
    height: 34px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    transition: all 0.18s ease;
}

.view-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.7);
}

.view-btn.active {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);
}

/* ==== RESULTS STATUS & ACTIVE FILTERS BAR ==== */
.archive-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.25rem 0.2rem 0.65rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 1.35rem;
}

.archive-status-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.archive-status-pill {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.archive-status-pill strong {
    color: #0f172a;
    font-weight: 900;
}

.archive-active-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
}

.archive-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 0.32rem 0.78rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.18s ease;
}
.archive-clear-btn:hover {
    color: #dc2626;
    border-color: #fca5a5;
    background: #fef2f2;
}

/* Shared Category & Date Tokens */
.archive-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.24rem 0.65rem;
    border-radius: 5px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    white-space: nowrap;
}

.archive-date {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.archive-date i {
    color: #94a3b8;
    font-size: 0.76rem;
}

/* ==== 1. UPGRADED LIST VIEW (D1 EDITORIAL FEED) ==== */
.news-archive-container.view-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.archive-card-list {
    display: grid;
    grid-template-columns: 300px 1fr auto;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.archive-card-list:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
    border-color: var(--accent-blue);
}

.archive-list-media {
    position: relative;
    width: 300px;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    border-right: 3px solid var(--accent-blue);
    overflow: hidden;
}

.archive-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.archive-list-body {
    padding: 1.35rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.archive-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.archive-meta-dot {
    color: #cbd5e1;
    font-weight: 900;
}

.archive-list-title {
    color: #0f172a;
    font-size: clamp(1.15rem, 1.9vw, 1.38rem);
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin: 0 0 0.48rem;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.archive-card-list:hover .archive-list-title {
    color: var(--accent-blue);
}

.archive-list-excerpt {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.archive-list-cta {
    padding: 1.35rem 1.6rem 1.35rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-blue);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.6rem 1.05rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: all 0.22s ease;
}

.archive-card-list:hover .archive-cta-pill {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
    transform: translateX(2px);
}

/* ==== 2. UPGRADED GRID VIEW (3-COLUMN EDITORIAL CARDS, 2x2 ON TABLET) ==== */
.news-archive-container.view-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.65rem;
}

.archive-card-grid {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.archive-card-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
    border-color: var(--accent-blue);
}

.archive-grid-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    border-bottom: 3px solid var(--accent-blue);
    overflow: hidden;
}

.archive-grid-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.65) 0%, transparent 45%);
    pointer-events: none;
}

.archive-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.archive-card-grid:hover .archive-grid-img {
    transform: scale(1.06);
}

.archive-grid-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.85rem;
    z-index: 2;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.24rem 0.65rem;
    border-radius: 5px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.archive-grid-body {
    padding: 1.35rem 1.4rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.archive-grid-title {
    color: #0f172a;
    font-size: 1.14rem;
    font-weight: 850;
    line-height: 1.34;
    letter-spacing: -0.01em;
    margin: 0 0 0.55rem;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.archive-card-grid:hover .archive-grid-title {
    color: var(--accent-blue);
}

.archive-grid-excerpt {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0 0 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.archive-grid-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.archive-grid-read {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-blue);
    transition: transform 0.2s ease;
}

.archive-card-grid:hover .archive-grid-read {
    transform: translateX(3px);
}

/* ==== 3. UPGRADED TABLE VIEW (PRESS LOG) ==== */
.view-table {
    display: block;
    width: 100%;
}

.archive-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.archive-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.archive-table thead {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-bottom: 3px solid var(--accent-blue);
}

.archive-table th {
    padding: 0.95rem 1.35rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #cbd5e1;
}

.archive-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.16s ease;
    cursor: pointer;
}

.archive-table tbody tr:last-child {
    border-bottom: none;
}

.archive-table tbody tr:hover {
    background: #f8fafc;
}

.archive-table td {
    padding: 1rem 1.35rem;
    vertical-align: middle;
}

.table-date {
    font-weight: 700;
    color: #475569;
    font-size: 0.84rem;
    white-space: nowrap;
}

.archive-table-story-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 280px;
}

.archive-table-thumb {
    width: 72px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    object-position: center 20%;
    border: 1px solid #cbd5e1;
    flex-shrink: 0;
    background: #0f172a;
}

.archive-table-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.table-headline {
    font-weight: 800;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.15s ease;
}

.archive-table tbody tr:hover .table-headline {
    color: var(--accent-blue);
}

.archive-table-snippet {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    overflow: hidden;
}

.archive-table-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-blue);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.18s ease;
}

.archive-table tbody tr:hover .archive-table-cta {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
}

/* ==== EMPTY STATE & LOAD MORE ==== */
.archive-empty-state {
    width: 100%;
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
}
.archive-empty-state i {
    font-size: 2.6rem;
    color: #94a3b8;
    margin-bottom: 0.85rem;
}
.archive-empty-state h3 {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}
.archive-empty-state p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.load-more-container {
    text-align: center;
    margin-top: 2.5rem;
}

.load-more-btn {
    background: #ffffff;
    color: #0f172a;
    border: 2px solid #0f172a;
    padding: 0.88rem 2.4rem;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.load-more-count {
    color: #64748b;
    font-weight: 700;
}

.load-more-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.load-more-btn:hover .load-more-count {
    color: #dbeafe;
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==== RESPONSIVE BREAKPOINTS FOR ARCHIVE VIEWS ==== */
@media (max-width: 1024px) {
    .news-archive-container.view-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem;
    }
    .archive-card-list {
        grid-template-columns: 240px 1fr;
    }
    .archive-list-media {
        width: 240px;
    }
    .archive-list-cta {
        display: none;
    }
}

@media (max-width: 720px) {
    .archive-card-list {
        grid-template-columns: 1fr;
    }
    .archive-list-media {
        width: 100%;
        border-right: none;
        border-bottom: 3px solid var(--accent-blue);
    }
    .archive-list-body {
        padding: 1.25rem 1.3rem 1.35rem;
    }
    .toolbar-search-wrapper {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .news-archive-container.view-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .archive-table-thumb {
        display: none;
    }
}

/* FOOTER ATHLETICS EXTERNAL LINK */
.footer-athletics-link {
    color: #e2e8f0;
    text-decoration: none;
    transition: color var(--transition-smooth);
}
.footer-athletics-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Badge styling for all views */
.sport-badge {
    background: #e2e8f0;
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 0.8rem;
    border-radius: 99px;
    display: inline-block;
}

/* IU-STYLE BOXSCORE LAYOUT */
.iu-scoreboard-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.iu-scoreboard-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.iu-team-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.iu-team-name {
    font-weight: 800;
    font-size: 1.5rem;
    color: #1e293b;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.iu-score-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex: 1;
}

.iu-score-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.iu-final-badge {
    background: var(--accent-blue);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scoring-list > div:nth-child(even) {
    background-color: #f8fafc;
}

.iu-grid-sidebyside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .iu-grid-sidebyside {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .iu-scoreboard-card {
        padding: 1.15rem 1rem;
    }
    .iu-scoreboard-banner {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
        padding-bottom: 1.15rem;
    }
    .iu-team-side {
        width: auto;
        flex: 1;
        min-width: 0;
        margin-bottom: 0;
    }
    .iu-team-name {
        font-size: clamp(0.82rem, 3.2vw, 1.15rem);
        text-align: center;
    }
    .iu-score-center {
        width: auto;
        flex: 0 0 auto;
        order: 0;
        margin-bottom: 0;
        gap: 0.6rem;
    }
    .iu-score-num {
        font-size: clamp(1.85rem, 6.5vw, 2.75rem);
    }
    .iu-final-badge {
        font-size: 0.68rem;
        padding: 0.18rem 0.42rem;
    }
}

.iu-style-table {
    width: 100%;
    border-collapse: collapse;
}

.iu-style-table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 0.75rem 0.5rem;
    border-bottom: 2px solid #cbd5e1;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.iu-style-table td {
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.9rem;
}

.iu-style-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.iu-style-table tbody tr:hover {
    background-color: #f1f5f9;
}

/* Modern Typography Wrapping Enhancements */
.section-title,
.news-title,
.d1-events-main-title,
.sponsor-title,
.booster-title {
    text-wrap: balance;
}
.news-excerpt,
.footer-about,
.sponsor-subtext {
    text-wrap: pretty;
}
