/* Hemiton Blog Plugin - Author Archive Styles */

/* Hero gradient wrapper behind the author card - was missing entirely,
   page looked flat compared to the design's tinted hero */
.hemiton-blog-plugin .blog-author-hero {
    background: linear-gradient(180deg, #faf9f7 0%, #f4f0ff 66%, #d5ecff 100%);
    padding-top: 40px;
    padding-bottom: 40px;
}

.hemiton-blog-plugin .author-card-section {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.hemiton-blog-plugin .author-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

/* Photo/placeholder column - no longer independently sticky (there was
   no real reason for a static bio photo to stick while scrolling) */
.hemiton-blog-plugin .author-card-image.author-avatar-wrap {
    width: 100%;
    height: fit-content;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.hemiton-blog-plugin .author-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hemiton-blog-plugin .author-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.077em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.hemiton-blog-plugin .author-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.hemiton-blog-plugin .author-bio {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hemiton-blog-plugin .author-bio p {
    margin-bottom: 12px;
}

.hemiton-blog-plugin .author-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

/* Topic tag pills - previously undefined on this page entirely, so
   topics rendered as plain unstyled text */
.hemiton-blog-plugin .topic-tag {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.hemiton-blog-plugin .author-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hemiton-blog-plugin .social-link {
    display: inline-block;
    padding: 8px 16px;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hemiton-blog-plugin .social-link:hover {
    background: #1565c0;
    color: #fff;
}

.hemiton-blog-plugin .author-all-articles {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.hemiton-blog-plugin .all-articles-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 13px;
}

.hemiton-blog-plugin .all-articles-link:hover {
    color: #0055cc;
}

.hemiton-blog-plugin .author-posts-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Heading + article count on the same row, count right-aligned
   (previously stacked as two separate block-level lines) */
.hemiton-blog-plugin .author-posts-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.hemiton-blog-plugin .posts-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.hemiton-blog-plugin .post-count {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hemiton-blog-plugin .author-card {
        grid-template-columns: 1fr;
    }

    .hemiton-blog-plugin .author-name {
        font-size: 24px;
    }

    .hemiton-blog-plugin .author-posts-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
