/* =========================================================
   TEAM-FILTER.CSS — Team Expertise Filter
   "Find the expertise your program needs" (our-team.html)
   Figma 665:1873: white band, 100px section padding,
   title-split (H2 left | label + select right)
   Behaviour: js/team-filter.js
   ========================================================= */

/* Reuses .title-split columns; this band has nothing below the split */
.team-filter-section .title-split {
    margin-bottom: 0;
}

.team-filter-section .col-left .h2 {
    max-width: 446px;
}

.team-filter-section .col-right {
    width: 100%;
}

/* Label: Figma P2 (Inter 21/28) */
.team-filter-section .team-filter-label {
    font-size: var(--font-size-p2);
    line-height: var(--line-height-p2);
    margin-bottom: 10px;
}

/* Select: offwhite field, 10px padding, 10px radius, soft drop shadow, gold chevron */
.team-filter-section .team-filter-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 10px 46px 10px 10px;
    font-family: var(--font-primary);
    font-size: var(--font-size-p2);
    line-height: 28px;
    color: var(--color-black);
    background: var(--color-offwhite) url("../images/select-arrow-gold.svg") no-repeat right 10px center / 16px 12px;
    border: none;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.06);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.team-filter-section .team-filter-select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Screen-reader result count (no visual footprint) */
.team-filter-section .team-filter-status {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .team-filter-section .team-filter-select {
        line-height: 24px;
    }
}

/* Figma 1531:3936 (2026): centered title + label, 684px select below */
.team-filter-section .col-left .h2 { max-width: none; }
.team-filter-section .team-filter-label { margin-bottom: 0; }
.team-filter-section .team-filter-control {
    max-width: 684px;
    margin: 40px auto 0;
}
.team-filter-section .title-split + .team-filter-control { margin-top: 40px; }
