.ib-hof-page {
    --hof-navy: #071d36;
    --hof-blue: #123d67;
    --hof-gold: #d99213;
    --hof-cream: #fff9ed;
    --hof-line: rgba(7, 29, 54, .11);
}

.ib-hof-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 20%, rgba(217, 146, 19, .24), transparent 30%),
        linear-gradient(135deg, #06182e 0%, #0d355e 68%, #164a78 100%);
    color: #fff;
}

.ib-hof-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .08;
    background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 22px);
}

.ib-hof-hero .ib-container {
    position: relative;
    z-index: 1;
}

.ib-hof-hero h1,
.ib-hof-hero p {
    color: #fff;
}

.ib-hof-hero p {
    max-width: 780px;
    color: rgba(255, 255, 255, .78);
}

.ib-hof-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 660px;
    margin-top: 24px;
}

.ib-hof-stat {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.ib-hof-stat strong {
    display: block;
    color: #fff;
    font-size: 1.55rem;
}

.ib-hof-stat span {
    color: rgba(255, 255, 255, .7);
    font-size: .84rem;
}

.ib-hof-filter {
    margin-top: -34px;
    position: relative;
    z-index: 3;
    border: 1px solid var(--hof-line);
    box-shadow: 0 18px 50px rgba(7, 29, 54, .1);
}

.ib-hof-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 3px 0 8px;
    scrollbar-width: thin;
}

.ib-hof-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid var(--hof-line);
    border-radius: 999px;
    background: #fff;
    color: var(--hof-navy);
    font-size: .88rem;
    font-weight: 800;
}

.ib-hof-category.is-active {
    border-color: var(--hof-navy);
    background: var(--hof-navy);
    color: #fff;
}

.ib-hof-category em {
    min-width: 24px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(217, 146, 19, .15);
    color: var(--hof-gold);
    font-style: normal;
    text-align: center;
}

.ib-hof-directory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ib-hof-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--hof-line);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ib-hof-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(7, 29, 54, .12);
}

.ib-hof-card__media {
    position: relative;
    min-height: 270px;
    background: linear-gradient(135deg, var(--hof-navy), var(--hof-blue) 68%, var(--hof-gold));
    background-position: center;
    background-size: cover;
}

.ib-hof-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 15, 29, .88), rgba(4, 15, 29, .05) 62%);
}

.ib-hof-card__identity {
    position: absolute;
    z-index: 1;
    inset-inline: 20px;
    bottom: 18px;
    color: #fff;
}

.ib-hof-card__identity h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.4rem;
}

.ib-hof-card__identity p {
    margin: 0;
    color: rgba(255, 255, 255, .76);
}

.ib-hof-card__fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .24);
    font-size: 4.5rem;
}

.ib-hof-card__body {
    padding: 18px 20px 20px;
}

.ib-hof-meta,
.ib-hof-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ib-hof-card__summary {
    min-height: 72px;
    margin: 14px 0 18px;
    color: #536273;
    line-height: 1.9;
}

.ib-hof-profile-hero {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: 30px;
    align-items: stretch;
}

.ib-hof-portrait {
    min-height: 480px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--hof-navy), var(--hof-blue) 68%, var(--hof-gold));
    background-position: center;
    background-size: cover;
    box-shadow: 0 20px 55px rgba(7, 29, 54, .16);
}

.ib-hof-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.ib-hof-fact {
    padding: 13px 15px;
    border: 1px solid var(--hof-line);
    border-radius: 16px;
    background: #f8fafc;
}

.ib-hof-fact span {
    display: block;
    color: #718096;
    font-size: .78rem;
}

.ib-hof-fact strong {
    display: block;
    margin-top: 4px;
    color: var(--hof-navy);
}

.ib-hof-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.ib-hof-prose {
    color: #354456;
    line-height: 2.05;
}

.ib-hof-prose h2,
.ib-hof-prose h3 {
    color: var(--hof-navy);
}

.ib-hof-prose img {
    max-width: 100%;
    height: auto;
}

.ib-hof-sidebar {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 112px;
}

.ib-hof-honor-list {
    display: grid;
    gap: 12px;
}

.ib-hof-honor {
    display: block;
    padding: 15px;
    border: 1px solid var(--hof-line);
    border-radius: 17px;
    background: var(--hof-cream);
    color: var(--hof-navy);
}

.ib-hof-honor strong,
.ib-hof-honor span {
    display: block;
}

.ib-hof-honor span {
    margin-top: 6px;
    color: #6b7280;
    font-size: .83rem;
}

.ib-hof-empty {
    padding: 54px 24px;
    text-align: center;
}

.ib-hof-admin-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.ib-hof-admin-stat {
    padding: 15px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 17px;
    background: #fff;
}

.ib-hof-admin-stat strong,
.ib-hof-admin-stat span {
    display: block;
}

.ib-hof-admin-stat strong {
    font-size: 1.45rem;
    color: #0f2944;
}

.ib-hof-admin-stat span {
    color: #64748b;
    font-size: .82rem;
}

.ib-hof-admin-card.is-incomplete {
    border-color: rgba(245, 158, 11, .45);
}

@media (max-width: 1000px) {
    .ib-hof-directory,
    .ib-hof-admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ib-hof-profile-hero,
    .ib-hof-content-grid {
        grid-template-columns: 1fr;
    }

    .ib-hof-sidebar {
        position: static;
    }
}

@media (max-width: 680px) {
    .ib-hof-stats,
    .ib-hof-directory,
    .ib-hof-admin-stats,
    .ib-hof-facts {
        grid-template-columns: 1fr;
    }

    .ib-hof-filter {
        margin-top: -18px;
    }

    .ib-hof-card__media {
        min-height: 235px;
    }

    .ib-hof-portrait {
        min-height: 390px;
    }
}
