/* SoCal Mobile Banner - the few things Elementor's controls can't express. Phones only (<=767px).
   Everything else (layout, text, images, colours, spacing) lives in the page's own Elementor widgets.
   Hooks are CSS classes set in Elementor (Advanced > CSS Classes): sma-m-header, sma-m-tagline, sma-hero, sma-hero-media, sma-hero-text, sma-appt. */

@media (max-width: 767px) {

  /* Header template: show the phone bar first, the light-blue tagline bar second (tablet/desktop order unchanged) */
  body .elementor.elementor-18 { display: flex; flex-direction: column; }
  body .elementor-18 .sma-m-header { order: 1; }
  body .elementor-18 .sma-m-tagline { order: 2; }

  /* Menu icon: three thin bars (24px wide, 2px thick, 5px gap) instead of the 4-line icon */
  body .sma-m-header .hfe-nav-menu__toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; }
  body .sma-m-header .hfe-nav-menu-icon {
    position: relative; display: block; width: 24px; height: 16px; margin: 0; padding: 0; font-size: 0; line-height: 0; background: none;
  }
  body .sma-m-header .hfe-nav-menu-icon::before {
    content: ''; position: absolute; left: 0; top: 0; width: 24px; height: 2px; background: #fff;
    box-shadow: 0 7px 0 #fff, 0 14px 0 #fff;
  }
  body .sma-m-header .hfe-nav-menu-icon svg { display: none; }

  /* Subtitle: the theme adds paragraph margins and makes <strong> heavier than the widget's weight */
  body .sma-hero-text .elementor-widget-text-editor p { margin: 0; }
  body .sma-hero-text .elementor-widget-text-editor strong { font-weight: inherit; }

  /* Balanced line breaks, like the design */
  body .sma-m-tagline .elementor-heading-title,
  body .sma-hero-text .elementor-widget-text-editor p,
  body .sma-hero-text .elementor-widget-heading .elementor-heading-title { text-wrap: balance; }

  /* "Appointments are available" status dot: 10px dot with a thin ring */
  body .sma-hero-text .sma-appt .elementor-button-icon svg,
  body .sma-hero-text .sma-appt .elementor-button-icon img {
    width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px #c9d6e4;
  }
}
