/* Three separate mobile categories, in page order: Doctors, Hygienists, Team. */
.team-mobile-slider { display: none; }
@media (max-width: 760px) {
  .team-directory .team-mobile-explorer, .team-directory .team-group { display: none !important; }
  .team-directory .team-mobile-slider { display: block; margin: 0; }
  .team-mobile-intro { margin: 0 0 22px; max-width: 42ch; font-size: 13px; line-height: 1.55; color: var(--muted); }
  .team-mobile-category { margin-bottom: 30px; }
  .team-mobile-category:last-child { margin-bottom: 0; }
  .team-mobile-category-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 0 0 13px; }
  .team-mobile-category-heading .eyebrow { margin: 0 0 4px; font-size: 9px; letter-spacing: .14em; }
  .team-mobile-category-heading h2 { margin: 0; color: var(--forest); font-size: clamp(24px,7vw,30px); line-height: 1.15; letter-spacing: -.045em; }
  .team-mobile-total { color: var(--teal); font-size: 11px; font-weight: 750; white-space: nowrap; padding-bottom: 3px; }
  .team-mobile-track { display: flex; width: 100%; overflow-x: auto; overflow-y: hidden; margin: 0; padding: 0 0 5px;
    scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
  .team-mobile-track::-webkit-scrollbar { display: none; }
  .team-mobile-track:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 8px; }
  .team-mobile-slide { flex: 0 0 100%; min-width: 100%; width: 100%; display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(7px,2.25vw,12px); align-items: stretch;
    scroll-snap-align: start; scroll-snap-stop: always; }
  .team-mobile-person { min-width: 0; display: flex; flex-direction: column; text-decoration: none; color: var(--forest);
    background: #f5f8f5; border: 1px solid #dbe7dc; border-radius: 13px; overflow: hidden; }
  .team-mobile-person:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
  .team-mobile-person-photo { display: block; width: 100%; aspect-ratio: 4 / 4.7; background: linear-gradient(135deg,#e6f0e9,#cee0d9); overflow: hidden; }
  .team-mobile-person-photo > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 17%; }
  .team-mobile-avatar { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%;
    background: linear-gradient(145deg,#e5f0e8,#bfd7c9); color: #256d5c;
    font: 700 clamp(22px,7vw,36px)/1 Manrope,sans-serif; letter-spacing: -.04em; }
  .team-mobile-person-info { min-height: 82px; display: flex; flex-direction: column; gap: 4px; padding: 10px 6px 12px; }
  .team-mobile-person-name { display: block; font-weight: 750; font-size: clamp(11px,3.15vw,13px); line-height: 1.25;
    letter-spacing: -.025em; overflow-wrap: anywhere; }
  .team-mobile-person-role { display: block; font-size: clamp(9px,2.55vw,11px); line-height: 1.35; color: #5b7569; overflow-wrap: anywhere; }
  .team-mobile-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; margin: 6px 0 0; }
  .team-mobile-swipe-label { color: #557467; font-size: 11px; font-weight: 650; }
  .team-mobile-dots { display: flex; justify-content: center; gap: 6px; }
  .team-mobile-dot { width: 5px; height: 5px; border-radius: 100px; background: #c7d9cf; transition: width .2s ease,background-color .2s ease; }
  .team-mobile-dot.is-active { width: 17px; background: var(--teal); }
  .team-mobile-count { color: var(--forest); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
}
@media (max-width: 350px) {
  .team-mobile-person-info { padding-inline: 5px; min-height: 92px; }
  .team-mobile-dots { gap: 4px; }
  .team-mobile-swipe-label { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .team-mobile-dot { transition: none; } }
