/* Shared responsive foundation. Container queries also respect local preview modes. */
.aliz-preview-page{
  container: aliz-page / inline-size;
  --aliz-gutter: 20px;
  --aliz-content-max: 1180px;
  --aliz-h1: clamp(36px, 4.3cqi, 62px);
  --aliz-h2: clamp(30px, 3.1cqi, 44px);
  --aliz-h3: clamp(24px, 2cqi, 28px);
  --aliz-body: clamp(16px, 1.25cqi, 18px);
  --aliz-section-space: clamp(40px, 5.5cqi, 80px);
}

.aliz-preview-page :is(.cohort-main,.home-editorial,.hub-editorial){ font-size:var(--aliz-body); line-height:1.65; }

.aliz-preview-page :is(.cohort-section,.home-editorial,.hub-editorial) h2{ font-size:var(--aliz-h2); line-height:1.18; text-wrap:balance; }

.aliz-preview-page :is(.cohort-section,.home-editorial,.hub-editorial) h3{ font-size:var(--aliz-h3); line-height:1.22; }

.aliz-preview-page :is(.cohort-section h1,.cohort-masthead-title,.hub-hero-copy h1){ font-size:var(--aliz-h1); line-height:1.12; text-wrap:balance; }

.aliz-preview-page :is(.cohort-section,.home-editorial,.hub-editorial) p:not(.cohort-eyebrow){ font-size:var(--aliz-body); line-height:1.65; }

.aliz-preview-page :is(.cohort-section,.home-editorial .home-section,.hub-section){ max-width:var(--aliz-content-max); padding-block:var(--aliz-section-space); }

.aliz-preview-page :is(.cohort-button,.home-text-link,.hub-text-link,.elementor-button){ min-height:48px; align-items:center; }

.aliz-preview-page :is(.cohort-main,.home-editorial,.hub-editorial,.elementor) :is(p,li,dd){ overflow-wrap:break-word; }

.aliz-preview-page :is(.cohort-intro,.cohort-split,.cohort-editorial,.cohort-location,.home-intro-grid,.home-about,.hub-location)>*{ min-width:0; }

.aliz-preview-page .cohort-compare article.cohort-stay-card{ height:auto; min-height:0; }

.aliz-preview-page .cohort-stay-card-inner{ display:grid; height:auto; min-height:560px; }

.aliz-preview-page .cohort-stay-face{ position:relative; grid-area:1/1; min-width:0; }

.aliz-preview-page .cohort-stay-front>img{ position:absolute; inset:0; width:100%; height:100%; }

.aliz-preview-page .cohort-stay-back{ overflow:visible; padding:32px; }

.aliz-preview-page .cohort-stay-back .cohort-button{ margin-top:auto; }

.aliz-preview-page .cohort-stay-back :is(dl,ul){ flex-shrink:0; }

.aliz-preview-page :is(.cohort-cta,.cohort-quote,.cohort-card--featured){ background:#f2eee6; color:#30332f; }

.aliz-preview-page :is(.cohort-cta,.cohort-quote,.cohort-card--featured) :is(h2,h3,p,li){ color:#30332f; }

.aliz-preview-page .apf-social a{ min-width:44px; min-height:44px; }

.aliz-preview-page .apf-legal a{ display:inline-block; padding-block:8px; }

.aliz-preview-page .apf-contact-row a{ min-height:44px; display:inline-flex; align-items:center; }

.aliz-preview-page .elementor :is(h1,.section-title){ font-size:var(--aliz-h1); line-height:1.15; }

.aliz-preview-page .elementor h2{ font-size:var(--aliz-h2); line-height:1.2; }

.aliz-preview-page .elementor h3{ font-size:var(--aliz-h3); line-height:1.25; }

.aliz-preview-page .elementor :is(p,.elementor-icon-list-text){ font-size:var(--aliz-body); line-height:1.65; }

.aliz-preview-page .elementor img{ max-width:100%; }

@container aliz-page (max-width:1023px){
.aliz-preview-page :is(.home-editorial .home-section,.hub-section,.cohort-section,.cohort-masthead,.hub-hero-copy){ width:calc(100% - 48px); }

.aliz-preview-page :is(.home-about,.hub-location,.cohort-split,.cohort-editorial,.cohort-intro,.cohort-location){ gap:32px; }

.aliz-preview-page :is(.home-booking,.hub-booking){ gap:28px; padding:36px 28px; }

.aliz-preview-page .hub-service-grid{ grid-template-columns:1fr 1fr; gap:24px; }

.aliz-preview-page .cohort-stay-back{ padding:28px 22px; }

.aliz-preview-page .cohort-compare .cohort-stay-back dl div{ grid-template-columns:76px 1fr; gap:12px; }

.aliz-preview-page .hub-hero{ height:600px; min-height:0; }

.aliz-preview-page .home-about img{ height:480px; }

.aliz-preview-page .home-location{ min-height:500px; }

.aliz-preview-page .elementor-section.elementor-section-boxed>.elementor-container{ max-width:100%; }

}

@container aliz-page (max-width:640px){
.aliz-preview-page :is(.home-editorial .home-section,.hub-section,.cohort-section,.cohort-masthead,.hub-hero-copy){ width:calc(100% - 40px); padding-block:40px; }

.aliz-preview-page :is(.home-intro-grid,.home-editorial .home-about,.hub-location,.cohort-split,.cohort-editorial,.cohort-intro,.cohort-location,.cohort-cards,.cohort-compare,.hub-service-grid){ grid-template-columns:minmax(0,1fr); gap:24px; }

.aliz-preview-page :is(.home-editorial,.hub-editorial){ padding-bottom:32px; }

.aliz-preview-page :is(.home-editorial .home-intro,.hub-intro){ padding-block:32px 24px; }

.aliz-preview-page :is(.home-editorial .home-stays,.hub-choices){ padding-top:16px; }

.aliz-preview-page[data-mode="desktop"] .aliz-hero:not(.aliz-cohort-top):not(.hub-hero){ height:min(740px,calc(100svh - 58px)); min-height:580px; }

.aliz-preview-page:is([data-mode="mobile"],[data-mode="tablet"]) .aliz-hero:not(.aliz-cohort-top):not(.hub-hero){ height:100dvh; min-height:0; }

.aliz-preview-page .aliz-hero-content{ top:54%; width:calc(100% - 32px); translate:0 -16px; }

.aliz-preview-page .aliz-hero-location{ font-size:clamp(30px,9.5cqi,40px); letter-spacing:.02em; }

.aliz-preview-page .aliz-hero-subtitle{ letter-spacing:.14em; font-size:12px; grid-template-columns:16px auto 16px; gap:8px; }

.aliz-preview-page .aliz-hero-actions{ max-width:100%; }

.aliz-preview-page .hub-hero{ height:540px; min-height:0; }

.aliz-preview-page .hub-hero-copy{ padding-bottom:40px; }

.aliz-preview-page .aliz-cohort-top{ min-height:360px!important; padding-top:84px!important; }

.aliz-preview-page .cohort-masthead{ padding-block:48px 40px; }

.aliz-preview-page :is(.cohort-section h1,.cohort-masthead-title,.hub-hero-copy h1){ font-size:36px; }

.aliz-preview-page .cohort-stay-card-inner{ min-height:480px; }

.aliz-preview-page .cohort-stay-back{ padding:26px 22px; }

.aliz-preview-page .cohort-stay-front-copy{ inset:auto 24px 26px; }

.aliz-preview-page .cohort-stay-back :is(h2,h3){ font-size:26px; padding-right:36px; }

.aliz-preview-page .cohort-stay-back dl{ margin-block:18px; font-size:16px; }

.aliz-preview-page .cohort-compare .cohort-stay-back dl div{ padding-block:8px; }

.aliz-preview-page .cohort-stay-facts{ margin-block:16px 22px; }

.aliz-preview-page :is(.home-about img,.hub-location img){ height:auto; aspect-ratio:4/5; object-fit:cover; }

.aliz-preview-page .home-location{ min-height:480px; }

.aliz-preview-page .home-location-copy{ width:calc(100% - 40px); padding-block:32px; }

.aliz-preview-page :is(.home-booking,.hub-booking,.cohort-reservation-box,.cohort-cta){ display:flex; flex-direction:column; align-items:stretch; gap:24px; padding:32px 24px; }

.aliz-preview-page :is(.home-booking-actions,.hub-booking-actions){ width:100%; align-items:stretch; }

.aliz-preview-page :is(.home-booking-actions,.hub-booking-actions) a{ min-height:48px; display:flex; align-items:center; justify-content:center; }

.aliz-preview-page .cohort-steps li{ grid-template-columns:40px minmax(0,1fr); gap:14px; padding-block:24px; }

.aliz-preview-page .cohort-steps li>span{ white-space:nowrap; font-size:26px; }

.aliz-preview-page :is(.cohort-pill-grid,.cohort-facts){ display:grid; grid-template-columns:1fr; gap:0; }

.aliz-preview-page :is(.cohort-pill-grid,.cohort-facts) span{ min-height:48px; border:0; border-bottom:1px solid var(--aliz-line); border-radius:0; justify-content:flex-start; text-align:left; padding:12px 0; background:transparent; font-size:16px; }

.aliz-preview-page .elementor-section>.elementor-container{ flex-wrap:wrap; }

.aliz-preview-page .elementor-section>.elementor-container>.elementor-column{ width:100%!important; }

.aliz-preview-page .elementor .section-padding{ padding-block:40px!important; }

.aliz-preview-page .elementor-widget-heading :is(h1,h2,h3){ overflow-wrap:break-word; }

.aliz-preview-page .banner-header{ height:auto!important; min-height:340px; padding-block:112px 40px!important; }

.aliz-preview-page .banner-header :is(h1,.caption h1){ font-size:36px!important; line-height:1.15; }

.aliz-preview-page .aliz-pearl-footer{ padding:28px 20px 0; font-size:16px; }

.aliz-preview-page .apf-main{ gap:24px; }

.aliz-preview-page .apf-booking{ padding:24px 20px; }

.aliz-preview-page .apf-bottom{ font-size:14px; }

}

/* Keep the same restrained editorial title scale over desktop photographs. */
@media (min-width:1024px) {
  html body.aliz-global-shell .aliz-hero:is(.hub-hero,.facilities-hero,.gallery-hero,.location-hero,.reviews-hero,.contact-hero,.reservation-hero) h1 {
    font-size:clamp(54px,5vw,68px) !important;
    line-height:1.05 !important;
    text-wrap:balance;
  }
}

/* Internal pages share a photo-led mobile hero; page CSS retains each crop. */
@media (max-width:600px) {
  body.cohort-hub { --aliz-hero-shade:rgba(24,22,18,.9); }
  body.facilities-page { --aliz-hero-shade:rgba(15,29,34,.92); }
  body.gallery-page { --aliz-hero-shade:rgba(7,33,49,.91); }
  body.location-page { --aliz-hero-shade:rgba(25,24,20,.92); }
  body.reviews-page { --aliz-hero-shade:rgba(28,24,19,.9); }
  body.contact-page { --aliz-hero-shade:rgba(26,23,19,.9); }
  body.cohort-reservation { --aliz-hero-shade:rgba(18,29,35,.91); }

  html body.aliz-global-shell .aliz-hero:is(.hub-hero,.facilities-hero,.gallery-hero,.location-hero,.reviews-hero,.contact-hero,.reservation-hero) {
    display:flex !important;
    align-items:flex-end !important;
    height:auto !important;
    min-height:clamp(540px,72svh,660px) !important;
    padding:132px 0 0 !important;
    overflow:hidden;
    isolation:isolate;
    background:#262923 !important;
  }
  html body.aliz-global-shell .aliz-hero:is(.hub-hero,.facilities-hero,.gallery-hero,.location-hero,.reviews-hero,.contact-hero,.reservation-hero)::after {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(180deg,rgba(14,18,19,.48) 0%,rgba(14,18,19,.08) 29%,rgba(14,18,19,.3) 52%,var(--aliz-hero-shade) 100%);
  }
  html body.aliz-global-shell .aliz-hero:is(.hub-hero,.gallery-hero,.location-hero,.reviews-hero,.contact-hero)>img,
  html body.aliz-global-shell .aliz-hero :is(.facilities-hero-media,.reservation-hero-media) {
    width:100%;
    height:100%;
  }
  html body.aliz-global-shell .aliz-hero:is(.hub-hero,.gallery-hero,.location-hero,.reviews-hero,.contact-hero)>img { object-fit:cover; }
  html body.aliz-global-shell .facilities-hero-media::after { background:transparent; }

  html body.aliz-global-shell .aliz-hero :is(.hub-hero-copy,.facilities-hero-copy,.gallery-hero-copy,.location-hero-copy,.contact-hero-copy,.reservation-hero-copy),
  html body.aliz-global-shell .reviews-hero > .reviews-wrap {
    position:relative;
    z-index:1;
    box-sizing:border-box;
    width:calc(100% - 40px) !important;
    max-width:560px;
    min-height:0;
    margin:0 auto !important;
    padding:0 0 39px !important;
    background:transparent !important;
    color:#fffdfa !important;
  }
  html body.aliz-global-shell .aliz-hero:is(.hub-hero,.facilities-hero,.gallery-hero,.location-hero,.reviews-hero,.contact-hero,.reservation-hero) h1 {
    max-width:20ch;
    margin:10px 0 0 !important;
    color:#fffdfa !important;
    font:400 clamp(38px,10.5vw,43px)/1.06 Georgia,'Times New Roman',serif !important;
    letter-spacing:-.035em;
    text-wrap:balance;
    text-shadow:0 2px 16px rgba(0,0,0,.25);
  }
  html body.aliz-global-shell .aliz-hero :is(.cohort-eyebrow,.gallery-eyebrow,.location-overline,.contact-overline,.reviews-eyebrow) {
    margin:0 !important;
    color:#f4e9d7 !important;
    opacity:.92;
    font-size:10px;
    line-height:1.45;
    letter-spacing:.21em;
  }
  html body.aliz-global-shell .aliz-hero :is(.facilities-hero-copy,.gallery-hero-copy,.location-hero-copy,.contact-hero-copy,.reservation-hero-copy) > p:last-of-type,
  html body.aliz-global-shell .reviews-hero .reviews-lead {
    max-width:40ch;
    margin:16px 0 0 !important;
    color:#fffdfa !important;
    font-size:15px !important;
    line-height:1.55 !important;
    text-shadow:0 1px 8px rgba(0,0,0,.28);
  }
  html body.aliz-global-shell .hub-hero .hub-hero-lead {
    max-width:40ch;
    margin:16px 0 0 !important;
    color:#fffdfa !important;
    font-size:15px !important;
    line-height:1.55 !important;
    text-shadow:0 1px 8px rgba(0,0,0,.28);
  }
  html body.aliz-global-shell .reviews-hero .reviews-rule { margin:16px 0 0; }
  html body.aliz-global-shell .location-hero .location-button { width:auto; max-width:100%; margin-top:20px; }
  html body.aliz-global-shell .reservation-hero .reservation-hero-cta { margin-top:22px; }
}
