/* The expert body owns its typography. The header, footer and shared breadcrumbs keep their site styles. */
@font-face {
    font-family: "Droplet Expert Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../../assets/fonts/betterdocs/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: "Droplet Expert Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../../assets/fonts/betterdocs/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

body #content.dlab-experts {
    --expert-font: "Droplet Expert Inter", Arial, sans-serif;
    --expert-ink: #101828;
    --expert-copy: #344054;
    --expert-blue: #1a5bd2;
    --expert-gray: #5b6b7a;
    --expert-card: #f8f9fa;
    box-sizing: border-box;
    width: min(100%, 1280px);
    max-width: 1280px;
    padding: 32px 20px 64px;
    margin: 0 auto;
    color: var(--expert-copy);
    font: 400 16px/1.65 var(--expert-font);
    overflow-wrap: anywhere;
}

/* The kit sets typography on elements directly, so component text needs its own rules. */
body #content.dlab-experts :is(h1, h2, h3, p, a, li, span, strong, time, blockquote, figcaption) {
    font-family: var(--expert-font) !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}
body #content.dlab-experts :is(h1, h2, h3) {
    color: var(--expert-ink) !important;
    font-weight: 700 !important;
    font-style: normal !important;
}
body #content.dlab-experts h1 {
    font-size: clamp(27px, 2.4vw, 36px) !important;
    line-height: 1.2 !important;
    margin: 0 0 7px !important;
}
body #content.dlab-experts h2 {
    font-size: clamp(19px, 1.65vw, 23px) !important;
    line-height: 1.3 !important;
    margin: 0 0 8px !important;
}
body #content.dlab-experts--profile section > h2 {
    font-size: clamp(18px, 1.5vw, 21px) !important;
    font-weight: 600 !important;
    letter-spacing: -.015em !important;
}
body #content.dlab-experts :is(p, li, blockquote, figcaption) {
    color: var(--expert-copy);
    font-size: 16px;
    line-height: 1.65;
}
body #content.dlab-experts a {
    color: var(--expert-blue) !important;
    font-size: inherit;
    line-height: inherit;
    text-decoration: underline;
    text-underline-offset: .16em;
}
body #content.dlab-experts a:focus-visible {
    outline: 2px solid var(--expert-blue);
    outline-offset: 3px;
}
.dlab-experts .dlab-expert-header {
    display: flex;
    gap: 24px;
    align-items: center;
    border-bottom: 1px solid #dbe2ea;
    padding-bottom: 22px;
}
.dlab-experts .dlab-expert-header > div { min-width: 0; }
.dlab-experts .dlab-expert-photo {
    display: block;
    object-fit: cover;
    width: 160px;
    height: 160px;
    flex: none;
    border-radius: 50%;
    background: #edf2f9;
}
body #content.dlab-experts .dlab-expert-header p {
    margin: 3px 0 !important;
    color: var(--expert-copy) !important;
    font-size: clamp(14px, 1.1vw, 15px) !important;
    line-height: 1.5 !important;
}
.dlab-experts :is(.dlab-expert-header, .dlab-expert-tile) .dlq__icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dlab-experts .dlab-expert-header .dlq__icons { margin-top: 10px; }
body #content.dlab-experts :is(.dlab-expert-header, .dlab-expert-tile) .dlq__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #cdd6e3;
    border-radius: 50%;
    text-decoration: none;
    color: var(--expert-gray) !important;
}
body #content.dlab-experts :is(.dlab-expert-header, .dlab-expert-tile) .dlq__icon:is(:hover, :focus-visible) { color: var(--expert-blue) !important; }
.dlab-experts :is(.dlab-expert-header, .dlab-expert-tile) .dlq__icon :is(svg,img) { width: 18px; height: 18px; display: block; }

.dlab-experts section { margin-top: 22px; }
.dlab-experts .dlab-expert-reviewed { margin-top: clamp(28px, 3vw, 42px); }
body #content.dlab-experts .dlab-expert-about :is(p, li) {
    max-width: 82ch;
    color: var(--expert-copy) !important;
    font-size: clamp(14px, 1.1vw, 15px) !important;
    line-height: 1.65 !important;
}
body #content.dlab-experts .dlab-expert-about p { margin: 0 0 8px !important; }
body #content.dlab-experts .dlab-expert-about p:last-child { margin-bottom: 0 !important; }
.dlab-experts .dlab-expert-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.dlab-experts .dlab-expert-list li {
    padding: 11px 16px;
    background: var(--expert-card);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.dlab-experts .dlab-expert-list :is(span,time) { font-size: 14px; }
.dlab-experts .dlab-expert-reviewed li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
}
.dlab-experts .dlab-expert-review-number {
    display: grid;
    place-items: center;
    min-width: 27px;
    min-height: 27px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e6eefc;
    color: #204889;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}
.dlab-experts .dlab-expert-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body #content.dlab-experts .dlq--profile {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 14px 18px;
    background: var(--expert-card);
    border-radius: 8px;
    font-family: var(--expert-font);
}
.dlab-experts .dlq--profile:only-child { grid-column: 1 / -1; }
.dlab-experts .dlq--profile .dlq__quote::before {
    height: 20px;
    margin: 0 0 5px;
    font-size: 38px;
    line-height: 38px;
}
body #content.dlab-experts .dlq--profile .dlq__quote p {
    margin: 0;
    color: var(--expert-copy) !important;
    font-size: clamp(14px, 1.1vw, 15px) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}
body #content.dlab-experts .dlq--profile .dlq__quote p + p { margin-top: 8px; }
.dlab-experts .dlq--profile .dlq__source {
    margin-top: auto;
    padding-top: 8px;
    font-size: 13px;
}
.dlab-experts .dlab-expert-consult {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #ebf1fb;
    padding: 18px 22px;
    border-radius: 9px;
}
.dlab-experts .dlab-expert-consult strong { color: var(--expert-ink); }
body #content.dlab-experts .dlab-expert-button {
    display: inline-block;
    padding: 9px 17px;
    background: var(--expert-blue);
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 650;
}
body #content.dlab-experts .dlab-expert-button:hover { background: #1245a1; }
.dlab-experts .dlab-expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 305px), 1fr));
    gap: 16px;
}
.dlab-experts .dlab-expert-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    background: var(--expert-card);
    border: 1px solid #dbe2ea;
    padding: 22px;
    border-radius: 8px;
}
.dlab-experts .dlab-expert-photo-frame {
    display: block;
    flex: none;
    border-radius: 50%;
    overflow: hidden;
}
.dlab-experts .dlab-expert-tile .dlab-expert-photo { width: 76px; height: 76px; }
body #content.dlab-experts .dlab-experts-intro {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin: 0 0 20px !important;
}
body #content.dlab-experts .dlab-expert-tile h2 {
    font-size: clamp(17px, 1.4vw, 18px) !important;
    font-weight: 600 !important;
    letter-spacing: -.012em !important;
    line-height: 1.35 !important;
    margin: 12px 0 5px !important;
}
body #content.dlab-experts .dlab-expert-tile h2 a {
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    text-decoration: none !important;
}
body #content.dlab-experts .dlab-expert-tile h2 a:is(:hover, :focus-visible) { color: var(--expert-blue) !important; }
body #content.dlab-experts .dlab-expert-tile p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 0 14px !important;
}
.dlab-experts .dlab-expert-tile .dlq__icons {
    gap: 6px;
    margin: 2px 0 8px;
}
body #content.dlab-experts .dlab-expert-tile .dlq__icon { width: 30px; height: 30px; }
.dlab-experts .dlab-expert-tile .dlq__icon :is(svg,img) { width: 15px; height: 15px; }
body #content.dlab-experts .dlab-expert-tile .dlab-expert-button {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    box-sizing: border-box;
    margin-top: auto;
    padding: 4px 9px;
    border: 1px solid #adc2e8;
    background: #fff;
    color: var(--expert-blue) !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
}
body #content.dlab-experts .dlab-expert-tile .dlab-expert-button:hover { background: #edf3ff; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .dlab-experts .dlab-expert-photo-frame .dlab-expert-photo { transition: transform .2s ease-out; }
    .dlab-experts .dlab-expert-photo-frame:is(:hover, :focus-visible) .dlab-expert-photo { transform: scale(1.09); }
}
@media (max-width: 767px) {
    body #content.dlab-experts { padding-top: 28px; }
    .dlab-experts .dlab-expert-quote-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .dlab-experts :is(.dlab-expert-header,.dlab-expert-consult) {
        align-items: flex-start;
        flex-direction: column;
    }
    .dlab-experts .dlab-expert-header .dlab-expert-photo { width: 120px; height: 120px; }
    .dlab-experts .dlab-expert-reviewed li {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 3px 10px;
        align-items: start;
    }
    .dlab-experts .dlab-expert-review-number { grid-row: span 2; }
    .dlab-experts .dlab-expert-review-meta { grid-column: 2; }
}
@media (max-width: 520px) {
    .dlab-experts .dlab-expert-tile { padding: 18px; }
    .dlab-experts .dlab-expert-header { gap: 16px; padding-bottom: 18px; }
}

