/**
 * [ns_author_card] "About the Author" — inc/author-card.php
 * Overrides the older card rules still in Themer 32637's Layout CSS (white card, shadow, uppercase).
 * That Layout CSS sets color / font-size / font-weight / letter-spacing on __name and __role with
 * !important, so those four properties need !important here too.
 */
.ns-author-card {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin: 0 0 24px;
    padding: 40px 48px;
    background: #F2F7FC;
    border-radius: 12px;
    box-shadow: none;
    font-family: "Nunito Sans", sans-serif;
}

.ns-author-card:last-child {
    margin-bottom: 0;
}

.ns-author-card__avatar {
    flex: 0 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.ns-author-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.ns-author-card__eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    line-height: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #557AFF;
}

.ns-author-card__name {
    margin: 0 0 12px;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 30px;
    letter-spacing: 0 !important;
    text-transform: none;
    color: #3C4C63 !important;
}

.ns-author-card__role {
    margin: 0 0 16px;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 18px;
    letter-spacing: 0 !important;
    text-transform: none;
    color: #3C4C63 !important;
}

.ns-author-card__bio {
    margin: 0;
    font-size: 14px;
    line-height: 26px;
    color: #99A5B3;
}

.ns-author-card__bio p {
    margin: 0 0 12px;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

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

.ns-author-card__socials {
    display: flex;
    gap: 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.ns-author-card__socials li {
    margin: 0;
    padding: 0;
}

.ns-author-card__socials li::before {
    content: none;
}

.ns-author-card__socials a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity .2s;
}

.ns-author-card__socials a:hover {
    opacity: .7;
}

.ns-author-card__socials img,
.ns-author-card__socials svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 767px) {
    .ns-author-card {
        flex-direction: column;
        gap: 20px;
        padding: 32px 24px;
    }

    .ns-author-card__avatar {
        width: 80px;
        height: 80px;
    }
}
