/* =============================================
   HOF Template Styles
   Shared CSS for All HOF Organizations & Single HOF Organization pages
   All classes uniquely prefixed with hof-all- or hof-single-
   ============================================= */

/* =============================================
   CSS VARIABLES (self-contained, hof- prefixed)
   ============================================= */
:root {
    --hof-bg-dark: #0A0E13;
    --hof-panel: #1A242E;
    --hof-panel-light: #121921;
    --hof-accent-gold: #E6C97F;
    --hof-accent-blue: #CEE5F2;
    --hof-text-primary: #E9ECF2;
    --hof-muted: #A0A6BC;
    --hof-border: rgba(255, 255, 255, .08);
    --hof-ff-head: 'khand', sans-serif;
    --hof-ff-body: 'sofia-sans', sans-serif;
    --hof-radius-s: 6px;
    --hof-radius-m: 10px;
    --hof-radius-l: 15px;
    --hof-shadow-card: 0 6px 14px rgba(0, 0, 0, .35);
}

/* =============================================
   ALL ORGANIZATIONS PAGE
   ============================================= */

/* Container */
.hof-all-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.hof-all-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.hof-all-page-title {
    font-family: var(--hof-ff-head);
    font-size: 3.5rem;
    color: var(--hof-accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    font-weight: 700;
    line-height: 1;
}

.hof-all-subtitle {
    font-family: var(--hof-ff-body);
    font-size: 18px;
    color: var(--hof-muted);
    margin: 0.5rem 0 0 0;
    font-weight: 400;
}

/* Mobile Filter Button */
.hof-all-mobile-filter-container {
    display: none;
    margin-bottom: 16px;
}

.hof-all-mobile-filter-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--hof-panel-light);
    border: 1px solid var(--hof-border);
    border-radius: var(--hof-radius-m);
    color: var(--hof-text-primary);
    font-family: var(--hof-ff-body);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hof-all-mobile-filter-btn:hover {
    border-color: var(--hof-accent-gold);
    background: rgba(230, 201, 127, 0.05);
}

.hof-all-filter-icon {
    font-size: 14px;
    color: var(--hof-accent-gold);
}

.hof-all-active-filter-count {
    background: var(--hof-accent-gold);
    color: #0A0E13;
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Filter Bar */
.hof-all-filters-bar {
    background: var(--hof-panel-light);
    border: 1px solid var(--hof-border);
    border-radius: var(--hof-radius-m);
    padding: 24px;
    margin-bottom: 20px;
}

.hof-all-filters-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hof-all-filter-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hof-all-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 160px;
}

.hof-all-filter-label {
    font-family: var(--hof-ff-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--hof-muted);
}

.hof-all-filter-select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    background: var(--hof-bg-dark);
    border: 1px solid var(--hof-border);
    border-radius: var(--hof-radius-s);
    color: var(--hof-text-primary);
    font-family: var(--hof-ff-body);
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A0A6BC' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s ease;
}

.hof-all-filter-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.hof-all-filter-select:focus {
    outline: none;
    border-color: var(--hof-accent-gold);
}

/* Active Filters */
.hof-all-active-filters {
    background: rgba(230, 201, 127, 0.05);
    border: 1px solid rgba(230, 201, 127, 0.15);
    border-radius: var(--hof-radius-m);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.hof-all-active-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hof-all-active-filters-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--hof-ff-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--hof-accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hof-all-clear-all-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--hof-radius-s);
    color: #ef4444;
    font-family: var(--hof-ff-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hof-all-clear-all-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

.hof-all-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hof-all-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(230, 201, 127, 0.1);
    border: 1px solid rgba(230, 201, 127, 0.2);
    border-radius: 20px;
    font-family: var(--hof-ff-body);
    font-size: 13px;
    color: var(--hof-accent-gold);
}

.hof-all-filter-tag i {
    font-size: 11px;
    opacity: 0.7;
}

.hof-all-remove-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    border: none;
    color: #ef4444;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.hof-all-remove-filter-btn:hover {
    background: rgba(239, 68, 68, 0.4);
}

/* Results Section */
.hof-all-results-section {
    margin-bottom: 20px;
}

.hof-all-results-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--hof-ff-body);
    font-size: 14px;
    color: var(--hof-muted);
}

.hof-all-results-info i {
    color: var(--hof-accent-gold);
    font-size: 13px;
}

/* Grid */
.hof-all-grid {
    display: grid;
    gap: 24px;
}

.hof-all-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hof-all-cols-3 { grid-template-columns: repeat(4, 1fr); }
.hof-all-cols-4 { grid-template-columns: repeat(4, 1fr); }
.hof-all-cols-5 { grid-template-columns: repeat(5, 1fr); }

/* Card */
.hof-all-card {
    background: var(--hof-panel-light);
    border: 1px solid var(--hof-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--hof-shadow-card);
}

.hof-all-card:hover {
    transform: translateY(-5px);
    border-color: var(--hof-accent-gold);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.hof-all-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hof-all-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Card Image */
.hof-all-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1A242E 0%, #0A0E13 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hof-all-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    padding: 20px;
}

.hof-all-card:hover .hof-all-card-image img {
    transform: scale(1.05);
}

.hof-all-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--hof-bg-dark);
    color: var(--hof-muted);
    font-size: 48px;
    opacity: 0.3;
}

/* Card Content */
.hof-all-card-content {
    padding: 16px 20px 20px;
    position: relative;
    flex-grow: 1;
    padding-bottom: 50px;
    background: #121921;
}

.hof-all-card-name {
    font-family: var(--hof-ff-head);
    font-size: 18px !important;
    color: var(--hof-text-primary);
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.2;
    letter-spacing: 0px !important;
}

.hof-all-card-promo-logo {
    position: absolute;
    bottom: 12px;
    right: 16px;
    height: 40px;
    margin-right:-20px;
    width: auto;
    object-fit: contain;
}

.hof-all-card-promo-name {
    display: block;
    font-family: var(--hof-ff-body);
    font-size: 14px;
    color: var(--hof-muted);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
}

.hof-all-card-year {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--hof-ff-body);
    font-size: 14px;
    margin-bottom: 0px;
}

.hof-all-card-year i {
    color: var(--hof-accent-gold);
    font-size: 15px;
    margin-top:-2px;
}

.hof-all-card-stats {
    margin-top: 4px;
}

.hof-all-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--hof-ff-body);
    font-size: 14px;
}

.hof-all-stat-item i {
     color: var(--hof-accent-gold);
    font-size: 12px;
    margin-top:-1px;
}

/* No Results */
.hof-all-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.hof-all-no-results-icon {
    font-size: 48px;
    color: var(--hof-muted);
    opacity: 0.3;
    margin-bottom: 20px;
}

.hof-all-no-results h3 {
    font-family: var(--hof-ff-head);
    font-size: 24px;
    color: var(--hof-text-primary);
    text-transform: uppercase;
    margin: 0 0 8px 0;
}

.hof-all-no-results p {
    font-family: var(--hof-ff-body);
    font-size: 16px;
    color: var(--hof-muted);
}

.hof-all-reset-link {
    color: var(--hof-accent-gold);
    text-decoration: none;
    font-weight: 500;
}

.hof-all-reset-link:hover {
    text-decoration: underline;
}

/* =============================================
   SINGLE ORGANIZATION PAGE
   ============================================= */

/* Container */
.hof-single-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.hof-single-breadcrumb {
    font-size: 16px;
    margin-bottom: 15px;
    margin-top: 20px;
    color: var(--hof-muted);
    font-weight: 400;
    font-family: var(--hof-ff-body);
}

.hof-single-breadcrumb a {
    color: var(--hof-accent-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.hof-single-breadcrumb a:hover {
    color: #8A96C7;
    text-decoration: none;
}

.hof-single-separator {
    margin: 0 8px;
    color: var(--hof-muted);
}

.hof-single-current {
    color: var(--hof-muted);
    font-weight: 400;
}

/* Page Header */
.hof-single-header {
    text-align: center;
    margin-bottom: 0rem;
    padding-top: 1rem;
}

.hof-single-page-title {
     color: #E9ECF2;
    font-family: 'khand', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin:0 !important;
    text-shadow: 0 2px 4px rgba(230, 201, 127, 0.3);
}

.hof-single-logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0 1rem 0;
    gap: 0;
    margin-bottom: 50px;
}

.hof-single-logo {
    max-width: 450px;
    max-height: 300px;
    object-fit: contain;
}

/* =============================================
   INFO CARDS GRID (matches promotion-info-card pattern)
   ============================================= */
.hof-single-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 0rem auto;
    max-width: 1400px;
}

.hof-single-info-card {
    background: #121921;
    border: 1px solid rgba(160, 166, 188, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.hof-single-info-card:hover {
    border-color: rgba(206, 229, 242, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.hof-single-info-card-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(160, 166, 188, 0.1);
    display: flex;
    justify-content: center;
    gap: 8px;
    background: #0e151b;
}

.hof-single-info-card-title {
    color: var(--hof-accent-blue);
    font-size: 15px !important;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-wrap:nowrap;
    font-family: var(--hof-ff-body);
}

.hof-single-info-card-content {
    padding: 14px 16px;
    background: #121921;
    text-align: center;
}

.hof-single-info-card-value {
    color: var(--hof-text-primary);
    font-size: 16px;
    font-weight: 500;
    font-family: var(--hof-ff-body);
    display: block;
}

.hof-single-info-card-link {
    color: var(--hof-accent-gold);
    text-decoration: none;
    font-size: 16px;
    font-family: var(--hof-ff-body);
    font-weight: 500;
    transition: color 0.2s ease;
}

.hof-single-info-card-link:hover {
    color: #8A96C7;
}

.hof-single-info-card-ext-link {
    color: var(--hof-text-primary);
    text-decoration: none;
    font-size: 16px;
    font-family: var(--hof-ff-body);
    font-weight: 500;
    transition: color 0.2s ease;
}

.hof-single-info-card-ext-link:hover {
    color: var(--hof-accent-gold);
}

.hof-single-info-card-ext-link i {
    font-size: 13px;
    margin-left: 4px;
    opacity: 0.8;
    color: var(--hof-accent-gold);
}

/* =============================================
   CATEGORIES SECTION
   ============================================= */
.hof-single-categories-section {
    margin: 2rem 0;
}

.hof-single-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.hof-single-category-card {
    background: #121921;
    border: 1px solid rgba(160, 166, 188, 0.2);
    border-radius: 12px;
    padding: 20px;
    padding-bottom: 36px;
    transition: all 0.3s ease;
    position: relative;
}

.hof-single-category-card:hover {
    border-color: rgba(160, 166, 188, 0.35);
}

.hof-single-category-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.hof-single-category-card-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: var(--hof-ff-body);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hof-single-category-card-name {
    color: var(--hof-text-primary);
    font-size: 17px !important;
    font-weight: 600;
    margin: 0;
    font-family: var(--hof-ff-body);
}

.hof-single-category-card-years {
    display: block;
    color: var(--hof-muted);
    font-size: 13px;
    font-family: var(--hof-ff-body);
    margin-top: -9px;
}

.hof-single-category-card-desc {
    color: var(--hof-muted);
    font-size: 14px;
    line-height: 1.5;
    font-family: var(--hof-ff-body);
    margin-top: 8px;
    margin-bottom:8px;
}

.hof-single-category-card-desc p {
    margin: 0;
}

.hof-single-category-card-count {
    color: var(--hof-accent-gold);
    font-size: 12px;
    font-weight: 500;
    font-family: var(--hof-ff-body);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   DESCRIPTION SECTION
   ============================================= */
.hof-single-description-section {
    margin: 2rem 0;
    background: var(--hof-panel-light);
    border: 1px solid var(--hof-border);
    border-radius: var(--hof-radius-m);
    padding: 24px 28px;
}

.hof-single-section-title {
    font-family: 'khand', sans-serif !important;
    font-size: 32px !important;
    color: #E9ECF2;
    text-transform: uppercase;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin: 0 0 16px 0;
    margin-top:60px;
}

.hof-single-description-expandable {
    max-height: 200px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.hof-single-description-expandable.hof-expanded {
    max-height: none;
}

.hof-single-description-expandable::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, var(--hof-panel-light));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hof-single-description-expandable.hof-expanded::after {
    opacity: 0;
}

.hof-single-description-content {
    font-family: var(--hof-ff-body);
    font-size: 16px;
    color: var(--hof-muted);
    line-height: 1.7;
}

.hof-single-description-content p {
    margin: 0 0 1em 0;
}

.hof-single-description-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 0;
    background: none;
    border: none;
    color: var(--hof-accent-gold);
    font-family: var(--hof-ff-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.hof-single-description-read-more:hover {
    color: #8A96C7;
}

.hof-single-description-read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.hof-single-description-read-more.hof-expanded i {
    transform: rotate(180deg);
}

/* =============================================
   INDUCTEES SECTION
   ============================================= */
.hof-single-inductees-section {
    margin: 2rem 0 3rem 0;
}

/* Filter Controls */
.hof-single-inductees-controls {
    margin-bottom: 60px;
    background: var(--hof-panel-light);
    border: 1px solid var(--hof-border);
    border-radius: var(--hof-radius-m);
    padding: 20px 24px;
}

.hof-single-inductees-filter-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hof-single-inductees-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
}

.hof-single-inductees-filter-label {
     font-size: 14px;
    font-weight: 500;
	margin-left:5px;
    color: var(--c-accent-blue) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--ff-body);
}

.hof-single-filter-select {
    padding: 10px 36px 10px 14px;
    background: var(--hof-bg-dark);
    border: 1px solid var(--hof-border);
    border-radius: var(--hof-radius-s);
    color: var(--hof-text-primary);
    font-family: var(--hof-ff-body);
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A0A6BC' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s ease;
}

.hof-single-filter-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.hof-single-filter-select:focus {
    outline: none;
    border-color: var(--hof-accent-gold);
}

.hof-single-inductees-results-count {
    font-family: var(--hof-ff-body);
    font-size: 14px;
    color: var(--hof-muted);
}

/* Year-Grouped View */
.hof-single-year-group {
    margin-bottom: 32px;
}

.hof-single-year-heading {
    font-family: var(--hof-ff-head);
    font-size: 24px;
    color: var(--hof-text-primary);
    text-transform: uppercase;
    font-weight: 700;
    margin:5rem 0 16px 0;
    padding-left: 10px;
    border-left: 4px solid var(--hof-accent-gold);
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.hof-single-year-label {
    color: var(--hof-accent-gold);
}

.hof-single-year-count {
    font-family: var(--hof-ff-body);
    font-size: 14px;
    color: var(--hof-muted);
    font-weight: 400;
    text-transform: none;
}

/* Year Grid â€” horizontal scroll row */
.hof-single-year-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: .5rem;
    padding-top: 5px;
    padding-right: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #3a4652 var(--hof-bg-dark);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: relative;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Native touch scrolling on mobile */
@media (hover: none) and (pointer: coarse) {
    .hof-single-year-grid {
        scroll-snap-type: none;
        -webkit-overflow-scrolling: touch;
        cursor: auto;
        user-select: auto;
        -webkit-user-select: auto;
        -moz-user-select: auto;
        -ms-user-select: auto;
    }
}

/* Active dragging state */
.hof-single-year-grid.active {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.hof-single-year-grid.active * {
    pointer-events: none;
}

/* WebKit scrollbar styling */
.hof-single-year-grid::-webkit-scrollbar {
    height: 10px;
}

.hof-single-year-grid::-webkit-scrollbar-track {
    background: var(--hof-bg-dark);
    border-radius: 6px;
}

.hof-single-year-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #2b3742, #3a4652);
    border-radius: 6px;
    border: 2px solid var(--hof-bg-dark);
    transition: background .25s, box-shadow .25s, opacity .25s;
    opacity: 0;
}

.hof-single-year-grid:hover::-webkit-scrollbar-thumb,
.hof-single-year-grid:focus-within::-webkit-scrollbar-thumb {
    opacity: 1;
}

.hof-single-year-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #445362, #586678);
    box-shadow: 0 0 0 1px #22303a;
}

.hof-single-year-grid::-webkit-scrollbar-thumb:active {
    background: linear-gradient(90deg, var(--hof-accent-gold), #e8c547);
    box-shadow: 0 0 0 1px var(--hof-bg-dark);
}

/* Card sizing in year grid */
.hof-single-year-grid .hof-single-inductee-card {
    flex: 0 0 310px;
    scroll-snap-align: start;
}

.hof-single-year-grid .hof-single-inductee-card[data-category-type="tag_team"] {
    flex: 0 0 400px;
}

.hof-single-year-grid .hof-single-inductee-card[data-category-type="immortal_moment"] {
    flex: 0 0 400px;
}

@media (hover: none) and (pointer: coarse) {
    .hof-single-year-grid .hof-single-inductee-card {
        scroll-snap-align: none;
    }
}

/* Flat Grid â€” 12-column system for variable card widths */
.hof-single-inductees-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    grid-auto-flow: dense;
}

/* Default card span in flat grid: 3/12 = 4 per row */
.hof-single-inductees-grid .hof-single-inductee-card {
    grid-column: span 3;
}

/* Wider cards in flat grid: Tag Team & Match â€” 4/12 = 3 per row */
.hof-single-inductees-grid .hof-single-inductee-card[data-category-type="tag_team"],
.hof-single-inductees-grid .hof-single-inductee-card[data-category-type="match"] {
    grid-column: span 4;
}

/* Inductee Card */
.hof-single-inductee-card {
    background: var(--hof-panel-light);
    border: 1.5px solid var(--hof-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--hof-shadow-card);
}

.hof-single-inductee-card:hover {
    transform: translateY(-5px);
    border: 1.5px solid var(--hof-accent-gold);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
     overflow:hidden;
}

.hof-single-inductee-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hof-single-inductee-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Inductee Image */
.hof-single-inductee-image {
    position: relative;
    height:280px;
    width:auto;
    overflow: hidden;
    background: var(--hof-bg-dark);
}

.hof-single-inductee-image img {
    width: 100%;
    height: 100%;
    padding-top:5px;
    object-fit: contain;
    object-position: top center;
    transition: transform 0.4s ease;
}



/* Tag team image: cover instead of contain for better fill */
.hof-single-inductee-card[data-category-type="tag_team"] .hof-single-inductee-image img {
    object-fit: cover;
}
.hof-single-inductee-card[data-category-type="contributor"] .hof-single-inductee-image img {
    object-fit: cover;
    padding-top:0;
}
.hof-single-inductee-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(10, 14, 19, 0.9));
    pointer-events: none;
}

/* =============================================
   MATCH IMAGE LAYOUTS
   ============================================= */
.hof-single-match-image {
    background: radial-gradient(ellipse at center, #1A242E 0%, #0A0E13 70%);
}

/* Default 2-side layout */
.hof-single-match-default {
    display: flex;
    width: 100%;
    height: 100%;
}

.hof-match-side {
    flex: 1;
    overflow: hidden;
}

.hof-match-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    padding: 0;
    padding-top:5px;
    transition: transform 0.4s ease;
}


/* Tag team side â€” 2 wrestlers side by side */
.hof-match-side-tag {
    display: flex;
}

.hof-match-side-tag img {
    width: 50%;
}

/* VS badge */
.hof-match-vs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--hof-ff-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--hof-accent-gold);
    background: rgba(10, 14, 19, 0.9);
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Triple threat â€” 3 in a row */
.hof-single-match-triple {
    display: flex;
    gap: 2px;
    width: 100%;
    height: 100%;
}

.hof-single-match-triple .hof-match-side {
    flex: 1;
}

/* Fatal four way â€” 2x2 grid */
.hof-single-match-fourway {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    width: 100%;
    height: 100%;
}

.hof-match-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.hof-single-inductee-card:hover .hof-match-grid-img {
    transform: scale(1.05);
}

/* Category Pill */
.hof-single-category-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 6px;
    font-family: var(--hof-ff-body);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   CATEGORY PILL COLORS (by category_type)
   ============================================= */
.hof-category-individual {
    background: rgba(79, 195, 247, 0.18);
    color: #4FC3F7;
    border: 1px solid rgba(79, 195, 247, 0.3);
}

.hof-category-tag-team {
    background: rgba(102, 187, 106, 0.18);
    color: #66BB6A;
    border: 1px solid rgba(102, 187, 106, 0.3);
}

.hof-category-faction {
    background: rgba(186, 104, 200, 0.18);
    color: #BA68C8;
    border: 1px solid rgba(186, 104, 200, 0.3);
}

.hof-category-match {
    background: rgba(0, 229, 255, 0.18);
    color: #00E5FF;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.hof-category-manager {
    background: rgba(139, 195, 74, 0.18);
    color: #8BC34A;
    border: 1px solid rgba(139, 195, 74, 0.3);
}

.hof-category-promotion {
    background: rgba(92, 107, 192, 0.18);
    color: #5C6BC0;
    border: 1px solid rgba(92, 107, 192, 0.3);
}

.hof-category-contributor {
    background: rgba(38, 166, 154, 0.18);
    color: #26A69A;
    border: 1px solid rgba(38, 166, 154, 0.3);
}

.hof-category-special-award {
    background: rgba(255, 112, 67, 0.18);
    color: #FF7043;
    border: 1px solid rgba(255, 112, 67, 0.3);
}

.hof-category-celebrity {
    background: rgba(240, 98, 146, 0.18);
    color: #F06292;
    border: 1px solid rgba(240, 98, 146, 0.3);
}

.hof-category-legacy {
    background: rgba(255, 183, 77, 0.18);
    color: #FFB74D;
    border: 1px solid rgba(255, 183, 77, 0.3);
}

.hof-category-immortal-moment {
    background: rgba(255, 213, 79, 0.18);
    color: #FFD54F;
    border: 1px solid rgba(255, 213, 79, 0.3);
}

.hof-category-broadcast-team {
    background: rgba(144, 202, 249, 0.18);
    color: #90CAF9;
    border: 1px solid rgba(144, 202, 249, 0.3);
}

.hof-category-warrior-award {
    background: rgba(239, 83, 80, 0.18);
    color: #EF5350;
    border: 1px solid rgba(239, 83, 80, 0.3);
}

/* Posthumous Badge */
.hof-single-posthumous-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 6px;
    font-family: var(--hof-ff-body);
    font-size: 11px;
    font-weight: 500;
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.hof-single-posthumous-badge i {
    margin-right: 3px;
    font-size: 10px;
}

/* Inductee Content */
.hof-single-inductee-content {
    padding: 14px 16px 16px;
}

.hof-single-inductee-name {
    font-family: var(--hof-ff-head);
    font-size: 20px !important;
    color: var(--hof-text-primary);
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 0px 0;
    line-height: 1.2;
    letter-spacing: 0.2px !important;
}

.hof-single-inductee-realname {
    font-size: 12px;
    font-weight: 400;
    color: var(--hof-muted);
}

/* Match inductee card: participants, type, event */
.hof-single-match-participants {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.hof-single-match-side-name {
    font-family: 'sofia-sans', sans-serif;
    font-size: 20px;
    color: var(--hof-text-primary);
    text-transform: uppercase;
    font-weight: 500;
    line-height:1;
}

.hof-single-match-vs {
    font-family: var(--hof-ff-head);
    font-size: 13px;
    color: var(--hof-accent-gold);
    font-weight: 600;
    text-transform: lowercase;
}

.hof-single-match-types {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.hof-single-match-type-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background: #313a43;
    border-radius: 6px;
    margin:5px 0px;
    border: 1px solid rgba(230, 201, 127, 0.3);
    font-size: 11px;
    color: var(--hof-accent-gold);
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--hof-ff-body);
}

.hof-single-match-event {
    font-family: var(--hof-ff-body);
    font-size: 15px;
    margin-top:3px;
    text-transform:uppercase;
}


.hof-single-inductee-members {
    font-family: var(--hof-ff-body);
    font-size: 12px;
    color: var(--hof-muted);
    text-align: left;
    margin-top: 2px;
}

.hof-single-inductee-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 6px;
}

.hof-single-inductee-year {
    font-family: var(--hof-ff-body);
    font-size: 13px;
    color: var(--hof-muted);
}


.hof-single-inductee-inducted-by {
    font-family: var(--hof-ff-body);
    font-size: 13px;
    color: var(--hof-muted);
    font-style: italic;
}

/* Status Pills on Image */
.hof-single-status-pills {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.hof-single-status-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Wrestler Stats Block */
.hof-single-inductee-stats {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--hof-border);
}

.hof-single-inductee-physical {
    font-family: var(--hof-ff-body);
    font-size: 13px;
    color: #E9ECF2;
    text-align: left;
    margin-bottom: 4px;
}

.hof-single-inductee-years-active {
    font-family: var(--hof-ff-body);
    font-size: 13px;
    color: #E9ECF2;
    text-align: left;
    margin-bottom: 4px;
}

.hof-years-multiline {
    display: flex;
    flex-direction: column;
}

.hof-years-label {
    font-weight: 600;
    margin-bottom: 2px;
}

.hof-years-entries {
    font-weight: 400;
}

.hof-single-inductee-career-titles {
    font-family: var(--hof-ff-body);
    font-size: 13px;
    color: #E9ECF2;
    text-align: left;
}

.hof-single-inductee-career-titles .fa-crown {
    color: var(--hof-accent-gold);
    margin-right: 4px;
}

/* Managed Wrestlers (manager-linked inductees) */
.hof-single-inductee-managed {
    font-family: var(--hof-ff-body);
    font-size: 12px;
    color: var(--hof-muted);
    margin-top: 4px;
}

.hof-managed-label {
    color: var(--hof-accent-gold);
    font-weight: 600;
}

/* Summary Toggle */
.hof-single-inductee-summary-toggle {
    padding: 0 16px 8px;
}

.hof-single-summary-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    background: none;
    border: none;
    color: var(--hof-accent-gold);
    font-family: var(--hof-ff-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.hof-single-summary-btn:hover {
    color: #8A96C7;
}

.hof-single-summary-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.hof-single-summary-btn.hof-summary-open i {
    transform: rotate(180deg);
}

.hof-single-inductee-summary {
    padding: 0 16px 16px;
    font-family: var(--hof-ff-body);
    font-size: 14px;
    color: var(--hof-muted);
    line-height: 1.6;
}

.hof-single-inductee-summary.hof-summary-hidden {
    display: none;
}

.hof-single-inductee-summary p {
    margin: 0 0 0.8em 0;
}

/* No Inductees */
.hof-single-no-inductees {
    text-align: center;
    padding: 60px 20px;
    color: var(--hof-muted);
}

.hof-single-no-inductees i {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 16px;
    display: block;
}

.hof-single-no-inductees p {
    font-family: var(--hof-ff-body);
    font-size: 16px;
    margin: 0;
}

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
    .hof-all-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hof-single-inductees-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .hof-single-inductees-grid .hof-single-inductee-card {
        grid-column: span 4; /* 3 per row */
    }

    .hof-single-inductees-grid .hof-single-inductee-card[data-category-type="tag_team"],
    .hof-single-inductees-grid .hof-single-inductee-card[data-category-type="match"] {
        grid-column: span 6; /* 2 per row */
    }

    .hof-single-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .hof-all-page-title {
        font-size: 2.5rem;
    }

    .hof-all-mobile-filter-container {
        display: block;
    }

    .hof-all-filters-bar {
        display: none;
    }

    .hof-all-filters-bar.is-open {
        display: block;
    }

    .hof-all-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hof-single-page-title {
        font-size: 3rem !important;
        margin-bottom: 15px;
    }

    .hof-single-inductees-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 16px;
    }

    .hof-single-inductees-grid .hof-single-inductee-card {
        grid-column: span 6; /* 2 per row */
    }

    .hof-single-inductees-grid .hof-single-inductee-card[data-category-type="tag_team"],
    .hof-single-inductees-grid .hof-single-inductee-card[data-category-type="match"] {
        grid-column: span 6; /* 2 per row */
    }

    .hof-single-year-grid {
        gap: 16px;
    }

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

    .hof-single-inductees-filter-row {
        flex-direction: column;
        gap: 12px;
    }

    .hof-single-inductees-filter-group {
        min-width: 100%;
    }

    .hof-single-logo {
        max-width: 380px;
        max-height: 240px;
    }

    .hof-single-description-section {
        padding: 20px;
    }

    .hof-single-year-heading {
        font-size: 20px;
        flex-direction: column;
        gap: 4px;
    }
    .hof-single-logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0rem 0 1rem 0;
    gap: 0;
    margin-bottom: 20px;
}
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hof-all-page-title {
        font-size: 2rem;
    }

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

    .hof-all-card-image {
        height: 160px;
    }

    .hof-single-page-title {
       font-size: 2.8rem !important;
        margin-bottom: 15px;
    }

    .hof-single-inductees-grid {
        grid-template-columns: 1fr;
    }

    .hof-single-inductees-grid .hof-single-inductee-card,
    .hof-single-inductees-grid .hof-single-inductee-card[data-category-type="tag_team"],
    .hof-single-inductees-grid .hof-single-inductee-card[data-category-type="match"] {
        grid-column: span 1; /* 1 per row */
    }

    .hof-single-year-grid .hof-single-inductee-card {
        flex: 0 0 300px;
    }

    .hof-single-year-grid .hof-single-inductee-card[data-category-type="tag_team"] {
        flex: 0 0 360px;
    }

    .hof-single-year-grid .hof-single-inductee-card[data-category-type="match"] {
        flex: 0 0 380px;
    }

    .hof-single-info-grid {
        grid-template-columns: 1fr;
    }

    .hof-single-breadcrumb {
        font-size: 14px;
    }

    .hof-single-section-title {
        font-size: 22px;
    }

    .hof-single-inductee-name {
        font-size: 16px;
    }
}
