/* Story page: byline under the picture/video and the author card at the end (_AuthorByline, _AuthorCard). */

.article-byline {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin: .75rem 0 1rem;
    font-family: 'Maven Pro', sans-serif;
    font-size: 1.15rem;
    color: #555;
}
.article-byline-by {
    font-size: 1.05rem;
}
.article-byline a {
    font-family: 'Barlow', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000a44;
    text-decoration: none;
    border-bottom: 2px solid #f5c127;
    line-height: 1.2;
}
.article-byline a:hover {
    color: #d99100;
}

.author-card {
    display: flex;
    text-align: left;
    gap: 1.25rem;
    align-items: flex-start;
    margin: 2.25rem 0 1.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fffceb 0%, #fff3ad 100%);
    border-left: 5px solid #f5c127;
    box-shadow: 0 6px 20px rgba(0, 10, 68, .08);
}
.author-card-photo {
    flex: none;
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #f5c127;
    background: #000a44;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.author-card-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-card-photo span {
    color: #f5c127;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 1.9rem;
    letter-spacing: .05em;
}
.author-card-body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-width: 0;
}
.author-card-label {
    font-family: 'Maven Pro', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #d99100;
}
.author-card-name {
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
}
.author-card-name a {
    color: #000a44;
    text-decoration: none;
}
.author-card-name a:hover {
    color: #d99100;
}
.author-card-bio {
    margin: .15rem 0 .35rem;
    padding: 0;
    font-family: 'Maven Pro', sans-serif;
    font-size: .98rem;
    line-height: 1.55;
    color: #333;
    white-space: pre-line;
}
.author-card-more {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .45rem 1rem;
    border-radius: 2rem;
    background: #000a44;
    color: #fff;
    font-family: 'Maven Pro', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s;
}
.author-card-more .material-icons {
    font-size: 1.05rem;
}
.author-card-more:hover {
    background: #d99100;
    color: #fff;
}

/* Video stories use a dark page. */
.video-dark-theme .article-byline { color: #bbb; }
.video-dark-theme .article-byline a { color: #fff; }
.video-dark-theme .author-card {
    background: linear-gradient(135deg, #1c1a3a 0%, #13102c 100%);
    box-shadow: none;
}
.video-dark-theme .author-card-name a { color: #fff; }
.video-dark-theme .author-card-bio { color: #ccc; }
.video-dark-theme .author-card-more { background: #f5c127; color: #000a44; }
.video-dark-theme .author-card-more:hover { background: #fff; color: #000a44; }

@media (max-width: 575.98px) {
    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.25rem 1rem;
    }
    .author-card-body { align-items: center; }
    .author-card-more { align-self: center; }
}
