/* Portrait carousel proportions and centered typography follow the supplied MasterClass reference. */
#team gaminco-team-carousel { display: block; min-width: 0; }
#team .mission-team-controls { display: flex; justify-content: flex-end; gap: .35rem; margin: -1rem 0 .75rem; }
#team .mission-team-controls button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fffaf4; background: #3c3c3f; transition: opacity .2s; }
#team .mission-team-controls button:disabled { opacity: .32; cursor: default; }
#team .mission-team-controls button:focus-visible, #team .mission-team-track:focus-visible, #team .mission-team-pagination button:focus-visible { outline: 2px solid #f97316; outline-offset: 3px; }
#team .mission-team-track { display: flex; gap: 20px; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 1px 0 2px; -webkit-overflow-scrolling: touch; }
#team .mission-team-track::-webkit-scrollbar { display: none; }
#team .mission-team-card { container-type: inline-size; flex: 0 0 clamp(15rem, 78vw, 18.75rem); width: clamp(15rem, 78vw, 18.75rem); max-width: none; height: auto; aspect-ratio: 9 / 16; border-radius: .7rem; scroll-snap-align: start; scroll-snap-stop: always; box-shadow: none; }
#team .mission-team-card::after { inset: 20% 0 0; background: linear-gradient(180deg,transparent 0%,rgba(23,24,25,.25) 30%,rgba(23,24,25,.84) 66%,#18191a 100%); }
#team .mission-team-focus { position: static; margin: 0; transform: none; white-space: pre-line; text-align: center; text-transform: uppercase !important; color: #fffaf4 !important; font-family: 'Poppins', sans-serif; font-size: clamp(1.25rem, 9cqw, 1.7rem); font-weight: 700; line-height: 1.2; letter-spacing: .04em; text-shadow: 0 2px 14px rgba(0,0,0,.25); }
#team .mission-team-caption { position: absolute; z-index: 2; inset: auto 1.15rem 1.35rem; display: flex; flex-direction: column; align-items: center; gap: .65rem; text-align: center; color: #fffaf4; }
#team .mission-team-separator { display: block; width: 20px; height: 4px; margin-bottom: .2rem; background: rgba(255,250,244,.9); }
#team .expert-card-title { display: block; margin: 0; color: #fffaf4 !important; font-size: clamp(1rem, 6.7cqw, 1.25rem) !important; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
#team .expert-card-title strong { color: inherit !important; font: inherit; }
#team .mission-team-bio { margin: 0; color: rgba(255,250,244,.87) !important; font-size: clamp(.72rem, 4.3cqw, .84rem); line-height: 1.5; font-weight: 400; }
#team .mission-team-pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 1.1rem; }
#team .mission-team-pagination button { display: grid; place-items: center; min-width: 24px; min-height: 28px; background: transparent; }
#team .mission-team-pagination button::after { content: ''; width: 4px; height: 4px; border-radius: 8px; background: #9b9590; transition: width .2s; }
#team .mission-team-pagination button[aria-current="true"]::after { width: 20px; background: #433f3c; }
@media (prefers-reduced-motion: reduce) { #team .mission-team-track { scroll-behavior: auto; } #team .mission-team-controls button, #team .mission-team-pagination button::after { transition: none; } }

#team .mission-team-controls [hidden] { display: none; }

#team .expert-market-avatar img { transform: scale(var(--team-photo-scale, 1)); }
#team .mission-team-card:hover .expert-market-avatar img { transform: scale(calc(var(--team-photo-scale, 1) * 1.025)); }
