/* v48 — final mobile polish */

/* 1) Mobile hero: keep only one static photo (kids-1) and place it a bit higher. */
@media (max-width: 780px){
  body:not(.vision-mode) .hero-person{display:none !important;}
  body:not(.vision-mode) .hero-person--one{
    display:block !important;
    opacity:1 !important;
    --person-width:278px !important;
    --person-right:calc(50% - 139px) !important;
    --person-bottom:-26px !important;
    transform:translateY(0) scale(1) !important;
  }
  body:not(.vision-mode) .hero-people{
    height:196px !important;
    margin:-12px auto -6px !important;
    transform:translateY(-2px) !important;
  }
  body:not(.vision-mode) .hero-people__halo{
    bottom:-72px !important;
  }
  body:not(.vision-mode) .ref-hero::after{
    bottom:-16px !important;
    height:90px !important;
  }
}

/* 2) Small image cards: remove long overlay text on mobile and keep readable headings only. */
@media (max-width: 760px){
  .territory-community-v9__gallery figure:not(.territory-community-v9__main) figcaption span,
  .camp-moments__small figcaption span{
    display:none !important;
  }
  .territory-community-v9__gallery figure:not(.territory-community-v9__main) figcaption,
  .camp-moments__small figcaption{
    left:12px !important;
    right:12px !important;
    bottom:12px !important;
    gap:0 !important;
  }
  .territory-community-v9__gallery figure:not(.territory-community-v9__main) figcaption strong,
  .camp-moments__small figcaption strong{
    display:block !important;
    font-size:16px !important;
    line-height:1.12 !important;
    text-wrap:balance !important;
    overflow-wrap:anywhere !important;
    max-width:100% !important;
  }
  .territory-community-v9__gallery figure:not(.territory-community-v9__main)::after,
  .camp-moments__small::after{
    inset:52% 0 0 !important;
  }
}

/* 3) Slightly calm down main-card captions on small screens too. */
@media (max-width: 760px){
  .territory-community-v9__main figcaption strong,
  .camp-moments__main figcaption strong{
    font-size:14px !important;
    line-height:1.14 !important;
  }
  .territory-community-v9__main figcaption span,
  .camp-moments__main figcaption span{
    font-size:11px !important;
    line-height:1.25 !important;
  }
}

/* 4) Accessibility mode: same principle for small gallery cards. */
@media (max-width: 760px){
  body.vision-mode .territory-community-v9__gallery figure:not(.territory-community-v9__main) figcaption span,
  body.vision-mode .camp-moments__small figcaption span{
    display:none !important;
  }
  body.vision-mode .territory-community-v9__gallery figure:not(.territory-community-v9__main) figcaption strong,
  body.vision-mode .camp-moments__small figcaption strong{
    font-size:18px !important;
  }
}
