/* Experts hub additions. Core cards, filters and CTA reuse team-hub.css. */

.page--experts-hub .site-main {
    min-width: 0;
    background: var(--color-bg-soft);
}

.expert-page,
.expert-page *,
.expert-hub-cta,
.expert-hub-cta * {
    min-width: 0;
}

.expert-page {
    padding-bottom: clamp(28px, 4vw, 48px);
}

.expert-page__container {
    gap: clamp(24px, 3vw, 38px);
}

.expert-page__header {
    max-width: 860px;
}

.expert-page__grid {
    margin-bottom: clamp(12px, 2vw, 28px);
}

.expert-card__photo {
    aspect-ratio: 4 / 3.65;
}

.expert-card__badge {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 13px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    color: #fff;
    background: rgba(7, 56, 102, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.expert-card__body {
    gap: 8px;
}

.expert-card__role {
    min-height: auto;
    color: var(--color-primary);
    font-weight: 750;
}

.expert-card__qualification {
    margin: -3px 0 0;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.45;
}

.expert-card__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 2px 0 2px;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.expert-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: auto;
    padding-top: 9px;
    color: var(--color-primary);
    border-top: 1px solid var(--color-border);
    font-size: 11px;
    font-weight: 750;
}

.expert-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.expert-card__meta span::before {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    background: var(--color-accent);
    border-radius: 50%;
    content: "";
}

.expert-page__empty p {
    margin: 8px 0 0;
}

.expert-section-head {
    max-width: 820px;
}

.expert-section-head h2 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.expert-section-head > p {
    max-width: 760px;
    margin: 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.65;
}

.expert-assurance {
    display: grid;
    gap: 24px;
    padding: clamp(30px, 4vw, 48px);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(16, 32, 51, 0.07);
}

.expert-assurance__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.expert-assurance__card {
    position: relative;
    padding: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbfd 0%, #eef5fa 100%);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.expert-assurance__card > span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    color: #fff;
    background: var(--color-primary);
    border-radius: 10px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 850;
}

.expert-assurance__card h3,
.expert-process__list h3 {
    margin: 0 0 8px;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
}

.expert-assurance__card p,
.expert-process__list p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.55;
}

.expert-process {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
    padding: clamp(34px, 5vw, 58px);
    color: #fff;
    background:
        radial-gradient(circle at 90% 5%, rgba(8, 118, 133, 0.32), transparent 35%),
        linear-gradient(135deg, var(--color-primary) 0%, #0c1b29 100%);
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(16, 32, 51, 0.16);
}

.expert-section-head--light h2 {
    color: #fff;
}

.expert-section-head--light > p {
    color: rgba(239, 249, 252, 0.76);
}

.expert-section-head--light .team-page__eyebrow {
    color: #9ceaf1;
}

.expert-process__list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.expert-process__list li {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 16px;
    padding: 0 0 22px;
}

.expert-process__list li:not(:last-child) {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.expert-process__list li > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #9ceaf1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(156, 234, 241, 0.28);
    border-radius: 12px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 850;
}

.expert-process__list h3 {
    color: #fff;
}

.expert-process__list p {
    color: rgba(239, 249, 252, 0.72);
}

.expert-page__editor {
    padding: clamp(24px, 4vw, 42px);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
}

.expert-hub-cta {
    padding-top: clamp(18px, 3vw, 38px);
}

@media (max-width: 1100px) {
    .expert-assurance__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .expert-process {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .expert-page {
        padding-bottom: 28px;
    }

    .expert-assurance,
    .expert-process {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .expert-card__summary {
        font-size: 12px;
        -webkit-line-clamp: 3;
    }

    .expert-hub-cta {
        padding-top: 14px;
    }
}

@media (max-width: 520px) {
    .expert-assurance__grid {
        grid-template-columns: 1fr;
    }

    .expert-process__list li {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }
}
