/* Scoped to the article footer; compact card bylines elsewhere keep their layout. */
.article-authors {
    display: grid;
    gap: 1.5rem;
    margin-block: 2rem;
}

.article-hero__content .article-authors .article-author {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #f4f6f7;
    border: 1px solid #d9dfe3;
    border-radius: 1rem;
    color: #1b1d1f;
}

.article-author__photo {
    flex: 0 0 5rem;
}

.article-author__photo img {
    display: block;
    inline-size: 5rem;
    block-size: 5rem;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
}

.article-authors .article-author__content {
    display: block;
    min-inline-size: 0;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.article-author__content p { margin: 0; }
.article-author__role { color: #49545d; font-size: 0.875rem; }
.article-author__name { font-size: 1.25rem; font-weight: 600; }
.article-author__name a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.article-author__name a:hover { color: #005b80; }
.article-author a:focus-visible { outline: 2px solid #005b80; outline-offset: 4px; border-radius: 2px; }
.article-author__content .article-author__profession { margin-block-start: 0.25rem; }
.article-authors .article-author__description { display: block; margin-block-start: 0.75rem; }
.article-authors .article-author__description :where(p, span, li, strong, em) { color: inherit; }
.article-author__description p + p { margin-block-start: 0.75rem; }

@media (max-width: 40rem) {
    .article-hero__content .article-authors .article-author { flex-direction: column; padding: 1.25rem; gap: 0.75rem; }
    .article-author__photo { flex-basis: auto; }
}
