/* Keep the application screenshots inside their own mobile row so the
   benefit list below remains fully visible and readable. */
@media (max-width: 720px) {
  /* Preserve the intended hero line breaks. Hiding them concatenated words
     such as "you.Dental" and "treatmentsin" on small screens. */
  .hero-content > p:not(.kicker) br {
    display: block !important;
  }

  /* Give every language option a reliable touch target without changing the
     visible 24px circular treatment. */
  .language-switcher a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .app-showcase {
    align-items: stretch;
    overflow: hidden;
  }

  .app-showcase .phones {
    height: 510px;
    margin: 1.25rem 0 0;
    overflow: hidden;
    isolation: isolate;
  }

  .app-showcase .phone-one { bottom: 0; }
  .app-showcase .phone-two { top: 15px; }
  .app-showcase .phone-three { right: -2rem; bottom: 0; }

  .app-showcase .app-benefits {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 1.25rem 0 0;
    background: var(--ivory);
  }

  .app-showcase .app-benefits li {
    position: relative;
    z-index: 1;
    min-height: 58px;
    padding: 1rem 0;
    line-height: 1.45;
    background: var(--ivory);
  }

  .app-showcase .app-benefits i { flex: 0 0 30px; }
}

@media (max-width: 390px) {
  .app-showcase .phones { height: 420px; }
  .app-showcase .phone-one { bottom: 0; }
  .app-showcase .phone-two { top: 10px; }
}

@media (max-width: 720px) {
  .doctors { grid-template-columns: minmax(0, 1fr) !important; }
  .doctors > * { min-width: 0; max-width: 100%; }
  .menu-toggle, .filters button, .review-toggle { min-width: 44px; min-height: 44px; }
  .doctor-card > a, .journal-head > a, .results-head a, footer nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-block: .45rem;
  }
  .filters { scroll-padding-inline: 1rem; scroll-snap-type: x proximity; }
  .filters button { scroll-snap-align: start; }
}
