/* Launch fixes: home viewport, booking, contact photograph, error page. */
.ph-home .sb-cookie-bar .sb-cookie-actions [data-sb-cookie-settings] {border:0; text-decoration:underline; text-underline-offset:3px; padding-inline:8px; background:transparent; color:#67441b;}
@media (max-width:570px) {
  .ph-home .sb-cookie-bar {flex-wrap:wrap; gap:4px 8px; width:max-content;}
  .ph-home .sb-cookie-bar .sb-cookie-actions {gap:4px;}
}
/* Keep the top and bottom gaps equal. Let the booking form take its natural height.
   At very short viewports, allow scrolling rather than overlap or clip content. */
@media (min-width:1001px) {
  .ph-home:not(.ph-inner) .ph-welcome {padding-block:var(--hero-gap);}
  .ph-home:not(.ph-inner) .ph-welcome>.ph-wrap {display:grid; grid-template-rows:minmax(min-content,1fr) auto; gap:16px; min-height:calc(100vh - var(--header-height) - 2 * var(--hero-gap)); min-height:calc(100svh - var(--header-height) - 2 * var(--hero-gap));}
  .ph-home:not(.ph-inner) .ph-welcome .ph-hero {aspect-ratio:auto; height:auto; min-height:360px; max-height:none; display:flex; flex-direction:column; justify-content:space-between; gap:20px; padding:24px;}
  .ph-home:not(.ph-inner) .ph-welcome .ph-hero :is(.ph-hero__copy,.ph-hero__action) {position:relative; inset:auto;}
  .ph-home:not(.ph-inner) .ph-welcome .ph-hero h1 {font-size:clamp(50px,5.25vw,80px); margin-bottom:clamp(14px,2.1vh,26px);}
  .ph-home:not(.ph-inner) .ph-welcome .ph-book {margin-top:0; min-height:0; padding-block:20px;}
}
@media (min-width:1001px) and (max-height:780px) {
  .ph-home:not(.ph-inner) .ph-welcome .ph-hero {padding-block:18px; gap:16px;}
  .ph-home:not(.ph-inner) .ph-welcome .ph-hero h1 {font-size:clamp(48px,4.7vw,72px); margin-bottom:14px;}
  .ph-home:not(.ph-inner) .ph-welcome .ph-book {padding-block:16px;}
}
.ph-home.sb-booking-page main .native-booking .booking-label {display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 18px; margin:0 0 16px;}
.ph-home.sb-booking-page main .native-booking .booking-label strong {font-size:clamp(1.125rem,2vw,1.375rem); line-height:1.3;}
.ph-home.sb-booking-page main .native-booking .booking-label .travelline-tag {display:inline-flex; align-items:center; justify-content:flex-start; gap:7px; color:#5b5144; font-size:.875rem; line-height:1.4; max-width:none; text-align:left;}
.ph-home.sb-booking-page main .native-booking .booking-label .travelline-tag::before {width:7px; height:7px; flex:none; background:#608348;}
.ph-home.sb-booking-page main .native-booking .sb-tl-policy {margin:20px 0 0; padding-top:14px; border-top:1px solid #e6ddcf; color:var(--muted); font-size:.9375rem; line-height:1.5;}
@media (max-width:760px) {
  .ph-home.sb-booking-page .mobile-booking {display:none!important;}
  .ph-home.sb-booking-page {padding-bottom:0;}
  .ph-home.sb-booking-page main .native-booking .booking-label {flex-direction:column; align-items:flex-start; gap:6px; margin-bottom:14px;}
}
.ph-home.sb-contacts-page main .map-card.sb-clean-photo {min-height:0; height:auto; align-self:start; line-height:0;}
.ph-home.sb-contacts-page main .map-card.sb-clean-photo>.photo-picture {display:block; min-height:0; height:auto; aspect-ratio:16/9;}
.ph-home.sb-contacts-page main .map-card.sb-clean-photo>.photo-picture>img {display:block; width:100%; height:100%; min-height:0; object-fit:cover; filter:none;}
.ph-home.sb-error-page main .error-page {text-align:center; padding:clamp(48px,10vh,90px) 0;}
.ph-home.sb-error-page main .error-page .container {display:flex; flex-direction:column; align-items:center; gap:18px;}
.ph-home.sb-error-page main .error-page :is(h1,p) {text-align:center; margin:0 auto; max-width: min(100%, 42rem);}
.ph-home.sb-error-page main .error-page h1 {max-width:100%;}
.ph-home.sb-error-page main .error-page .sb-error-actions {display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:6px;}

.ph-home .sb-cookie-bar {max-width:min(540px,calc(100% - 24px)); gap:8px 12px; font-size:14px; align-items:center;}
.ph-home .sb-cookie-bar p {flex:1 1 270px; max-width:380px; line-height:1.35;}
.ph-home .sb-cookie-bar .sb-cookie-actions {flex:none;}
@media (max-width:760px) {
  .ph-home.sb-booking-page .sb-cookie-bar {position:static; margin:16px auto; width:calc(100% - 32px); max-width:540px; box-shadow:none;}
  .ph-home:not(.sb-booking-page) .sb-cookie-bar {bottom:max(86px,calc(76px + env(safe-area-inset-bottom)));}
}
