.hall-of-fame {
    width: 100%;
}

.hall-of-fame__heading {
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 2px solid #f0c545;
}

.hall-of-fame__heading h1 {
    margin: 0;
    color: #ffffff;
    font-size: 27px;
    line-height: 1.1;
}

.hof-section {
    margin: 0 0 16px;
    border: 1px solid #2c3866;
    background: #101b3d;
}

.hof-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 14px;
    border-bottom: 1px solid #2c3866;
    background: #162b6f;
}

.hof-section__heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
}

.hof-section__heading span {
    color: #f0c545;
    font-size: 12px;
    font-weight: 800;
}

.hof-leaders,
.hof-manager-leaders {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 12px;
}

.hof-leader {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 72px;
    padding: 10px 12px;
    border: 1px solid #33457f;
    background: #142452;
}

.hof-leader__rank,
.hof-manager-leader__rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0c545;
    color: #162b6f;
    font-size: 13px;
    font-weight: 900;
}

.hof-leader > img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.hof-leader > img + div {
    min-width: 0;
}

.hof-leader > .hof-leader__rank + div {
    grid-column: 2;
}

.hof-leader__rank {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 21px;
    height: 21px;
    font-size: 10px;
}

.hof-leader strong,
.hof-manager-leader > strong {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hof-leader div span {
    display: block;
    margin-top: 4px;
    color: #f0c545;
    font-size: 13px;
    font-weight: 800;
}

.hof-tabs {
    display: flex;
    gap: 8px;
    padding: 0 12px 12px;
}

.hof-tab {
    min-width: 110px;
    border: 1px solid #42528a;
    background: #0d1837;
    color: #ffffff;
    padding: 8px 14px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.hof-tab.is-active {
    border-color: #f0c545;
    background: #f0c545;
    color: #162b6f;
}

.hof-view {
    padding: 0 12px 12px;
}

.hof-club-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.hof-club-card,
.hof-season-card {
    min-width: 0;
    border: 1px solid #33457f;
    background: #0d1837;
}

.hof-club-card__heading {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 8px;
    align-items: center;
    min-height: 48px;
    padding: 7px 8px;
    border-bottom: 1px solid #33457f;
    background: #142452;
}

.hof-club-card__heading img {
    width: 31px;
    height: 31px;
    object-fit: contain;
}

.hof-club-card__heading strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hof-club-card__heading > span {
    min-width: 25px;
    padding: 3px 5px;
    background: #f0c545;
    color: #162b6f;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.hof-club-card__list {
    padding: 5px 8px 7px;
}

.hof-honour-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #263665;
    font-size: 10px;
}

.hof-honour-row:last-child {
    border-bottom: 0;
}

.hof-honour-row strong {
    color: #ffffff;
}

.hof-honour-row span {
    color: #aeb8dc;
    text-align: right;
}

.hof-season-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.hof-season-card h3 {
    margin: 0;
    padding: 9px 10px;
    border-bottom: 1px solid #33457f;
    background: #162b6f;
    color: #f0c545;
    font-size: 13px;
}

.hof-season-card__list {
    padding: 6px 9px;
}

.hof-season-row {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 8px;
    align-items: center;
    min-height: 28px;
    border-bottom: 1px solid #263665;
    font-size: 10px;
}

.hof-season-row:last-child {
    border-bottom: 0;
}

.hof-season-row > strong {
    color: #f0c545;
}

.hof-season-row > div {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #ffffff;
    font-weight: 700;
}

.hof-season-row img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.hof-season-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hof-manager-leader {
    position: relative;
    min-width: 0;
    padding: 12px;
    border: 1px solid #33457f;
    background: #142452;
}

.hof-manager-leader__rank {
    margin-bottom: 8px;
}

.hof-manager-leader p {
    margin: 5px 0 10px;
    color: #aeb8dc;
    font-size: 11px;
}

.hof-manager-leader > div:last-child {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.hof-manager-leader > div:last-child span {
    padding: 7px 4px;
    border: 1px solid #33457f;
    background: #0d1837;
    color: #aeb8dc;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.hof-manager-leader > div:last-child b {
    display: block;
    margin-bottom: 3px;
    color: #f0c545;
    font-size: 15px;
}

.hof-points {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 7px;
    padding: 0 12px 12px;
}

.hof-points div {
    padding: 8px 4px;
    border: 1px solid #33457f;
    background: #0d1837;
    text-align: center;
}

.hof-points strong {
    display: block;
    color: #f0c545;
    font-size: 15px;
}

.hof-points span {
    display: block;
    margin-top: 3px;
    color: #aeb8dc;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.hof-manager-table-wrap {
    margin: 0 12px 12px;
    overflow: hidden;
    border: 1px solid #33457f;
}

.hof-manager-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.hof-manager-table th,
.hof-manager-table td {
    padding: 7px 6px;
    border-bottom: 1px solid #263665;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
}

.hof-manager-table th {
    background: #162b6f;
    color: #f0c545;
    font-size: 9px;
    text-transform: uppercase;
}

.hof-manager-table th:nth-child(2),
.hof-manager-table td:nth-child(2) {
    text-align: left;
}

.hof-manager-table td:nth-child(2) {
    font-weight: 800;
}

.hof-manager-table tbody tr:nth-child(even) {
    background: #111f46;
}

.hof-manager-table tbody tr:last-child td {
    border-bottom: 0;
}

.hof-manager-table__points {
    color: #f0c545 !important;
    font-weight: 900;
}

.hof-message {
    margin: 12px;
    padding: 12px;
    border: 1px solid #33457f;
    background: #0d1837;
    color: #ffffff;
    font-size: 12px;
}

.hof-message--error {
    border-color: #8b4242;
    background: #3b1c2a;
}

/* =========================================================
   Manager Career Search
   ========================================================= */

.hof-career {
    margin: 0 12px 12px;
    border: 1px solid #33457f;
    background: #0d1837;
}

.hof-career__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 10px 14px;
    border-bottom: 1px solid #33457f;
    background: #162b6f;
}

.hof-career__heading h3 {
    margin: 0;
    color: #ffffff;
    font-size: 17px;
}

.hof-career__heading p {
    margin: 4px 0 0;
    color: #aeb8dc;
    font-size: 11px;
}


/* Search */

.hof-career-search {
    padding: 14px;
    border-bottom: 1px solid #33457f;
    background: #101b3d;
}

.hof-career-search label {
    display: block;
    margin-bottom: 6px;
    color: #f0c545;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.hof-career-search__controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.hof-career-search input {
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid #42528a;
    outline: none;
    background: #0d1837;
    color: #ffffff;
    font: inherit;
    font-size: 13px;
}

.hof-career-search input::placeholder {
    color: #7f8ab2;
}

.hof-career-search input:focus {
    border-color: #f0c545;
}

.hof-career-search button {
    min-width: 120px;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid #f0c545;
    background: #f0c545;
    color: #162b6f;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.hof-career-search button:hover {
    background: #ffffff;
    border-color: #ffffff;
}


/* Manager profile heading */

.hof-career-profile {
    padding: 14px;
}

.hof-career-profile__heading {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #33457f;
}

.hof-career-profile__heading h3 {
    margin: 0;
    color: #ffffff;
    font-size: 21px;
}

.hof-career-profile__heading p {
    margin: 5px 0 0;
    color: #aeb8dc;
    font-size: 11px;
}

.hof-career-profile__heading p strong {
    color: #f0c545;
}


/* Overall career stats */

.hof-career-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.hof-career-stats > div {
    padding: 12px 6px;
    border: 1px solid #33457f;
    background: #142452;
    text-align: center;
}

.hof-career-stats strong {
    display: block;
    color: #f0c545;
    font-size: 21px;
    line-height: 1;
}

.hof-career-stats span {
    display: block;
    margin-top: 6px;
    color: #aeb8dc;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}


/* Career sections */

.hof-career-block {
    margin-top: 14px;
}

.hof-career-block h4 {
    margin: 0;
    padding: 9px 10px;
    border: 1px solid #33457f;
    border-bottom: 0;
    background: #162b6f;
    color: #f0c545;
    font-size: 12px;
    text-transform: uppercase;
}

.hof-career-table-wrap {
    overflow-x: auto;
    border: 1px solid #33457f;
}

.hof-career-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.hof-career-table th,
.hof-career-table td {
    padding: 8px 7px;
    border-bottom: 1px solid #263665;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
}

.hof-career-table th {
    background: #101b3d;
    color: #f0c545;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.hof-career-table th:first-child,
.hof-career-table td:first-child {
    text-align: left;
}

.hof-career-table td:first-child {
    font-weight: 800;
}

.hof-career-table tbody tr:nth-child(even) {
    background: #111f46;
}

.hof-career-table tbody tr:last-child td {
    border-bottom: 0;
}


/* First / latest match */

.hof-career-milestones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.hof-career-milestones > div {
    padding: 10px 12px;
    border: 1px solid #33457f;
    background: #142452;
}

.hof-career-milestones span {
    display: block;
    margin-bottom: 5px;
    color: #f0c545;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.hof-career-milestones strong {
    display: block;
    color: #ffffff;
    font-size: 11px;
    line-height: 1.4;
}


/* Responsive */

@media (max-width: 760px) {
    .hof-career-search__controls {
        grid-template-columns: 1fr;
    }

    .hof-career-search button {
        width: 100%;
    }

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

    .hof-career-stats > div:last-child {
        grid-column: 1 / -1;
    }

    .hof-career-milestones {
        grid-template-columns: 1fr;
    }
}