/* Team section composition; shared hero and person-card components own their presentation. */
.page-template-team .our-team-4-area { padding: var(--d4y-section-space, 64px) 0; background: #f8faff; }
.page-template-team .our-team-4-area .section-header { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: end; margin-bottom: 36px; }
.page-template-team .our-team-4-area .section-header .section-subtitle { grid-column: 1 / -1; margin: 0 0 14px; font-size: 11px; line-height: 1.5; letter-spacing: 2px; }
.page-template-team .our-team-4-area .section-header .section-title { max-width: 490px; margin: 0; font-size: var(--d4y-type-section, 40px); line-height: 1.13; letter-spacing: -.8px; }
.page-template-team .our-team-4-area .section-header > p { max-width: 490px; margin: 0; font-size: 16px; line-height: 1.65; color: #596271; }
@media (max-width: 1023px) {
    .page-template-team .our-team-4-area .section-header { column-gap: 28px; }
}
@media (max-width: 767px) {
    .page-template-team .our-team-4-area .section-header { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 28px; }
    .page-template-team .our-team-4-area .section-header .section-subtitle { margin: 0; }
    .page-template-team .our-team-4-area .section-header .section-title { font-size: var(--d4y-type-section, 32px); }
    .page-template-team .our-team-4-area .section-header > p { max-width: 44ch; }
}

/* Expertise grouping; person cards are shared with About in team-cards.css. */
.page-template-team .d4y-team-directory { display: block; position: relative; }
.page-template-team .d4y-team-index { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0 0 26px; border-bottom: 1px solid #dbe3ee; }
.page-template-team .d4y-team-index a { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; color: #1351d8; font-size: 14px; line-height: 1.5; text-decoration: none; }
.page-template-team .d4y-team-index a::before { content: ''; width: 5px; height: 5px; flex: none; border-radius: 50%; background: currentColor; }
.page-template-team .d4y-team-index a:hover { color: #0d3b9c; text-decoration: underline; text-underline-offset: 5px; }
.page-template-team .d4y-team-index a:focus-visible { outline: 2px solid #1351d8; outline-offset: 4px; border-radius: 3px; }
.page-template-team .d4y-team-group { display: grid; grid-template-columns: minmax(170px,.55fr) minmax(0,2fr); gap: 32px; position: relative; padding: 32px 0; border-bottom: 1px solid #dbe3ee; scroll-margin-top: 112px; overflow: visible; }
.page-template-team .d4y-team-group:last-child { border-bottom: 0; padding-bottom: 0; }
.page-template-team .d4y-team-group-title { position: relative; max-width: 16ch; margin: 0; padding: 20px 0 0; color: #273144; font-size: 23px; line-height: 1.23; letter-spacing: -.4px; font-weight: 500; }
.page-template-team .d4y-team-group-title::before { content: ''; position: absolute; top: 0; left: 0; width: 42px; height: 3px; border-radius: 4px; background: #1351d8; }
.page-template-team .d4y-team-group-title::after { content: ''; display: block; width: min(170px,100%); height: 92px; margin-top: 26px; border-top: 1px solid #1351d824; border-right: 1px solid #1351d824; border-radius: 0 80px 0 0; box-shadow: 10px -10px 0 -9px #f8faff, 10px -10px 0 -8px #1351d812; pointer-events: none; }
@media (max-width:1199px) {
 .page-template-team .d4y-team-group { grid-template-columns: 180px minmax(0,1fr); gap: 28px; }
}
@media (max-width:1023px) {
 .page-template-team .d4y-team-group { grid-template-columns: minmax(0,1fr); gap: 24px; }
 .page-template-team .d4y-team-group-title { max-width: none; font-size: 24px; padding: 0 0 0 22px; }
 .page-template-team .d4y-team-group-title::before { top: 4px; width: 3px; height: 24px; }
 .page-template-team .d4y-team-group-title::after { display: none; }
}
@media (max-width:619px) {
 .page-template-team .d4y-team-index { display: grid; gap: 0; padding-bottom: 18px; }
 .page-template-team .d4y-team-index a { font-size: 13px; }
 .page-template-team .d4y-team-group { padding: 24px 0; gap: 20px; scroll-margin-top: 88px; }
 .page-template-team .d4y-team-group-title { font-size: 22px; line-height: 1.25; max-width: 24ch; }
}
