/* =========================================================
   TEAM-PROFILE.CSS — Single team member (Figma 1839:1865)
   ========================================================= */

/* Hero: intro text must stay readable on navy */
.hero-section--profile .hero-content-main > p:not(.hero-profile-role) { color: var(--color-white); font-size: var(--font-size-p3); line-height: 28px; }
.hero-section--profile .h1 { font-weight: var(--font-weight-medium); }

/* At a glance: gold-dot rows with hairline separators (P2 21/30) */
.team-glance-section { background-color: var(--color-white); }
.team-glance-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(3, 8, 50, 0.15); }
.team-glance-list li {
    position: relative;
    padding: 14px 0 14px 28px;
    border-bottom: 1px solid rgba(3, 8, 50, 0.15);
    font-size: var(--font-size-p2);
    line-height: 30px;
}
.team-glance-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(14px + 8.5px);
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: var(--color-primary);
}

/* Profile timeline: gold chevron markers on a dashed line, white cards */
.team-timeline-section { background-color: var(--color-offwhite); }
.team-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.team-timeline-item { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 26px; align-items: center; }
.team-timeline-item::before {
    content: "";
    position: absolute;
    left: 14.5px;
    top: 0;
    bottom: -10px;
    border-left: 1px dashed rgba(3, 8, 50, 0.4);
}
.team-timeline-item:first-child::before { top: 50%; }
.team-timeline-item:last-child::before { bottom: 50%; }
.team-timeline-marker {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
}
.team-timeline-card { padding: 15px 20px; background-color: var(--color-white); }
.team-timeline-card p { font-size: 16px; line-height: 24px; }
.team-timeline-card p + p { margin-top: 10px; }

/* Where helps / Selected expertise reuse the Integration layout */
.team-helps-section .integration-list li { font-size: var(--font-size-p3); line-height: 28px; }
.team-expertise-section { background-color: var(--color-offwhite); }
.team-expertise-list { list-style: none; margin: 0; padding: 0; }
.team-expertise-list li { padding: 16px 0; border-bottom: 1px solid rgba(3, 8, 50, 0.15); }
.team-expertise-list li:first-child { padding-top: 0; }
.team-expertise-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.team-expertise-list .h3 {
    position: relative;
    padding-left: 28px;
    font-size: 24px;
    line-height: 32px;
    font-weight: var(--font-weight-medium);
}
.team-expertise-list .h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9.5px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: var(--color-primary);
}
.team-expertise-list .h3 a { color: inherit; }
.team-expertise-list .h3 a:hover { color: var(--color-primary); }
.team-expertise-list p { margin-top: 8px; font-size: var(--font-size-p3); line-height: 28px; }
.integration-section .no-visual { grid-template-columns: 1fr; }

@media (max-width: 767px) {
    .team-glance-list li { font-size: 18px; line-height: 28px; }
    .team-glance-list li::before { top: calc(14px + 7.5px); }
    .team-timeline-item { gap: 16px; }
    .team-expertise-list .h3 { font-size: 21px; line-height: 30px; }
}
