.section-header {
    box-sizing: border-box;
    padding: 34px 0 30px;
    background-color: #fffdf8;
    background-image:
        linear-gradient(125deg, rgba(255, 197, 45, .22) 0%, rgba(255, 197, 45, .05) 34%, transparent 68%),
        linear-gradient(180deg, #fffdf8 0%, #f7f5f5 100%);
}

.section-header__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1104px;
    margin: 0 auto;
    padding: 0 14px;
}

.section-header__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px;
    align-items: center;
}

.section-header__top--without-person {
    grid-template-columns: minmax(0, 760px);
}

.section-header__content {
    min-width: 0;
}

.section-header__title {
    margin: 0 0 14px;
    color: #111;
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
    text-transform: none;
    overflow-wrap: anywhere;
}

.section-header__lead {
    max-width: 720px;
    color: #333;
    font-size: 18px;
    line-height: 1.55;
}

.section-header__lead--secondary {
    margin-top: 10px;
}

.section-header__lead > :first-child {
    margin-top: 0;
}

.section-header__lead > :last-child {
    margin-bottom: 0;
}

.section-header__person {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
}

.section-header__person-label {
    margin: 0 0 10px;
    color: #6b5430;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.section-header__person .service-landing-expert-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    text-decoration: none;
}

.section-header__person .service-landing-expert-card[href]:hover,
.section-header__person .service-landing-expert-card[href]:focus {
    color: #111;
    opacity: 1;
}

.section-header__person .service-landing-expert-card__photo {
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 50%;
    background: #e8e8e8;
}

.section-header__person .service-landing-expert-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-header__person .service-landing-expert-card__body,
.section-header__person .service-landing-expert-card__name,
.section-header__person .service-landing-expert-card__role,
.section-header__person .service-landing-expert-card__license {
    display: block;
}

.section-header__person .service-landing-expert-card__name {
    margin-bottom: 3px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.section-header__person .service-landing-expert-card__role {
    color: #5f6b7c;
    font-size: 13px;
    line-height: 1.4;
}

.section-header__person .service-landing-expert-card__license {
    margin-top: 6px;
    color: #5f6b7c;
    font-size: 12px;
    line-height: 1.35;
}

.section-header__topics {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(17, 17, 17, .12);
}

.section-header__topics-title {
    margin: 0 0 12px;
    color: #111;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: none;
}

.section-header__topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.section-header__topic {
    margin: 0;
}

.section-header__topic a[href] {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #dec27a;
    border-radius: 8px;
    background: #fff;
    color: #332300;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease;
}

.section-header__topic a[href]:hover,
.section-header__topic a[href]:focus {
    border-color: #ffc52d;
    background: #fff7df;
    color: #111;
    opacity: 1;
}

.articles-page > .article-cards-container-title[id] {
    scroll-margin-top: 100px;
}

@media (max-width: 820px) {
    .section-header__top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-header__person {
        max-width: 420px;
    }
}

@media (max-width: 560px) {
    .section-header {
        padding: 26px 0 24px;
    }

    .section-header__inner {
        padding-right: 16px;
        padding-left: 16px;
    }

    .section-header__title {
        margin-bottom: 12px;
        font-size: 31px;
        line-height: 1.18;
    }

    .section-header__lead {
        font-size: 16px;
        line-height: 1.5;
    }

    .section-header__person {
        padding: 14px;
    }

    .section-header__topics {
        margin-top: 20px;
        padding-top: 18px;
    }

    .section-header__topics-title {
        font-size: 18px;
    }

    .section-header__topics-list {
        gap: 7px;
    }

    .section-header__topic a[href] {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 13px;
    }
}
