.gm-author-profile {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    margin-block: 20px 36px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid #d8e4ef;
    border-left: 4px solid #0b69c6;
    border-radius: 6px;
    background: #fff;
    color: #273746;
    text-align: left;
}

.gm-author-profile.gm-author-profile--without-photo {
    grid-template-columns: minmax(0, 1fr);
}

.gm-author-profile .gm-author-profile__portrait {
    margin: 0;
}

.gm-author-profile .gm-author-profile__photo {
    display: block;
    width: 128px;
    max-width: 100%;
    height: 152px;
    margin: 0;
    border-radius: 4px;
    object-fit: cover;
    object-position: center 25%;
    background: #f1f5f8;
}

.gm-author-profile .gm-author-profile__body {
    min-width: 0;
}

.gm-author-profile .gm-author-profile__eyebrow {
    margin: 0 0 10px;
    color: #31536e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gm-author-profile .gm-author-profile__bio {
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.gm-author-profile .gm-author-profile__bio p {
    margin: 0 0 14px;
    font-size: inherit;
    line-height: inherit;
}

.gm-author-profile .gm-author-profile__bio > :last-child {
    margin-bottom: 0;
}

.gm-author-profile .gm-author-profile__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.gm-author-profile .gm-author-profile__links li {
    margin: 0;
    padding: 0;
}

.gm-author-profile a {
    color: #0b4b81;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gm-author-profile a:hover {
    color: #073b63;
}

.gm-author-profile a:focus-visible {
    outline: 3px solid #005a9c;
    outline-offset: 4px;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .gm-author-profile {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 20px;
    }

    .gm-author-profile .gm-author-profile__photo {
        width: 104px;
        height: 124px;
    }
}
