/* Artists listing page — Ernie Ball */

/* ── Header Section ─────────────────────────────────────────── */

.artists-header {
    background: #000;
    color: #fff;
    padding: 3rem 1rem 2rem;
}

.artists-header-family {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #999; /* 7.4:1 on the header's black */
    margin: 0 0 0.25rem;
}

.artists-header-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.artists-header-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 48rem;
    margin: 0 auto;
}

/* ── Featured Artists Masonry ────────────────────────────────── */

.artists-featured {
    background: #000;
}

.featured-card {
    position: relative;
    overflow: hidden;
}

.featured-card-inner {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
}

.featured-card--hero .featured-card-inner {
    aspect-ratio: 1 / 1;
}

.featured-card--tall .featured-card-inner {
    aspect-ratio: 1 / 2;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.featured-card:hover img {
    transform: scale(1.05);
}

.featured-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.featured-card-caption .artist-name {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.featured-card-caption .artist-band {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 0.15rem;
}

/* ── Regular Artists Grid ────────────────────────────────────── */

.artists-grid {
    background: #000;
}

.artist-card {
    position: relative;
    overflow: hidden;
}

.artist-card-inner {
    position: relative;
    display: block;
}

.artist-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.artist-card:hover img {
    transform: scale(1.05);
}

.artist-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
}

.artist-name {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.artist-band {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.15rem;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 575.98px) {
    .artists-header-title {
        font-size: 1.75rem;
    }

    .featured-card--hero .featured-card-inner,
    .featured-card--tall .featured-card-inner {
        aspect-ratio: 1 / 1;
    }
}

/* ── Card links ──────────────────────────────────────────────
   The whole card is the link. `.artist-card-inner` and
   `.featured-card-inner` are already position:relative + display:block,
   so promoting them to <a> needs no layout change — only colour reset
   and a visible focus ring, which the grid never had.               */

.artist-card-link {
    color: inherit;
    text-decoration: none;
}

.artist-card-link:focus-visible {
    outline: 3px solid #ff10a4;
    outline-offset: 2px;
}
