/*------------------------------------*\
    Author archive (expert author page)
\*------------------------------------*/

.author-hero {
    background: linear-gradient(135deg, #004885 0%, #0079DF 100%);
    color: #ffffff;
    padding: 110px 0 60px;
}

@media (min-width: 1025px) {
    .author-hero {
        padding: 200px 0 90px;
    }
}

.author-hero__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.author-hero__eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 8px;
}

.author-hero__name {
    color: #ffffff;
    margin: 0 0 10px;
    font-size: 40px;
    line-height: 1.1;
}

@media (min-width: 1025px) {
    .author-hero__name {
        font-size: 56px;
    }
}

.author-hero__role {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.9;
    margin: 0 0 24px;
}

.author-hero__bio {
    font-size: 16px;
    line-height: 1.6;
    max-width: 60ch;
}

.author-hero__bio p {
    color: #ffffff;
    margin-bottom: 16px;
}

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

/* Social links */
.author-hero__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.author-hero__social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.author-hero__social-link svg {
    display: block;
}

.author-hero__social-link:hover,
.author-hero__social-link:focus {
    background-color: #ffffff;
    color: #004885;
    border-color: #ffffff;
}

/* Photo */
.author-hero__media {
    text-align: center;
    margin-top: 32px;
}

@media (min-width: 1025px) {
    .author-hero__media {
        margin-top: 0;
    }
}

.author-hero__photo {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* Articles section */
.author-articles__heading {
    margin-bottom: 32px;
    color: #041746;
}

.author-articles__pagination {
    margin-top: 24px;
}

.author-articles__pagination .wp-pagenavi {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
