/* Mobile layout refinement. Desktop design and all content are preserved. */
@media (max-width:1024px) {
 html body {--mobile-gutter:clamp(16px,3vw,28px)}
 html body .container,
 html body .exp41 .exp41-wrap {
  width:calc(100% - var(--mobile-gutter) * 2)!important;
  max-width:none!important;margin-inline:auto!important;
 }
 html body .container .container {width:100%!important}
 html body:has(.at-hero) .site-header .header-inner {padding-inline:0!important}
 html body:has(.at-hero) .at-hero-copy {
  left:var(--mobile-gutter)!important;right:var(--mobile-gutter)!important;
  max-width:none!important;width:auto!important;
 }
 html body:has(.at-hero) .at-search-shell {
  width:calc(100% - var(--mobile-gutter) * 2)!important;
  max-width:none!important;
 }
 main input:not([type=checkbox]):not([type=radio]),main select,main textarea,
 .at-search input,.at-search select {font-size:16px!important;min-width:0}
 :is(.atf-top,.home-intro-grid,.home-story-layout,.booking-main,.cc-main-grid,.exp41-transfer)>* {min-width:0}
 :is(.ab-submit,.ab-call,.booking-submit,.booking-call,.cc-btn,.exp41-btn,.atf-primary,.ab34-btn,.btn) {min-height:48px;max-width:100%;white-space:normal}
}
@media (max-width:767px) {
 html body:has(.at-hero) .at-hero-actions {
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  width:100%!important;max-width:100%!important;gap:12px!important;
 }
 html body:has(.at-hero) .at-hero-actions :is(.at-btn-main,.at-btn-ghost) {
  display:flex!important;width:100%!important;max-width:100%!important;min-width:0!important;
  min-height:54px!important;padding:15px 20px!important;font-size:15px!important;
  line-height:1.4!important;letter-spacing:0!important;gap:16px!important;
  justify-content:space-between!important;align-items:center!important;
  white-space:normal!important;overflow-wrap:normal!important;
 }
 html body:has(.at-hero) .at-hero-copy h1 {font-size:clamp(35px,9.4vw,57px)!important}
 html body:has(.at-hero) .at-hero {min-height:680px!important;max-height:none!important}
 html body .exp41-grid,html body .exp41-grid--four {grid-template-columns:minmax(0,1fr)!important}
 html body .g35-grid {grid-template-columns:minmax(0,1fr)!important}
 html body .g35-card.wide {grid-column:auto!important}
 .exp41-head,.g35-toolbar {flex-wrap:wrap}
 .booking-form-actions {grid-template-columns:minmax(0,1fr)}
 .atf-invite-action {min-width:0;max-width:100%}
 html body .atf-statement>strong {font-size:clamp(25px,7.7vw,58px)!important}
 .cc-quick-card strong {overflow-wrap:anywhere}
}
@media (max-width:380px) {
 .booking-form-four,.booking-extras-grid {grid-template-columns:minmax(0,1fr)}
 #main .ab34-feature-grid {grid-template-columns:minmax(0,1fr)}
 .at-search {grid-template-columns:minmax(0,1fr)!important}
 .at-search label {border-right:0!important;border-bottom:1px solid #e5e9e6}
 .at-search button {grid-column:1!important}
}
@media (max-width:767px) and (max-height:500px) {
 html body:has(.at-hero) .at-hero {height:680px!important}
}
/* Match the homepage hero's visible content edges throughout mobile pages.
   Older editorial styles add inner padding on top of the outer gutter. */
@media (max-width:1024px) {
 html body .container,
 html body .exp41 .exp41-wrap {
  padding-left:0!important;padding-right:0!important;
 }
}
@media (max-width:767px) {
 html body:has(.at-hero) .at-hero-actions {
  align-items:flex-start!important;gap:11px!important;
 }
 html body:has(.at-hero) .at-hero-actions :is(.at-btn-main,.at-btn-ghost) {
  width:auto!important;max-width:100%!important;
  min-height:50px!important;padding:13px 18px!important;
  font-size:14px!important;gap:20px!important;
  justify-content:space-between!important;
 }
 html body:has(.at-hero) .at-hero-actions .at-btn-ghost {
  min-height:48px!important;
 }
 html body:has(.at-hero) .at-hero-copy p {
  margin-left:0!important;margin-right:0!important;
 }
}
/* Final approved adjustment: only the four inner-page mobile hero copies. */
@media (max-width:767px) {
 html body #main .ab34-hero .ab34-hero-grid,
 html body .g35-main .g35-hero .g35-hero-inner,
 html body #main .cc-hero .cc-hero-inner,
 html body:has(.svc40-hero) .svc40-hero .svc40-hero-inner {
  width:calc(100% - var(--mobile-gutter) * 2)!important;
  max-width:none!important;min-width:0!important;
  margin-left:auto!important;margin-right:auto!important;
  padding-left:0!important;padding-right:0!important;
 }
 html body #main .ab34-hero .ab34-hero-grid>div:first-child,
 html body .g35-main .g35-hero .g35-hero-copy {
  min-width:0!important;max-width:100%!important;
  padding-left:0!important;padding-right:0!important;
 }
 html body #main .ab34-hero :is(h1,p),
 html body .g35-main .g35-hero :is(h1,p),
 html body #main .cc-hero :is(h1,p),
 html body:has(.svc40-hero) .svc40-hero :is(h1,p) {
  max-width:100%!important;min-width:0!important;
  padding-left:0!important;padding-right:0!important;
  white-space:normal!important;overflow-wrap:break-word!important;
 }
}
