/* Mobile homepage: one clear path at a time. Desktop presentation is unchanged. */
.mission-mobile-actions,.mission-title-mobile{display:none}
.atlas-home-finder-more-toggle{display:none}

@media (max-width:700px){
  .home .shell{width:calc(100% - 28px)}

  /* Keep the first screen focused on finding care or asking for help. */
  .home .atlas-mission{min-height:0;padding:27px 0 205px}
  .home .atlas-mission .start-grid{display:block}
  .home .mission-copy{max-width:100%}
  .home .atlas-mission .start-kicker{margin-bottom:8px;font-size:10px!important}
  .home .atlas-mission h1{max-width:11ch;margin-bottom:10px;font-size:clamp(34px,10vw,41px);line-height:1.02}
  .home .mission-title-desktop{display:none}
  .home .mission-title-mobile{display:inline}
  .home .atlas-mission .mission-tagline{max-width:29ch;margin-bottom:17px;font-size:18px;line-height:1.3}
  .home .atlas-mission .mission-statement,
  .home .mission-library,
  .home .mission-resource-link,
  .home .hero-callback{display:none}
  .home .mission-photo{top:auto;height:205px}
  .home .mission-photo img{object-position:56% 39%}
  .home .mission-photo:after{background:linear-gradient(180deg,rgba(241,247,252,.72) 0%,rgba(241,247,252,.1) 30%,rgba(241,247,252,.04) 100%)}
  .mission-mobile-actions{display:grid;grid-template-columns:1fr;gap:9px;max-width:390px}
  .mission-mobile-actions>a,.mission-mobile-actions>button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:49px;padding:11px 16px;border-radius:9px;font:inherit;font-size:14px;font-weight:800;text-decoration:none}
  .mission-mobile-actions svg{width:18px;height:18px}
  .mission-mobile-primary{border:1px solid #2454a6;background:#2454a6;color:#fff;box-shadow:0 9px 20px rgba(36,84,166,.17)}
  .mission-mobile-secondary{border:1px solid #9db7ce;background:rgba(255,255,255,.93);color:#193f70}

  /* Search remains prominent; deeper location controls live on the full directory. */
  .home .atlas-home-finder{scroll-margin-top:92px;padding-top:25px}
  .home .atlas-home-finder-heading{padding-bottom:13px}
  .home .atlas-home-finder-heading .eyebrow{margin-bottom:4px;font-size:9px}
  .home .atlas-home-finder-heading h2{font-size:27px}
  .home .atlas-home-finder-heading>p{margin-top:7px;font-size:13px;line-height:1.45}
  .home .atlas-home-finder-form{gap:10px;padding:14px;border-radius:11px;box-shadow:0 10px 24px rgba(24,65,84,.08)}
  .home .atlas-home-finder-form .atlas-home-finder-region,
  .home .atlas-home-finder-form .atlas-home-finder-city{display:none}
  .home .atlas-home-finder-form.is-mobile-expanded .atlas-home-finder-region,
  .home .atlas-home-finder-form.is-mobile-expanded .atlas-home-finder-city{display:grid}
  .home .atlas-home-finder-more-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:42px;padding:8px 3px;border:0;border-top:1px solid #cfdae0;border-bottom:1px solid #cfdae0;background:transparent;color:#31546b;font:inherit;font-size:13px;font-weight:800;text-align:left}
  .home .atlas-home-finder-more-toggle strong{font-size:21px;font-weight:500;line-height:1}
  .home .atlas-home-finder-form input,
  .home .atlas-home-finder-form select,
  .home .atlas-home-finder-form .btn{height:47px}
  .home .atlas-home-finder-note{display:none}

  /* The map is an optional visual aid, not the dominant mobile experience. */
  .home .atlas-home-map{padding-top:15px}
  .home .atlas-home-map .atlas-map-canvas{height:330px}
  .home .atlas-home-map .atlas-map-heading{width:auto;right:8px;padding:10px 12px}
  .home .atlas-home-map .atlas-map-heading .eyebrow,
  .home .atlas-home-map .atlas-map-heading p,
  .home .atlas-home-map .atlas-map-legend{display:none}
  .home .atlas-home-map .atlas-map-heading h2{margin:0;font-size:18px}
  .home .atlas-home-map .atlas-map-status{padding:9px 10px;font-size:11px;line-height:1.4}
  .home .atlas-home-map .atlas-map-status>span{font-size:0}
  .home .atlas-home-map .atlas-map-status>span>[data-atlas-map-count]{font-size:11px}
  .home .atlas-home-map .atlas-map-status>span::after{content:" mapped clinics in view";font-size:11px}
  .home .atlas-home-map .atlas-map-total,
  .home .atlas-home-map [data-atlas-directory-total]{display:none}

  /* Search and a short nearby sample replace the large browse dashboard. */
  .home .atlas-portal{padding:25px 0 34px;gap:23px}
  .home .browse-index{display:none}
  .home .directory-feed .portal-heading{margin-bottom:9px}
  .home .directory-feed .portal-heading h2{font-size:24px}
  .home .directory-feed .feed-intro{font-size:13px}
  .home .clinic-feed .provider-row:nth-child(n+4){display:none}
  .home .directory-feed .feed-note{display:none}
  .home .directory-feed .feed-view-all{margin-top:14px}

  /* Sunridge remains the featured clinic; secondary editorial material is concise. */
  .home .portal-help{display:block}
  .home .portal-help>.sunridge-promo{margin:0}
  .home .sunridge-promo{padding:20px}
  .home .sunridge-promo h2{font-size:25px}
  .home .atlas-reading{padding-block:28px}
  .home .reading-grid{gap:19px}
  .home .reading-lead h2{font-size:28px}
  .home .reading-lead>p:not(.start-kicker),
  .home .reading-method{display:none}
  .home .reading-list>a:nth-child(n+4){display:none}
  .home .atlas-how{display:none}

  /* The persistent Call / Ask bar already supplies the callback action. */
  .home .footer-contact,
  .home .market-feature-carousel,
  .home .mobile-care-actions,
  .home .site-footer .footer-link-grid nav:nth-child(n+3),
  .home .site-footer .footer-connect-row{display:none}
  .home .site-footer .footer-link-grid nav:first-child li:nth-child(n+5),
  .home .site-footer .footer-link-grid nav:nth-child(2) li:nth-child(n+5){display:none}
  body.home{padding-bottom:0}
  .home .site-footer .footer-hub{padding-block:28px 22px}
  .home .site-footer .footer-brand-panel{gap:20px;padding-bottom:22px}
  .home .site-footer .footer-brand>p{font-size:14px;line-height:1.55}
  .home .site-footer .footer-link-grid{grid-template-columns:1fr 1fr;gap:20px;padding:24px 0 5px}
  .home .site-footer .footer-bottom{padding-block:18px}
}

@media (max-width:380px){
  .home .site-footer .footer-link-grid{grid-template-columns:1fr}
}
