/* =========================================================
   Lake Blue Streaks Football
   Main Site Stylesheet
   Records CSS pass: 20260904.01
   ========================================================= */

/* ---------- Reset / Base ---------- */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background: #f3f4f6;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: #000080;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}


/* ---------- Site Layout ---------- */

.site-wrapper {
    width: 100%;
    min-height: 100vh;
}

.container {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
}


/* ---------- Header ---------- */

.site-header {
    background: #000080;
    color: #fff;
    border-bottom: 5px solid #ffffff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 105px;
    gap: 30px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-logo {
    max-height: 85px;
    width: auto;
}

.site-title-group {
    line-height: 1.15;
}

.site-title {
    margin: 0;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

.site-tagline {
    margin: 6px 0 0;
    color: #fff;
    font-size: 0.95rem;
}


/* ---------- Navigation ---------- */

.main-nav {
    background: #000080;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
    background: #fff;
    color: #000080;
}


/* ---------- Main Content ---------- */

.site-main {
    padding: 30px 0 45px;
}

.content-panel {
    background: #fff;
    border: 1px solid #ddd;
    padding: 25px;
    margin-bottom: 25px;
}

.page-title {
    margin: 0 0 22px;
    padding-bottom: 10px;
    border-bottom: 3px solid #000080;
    color: #000080;
    font-size: 1.8rem;
}

.section-title {
    margin: 0 0 15px;
    color: #000080;
    font-size: 1.35rem;
}


/* ---------- Grid / Cards ---------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    border: 1px solid #d7d7d7;
    padding: 20px;
}

.card h2,
.card h3 {
    margin-top: 0;
    color: #000080;
}

.card p:last-child {
    margin-bottom: 0;
}


/* ---------- Highlight / Stat Boxes ---------- */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.stat-box {
    background: #000080;
    color: #fff;
    text-align: center;
    padding: 20px 12px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.stat-label {
    display: block;
    margin-top: 6px;
    font-size: 0.9rem;
}


/* ---------- Tables ---------- */

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.data-table th,
.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background: #000080;
    color: #fff;
    font-weight: 700;
}

.data-table tbody tr:nth-child(even) {
    background: #f5f5f5;
}

.data-table tbody tr:hover {
    background: #e9eef8;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}


/* ---------- Record / Score Styling ---------- */

.win {
    color: #137333;
    font-weight: 700;
}

.loss {
    color: #b3261e;
    font-weight: 700;
}

.tie {
    color: #555;
    font-weight: 700;
}

.score {
    white-space: nowrap;
    font-weight: 700;
}


/* ---------- Buttons ---------- */

.button,
button,
input[type="submit"] {
    display: inline-block;
    padding: 10px 18px;
    border: 0;
    background: #000080;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    background: #000080;
    color: #fff;
    text-decoration: none;
}


/* ---------- Forms ---------- */

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    max-width: 100%;
    padding: 9px 10px;
    border: 1px solid #aaa;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    min-height: 120px;
    resize: vertical;
}


/* ---------- Utility Classes ---------- */

.notice {
    padding: 14px 16px;
    margin-bottom: 20px;
    border-left: 4px solid #000080;
    background: #eef3fb;
}

.success {
    border-left-color: #2e7d32;
    background: #edf7ed;
}

.warning {
    border-left-color: #c77700;
    background: #fff7e6;
}

.error {
    border-left-color: #b3261e;
    background: #fceeee;
}

.muted {
    color: #666;
}

.small {
    font-size: 0.875rem;
}


/* ---------- Footer ---------- */

.site-footer {
    margin-top: 30px;
    padding: 22px 0;
    background: #000080;
    color: #fff;
    text-align: center;
    font-size: 0.875rem;
}

.site-footer p {
    margin: 0;
}


/* ---------- Responsive ---------- */

@media (max-width: 900px) {

    .header-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 20px 0;
    }

    .site-branding {
        flex-direction: column;
    }

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

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


@media (max-width: 600px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 96%;
    }

    .site-title {
        font-size: 1.6rem;
    }

    .main-nav ul {
        display: block;
    }

    .main-nav a {
        padding: 11px 14px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .site-main {
        padding-top: 18px;
    }

    .content-panel {
        padding: 16px;
    }

    .card-grid,
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 1.5rem;
    }
}

/* =========================================================
   Records Section
   Shared compact styling aligned with Schedule presentation
   Version 20260904.02
   ========================================================= */

.content-panel.records-shell {
    padding: 18px 20px;
    margin-bottom: 16px;
}

.records-shell {
    font-size: 13px;
    line-height: 1.35;
}

.records-shell .page-title {
    margin: 0 0 8px;
    padding-bottom: 7px;
    border-bottom-width: 2px;
    font-size: 22px;
    line-height: 1.15;
}


/* Shared Records tab navigation */
.records-shell .records-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 10px;
    padding: 0 0 8px;
    border-bottom: 1px solid #d6d9df;
}

.records-shell .records-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 5px 9px;
    border: 1px solid #cbd0d8;
    border-radius: 3px;
    background: #f5f6f8;
    color: #000080;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.records-shell .records-tabs a:hover {
    background: #e9eef8;
    border-color: #9aa8bd;
    color: #000080;
    text-decoration: none;
}

.records-shell .records-tabs a.active,
.records-shell .records-tabs a[aria-current="page"] {
    background: #000080;
    border-color: #000080;
    color: #fff;
}

.records-shell .section-title {
    margin: 0 0 9px;
    font-size: 15px;
    line-height: 1.2;
}

.records-shell > p:first-of-type,
.records-shell .page-title + p {
    margin-top: 0;
}

.records-shell p {
    margin-top: 8px;
    margin-bottom: 8px;
}

.records-shell .button,
.records-shell button {
    padding: 7px 11px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.15;
}

.records-shell .table-wrap {
    overflow-x: auto;
}

.records-shell .data-table {
    font-size: 12px;
}

.records-shell .data-table th,
.records-shell .data-table td {
    padding: 5px 7px;
    vertical-align: middle;
}

.records-shell .data-table th {
    font-size: 10px;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: .035em;
    white-space: nowrap;
}

.records-shell .data-table tbody tr:nth-child(even) {
    background: #f5f6f8;
}

.records-shell .data-table tbody tr:hover {
    background: #e9eef8;
}

.records-shell .version-note {
    margin: 8px 0 0;
    font-size: 10px;
    opacity: .55;
}

/* Records landing page */
.records-shell .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border: 1px solid #d6d9df;
    border-radius: 4px;
    overflow: hidden;
}

.records-shell .stat-box {
    background: #fff;
    color: #222;
    padding: 7px 8px;
    border-right: 1px solid #d6d9df;
}

.records-shell .stat-box:last-child {
    border-right: 0;
}

.records-shell .stat-number {
    font-size: 16px;
    line-height: 1.1;
    font-weight: 800;
}

.records-shell .stat-label {
    margin-top: 1px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .7;
}

.records-shell .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.records-shell .card {
    padding: 12px 13px;
    border-color: #d6d9df;
    border-radius: 4px;
}

.records-shell .card h3 {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.15;
}

.records-shell .card p {
    margin: 0 0 9px;
    font-size: 12px;
    line-height: 1.3;
}

/* Shared Records summary strips */
.records-shell .opponent-summary,
.records-shell .game-results-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid #d6d9df;
    border-radius: 4px;
    overflow: hidden;
    margin: 0;
}

.records-shell .opponent-summary .summary-cell,
.records-shell .game-results-summary .summary-cell {
    padding: 6px 8px;
    text-align: center;
    border-right: 1px solid #d6d9df;
}

.records-shell .opponent-summary .summary-cell:last-child,
.records-shell .game-results-summary .summary-cell:last-child {
    border-right: 0;
}

.records-shell .summary-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .7;
}

.records-shell .summary-value {
    display: block;
    margin-top: 1px;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 800;
}

/* Shared Records filter controls */
.records-shell .opponent-tools,
.records-shell .game-results-tools {
    display: grid;
    gap: 10px;
    align-items: end;
    margin: 0 0 10px;
}

.records-shell .opponent-tools {
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
}

.records-shell .game-results-tools {
    grid-template-columns: minmax(220px, 1fr) minmax(150px, .7fr) minmax(190px, .9fr) auto;
}

.records-shell .tool-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.records-shell .tool-group label {
    font-size: 11px;
    font-weight: 700;
}

.records-shell .opponent-tools input,
.records-shell .opponent-tools select,
.records-shell .game-results-tools input,
.records-shell .game-results-tools select {
    width: 100%;
    min-height: 33px;
    padding: 5px 8px;
    border: 1px solid #cfd4dc;
    border-radius: 3px;
    background: #fff;
    font: inherit;
    font-size: 12px;
}

.records-shell .opponent-tools .button,
.records-shell .game-results-tools .button {
    min-height: 33px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.records-shell .opponent-result-count,
.records-shell .game-result-count {
    margin: -1px 0 8px;
    font-size: 11px;
}

.records-shell .data-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.records-shell .data-table th.sortable .sort-indicator {
    display: inline-block;
    width: 11px;
    margin-left: 3px;
    font-size: 9px;
    opacity: .7;
}

.records-shell .data-table tr.is-hidden {
    display: none;
}

.records-shell .game-results-table .result-cell,
.records-shell .game-results-table .score-cell,
.records-shell .game-results-table .location-cell,
.records-shell .game-results-table .year-cell {
    text-align: center;
    white-space: nowrap;
}

.records-shell .game-results-table .opponent-cell strong {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .records-shell .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .records-shell .game-results-tools {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .content-panel.records-shell {
        padding: 14px;
        margin-bottom: 12px;
    }

    .records-shell .page-title {
        font-size: 19px;
    }


    .records-shell .records-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        margin-left: -2px;
        margin-right: -2px;
        padding: 0 2px 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .records-shell .records-tabs a {
        flex: 0 0 auto;
    }

    .records-shell .stat-grid,
    .records-shell .opponent-summary,
    .records-shell .game-results-summary {
        grid-template-columns: repeat(5, minmax(82px, 1fr));
        overflow-x: auto;
    }

    .records-shell .stat-grid {
        grid-template-columns: repeat(4, minmax(88px, 1fr));
    }

    .records-shell .card-grid,
    .records-shell .opponent-tools,
    .records-shell .game-results-tools {
        grid-template-columns: 1fr;
    }

    .records-shell .opponent-tools .button,
    .records-shell .game-results-tools .button {
        width: 100%;
    }
}


/* ============================================================
   Videos - archive, season and player pages
   Version 20260904.01
   ============================================================ */

.content-panel.videos-shell {
    padding: 18px 20px;
    margin-bottom: 16px;
}

.videos-shell .page-title {
    margin-bottom: 10px;
    padding-bottom: 7px;
    font-size: 22px;
    border-bottom-width: 2px;
}

.videos-shell .section-title {
    margin-bottom: 10px;
    font-size: 17px;
}

.videos-shell .muted {
    font-size: 12px;
}

.videos-shell .version-note {
    margin: 10px 0 0;
    font-size: 10px;
    opacity: .55;
}

.video-intro {
    margin: 10px 0 0;
}

.video-archive-summary {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    border: 1px solid #d6d9df;
    border-radius: 4px;
    overflow: hidden;
}

.video-archive-summary > div {
    padding: 7px 14px;
    text-align: center;
    border-right: 1px solid #d6d9df;
}

.video-archive-summary > div:last-child {
    border-right: 0;
}

.video-archive-summary strong,
.video-archive-summary span {
    display: block;
}

.video-archive-summary strong {
    font-size: 16px;
    line-height: 1.1;
}

.video-archive-summary span {
    margin-top: 2px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .7;
}

.video-season-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.video-season-card,
.video-game-card,
.video-related-card {
    color: inherit;
    text-decoration: none;
}

.video-season-card {
    overflow: hidden;
    border: 1px solid #d6d9df;
    border-radius: 4px;
    background: #fff;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.video-season-card:hover,
.video-game-card:hover {
    transform: translateY(-1px);
    border-color: #9aa9c4;
    box-shadow: 0 2px 7px rgba(0, 0, 128, .10);
}

.video-season-card > img,
.video-cover-fallback {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000080;
}

.video-cover-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-bottom: 1px solid #d6d9df;
}

.video-cover-fallback span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.video-cover-fallback strong {
    margin-top: 3px;
    font-size: 30px;
    line-height: 1;
}

.video-season-card-body {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 7px 9px;
}

.video-season-card-body strong {
    color: #000080;
    font-size: 14px;
}

.video-season-card-body span {
    font-size: 10px;
    color: #666;
    white-space: nowrap;
}

.video-page-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.video-page-heading .page-title {
    margin-bottom: 5px;
}

.video-page-heading p {
    margin: 0;
}

.video-page-heading .button {
    flex: 0 0 auto;
    margin-top: 1px;
}

.video-season-note {
    margin-top: 10px;
    padding: 7px 9px;
    border-left: 3px solid #000080;
    background: #f5f6f8;
    font-size: 11px;
}

.video-game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.video-game-card {
    overflow: hidden;
    border: 1px solid #d6d9df;
    border-radius: 4px;
    background: #fff;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
}

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

.video-play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(0, 0, 0, .48);
    color: #fff;
    font-size: 17px;
    line-height: 1;
    padding-left: 2px;
}

.video-game-card-body {
    padding: 8px 9px;
}

.video-game-card-body strong,
.video-game-card-body span {
    display: block;
}

.video-game-card-body strong {
    color: #000080;
    font-size: 12px;
    line-height: 1.25;
}

.video-game-card-body span {
    margin-top: 4px;
    color: #777;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.video-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 12px;
    overflow: hidden;
    background: #000;
    border-radius: 3px;
}

.video-player-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.video-media-grid.single {
    grid-template-columns: minmax(0, 700px);
}

.video-media-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid #d6d9df;
    border-radius: 4px;
    background: #f7f7f7;
}

.video-media-card a {
    display: block;
    background: #eee;
}

.video-media-card img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.video-media-card figcaption {
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #000080;
}

.video-prev-next {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
}

.video-prev-next > div {
    min-width: 0;
}

.video-prev-next .next {
    text-align: right;
}

.video-prev-next span {
    display: block;
    margin-bottom: 2px;
    color: #777;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.video-prev-next a {
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.video-related-title {
    margin-top: 0;
}

.video-related-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.video-related-card {
    min-width: 0;
}

.video-related-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid #d6d9df;
    border-radius: 3px;
}

.video-related-card strong {
    display: block;
    margin-top: 4px;
    color: #000080;
    font-size: 10px;
    line-height: 1.2;
}


/* Videos layout refinement 20260904.04 */
.video-season-card-body {
    min-height: 38px;
}

.video-game-card-body {
    min-height: 52px;
}

.video-game-card-body strong {
    font-size: 13px;
}

.video-game-card-body span {
    margin-top: 5px;
}

@media (max-width: 1000px) {
    .video-season-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .video-game-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .video-related-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .video-season-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-related-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .video-media-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .content-panel.videos-shell {
        padding: 14px;
        margin-bottom: 12px;
    }

    .videos-shell .page-title {
        font-size: 19px;
    }

    .video-archive-summary {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .video-archive-summary > div {
        padding: 6px 4px;
    }

    .video-season-grid,
    .video-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .video-related-strip {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .video-related-card {
        flex: 0 0 145px;
    }

    .video-page-heading {
        display: block;
    }

    .video-page-heading .button {
        margin-top: 9px;
    }

    .video-prev-next {
        gap: 10px;
    }
}

/* =========================================================
   Video image lightbox - 20260904.05
   ========================================================= */

.video-media-lightbox-trigger {
    position: relative;
    cursor: zoom-in;
}

.video-media-expand {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 8px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.video-media-lightbox-trigger:hover .video-media-expand,
.video-media-lightbox-trigger:focus .video-media-expand {
    opacity: 1;
}

body.video-lightbox-open {
    overflow: hidden;
}

.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 44px 72px;
    background: rgba(0, 0, 0, 0.88);
}

.video-lightbox.is-open {
    display: flex;
}

.video-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(1400px, 94vw);
    max-height: 92vh;
}

.video-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 46px);
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45);
}

.video-lightbox-caption {
    width: 100%;
    padding-top: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.video-lightbox-close,
.video-lightbox-nav {
    position: fixed;
    border: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
}

.video-lightbox-close {
    top: 14px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 31px;
    line-height: 38px;
}

.video-lightbox-nav {
    top: 50%;
    width: 46px;
    height: 64px;
    transform: translateY(-50%);
    border-radius: 4px;
    font-size: 30px;
}

.video-lightbox-prev {
    left: 14px;
}

.video-lightbox-next {
    right: 14px;
}

.video-lightbox-close:hover,
.video-lightbox-close:focus,
.video-lightbox-nav:hover,
.video-lightbox-nav:focus {
    background: rgba(0, 51, 153, 0.95);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 700px) {
    .video-lightbox {
        padding: 54px 12px 24px;
    }

    .video-lightbox-content {
        max-width: 100%;
        max-height: 88vh;
    }

    .video-lightbox-content img {
        max-height: calc(88vh - 44px);
    }

    .video-lightbox-nav {
        top: auto;
        bottom: 14px;
        width: 42px;
        height: 42px;
        transform: none;
        border-radius: 50%;
        font-size: 24px;
    }

    .video-lightbox-prev {
        left: 14px;
    }

    .video-lightbox-next {
        right: 14px;
    }
}

/* =========================================================
   Shared Header / Footer Enhancements
   Version 20260904.07
   ========================================================= */

.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.header-social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(0,0,128,.55);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.header-social-link:hover {
    border-color: #fff;
    background: #000080;
    text-decoration: none;
}

.header-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.header-social-link.youtube svg {
    width: 20px;
}

.site-footer {
    margin-top: 30px;
    padding: 0;
    background: #000080;
    color: #fff;
    text-align: left;
    font-size: 0.82rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr .75fr;
    gap: 34px;
    padding: 24px 0 20px;
}

.footer-block h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.footer-block a {
    display: block;
    width: fit-content;
    margin: 4px 0;
    color: #dbe6ff;
    font-size: 12px;
}

.footer-block a:hover {
    color: #fff;
}

.footer-legal {
    padding: 14px 0 18px;
    border-top: 1px solid rgba(255,255,255,.18);
    color: #c8d5ef;
    text-align: center;
    font-size: 10px;
    line-height: 1.45;
}

.site-footer .footer-legal p {
    margin: 0;
}

.site-footer .footer-legal p + p {
    margin-top: 6px;
}

@media (max-width: 900px) {
    .header-social {
        margin-top: -6px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 30px;
    }
}

@media (max-width: 600px) {
    .header-social-link span {
        display: none;
    }

    .header-social-link {
        justify-content: center;
        width: 38px;
        padding: 7px;
    }

    .main-nav ul {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .main-nav li {
        flex: 0 0 auto;
    }

    .main-nav a {
        border-bottom: 0;
        white-space: nowrap;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px 4px 16px;
    }

    .footer-legal {
        padding-left: 4px;
        padding-right: 4px;
        text-align: left;
    }
}


/* =========================================================
   Compact Header / Footer + Home Bottom Row
   Version 20260904.07
   ========================================================= */

/* Compact shared header */
.site-header {
    border-bottom-width: 3px;
}

.header-inner {
    min-height: 72px;
    gap: 16px;
}

.site-title {
    font-size: 1.65rem;
    line-height: 1.05;
}

.site-tagline {
    margin-top: 3px;
    font-size: .78rem;
}

.header-social {
    gap: 6px;
}

.header-social-link,
.header-social-link.youtube {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    min-height: 0;
    padding: 4px;
    border: 0;
    border-radius: 2px;
    background: #000080;
    color: #fff;
}

.header-social-link:hover {
    background: #fff;
    color: #000080;
}

.header-social-link svg,
.header-social-link.youtube svg {
    width: 16px;
    height: 16px;
}

/* Compact footer */
.site-footer {
    margin-top: 20px;
    font-size: 11px;
}

.footer-grid {
    grid-template-columns: 1fr 1.45fr .7fr;
    gap: 22px;
    padding: 11px 0 8px;
}

.footer-block h2 {
    margin-bottom: 4px;
    font-size: 9px;
    letter-spacing: .05em;
}

.footer-block a {
    margin: 1px 0;
    font-size: 10px;
    line-height: 1.35;
}

.footer-legal {
    padding: 7px 0 9px;
    font-size: 8.5px;
    line-height: 1.3;
}

.site-footer .footer-legal p + p {
    margin-top: 3px;
}

/* Put Memory Lane and Record Book spotlight side-by-side */
.home-bottom-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-bottom-row.single {
    grid-template-columns: 1fr;
}

.home-bottom-row > .content-panel {
    margin-bottom: 16px;
}

.home-memory-card {
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
}

.home-memory-thumb,
.home-memory-thumb img {
    min-height: 92px;
}

.home-memory-body {
    padding: 11px 12px 11px 0;
}

.home-memory-body h2 {
    font-size: 15px;
}

.home-memory-meta {
    margin: 4px 0 7px;
}

.home-memory-play {
    width: 34px;
    height: 34px;
    font-size: 14px;
}

.home-spotlight {
    grid-template-columns: 145px minmax(0, 1fr);
    min-width: 0;
}

.home-spotlight-label {
    padding: 12px;
}

.home-spotlight-label strong {
    font-size: 15px;
}

.home-spotlight-body {
    gap: 10px;
    padding: 11px 13px;
}

.home-spotlight-record strong {
    font-size: 18px;
}

.home-spotlight-record .spotlight-number {
    font-size: 13px;
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        min-height: 68px;
        padding: 0;
    }

    .site-branding {
        flex-direction: row;
    }

    .header-social {
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1.4fr .7fr;
        gap: 14px;
    }

    .home-bottom-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 600px) {
    .header-inner {
        min-height: 62px;
        gap: 8px;
    }

    .site-title {
        font-size: 1.35rem;
    }

    .site-tagline {
        font-size: .68rem;
    }

    .header-social-link,
    .header-social-link.youtube {
        width: 25px;
        height: 25px;
        padding: 4px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px 18px;
        padding: 10px 2px 7px;
    }

    .footer-follow {
        grid-column: 1 / -1;
    }

    .footer-follow a {
        display: inline-block;
        margin-right: 12px;
    }

    .footer-legal {
        padding: 6px 2px 8px;
        text-align: left;
    }

    .home-memory-card,
    .home-spotlight {
        grid-template-columns: 125px minmax(0, 1fr);
    }

    .home-memory-thumb,
    .home-memory-thumb img {
        min-height: 86px;
        max-height: none;
    }

    .home-memory-body {
        padding: 9px 9px 9px 0;
    }

    .home-spotlight-label {
        padding: 9px;
    }

    .home-spotlight-body {
        padding: 9px;
    }
}


/* =========================================================
   Lake Branding + Federal League Logos
   Version 20260904.08
   ========================================================= */

/* Use the long-running Lake custom wordmark while keeping the
   compact header dimensions established in the prior revision. */
.site-header {
    background: #000080;
}

.header-inner {
    min-height: 78px;
    padding: 5px 0;
}

.site-branding,
.site-brand-link {
    min-width: 0;
}

.site-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-wordmark {
    display: block;
    width: min(720px, calc(100vw - 180px));
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.header-social {
    gap: 5px;
}

.header-social-link,
.header-social-link.youtube {
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.header-social-link:hover,
.header-social-link:focus {
    border: 0;
    background: transparent;
    opacity: .78;
}

.header-social-link img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.header-social-link.youtube img {
    width: 27px;
}

/* Current Federal League opponents — six schools besides Lake. */
.federal-current-opponents {
    margin-top: 10px;
    padding: 9px 10px 7px;
    border: 1px solid #d6d9df;
    border-top: 3px solid #000080;
    border-radius: 3px;
    background: #f8f9fb;
}

.federal-opponents-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.federal-opponents-heading strong {
    color: #000080;
    font-size: 12px;
}

.federal-opponents-heading span {
    color: #777;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.federal-logo-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    gap: 6px;
}

.federal-logo-team {
    display: flex;
    min-width: 0;
    min-height: 92px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 5px 4px;
    border: 1px solid #e0e3e8;
    background: #fff;
}

.federal-logo-team img {
    display: block;
    width: auto;
    height: 58px;
    max-width: 88px;
    object-fit: contain;
}

.federal-logo-team span {
    display: block;
    margin-top: 4px;
    color: #333;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 72px;
        padding: 5px 0;
    }

    .site-wordmark {
        width: min(650px, calc(100vw - 150px));
        max-height: 52px;
    }

    .federal-logo-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .header-inner {
        min-height: 62px;
    }

    .site-wordmark {
        width: calc(100vw - 105px);
        max-height: 43px;
    }

    .header-social-link img {
        width: 21px;
        height: 21px;
    }

    .header-social-link.youtube img {
        width: 23px;
    }

    .federal-opponents-heading {
        display: block;
    }

    .federal-opponents-heading span {
        display: block;
        margin-top: 2px;
    }

    .federal-logo-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    .federal-logo-team {
        min-height: 78px;
    }

    .federal-logo-team img {
        height: 48px;
        max-width: 72px;
    }
}


/* =========================================================
   Federal League Current Teams + Lake Emphasis
   Version 20260904.09
   ========================================================= */
.federal-logo-strip-seven {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.federal-logo-team-lake {
    border-color: #b9c9ec;
    background: #f3f6fd;
}

.federal-logo-team-lake img {
    height: 62px;
    max-width: 92px;
}

.federal-logo-team-lake span {
    color: #000080;
}

@media (max-width: 1000px) {
    .federal-logo-strip-seven {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .federal-logo-strip-seven {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   Unified Lake Navy Branding
   Version 20260904.10
   Primary site blue: #000080
   ========================================================= */

:root {
    --lake-blue: #000080;
}

/* Shared site chrome */
.site-header,
.main-nav,
.site-footer {
    background: var(--lake-blue);
}

/* Navigation */
.main-nav a:hover,
.main-nav a.active {
    color: var(--lake-blue);
}

/* Shared page headings */
.page-title,
.section-title,
.content-panel h1,
.content-panel h2,
.content-panel h3 {
    border-color: var(--lake-blue);
}

/* Common Lake-blue text / borders */
.page-title,
.section-title,
.card h2,
.card h3,
.stat-section-title,
.stat-menu a,
.records-tabs a,
.home-panel-title h2,
.home-matchup,
.home-season-stat strong,
.home-latest-copy .scoreline,
.home-leader-name,
.home-explore-card strong,
.home-memory-body h2,
.home-spotlight-record strong,
.federal-opponents-heading strong,
.federal-logo-team-lake span {
    color: var(--lake-blue);
}

/* Common Lake-blue fills */
.button,
button,
input[type="submit"],
input[type="button"],
.records-tabs a.active,
.stat-menu a.active,
.home-hero-band,
.home-result-badge,
.home-memory-play,
.home-spotlight-label {
    background: var(--lake-blue);
    border-color: var(--lake-blue);
}

/* Common accent borders */
.page-title,
.home-panel-title,
.home-explore-card,
.federal-current-opponents {
    border-color: var(--lake-blue);
}

/* Keep normal neutral card borders intact where the rule above
   is not intended to change the full box border. */
.home-panel-title {
    border-left: 0;
    border-right: 0;
    border-top: 0;
}
.home-explore-card {
    border-left-color: #d6dbe3;
    border-right-color: #d6dbe3;
    border-bottom-color: #d6dbe3;
    border-top-color: var(--lake-blue);
}
.federal-current-opponents {
    border-left-color: #d6d9df;
    border-right-color: #d6d9df;
    border-bottom-color: #d6d9df;
    border-top-color: var(--lake-blue);
}


/* =========================================================
   Federal League Team Logo Band
   Version 20260904.11
   ========================================================= */

.federal-teams-panel {
    margin-top: 12px;
    border: 1px solid #d7dce4;
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
}

.federal-teams-title {
    padding: 7px 12px;
    background: #000080;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.federal-teams-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: stretch;
    padding: 13px 5px 10px;
}

.federal-team {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 8px;
    border-right: 1px solid #e1e4e9;
    text-align: center;
}

.federal-team:last-child {
    border-right: 0;
}

.federal-team-logo {
    display: flex;
    width: 100%;
    height: 84px;
    align-items: center;
    justify-content: center;
}

.federal-team-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 105px;
    max-height: 78px;
    object-fit: contain;
}

.federal-team:first-child .federal-team-logo img {
    max-width: 91px;
    max-height: 82px;
}

.federal-team strong {
    display: block;
    margin-top: 6px;
    color: #000080;
    font-size: 11px;
    line-height: 1.1;
}

@media (max-width: 980px) {
    .federal-teams-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 14px;
    }

    .federal-team {
        border-right: 1px solid #e1e4e9;
    }

    .federal-team:nth-child(4),
    .federal-team:last-child {
        border-right: 0;
    }
}

@media (max-width: 620px) {
    .federal-teams-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 10px 4px;
    }

    .federal-team,
    .federal-team:nth-child(4) {
        padding: 5px 4px 9px;
        border-right: 1px solid #e1e4e9;
    }

    .federal-team:nth-child(even),
    .federal-team:last-child {
        border-right: 0;
    }

    .federal-team-logo {
        height: 70px;
    }

    .federal-team-logo img {
        max-width: 90px;
        max-height: 66px;
    }
}


/* =========================================================
   FINAL SITE-WIDE LAKE NAVY OVERRIDE
   Version 20260904.12
   Exact header/logo background blue: #000080

   !important is intentional here: several older pages contain
   page-local <style> blocks loaded after the shared stylesheet.
   This keeps all Lake-blue branding uniform without rewriting
   every working PHP page.
   ========================================================= */

:root {
    --lake-blue: #000080;
}

/* Site chrome */
.site-header,
.main-nav,
.site-footer {
    background-color: var(--lake-blue) !important;
}

/* Primary blue fills used throughout public pages */
.home-hero-band,
.home-result-badge,
.home-memory-play,
.home-spotlight-label,
.federal-teams-title,
.records-tabs a.active,
.stat-menu a.active,
.button,
a.button,
button,
input[type="submit"],
input[type="button"] {
    background-color: var(--lake-blue) !important;
    border-color: var(--lake-blue) !important;
}

/* Primary headings / linked statistics / record accents */
.page-title,
.section-title,
.content-panel h1,
.content-panel h2,
.content-panel h3,
.home-panel-title h2,
.home-matchup,
.home-season-stat strong,
.home-latest-copy .scoreline,
.home-leader-name,
.home-explore-card strong,
.home-memory-body h2,
.home-spotlight-record strong,
.federal-team strong,
.records-tabs a,
.stat-menu a {
    color: var(--lake-blue) !important;
}

/* Lake-blue rules and accent lines */
.page-title,
.section-title,
.home-panel-title,
.home-explore-card,
.federal-current-opponents,
.federal-teams-panel,
.records-tabs,
.stat-menu {
    border-color: var(--lake-blue) !important;
}

.home-panel-title {
    border-bottom-color: var(--lake-blue) !important;
}

.home-explore-card {
    border-left-color: #d6dbe3 !important;
    border-right-color: #d6dbe3 !important;
    border-bottom-color: #d6dbe3 !important;
    border-top-color: var(--lake-blue) !important;
}

/* Common table/header treatments used in Records/Stats pages */
.records-table thead th,
.stats-table thead th,
.stat-table thead th,
.schedule-table thead th,
.data-table thead th,
table.record-table thead th {
    background-color: var(--lake-blue) !important;
    border-color: var(--lake-blue) !important;
    color: #fff !important;
}

/* Keep active navigation white background with Lake navy text */
.main-nav a.active,
.main-nav a:hover {
    color: var(--lake-blue) !important;
}

/* Preserve white text on Lake-blue controls */
.button,
a.button,
button,
input[type="submit"],
input[type="button"],
.records-tabs a.active,
.stat-menu a.active,
.home-hero-band,
.home-result-badge,
.home-memory-play,
.home-spotlight-label,
.federal-teams-title {
    color: #fff !important;
}
