.experts-page,
.expert-profile {
    max-width: 1720px;
    margin: 0 auto;
    padding: 80px 0 120px;
}

.experts-page__intro,
.expert-profile__hero,
.expert-profile__section,
.expert-profile__cta {
    padding: 56px 60px;
}

.experts-page__intro {
    background: var(--main-text-color);
    color: #fff;
}

.experts-page__eyebrow,
.expert-profile__eyebrow,
.expert-card__role {
    margin: 0 0 16px;
    color: var(--primary-color);
    font: 700 12px/1.45 var(--font);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.experts-page__intro h1,
.expert-profile h1,
.expert-profile h2,
.expert-card h2 {
    margin: 0;
    color: inherit;
    font-family: var(--h-font);
    font-weight: 400;
    line-height: .95;
    text-transform: uppercase;
}

.experts-page__intro h1,
.expert-profile h1 {
    font-size: clamp(48px, 7vw, 96px);
}

.experts-page__intro > p:last-child {
    color: inherit;
    max-width: 760px;
    margin: 24px 0 0;
    font: 18px/1.55 var(--font);
}

.experts-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--grid-gap);
    margin-top: 40px;
}

.expert-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-width: 0;
    background: #fff;
}

a.expert-card:hover { text-decoration: none; }
a.expert-card:hover .expert-card__link { text-decoration: underline; }
a.expert-card:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; }

.expert-card__image {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center top;
}

.expert-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 36px;
}

.expert-card h2 {
    color: var(--main-text-color);
    font-size: clamp(32px, 3.3vw, 56px);
}

.expert-card__body > .expert-card__role {
    margin: .75rem 0 0;
    color: var(--main-text-color);
    letter-spacing: normal;
    text-transform: none;
    font: 600 1rem/1.4 var(--font);
}

.expert-card__body > p:not(.expert-card__role) {
    margin: 24px 0;
    color: var(--main-text-color);
    font: 16px/1.65 var(--font);
}

.expert-card__link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    color: var(--ds-link, var(--primary-color));
    font: 700 16px/1.4 var(--font);
}

.expert-profile__hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: var(--grid-gap);
    align-items: center;
    background: #fff;
    color: var(--main-text-color);
    border-radius: var(--ds-r-surface);
}

.expert-profile__hero h1 {
    font-size: clamp(36px, 5.5vw, 76px);
    text-wrap: balance;
}

.expert-profile__hero .expert-profile__summary,
.expert-profile__hero .expert-profile__role {
    color: inherit;
}

.expert-profile__role {
    margin: 24px 0 0;
    font: 700 18px/1.45 var(--font);
}

.expert-profile__summary {
    max-width: 660px;
    margin: 20px 0 32px;
    font: 18px/1.55 var(--font);
}

.expert-profile__image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 510px;
    justify-self: center;
}

.expert-profile__section {
    background: #fff;
}

.expert-profile__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--grid-gap);
    padding-block: 12px;
}

.expert-profile__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ds-link, var(--primary-color));
    text-decoration: underline;
    text-underline-offset: 3px;
}

.expert-profile__nav a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.expert-profile h2[id] { scroll-margin-top: 120px; }

.expert-profile__bio + .expert-profile__bio {
    border-top: 1px solid var(--ds-border);
}

.expert-profile ul.expert-profile__source {
    display: grid;
    gap: 1rem;
    max-width: 72ch;
    margin: 24px 0 0;
    padding: 0 0 0 1.4rem;
    list-style: disc outside;
    font: 16px/1.65 var(--font);
    overflow-wrap: anywhere;
}

.expert-profile .expert-profile__source li {
    display: list-item;
    margin: 0;
    padding: 0;
    color: var(--main-text-color);
}

.expert-profile .expert-profile__source li::before { content: none; }
.expert-profile .expert-profile__source li::marker { color: var(--primary-color); }

.expert-profile__section h2 {
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.expert-profile__section_dark {
    background: var(--main-text-color);
    color: #fff;
}

.expert-profile h2 {
    font-size: clamp(36px, 4vw, 64px);
}

.expert-profile__list {
    display: grid;
    gap: 16px;
    max-width: 1080px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    font: 16px/1.65 var(--font);
}

.expert-profile .expert-profile__list li {
    color: inherit;
    margin-bottom: 0;
    padding-left: 22px;
}

.expert-profile__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: var(--primary-color);
    color: #fff;
}

.expert-profile__cta .button {
    flex: 0 0 auto;
    background: #fff;
    color: var(--primary-color);
}

@media (max-width: 1199px) {
    .experts-page,
    .expert-profile {
        padding: 50px 0 80px;
    }

    .experts-page__intro,
    .expert-profile__hero,
    .expert-profile__section,
    .expert-profile__cta {
        padding: 40px;
    }

    .experts-page__grid,
    .expert-profile__hero {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 767px) {
    .experts-page,
    .expert-profile {
        padding: 35px 0 60px;
    }

    .experts-page__intro,
    .expert-profile__hero,
    .expert-profile__section,
    .expert-profile__cta {
        padding: 32px 21px;
    }

    .experts-page__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 24px;
    }

    .expert-card {
        grid-template-columns: 1fr;
    }

    .expert-card__image {
        min-height: 320px;
        max-height: 430px;
    }

    .expert-card__body {
        padding: 28px 21px;
    }

    .expert-profile__hero {
        gap: 28px;
    }

    .expert-profile__cta {
        display: grid;
    }

    .expert-profile__cta .button {
        justify-self: start;
    }
}
