/* ============================================================
   Author Page — /author/<slug>
   ============================================================ */

.author-hero {
    padding: 4rem 0 3rem;
    background: var(--color-cream, #faf6f0);
    border-bottom: 1px solid var(--color-warm-gray, #e8e0d4);
}

.author-hero__inner {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.author-hero__avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-warm-gray, #e8e0d4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.author-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

.author-hero__eyebrow {
    display: inline-block;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold, #c9a882);
    margin-bottom: 0.75rem;
}

.author-hero__name {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 0.5rem;
    color: var(--color-text, #2a2622);
}

.author-hero__credentials {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.95rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-light, #6b6358);
    margin: 0 0 1.5rem;
}

.author-hero__bio p {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text, #2a2622);
    margin: 0 0 1rem;
}

.author-hero__social {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.author-hero__social a {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text, #2a2622);
    text-decoration: none;
    border-bottom: 1px solid var(--color-gold, #c9a882);
    padding-bottom: 2px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.author-hero__social a:hover {
    color: var(--color-gold, #c9a882);
    border-bottom-color: var(--color-text, #2a2622);
}

.author-hero__about-link {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gold, #c9a882);
    text-decoration: none;
    transition: color 0.25s ease;
}

.author-hero__about-link:hover {
    color: var(--color-text, #2a2622);
}

/* ===== Articles ===== */
.author-articles {
    padding: 4rem 0 5rem;
}

.author-articles__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-warm-gray, #e8e0d4);
}

.author-articles__title {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    margin: 0;
    color: var(--color-text, #2a2622);
}

.author-articles__count {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light, #6b6358);
}

.author-articles__empty {
    text-align: center;
    font-family: var(--font-body, 'Inter', sans-serif);
    color: var(--color-text-light, #6b6358);
    padding: 3rem 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .author-hero {
        padding: 2.5rem 0 2rem;
    }

    .author-hero__inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        text-align: center;
    }

    .author-hero__avatar {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    .author-hero__social {
        justify-content: center;
    }

    .author-articles {
        padding: 2.5rem 0 3rem;
    }

    .author-articles__header {
        flex-direction: column;
        gap: 0.5rem;
    }
}
