/* ==========================================================================
   Author Archive — Extracted from base.css
   Author hero, stats bar, and posts grid
   ========================================================================== */

/* ==========================================================================
   Author Archive
   ========================================================================== */
.author-hero {
    padding: 3rem 0;
    color: #fff;
}

.author-hero__inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.author-hero__avatar {
    flex-shrink: 0;
}

.author-hero__avatar-img {
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    width: 128px;
    height: 128px;
}

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

.author-hero__role {
    display: inline-block;
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.author-hero__title {
    font-size: var(--wp--preset--font-size--4xl);
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.author-hero__bio {
    font-size: var(--wp--preset--font-size--base);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.author-hero__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.author-hero__social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--flashgl-radius-sm);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 500;
    transition: background var(--flashgl-transition-fast) ease,
                color var(--flashgl-transition-fast) ease;
}

.author-hero__social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Author Stats Bar */
.author-stats {
    background: #F5F7FA;
    border-bottom: 1px solid var(--wp--preset--color--gray-200, #e5e7eb);
    padding: 1.25rem 0;
}

.author-stats__inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.author-stats__item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.author-stats__number {
    font-size: var(--wp--preset--font-size--xl);
    font-weight: 700;
    color: var(--flashgl-primary, #1A2B8C);
    line-height: 1.2;
}

.author-stats__label {
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--gray-500, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.author-stats__contact {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: var(--flashgl-radius-sm);
    background: var(--flashgl-primary, #1A2B8C);
    color: #fff !important;
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 600;
    transition: opacity var(--flashgl-transition-fast) ease;
}

.author-stats__contact:hover {
    opacity: 0.85;
}

/* Author Posts Grid */
.author-posts {
    padding: 3rem 0;
}

.author-posts__heading {
    font-size: var(--wp--preset--font-size--2xl);
    margin-bottom: 2rem;
    color: var(--wp--preset--color--gray-800, #1f2937);
}

/* Archive card meta (used in author + news cards) */
.archive-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--gray-500, #6b7280);
}

.archive-card__meta time {
    font-weight: 500;
}

.archive-card__thumbnail--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F7FA;
    color: var(--flashgl-primary, #1A2B8C);
}

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

    .author-hero__inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

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

    .author-hero__title {
        font-size: var(--wp--preset--font-size--3xl);
    }

    .author-hero__bio {
        margin-left: auto;
        margin-right: auto;
    }

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

    .author-stats__inner {
        justify-content: center;
        gap: 1.5rem;
    }
}
