.hof-db-nav {
    margin: 18px 0 12px;
    padding: 14px;
    border: 1px solid #c7c7c7;
    background: #f1f1f1;
}

.hof-db-nav-title {
    margin-bottom: 9px;
    color: #333;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.hof-db-class-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.hof-db-class-btn {
    border: 1px solid #bcbcbc;
    background: #fff;
    color: #111;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.hof-db-class-btn:hover,
.hof-db-class-btn.active {
    background: #0b4f82;
    border-color: #0b4f82;
    color: #fff;
}

.hof-db-coach-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 31px;
}

.hof-db-coach-link {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #c9c9c9;
    border-radius: 14px;
    background: #fff;
    color: #111 !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
}

.hof-db-coach-link:hover {
    background: #e5e5e5;
}

.hof-db-empty {
    color: #777;
    font-size: 11px;
}


.hof-history-hero {
    position: relative;
    width: min(800px, 100%);
    margin: 4px auto 18px;
    overflow: hidden;
    border: 1px solid #2b2b2b;
    background: #111;
}

.hof-history-hero-image {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(.48) contrast(1.05);
}

.hof-history-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.48)),
        radial-gradient(circle at 50% 45%, rgba(0,0,0,.06), rgba(0,0,0,.38));
}

.hof-history-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: #fff;
}

.hof-history-kicker {
    color: #d7a154;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.hof-history-title {
    margin-top: 5px;
    font-size: clamp(30px, 5vw, 54px);
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 3px 12px rgba(0,0,0,.65);
}

.hof-history-subtitle {
    margin-top: 4px;
    color: #e5e5e5;
    font-size: 14px;
    font-style: italic;
}

.hof-history-stats {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.hof-history-stat {
    min-width: 125px;
    padding: 8px 14px;
    border: 1px solid rgba(213,163,89,.55);
    background: rgba(0,0,0,.48);
}

.hof-history-stat strong {
    display: block;
    color: #e3b05f;
    font-size: 24px;
    line-height: 1;
}

.hof-history-stat span {
    display: block;
    margin-top: 4px;
    color: #ddd;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.hof-logo-row {
    text-align: center;
    margin: 0 0 12px;
}

.hof-main-logo {
    width: 220px;
    max-width: 70%;
    height: auto;
}

.hof-selected-class-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #d1d1d1;
}

.hof-selected-class-header span {
    color: #777;
    font-size: 9px;
    font-weight: 700;
}

.hof-selected-class-header strong {
    color: #0b4f82;
    font-size: 14px;
}

.hof-db-coach-row {
    margin-top: 8px;
}

.hof-selected-plaques {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.hof-selected-plaque-card {
    display: block;
    border: 1px solid #c9c9c9;
    background: #fff;
    color: #111 !important;
    text-decoration: none !important;
}

.hof-selected-plaque-image-wrap {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #161616;
}

.hof-selected-plaque-image {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
}

.hof-selected-plaque-info {
    padding: 10px 12px 12px;
    border-top: 3px solid #0b4f82;
}



@media (max-width: 650px) {
    .hof-history-stats {
        flex-direction: column;
        width: 170px;
    }

    .hof-history-title {
        font-size: 30px;
    }

    .hof-history-subtitle {
        font-size: 12px;
    }
}

@media (max-width: 700px) {
    .hof-db-class-btn {
        flex: 1 1 calc(25% - 5px);
        text-align: center;
    }
}


/* =========================================================
   MODERN HOF PAGE BACKGROUND
   Keeps the standard MOF white content card, but removes
   the oversized Hall of Fame logo background.
   ========================================================= */

body.hof-uniform-modern-bg {
    background:
        radial-gradient(circle at 50% -10%, rgba(37, 78, 113, .28), transparent 32%),
        linear-gradient(180deg, #10151b 0%, #171c22 48%, #0d1116 100%) !important;
    background-attachment: fixed !important;
}

body.hof-uniform-modern-bg:before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.018) 50%, transparent 62%),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,.012) 0,
            rgba(255,255,255,.012) 1px,
            transparent 1px,
            transparent 8px
        );
}

body.hof-uniform-modern-bg #column_container {
    background: transparent !important;
}

body.hof-uniform-modern-bg .card {
    box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

/* Selected plaque info: clean one-line footer without SPAN elements */
.hof-selected-plaque-info {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    min-height: 44px;
    padding: 10px 13px !important;
    border-top: 3px solid #0b4f82;
    background: #f4f1ea;
    white-space: nowrap;
    overflow: hidden;
}

.hof-selected-plaque-name {
    flex: 0 1 auto;
    min-width: 0;
    color: #181818;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .1px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hof-selected-plaque-meta {
    flex: 0 0 auto;
    color: #77716a;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .2px;
}

/* Slightly more polished plaque cards without changing the current structure */
.hof-selected-plaque-card {
    overflow: hidden;
    box-shadow: 0 7px 18px rgba(0,0,0,.10);
    transition: transform .15s ease, box-shadow .15s ease;
}

.hof-selected-plaque-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.hof-selected-plaque-image-wrap {
    background:
        radial-gradient(circle at 50% 38%, rgba(107,76,40,.13), transparent 35%),
        linear-gradient(180deg, #181818 0%, #111 100%);
}

@media (max-width: 650px) {
    .hof-selected-plaque-info {
        white-space: normal;
        flex-wrap: wrap;
    }

    .hof-selected-plaque-meta {
        flex-basis: auto;
    }
}

/* =========================================================
   FINAL V4 SURFACE / TYPOGRAPHY TUNING
   ========================================================= */

/* Main MOF content card: softer than pure white */
body.hof-uniform-modern-bg .card {
    background:
        linear-gradient(180deg, #efede8 0%, #e8e5df 100%) !important;
    border-color: #d0cbc2 !important;
}

/* Class navigation panel */
.hof-db-nav {
    background:
        linear-gradient(180deg, #e8e6e1 0%, #e1ded8 100%) !important;
    border-color: #c6c1b9 !important;
}

/* Plaque cards blend with the slightly warmer content area */
.hof-selected-plaque-card {
    background: #f1eee8 !important;
    border-color: #c8c3ba !important;
}

.hof-selected-plaque-info {
    background:
        linear-gradient(180deg, #f5f2ec 0%, #ece8e0 100%) !important;
}

/* Coach filter pills stay crisp but less harsh */
.hof-db-coach-link {
    background: #f8f6f2 !important;
    border-color: #c8c4bd !important;
    font-weight: 600 !important;
}

.hof-db-coach-link:hover {
    background: #e5e1d9 !important;
}

/* Slightly softer class buttons */
.hof-db-class-btn {
    background: #f7f5f1 !important;
    border-color: #c1bdb6 !important;
}

.hof-db-class-btn:hover,
.hof-db-class-btn.active {
    background: #0b4f82 !important;
    border-color: #0b4f82 !important;
    color: #fff !important;
}


/* =========================================================
   HOF CARD WIDTH + LOGO ACCENT
   ========================================================= */

/* Keep every Hall of Fame plaque card the same width.
   Classes with fewer inductees simply leave open space. */
.hof-selected-plaques {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    justify-content: start !important;
}

.hof-selected-plaque-card {
    width: 100% !important;
    min-width: 0 !important;
}

/* Add a restrained ceremonial treatment around the HOF logo area. */
.hof-logo-row {
    position: relative;
    margin: 0 auto 18px !important;
    padding: 12px 0 18px !important;
}

.hof-logo-row:before,
.hof-logo-row:after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 145px);
    height: 1px;
    background: linear-gradient(90deg, transparent, #9b784d);
}

.hof-logo-row:before {
    left: 0;
}

.hof-logo-row:after {
    right: 0;
    background: linear-gradient(90deg, #9b784d, transparent);
}

.hof-logo-row .hof-main-logo {
    position: relative;
    z-index: 2;
}

.hof-logo-row-label {
    margin-top: 7px;
    color: #6f604e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@media (max-width: 950px) {
    .hof-selected-plaques {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .hof-selected-plaques {
        grid-template-columns: 1fr !important;
    }

    .hof-logo-row:before,
    .hof-logo-row:after {
        display: none;
    }
}


/* =========================================================
   CINEMATIC HALL OF FAME INTRO
   ========================================================= */
body.hof-intro-open {
    overflow: hidden !important;
}

.hof-intro {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050505;
    opacity: 1;
    visibility: visible;
    transition: opacity .65s ease, visibility .65s ease;
}

.hof-intro.hof-intro-closing {
    opacity: 0;
}

.hof-intro.hof-intro-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hof-intro-stage {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.hof-intro-player,
.hof-intro-player iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
}

.hof-intro-stage:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 180px rgba(0,0,0,.55);
}

.hof-intro-gate {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 45%, rgba(133,87,36,.12), transparent 34%),
        linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.74));
    transition: opacity .45s ease, visibility .45s ease;
}

.hof-intro-gate.hof-intro-gate-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hof-intro-gate-inner {
    width: min(620px, 92vw);
    padding: 36px 30px 32px;
    border: 1px solid rgba(191,143,76,.45);
    background: rgba(8,8,8,.70);
    box-shadow: 0 24px 80px rgba(0,0,0,.55);
    text-align: center;
    backdrop-filter: blur(4px);
}

.hof-intro-eyebrow {
    margin-bottom: 10px;
    color: #b88a4c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.6px;
}

.hof-intro-title {
    color: #f0e2c9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: .98;
}

.hof-intro-copy {
    margin: 15px auto 22px;
    color: #d0c9bf;
    font-size: 14px;
    line-height: 1.5;
}

.hof-intro-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 190px;
    padding: 12px 20px;
    border: 1px solid #b78a50;
    background: linear-gradient(180deg, #9d713c 0%, #6f4924 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    cursor: pointer;
}

.hof-intro-play:hover {
    filter: brightness(1.12);
}

.hof-intro-skip {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.72);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
}

.hof-intro-skip:hover {
    color: #fff;
}

.hof-intro-skip-gate {
    display: block;
    margin: 16px auto 0;
}

.hof-intro-skip-live {
    position: absolute;
    right: 24px;
    bottom: 22px;
    z-index: 7;
    padding: 8px 10px;
    text-shadow: 0 1px 4px #000;
}

.hof-intro-replay-row {
    text-align: center;
    margin: -4px 0 18px;
}

.hof-intro-replay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid #9b784d;
    background: #191919;
    color: #d8b57b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
}

.hof-intro-replay-btn:hover {
    background: #28231d;
    color: #f0d6a6;
}

@media (max-width: 700px) {
    .hof-intro-gate-inner {
        padding: 28px 18px 25px;
    }

    .hof-intro-copy {
        font-size: 13px;
    }

    .hof-intro-skip-live {
        right: 12px;
        bottom: 12px;
    }
}
