/* ==========================================================================
   Champion hub pages (champions/<slug>/ and the champions/ index)
   Generated by generate_champion_hubs.py. All classes are prefixed fh-.
   Uses the shared design tokens defined in css/main.css.
   ========================================================================== */

/* --- Hero --- */
.fh-hero {
    background: var(--color-surface-1);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-7) 0;
    text-align: center;
}

.fh-hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 3px solid var(--color-gold);
    background: var(--color-surface-2);
    box-shadow: var(--shadow-2);
}

.fh-hero-title {
    font-family: var(--font-display);
    color: var(--color-gold-200);
    font-size: var(--font-size-3xl);
    line-height: var(--line-tight);
    margin: var(--space-4) 0 var(--space-2) 0;
}

.fh-hero-tags {
    color: var(--color-text-muted);
    font-size: var(--font-size-md);
    letter-spacing: 0.5px;
}

/* --- Content sections --- */
.fh-content {
    padding-bottom: var(--space-8);
}

.fh-section {
    margin-top: var(--space-7);
}

.fh-section-title {
    font-family: var(--font-display);
    color: var(--color-gold-200);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-line);
    position: relative;
}

.fh-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-hextech));
}

/* --- Card grid: 4-up desktop, 2-up at 768px, 1-up at 480px --- */
.fh-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.fh-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    text-decoration: none;
    color: var(--color-text);
    box-shadow: var(--shadow-1);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fh-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-2);
}

.fh-card:focus-visible {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: var(--glow-gold);
}

.fh-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background: var(--color-surface-1);
    flex-shrink: 0;
}

.fh-card-label {
    font-weight: 500;
    font-size: var(--font-size-sm);
    line-height: var(--line-tight);
    color: var(--color-gold-200);
}

.fh-card-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
}

.fh-card-count {
    color: var(--color-hextech);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.25px;
}

/* --- Responsive: 2-up at 768px, 1-up at 480px --- */
@media (max-width: 768px) {
    .fh-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fh-hero {
        padding: var(--space-6) 0;
    }

    .fh-hero-title {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 480px) {
    .fh-grid {
        grid-template-columns: 1fr;
    }

    .fh-section {
        margin-top: var(--space-6);
    }
}
