.xcart_author_page {
    max-width: 1040px;
    margin: 26px auto 52px;
    color: #15232e;
    font-weight: 400;
}

.xcart_author_page *,
.xcart_author_page *::before,
.xcart_author_page *::after {
    box-sizing: border-box;
}

.xcart_author_hero {
    display: block;
    padding: clamp(26px, 3vw, 38px);
    border: 1px solid #e2e9e7;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(21, 35, 46, .045);
}

.xcart_author_hero_main {
    display: grid;
    grid-template-columns: clamp(128px, 17vw, 176px) minmax(0, 1fr) 132px;
    align-items: center;
    gap: clamp(20px, 2.5vw, 32px);
}

.xcart_author_portrait {
    width: clamp(128px, 17vw, 176px);
    height: clamp(128px, 17vw, 176px);
    padding: 8px;
    border: 1px solid #dbe9e3;
    border-radius: 50%;
    background: #f2f7f4;
}

.xcart_author_avatar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.xcart_author_intro {
    min-width: 0;
}

.xcart_author_eyebrow,
.xcart_author_section_kicker {
    display: inline-block;
    color: #08765a;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .01em;
}

.xcart_author_intro h1 {
    margin: 7px 0 2px;
    color: #102334;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.35;
    font-weight: 700;
}

.xcart_author_title {
    margin: 0;
    color: #08765a;
    font-size: 16px;
    font-weight: 400;
}

.xcart_author_bio {
    max-width: 650px;
    margin: 16px 0 0;
    color: #4f5e68;
    font-size: 15px;
    line-height: 1.95;
    font-weight: 400;
}

.xcart_author_links {
    display: flex;
    gap: 8px;
    align-self: end;
    justify-self: end;
    direction: ltr;
}

.xcart_author_links a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #dce8e3;
    border-radius: 10px;
    color: #163f35;
    background: #fff;
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.xcart_author_links a:hover,
.xcart_author_links a:focus-visible {
    border-color: #08765a;
    color: #08765a;
    background: #edf7f2;
}

.xcart_author_links a:focus-visible {
    outline: 2px solid #08765a;
    outline-offset: 2px;
}

.xcart_author_links svg {
    width: 19px;
    height: 19px;
}

.xcart_author_details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
    margin-top: 26px;
    padding-top: 23px;
    border-top: 1px solid #e8eeeb;
}

.xcart_author_detail_group {
    min-width: 0;
}

.xcart_author_detail_group + .xcart_author_detail_group {
    padding-right: clamp(20px, 3vw, 40px);
    border-right: 1px solid #e8eeeb;
}

.xcart_author_detail_group h2 {
    margin: 0 0 12px;
    color: #162936;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
}

.xcart_author_detail_label {
    display: block;
    margin: 10px 0 7px;
    color: #738087;
    font-size: 11px;
    font-weight: 400;
}

.xcart_author_tags,
.xcart_author_projects {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.xcart_author_tags li {
    padding: 4px 10px;
    border: 1px solid #dfe9e4;
    border-radius: 8px;
    color: #315047;
    background: #f8fbf9;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.xcart_author_projects {
    display: grid;
    gap: 9px;
}

.xcart_author_projects li {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.xcart_author_projects a,
.xcart_author_projects strong {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    color: #0b765a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.xcart_author_projects a:hover,
.xcart_author_projects a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.xcart_author_projects li > span {
    color: #607078;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 400;
}

.xcart_author_more_projects {
    margin-top: 12px;
}

.xcart_author_more_projects summary,
.xcart_author_all_experience {
    color: #08765a;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    cursor: pointer;
}

.xcart_author_more_projects summary:hover,
.xcart_author_more_projects summary:focus-visible,
.xcart_author_all_experience:hover,
.xcart_author_all_experience:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.xcart_author_more_projects .xcart_author_projects {
    margin-top: 10px;
}

.xcart_author_all_experience {
    display: inline-block;
    margin-top: 9px;
    text-decoration: none;
}

.xcart_author_articles {
    margin-top: 34px;
}

.xcart_author_section_head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 16px;
}

.xcart_author_section_head h2 {
    margin: 3px 0 0;
    color: #102334;
    font-size: 23px;
    line-height: 1.5;
    font-weight: 700;
}

.xcart_author_back {
    flex: 0 0 auto;
    color: #08765a;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
}

.xcart_author_back:hover,
.xcart_author_back:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.xcart_author_article_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.xcart_author_article {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e9e7;
    border-radius: 18px;
    background: #fff;
    transition: border-color .18s ease, transform .18s ease;
}

.xcart_author_article:hover,
.xcart_author_article:focus-within {
    border-color: #87bdab;
    transform: translateY(-2px);
}

.xcart_author_article_link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 116px;
    padding: 12px;
    color: inherit;
    text-decoration: none;
}

.xcart_author_article_link:focus-visible {
    outline: 2px solid #08765a;
    outline-offset: -3px;
}

.xcart_author_article_media {
    display: block;
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 11px;
    background: #edf3f0;
}

.xcart_author_article_media img,
.xcart_author_article_fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xcart_author_article_fallback {
    display: grid;
    place-items: center;
    color: #1b725a;
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.xcart_author_article_copy {
    display: grid;
    align-content: center;
    gap: 5px;
    min-width: 0;
}

.xcart_author_article_date {
    color: #728087;
    font-size: 11px;
}

.xcart_author_article_copy strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #162936;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 700;
}

.xcart_author_article_arrow {
    align-self: flex-end;
    margin-right: auto;
    color: #08765a;
    font-size: 18px;
}

.xcart_author_empty {
    margin: 0;
    padding: 25px;
    border: 1px solid #e2e9e7;
    border-radius: 16px;
    background: #fff;
    color: #56656e;
}

.xcart_author_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    color: #61717a;
    font-size: 13px;
}

.xcart_author_pagination a {
    color: #08765a;
    font-weight: 400;
    text-decoration: none;
}

.xcart_author_pagination a:hover,
.xcart_author_pagination a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .xcart_author_hero_main {
        grid-template-columns: 136px minmax(0, 1fr);
    }

    .xcart_author_links {
        grid-column: 1 / -1;
    }

    .xcart_author_details {
        gap: 18px;
    }

    .xcart_author_detail_group + .xcart_author_detail_group {
        padding-right: 18px;
    }

    .xcart_author_article_grid {
        grid-template-columns: 1fr;
    }

    .xcart_author_article_link {
        min-height: 100px;
    }
}

@media (max-width: 640px) {
    .xcart_author_page {
        margin-top: 18px;
        margin-bottom: 36px;
    }

    .xcart_author_hero {
        padding: 24px;
        border-radius: 22px;
    }

    .xcart_author_hero_main {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 16px;
    }

    .xcart_author_portrait {
        width: 104px;
        height: 104px;
        padding: 5px;
    }

    .xcart_author_intro h1 {
        font-size: 30px;
    }

    .xcart_author_bio {
        margin-top: 12px;
    }

    .xcart_author_links {
        grid-column: 1;
        margin-top: 1px;
    }

    .xcart_author_details {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 20px;
        padding-top: 18px;
    }

    .xcart_author_detail_group + .xcart_author_detail_group {
        padding: 16px 0 0;
        border-top: 1px solid #e8eeeb;
        border-right: 0;
    }

    .xcart_author_articles {
        margin-top: 25px;
    }

    .xcart_author_section_head h2 {
        font-size: 20px;
    }
}
