/* Kumbaya Rentals: phone layout fixes (added Nov 10, 2026). Phones only, 767px and under. */
@media (max-width: 767px) {

  /* 1. Compact header: logo and menu button share one row */
  .elementor-location-header .elementor-element-f4fabad,
  .elementor-location-header .elementor-element-28d42c8 { padding-top: 0 !important; padding-bottom: 0 !important; }
  .elementor-location-header .elementor-element-4c61149 { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important; padding-top: 4px !important; padding-bottom: 4px !important; }
  .elementor-location-header .elementor-element-7f7732c { flex: 1 1 auto !important; width: auto !important; height: auto !important; min-height: 0 !important; }
  .elementor-location-header .elementor-element-ad4e6cf { flex: 0 0 auto !important; width: auto !important; }
  .elementor-location-header .elementor-element-ad605b2 { width: auto !important; flex: none !important; }
  .elementor-location-header .elementor-element-ad605b2 img { height: 60px !important; width: auto !important; max-width: none !important; max-height: none !important; display: block; margin: 0; }
  .elementor-location-header .elementor-element-51029d0 { display: none; }

  /* 2. Shorter phone hero */
  .elementor-element-8a9e560 { min-height: 560px !important; }

  /* 3. Rotating headline word gets its own line */
  .elementor-headline--style-rotate .elementor-headline-dynamic-wrapper { display: block !important; width: 100% !important; }

  /* 4. Easier tap targets */
  .elementor-social-icon { width: 44px !important; height: 44px !important; display: inline-flex !important; align-items: center; justify-content: center; }
  .elementor-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .elementor-location-footer a:not(.elementor-social-icon) { display: inline-block; padding: 10px 0; font-size: 15px; }

  /* 5. 16px form text stops iPhones zooming in on tap */
  input, select, textarea { font-size: 16px !important; }

  /* 6. Sticky Call and Book Now bar, built from the existing footer links */
  .elementor-location-footer a[href^="tel:"],
  .elementor-location-footer a[href*="/book-online/"] {
    position: fixed; bottom: 0; z-index: 999; width: 50%;
    height: calc(56px + env(safe-area-inset-bottom, 0px)); padding: 0 6px env(safe-area-inset-bottom, 0px);
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: #fff !important; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 14px; white-space: nowrap; text-decoration: none; box-sizing: border-box;
  }
  .elementor-location-footer a[href^="tel:"] { left: 0; background: #1f4377; }
  .elementor-location-footer a[href*="/book-online/"] { right: 0; background: #4587d6; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}


/* Hero banners: show the first photo straight from CSS so it appears before the slideshow script loads (added Nov 17, 2026) */
@media (max-width: 1024px) {
  .elementor-element-8a9e560 { background: #1f4377 url("../img/mobile-banner-11-opt.jpg") center / cover no-repeat; }
}
@media (min-width: 1025px) {
  .elementor-element-8b47504 { background: #1f4377 url("../img/web-banner-12-opt.png.jpg") center / cover no-repeat; }
}


/* Center the rotating word under the headline on phones (added Nov 17, 2026) */
@media (max-width: 767px) {
  .elementor-headline--style-rotate .elementor-headline-dynamic-wrapper { text-align: center !important; }
}


/* Match headings on standard pages (boat pages, licence guide) to the site font (added Nov 17, 2026) */
body.page-template-default:not(.elementor-page) .entry-title,
body.page-template-default:not(.elementor-page) .entry-content h2,
body.page-template-default:not(.elementor-page) .entry-content h3 { font-family: Montserrat, sans-serif; font-weight: 800; letter-spacing: 0; }
@media (max-width: 767px) {
  body.page-template-default:not(.elementor-page) .entry-title { font-size: 28px; line-height: 1.25; }
  body.page-template-default:not(.elementor-page) .entry-content h2 { font-size: 23px; line-height: 1.3; }
}


/* Keep the desktop menu on one line (added Nov 17, 2026) */
@media (min-width: 1025px) {
  .elementor-location-header .elementor-element-4849363 .elementor-nav-menu--main .elementor-item { padding-left: 13px !important; padding-right: 13px !important; white-space: nowrap; }
  .elementor-location-header .elementor-element-4849363 .elementor-nav-menu--main > ul { flex-wrap: nowrap !important; }
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .elementor-location-header .elementor-element-4849363 .elementor-nav-menu--main .elementor-item { padding-left: 9px !important; padding-right: 9px !important; font-size: 13px !important; }
}
