/* ============================================================
   AUTHOR PROFILE HERO
   template-parts/author-card.php
   ============================================================ */

.shf-author-hero {
    background: var(--shf-parchment);
    padding: var(--shf-s5) 0;
    border-bottom: 1px solid var(--shf-border);
}

.shf-author-hero__inner {
    display: flex;
    align-items: flex-start;
    gap: var(--shf-s4);
    max-width: 760px;
}

.shf-author-hero__avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--shf-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.shf-author-hero__text {
    flex: 1;
    min-width: 0;
}

.shf-author-hero__name {
    margin: 4px 0 8px;
}

.shf-author-hero__meta {
    font-family: var(--shf-font-sans);
    font-size: 14px;
    color: var(--shf-stone);
    margin-bottom: 12px;
}

.shf-author-hero__role {
    font-weight: 500;
    color: var(--shf-forest);
}

.shf-author-hero__dot {
    margin: 0 8px;
}

.shf-author-hero__tagline {
    font-family: var(--shf-font-serif);
    font-style: italic;
    font-size: 19px;
    color: var(--shf-charcoal);
    margin-bottom: 16px;
    line-height: 1.4;
}

.shf-author-hero__bio {
    font-family: var(--shf-font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--shf-charcoal);
    margin-bottom: 20px;
}

.shf-author-hero__bio p {
    margin: 0 0 12px;
}

.shf-author-hero__bio p:last-child {
    margin-bottom: 0;
}

.shf-author-hero__stats {
    display: flex;
    gap: var(--shf-s4);
    margin-bottom: 18px;
}

.shf-author-hero__stat {
    display: flex;
    flex-direction: column;
}

.shf-author-hero__stat-num {
    font-family: var(--shf-font-serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--shf-forest);
    line-height: 1.1;
}

.shf-author-hero__stat-label {
    font-family: var(--shf-font-sans);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--shf-stone);
    margin-top: 2px;
}

.shf-author-hero__social {
    display: flex;
    gap: 12px;
}

.shf-author-hero__social-link {
    font-family: var(--shf-font-sans);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--shf-forest);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--shf-border);
    border-radius: var(--shf-radius);
    background: var(--shf-white);
    transition: all 0.18s;
}

.shf-author-hero__social-link:hover {
    border-color: var(--shf-forest);
    background: var(--shf-forest);
    color: var(--shf-white);
}

/* Section heading above the author's post grid */
.shf-author-posts-heading {
    font-family: var(--shf-font-serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--shf-charcoal);
    margin: 0 0 var(--shf-s3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    .shf-author-hero {
        padding: var(--shf-s4) 0;
    }

    .shf-author-hero__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .shf-author-hero__meta,
    .shf-author-hero__stats,
    .shf-author-hero__social {
        justify-content: center;
    }

    .shf-author-hero__avatar {
        width: 96px;
        height: 96px;
    }
}
