@media (max-width: 767px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  /* Keep long clinical titles readable without letting the hero consume the
     entire first mobile screen. Desktop typography remains unchanged. */
  html body h1.elementor-heading-title.elementor-size-default,
  html body.page-id-788 h1,
  html body.page-id-331670 h1,
  html body.page-id-320531 h1,
  html body.page-id-3707 h1,
  html body.page-id-3269 h1,
  html body.page-id-3421 h1,
  html body.page-id-210007 h1,
  html body.page-id-11721 h1 {
    font-size: clamp(28px, 7.7vw, 31px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
    overflow-wrap: break-word !important;
    text-wrap: balance;
  }

  html body.page-id-788.sr-cancer-template-standard div.elementor h1.elementor-heading-title.elementor-size-default {
    font-size: 28px !important;
    line-height: 1.08 !important;
  }

  body.sunridge-mobile-cta-ready {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock {
    position: fixed !important;
    inset: auto 0 0 !important;
    width: 100% !important;
    min-height: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid rgba(13, 62, 82, 0.12) !important;
    box-shadow: 0 -8px 28px rgba(13, 62, 82, 0.16) !important;
    z-index: 2147483000 !important;
    transition: transform 180ms ease, opacity 180ms ease !important;
  }

  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock,
  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock > .elementor-container,
  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-container,
  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-row,
  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-widget-wrap {
    box-sizing: border-box !important;
  }

  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock > .elementor-container,
  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-inner-section > .elementor-container {
    width: 100% !important;
    max-width: 560px !important;
    min-height: 54px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-inner-section,
  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-widget-wrap,
  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-widget,
  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-widget-container,
  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-button-wrapper,
  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-icon-box-wrapper,
  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-icon-box-icon {
    height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-inner-section > .elementor-container {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 8px !important;
  }

  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock .elementor-inner-column {
    width: calc(50% - 4px) !important;
    min-width: 0 !important;
  }

  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock a[data-sr-cta="appointment"] {
    color: #ffffff !important;
    background: #087eaa !important;
  }

  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock a[data-sr-cta="phone"] {
    color: #ffffff !important;
    background: #163e52 !important;
  }

  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock a[data-sr-cta="phone"] .elementor-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    color: inherit !important;
    font-size: 20px !important;
  }

  body.sunridge-mobile-cta-paused .footer-enquire.sr-mobile-action-dock {
    transform: translateY(110%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.sunridge-mobile-cta-ready .footer-enquire.sr-mobile-action-dock a:focus-visible {
    outline: 3px solid #f4b43a !important;
    outline-offset: 2px !important;
  }
}

