@media screen and (max-width: 650px) {
  html body :is(main, [role="main"], .lp-page, .schedule-page, .thanks-page, .fb-page) {
    --mobile-page-title: 36px;
  }

  html body :is(main, [role="main"], .lp-page, .schedule-page, .thanks-page, .fb-page) h1 {
    font-size: var(--mobile-page-title);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  html body :is(main, [role="main"], .lp-page, .schedule-page, .thanks-page, .fb-page) h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  html body :is(main, [role="main"], .lp-page, .schedule-page, .thanks-page, .fb-page) h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
  }

  html body :is(main, [role="main"], .lp-page, .schedule-page, .thanks-page, .fb-page)
    p:not([class*="eyebrow"], [class*="kicker"], [class*="label"], [class*="price"],
          [class*="badge"], [class*="note"], [class*="meta"], [class*="caption"], [class*="disclaimer"]) {
    font-size: 18px;
    line-height: 1.65;
  }

  html body :is(main, .lp-page, .fb-page) :is([class*="-card"], [class*="-tile"], .home-treatment) p:not([class*="eyebrow"], [class*="price"], [class*="kicker"]) {
    font-size: 16px;
    line-height: 1.6;
  }

  html body :is(main, .lp-page, .fb-page) :is([class*="subtitle"], [class*="-subhead"]) {
    font-size: 16px;
    line-height: 1.55;
  }

  html body :is(main, .lp-page, .schedule-page, .thanks-page, .fb-page)
    :is(a[class*="-btn"], a[class*="-button"], .pain-hero-offer, button[type="submit"]) {
    min-height: 48px;
    font-size: 16px;
    line-height: 1.35;
    white-space: normal;
  }

  html body :is(main, .lp-page, .schedule-page, .fb-page) :is(input, select, textarea) {
    font-size: 16px;
    max-width: 100%;
  }

  html body :is(main, .lp-page, .fb-page) :is(summary, [class*="faq"] h3, [class*="faq"] button) {
    font-size: 17px;
    line-height: 1.45;
  }

  html body :is(main, .lp-page, .fb-page) :is(details p, [class*="faq-answer"], blockquote, [class*="review-quote"]) {
    font-size: 17px;
    line-height: 1.6;
  }

  html body :is(main, .lp-page, .schedule-page, .thanks-page, .fb-page)
    section > [class$="-wrap"]:not([class*="media"], [class*="video"], [class*="form"], [class*="booking"]) {
    width: min(calc(100% - 40px), 760px);
    margin-inline: auto;
  }

  html body :is(main, .lp-page, .fb-page) :is([class$="-section"], .home-conditions, .home-team, .home-visit, .home-reviews) {
    padding-block: 52px;
  }

  html body :is(main, .lp-page, .fb-page)
    :is(.condition-three, .condition-two, .condition-related, .home-team-grid, .home-condition-grid) {
    gap: 24px;
  }

  html body .ct-mobile-menu a small {
    font-size: 15px;
    line-height: 1.4;
  }

  html body .ct-mobile-menu :is(.ct-condition-row > a, .ct-condition-submenu a, .ct-mobile-appointments a, .ct-mobile-group > a) {
    min-height: 48px;
    box-sizing: border-box;
  }

  html body .ct-mobile-menu .ct-condition-toggle {
    flex-basis: 48px;
    width: 48px;
    min-height: 48px;
  }

  html body .ct-mobile-toggle {
    width: 48px;
    height: 48px;
  }
}

@media screen and (max-width: 360px) {
  html body :is(main, [role="main"], .lp-page, .schedule-page, .thanks-page, .fb-page) {
    --mobile-page-title: 32px;
  }
}
