/* ============================================================
   eMS Hall of Fame - Default Public Theme
   Prefix: ems-hof
   ============================================================ */

.ems-hof-page {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 18px 42px;
    color: #f5f5f5;
}

/* ============================================================
   Hero
   ============================================================ */

.ems-hof-hero {
    position: relative;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin: 0 0 24px;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(22, 22, 24, 0.98), rgba(38, 39, 42, 0.98) 58%, rgba(18, 18, 20, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

.ems-hof-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.28;
    pointer-events: none;
}

.ems-hof-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.045), transparent);
    pointer-events: none;
}

.ems-hof-hero__logo,
.ems-hof-hero__content {
    position: relative;
    z-index: 2;
}

.ems-hof-hero__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 22px;
    border-radius: 20px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 58%),
        rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.ems-hof-hero__logo img {
    width: 100%;
    max-width: 190px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.32));
}

.ems-hof-hero__content {
    min-width: 0;
}

.ems-hof-eyebrow {
    width: fit-content;
    margin: 0 0 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f7f7f7;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ems-hof-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
}

.ems-hof-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.03rem;
    line-height: 1.75;
}

/* ============================================================
   Intro Panel
   ============================================================ */

.ems-hof-intro-panel {
    margin: 0 0 24px;
    padding: 24px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 44%),
        rgba(26, 27, 30, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.ems-hof-intro-panel span {
    display: block;
    margin: 0 0 4px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ems-hof-intro-panel h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.ems-hof-intro-panel p {
    max-width: 850px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

/* ============================================================
   Class Grid
   ============================================================ */

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

.ems-hof-class-card {
    position: relative;
    min-height: 190px;
    padding: 20px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 48%),
        linear-gradient(180deg, rgba(42, 43, 47, 0.96), rgba(20, 21, 24, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ems-hof-class-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.24;
    pointer-events: none;
}

.ems-hof-class-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.28);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 48%),
        linear-gradient(180deg, rgba(50, 51, 56, 0.98), rgba(19, 20, 23, 0.98));
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
}

.ems-hof-class-card span,
.ems-hof-class-card h2,
.ems-hof-class-card ul,
.ems-hof-class-card p {
    position: relative;
    z-index: 2;
}

.ems-hof-class-card span {
    display: block;
    margin: 0 0 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ems-hof-class-card h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 2.1rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.ems-hof-class-card ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ems-hof-class-card li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.96rem;
    line-height: 1.35;
}

.ems-hof-class-card li::before {
    content: "★";
    color: rgba(255, 255, 255, 0.55);
    margin-right: 7px;
    font-size: 0.75rem;
}

.ems-hof-class-card a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ems-hof-class-card a:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.62);
}

/* ============================================================
   Featured Class
   ============================================================ */

.ems-hof-class-card--featured {
    grid-column: span 2;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(135deg, rgba(72, 73, 78, 0.92), rgba(16, 17, 20, 0.98));
    border-color: rgba(255, 255, 255, 0.24);
}

.ems-hof-class-card--featured h2 {
    font-size: 2.8rem;
}

.ems-hof-class-card--featured ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
}

/* ============================================================
   Empty / Disabled Notices
   ============================================================ */

.ems-empty-notice,
.ems-hof-empty {
    max-width: 860px;
    margin: 40px auto;
    padding: 28px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 44%),
        rgba(24, 25, 28, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: #f4f4f4;
    text-align: center;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.ems-empty-notice h2,
.ems-hof-empty h2 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    color: #ffffff;
}

.ems-empty-notice p,
.ems-hof-empty p {
    margin: 0;
    opacity: 0.75;
    color: rgba(255, 255, 255, 0.78);
}

.ems-hof-empty-class {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.94rem;
    line-height: 1.5;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1020px) {
    .ems-hof-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ems-hof-class-card--featured {
        grid-column: span 3;
    }
}

@media (max-width: 820px) {
    .ems-hof-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ems-hof-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .ems-hof-hero p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .ems-hof-class-card--featured {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .ems-hof-page {
        padding: 0 12px 32px;
    }

    .ems-hof-hero,
    .ems-hof-intro-panel,
    .ems-hof-class-card {
        padding: 16px;
        border-radius: 20px;
    }

    .ems-hof-hero__logo {
        min-height: 170px;
    }

    .ems-hof-hero__logo img {
        max-width: 145px;
    }

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

    .ems-hof-class-card,
    .ems-hof-class-card--featured {
        grid-column: span 1;
    }

    .ems-hof-class-card--featured ul {
        grid-template-columns: 1fr;
    }
}