/* Our Team — page-specific pieces (leadership trio + photo carousel) */
.pg-team-trio { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) minmax(0, 1.2fr); gap: 16px; align-items: stretch; }
.pg-team-person { display: flex; flex-direction: column; }
.pg-team-person img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 15%; }
.pg-team-person .nhp-member-body { display: flex; flex-direction: column; flex: 1; }
.pg-team-person .nhp-member-body p:last-of-type { flex: 1; }
/* one-line, full-width button: label centred with the arrow right after it */
.pg-team-person .nh-pill { align-self: stretch; justify-content: center; margin-top: 18px; font-size: .86rem; min-height: 44px; padding: 0 14px; white-space: nowrap; text-align: center; line-height: 1.2; max-width: 100%; gap: 8px; }
.pg-team-person .nh-pill svg { flex-shrink: 0; width: 13px; height: 13px; }
.pg-team-carousel { position: relative; border-radius: var(--nh-r-md); overflow: hidden; border: 1.5px solid var(--nh-line); background: var(--nh-band); min-height: 360px; }
.pg-team-viewport { position: absolute; inset: 0; }
.pg-team-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.pg-team-slide.active { opacity: 1; pointer-events: auto; }
.pg-team-slide--wait { display: none; } /* set by team.js: not rendered, so its lazy photo is not downloaded yet */
/* the <picture> wrapper must fill the slide, otherwise the photo keeps its own size and leaves an empty band */
.pg-team-slide picture { display: block; width: 100%; height: 100%; }
.pg-team-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.pg-team-nav { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; background: linear-gradient(transparent, rgba(10,30,61,.72)); }
.pg-team-dots { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.pg-team-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: background .2s, transform .2s; }
.pg-team-dot::after { content: ''; position: absolute; inset: -16px -3px; }
.pg-team-dot.active { background: #fff; transform: scale(1.3); }
.pg-team-dot:focus-visible { outline: 3px solid var(--nh-cyan); outline-offset: 2px; }
.pg-team-arrows { display: flex; gap: 8px; }
.pg-team-arr { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(10,30,61,.35); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.pg-team-arr:hover { background: var(--nh-ink); }
.pg-team-arr svg { width: 16px; height: 16px; }
.pg-team-hero-stats { margin-top: 32px; }
.pg-team-hero-stats .nhp-stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.pg-team-hero-stats .nhp-stat b { color: var(--nh-cyan); }
.pg-team-hero-stats .nhp-stat span { color: rgba(255,255,255,.78); }
.pg-team-cta-stats { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pg-team-cta-stats .nhp-stat { text-align: left; display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.pg-team-cta-stats .nhp-stat b { min-width: 96px; line-height: 1; }
.pg-team-cta-stats .nhp-stat span strong { display: block; color: var(--nh-ink); font-weight: 800; }
.pg-team-cta-stats .nhp-stat span { line-height: 1.35; }
.pg-team-cta-stats .nhp-stat b { font-size: 1.6rem; }
.pg-team-cta-stats .nhp-stat span { margin: 0; }
@media (prefers-reduced-motion: reduce) { .pg-team-slide { transition: none; } }
@media (max-width: 1024px) { .pg-team-trio { grid-template-columns: 1fr 1fr; } .pg-team-carousel { grid-column: 1 / -1; order: -1; min-height: 300px; } }
@media (max-width: 640px) { .pg-team-trio { grid-template-columns: 1fr; } .pg-team-carousel { min-height: 240px; } }

.pg-team-photo--michael { object-position: center 18%; }
.pg-team-photo--irena { object-position: center 0; }

.pg-team-cta-p { margin: 16px 0 24px; }
.pg-team-cta-actions { margin-top: 0; }
