/* Meet the Team only; shared hero, navigation, CTA and footer are unchanged. */
.wgm-team-page { background: var(--wgm-warm-white); }
.wgm-team-page .wgm-team-intro { padding: var(--wgm-section-space) 0; }
.wgm-team-intro .wgm-eyebrow { color: var(--wgm-red); font-size: 12px; }
.wgm-team-intro h2 { margin: 0; color: var(--wgm-blue); font: 500 clamp(30px, 3.15vw, 46px)/1.15 var(--wgm-heading-font); letter-spacing: -.04em; }
.wgm-team-intro p:not(.wgm-eyebrow) { color: var(--wgm-muted); font-size: 15px; line-height: 1.75; }
.wgm-team-intro .col-lg-7 > p:last-child { margin-bottom: 0; }
.wgm-team-page .wgm-team-profiles { padding-bottom: var(--wgm-section-space); }
.wgm-team-profiles .wgm-team-profile { height: 100%; padding-bottom: 40px; border-bottom: 1px solid var(--wgm-stone); }
.wgm-team-profiles .wgm-team-profile__media { aspect-ratio: 4 / 5; overflow: hidden; }
.wgm-team-profiles .wgm-team-profile__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.wgm-team-profiles .wgm-team-profile__content { padding-top: 32px; }
.wgm-team-profiles .wgm-team-profile__number { display: block; margin-bottom: 24px; color: var(--wgm-red); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.wgm-team-profiles .wgm-team-profile__name { margin: 0 0 16px; color: var(--wgm-blue); font: 500 clamp(30px, 3.2vw, 46px)/1.15 var(--wgm-heading-font); letter-spacing: -.04em; }
.wgm-team-profiles .wgm-team-profile__role { margin: 0; color: var(--wgm-muted); font-size: 15px; line-height: 1.6; }
.wgm-team-profiles .wgm-team-profile__bio { margin: 0; color: var(--wgm-muted); font-size: 15px; line-height: 1.8; }
.wgm-team-profiles .wgm-team-profile__bio > p { margin: 0 0 16px; }
.wgm-team-profiles .wgm-team-profile__bio > p:last-child { margin-bottom: 0; }
.wgm-team-profiles .wgm-team-profile__bio strong { color: var(--wgm-blue); font-weight: 700; }
.wgm-team-profiles .wgm-team-profile__bio::before { content: ""; display: block; width: 36px; height: 2px; margin: 28px 0; background: var(--wgm-red); }
.wgm-team-page .wgm-team-contact-copy { margin: 0 0 24px; color: var(--wgm-white-80); font-size: 15px; line-height: 1.75; }
.wgm-team-page a:focus-visible { outline: 2px solid var(--wgm-red); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
    .wgm-team-profiles .wgm-team-profile__media:hover .wgm-team-profile__image { transform: scale(1.02); }
}
/* Added only after Intersection Observer is ready; normal content is visible by default. */
.wgm-team-reveal-ready .wgm-team-profile__media,
.wgm-team-reveal-ready .wgm-team-profile__content { transition: opacity 600ms ease, transform 600ms ease; }
.wgm-team-reveal-ready .wgm-team-profile__content { transition-delay: 120ms; }
.wgm-team-reveal-ready .wgm-team-profile:not(.is-visible) .wgm-team-profile__media,
.wgm-team-reveal-ready .wgm-team-profile:not(.is-visible) .wgm-team-profile__content { opacity: 0; transform: translateY(20px); }
@media (max-width: 991.98px) {
    .wgm-team-page .wgm-team-intro { padding: var(--wgm-section-space-tablet) 0; }
    .wgm-team-page .wgm-team-profiles { padding-bottom: var(--wgm-section-space-tablet); }
}
@media (max-width: 767.98px) {
    .wgm-team-page .wgm-team-intro { padding: var(--wgm-section-space-mobile) 0; }
    .wgm-team-page .wgm-team-profiles { padding-bottom: var(--wgm-section-space-mobile); }
    .wgm-team-profiles .wgm-team-profile__content { padding-top: 24px; }
    .wgm-team-profiles .wgm-team-profile__number { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .wgm-team-profiles .wgm-team-profile__image,
    .wgm-team-reveal-ready .wgm-team-profile__media,
    .wgm-team-reveal-ready .wgm-team-profile__content { transition: none; }
    .wgm-team-profiles .wgm-team-profile .wgm-team-profile__media,
    .wgm-team-profiles .wgm-team-profile .wgm-team-profile__content { opacity: 1; transform: none; }
    .wgm-team-profiles .wgm-team-profile__media:hover .wgm-team-profile__image { transform: none; }
}

.wgm-team-profiles .wgm-team-profile__linkedin { margin-top: 24px; min-height: 44px; }
.wgm-team-profiles .wgm-team-profile__linkedin[aria-disabled='true'] { color: var(--wgm-muted); cursor: default; }

/* Two-line answers are enhanced only when their actual rendered text overflows. */
.wgm-team-profiles .wgm-team-bio-section { margin-bottom: 16px; }
.wgm-team-profiles .wgm-team-bio-section:last-child { margin-bottom: 0; }
.wgm-team-profiles .wgm-team-bio-section > p { margin: 0; }
.wgm-team-profiles .wgm-team-bio-detail { display: block; }
.wgm-team-profiles .wgm-team-bio-detail.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.wgm-team-profiles .wgm-team-bio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--wgm-blue);
    font: 700 14px/1.4 var(--wgm-body-font);
    cursor: pointer;
}
.wgm-team-profiles .wgm-team-bio-toggle[hidden] { display: none; }
.wgm-team-profiles .wgm-team-bio-toggle:hover { color: var(--wgm-red); }
.wgm-team-profiles .wgm-team-bio-toggle:focus-visible { outline: 2px solid var(--wgm-red); outline-offset: 4px; }
.wgm-team-profiles .wgm-team-bio-chevron {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
}
.wgm-team-profiles .wgm-team-bio-toggle[aria-expanded="true"] .wgm-team-bio-chevron { transform: translateY(2px) rotate(225deg); }
@media (prefers-reduced-motion: reduce) {
    .wgm-team-profiles .wgm-team-bio-chevron { transition: none; }
}
