/* TOUR SCOPE R20.19.18 — single WhatsApp floater + After Dark hero refinement.
   Visual-only override. Keep the established booking, WhatsApp, consent and scroll behavior. */

/* -------------------------------------------------------------------------
   1) AFTER DARK LANDING HERO
   The section keeps its Cloudinary hero image and existing content/CTA markup.
   Desktop gets a controlled editorial height; mobile grows with its content.
   ------------------------------------------------------------------------- */
html body.r20-page.r20-nightlife .r20-after-hero {
  min-height: clamp(460px, 60svh, 650px) !important;
  padding: clamp(58px, 7vh, 82px) 0 clamp(48px, 6vh, 66px) !important;
}
html body.r20-page.r20-nightlife .r20-after-hero h1 {
  margin: 16px 0 18px !important;
}
html body.r20-page.r20-nightlife .r20-after-hero p:not(.r20-eyebrow) {
  margin: 0 0 16px !important;
  line-height: 1.58 !important;
}
html body.r20-page.r20-nightlife .r206-night-hero-actions {
  margin-top: 12px !important;
}
@media (max-width: 700px) {
  html body.r20-page.r20-nightlife .r20-after-hero {
    min-height: 0 !important;
    padding: 34px 0 28px !important;
    background-position: 58% center !important;
  }
  html body.r20-page.r20-nightlife .r20-after-hero > .r20-wrap {
    width: calc(100% - 32px) !important;
  }
  html body.r20-page.r20-nightlife .r20-after-hero h1 {
    max-width: 100% !important;
    margin: 12px 0 14px !important;
    font-size: clamp(36px, 9.4vw, 52px) !important;
    line-height: 1.04 !important;
  }
  html body.r20-page.r20-nightlife .r20-after-hero p:not(.r20-eyebrow) {
    margin: 0 0 12px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
  html body.r20-page.r20-nightlife .r20-after-hero .r20-night-schedule {
    margin: 10px 0 12px !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
  }
  html body.r20-page.r20-nightlife .r206-night-hero-actions {
    width: min(100%, 460px) !important;
    margin: 10px 0 0 !important;
  }
}

/* -------------------------------------------------------------------------
   2) AFTER DARK VENUE + PROGRAMME HERO
   One shared template covers all five clubs and all eight programme details.
   Desktop remains two-column; mobile uses a landscape image then compact copy.
   ------------------------------------------------------------------------- */
html body.r20-page.r20-nightplace .r206-night-hero {
  padding: clamp(34px, 4.2vw, 64px) 0 38px !important;
}
html body.r20-page.r20-nightplace .r206-night-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) !important;
  gap: clamp(18px, 3vw, 44px) !important;
}
html body.r20-page.r20-nightplace .r206-night-photo {
  min-height: 320px !important;
  max-height: 440px !important;
  aspect-ratio: 1.42 !important;
  border-radius: 23px !important;
}
html body.r20-page.r20-nightplace .r206-night-intro h1 {
  margin: 10px 0 14px !important;
  font-size: clamp(34px, 4vw, 58px) !important;
  line-height: 1.06 !important;
}
html body.r20-page.r20-nightplace .r206-night-intro > p:not(.r20-eyebrow) {
  font-size: clamp(14px, 1.15vw, 16px) !important;
  line-height: 1.56 !important;
}
html body.r20-page.r20-nightplace .r206-night-fact {
  margin: 12px 0 !important;
  padding: 10px 14px !important;
}
@media (max-width: 700px) {
  html body.r20-page.r20-nightplace .r206-night-hero {
    padding: 18px 0 26px !important;
  }
  html body.r20-page.r20-nightplace .r206-night-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }
  html body.r20-page.r20-nightplace .r206-night-photo {
    width: 100% !important;
    min-height: 170px !important;
    max-height: 240px !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 18px !important;
  }
  html body.r20-page.r20-nightplace .r206-night-intro h1 {
    margin: 6px 0 10px !important;
    font-size: clamp(30px, 8.2vw, 44px) !important;
    line-height: 1.06 !important;
  }
  html body.r20-page.r20-nightplace .r206-night-intro > p:not(.r20-eyebrow) {
    margin: 0 0 10px !important;
    font-size: 14.5px !important;
    line-height: 1.52 !important;
  }
  html body.r20-page.r20-nightplace .r206-night-fact {
    margin: 9px 0 10px !important;
    padding: 9px 12px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
  html body.r20-page.r20-nightplace .r206-night-cta {
    margin: 9px 0 7px !important;
    gap: 8px !important;
  }
  html body.r20-page.r20-nightplace .r206-night-cta > :is(a, button) {
    min-height: 46px !important;
    border-radius: 12px !important;
  }
}


/* -------------------------------------------------------------------------
   3) ONE WHATSAPP-ONLY FLOATING CONTROL — ALL PUBLIC PAGE FAMILIES
   The mobile Book Now dock is removed from the markup. Booking stays in the
   header, hero, cards and detail pages. Existing XP pages reuse their own WA
   anchor; R20 pages and Private Speedboat receive one matching icon anchor.
   ------------------------------------------------------------------------- */

/* Remove the old dual-action dock everywhere; no fixed Book Now remains. */
html body .r201-mobile-actions,
html body .r204-mobile-actions,
html body .r204-floating-whatsapp {
  display: none !important;
}

/* R20 pages + the custom Private Speedboat route. */
html body .r20-floating-whatsapp,
html body.xp-page .xp-floating-wa {
  position: fixed !important;
  top: auto !important;
  right: max(16px, calc(env(safe-area-inset-right, 0px) + 16px)) !important;
  bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 16px)) !important;
  left: auto !important;
  z-index: 960 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(190, 255, 247, .78) !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, #0bb89a 0%, #087e83 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 27px rgba(0, 22, 39, .34), inset 0 1px 0 rgba(255, 255, 255, .24) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
}

html body .r20-floating-whatsapp svg {
  display: block !important;
  flex: 0 0 27px !important;
  width: 27px !important;
  height: 27px !important;
  margin: 0 !important;
  color: #fff !important;
  stroke: currentColor !important;
}

/* Legacy experience pages already contain a WhatsApp link; render it as the
   same circular icon without adding a second link or changing its destination. */
html body.xp-page .xp-floating-wa {
  border: 1px solid rgba(190, 255, 247, .78) !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, #0bb89a 0%, #087e83 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 27px rgba(0, 22, 39, .34), inset 0 1px 0 rgba(255, 255, 255, .24) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

html body.xp-page .xp-floating-wa::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 27px !important;
  width: 27px !important;
  height: 27px !important;
  background: center / contain no-repeat url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNNCAyMCA1LjUgMTYuNmE4LjUgOC41IDAgMSAxIDMgMi44TDQgMjBaIi8+PHBhdGggZD0iTTkgOGMuNSAyLjQgMi40IDQuOCA1IDYgLjguNCAxLjMtLjIgMS43LS43bC0xLjktMS4yLS45LjlhNyA3IDAgMCAxLTIuNi0yLjdsLjktLjlMMTAgNy41Yy0uMy0uMi0uNyAwLTEgLjVaIi8+PC9zdmc+") !important;
}

html body .r20-floating-whatsapp:focus-visible,
html body.xp-page .xp-floating-wa:focus-visible {
  outline: 3px solid #8af5ed !important;
  outline-offset: 4px !important;
}

@media (hover: hover) and (pointer: fine) {
  html body .r20-floating-whatsapp:hover,
  html body.xp-page .xp-floating-wa:hover {
    transform: translateY(-3px) !important;
    filter: brightness(1.07) saturate(1.04) !important;
    box-shadow: 0 14px 31px rgba(0, 22, 39, .4), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
  }
}

@media (max-width: 700px) {
  html body .r20-floating-whatsapp,
  html body.xp-page .xp-floating-wa {
    right: max(14px, calc(env(safe-area-inset-right, 0px) + 14px)) !important;
    bottom: max(14px, calc(env(safe-area-inset-bottom, 0px) + 14px)) !important;
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .r20-floating-whatsapp,
  html body.xp-page .xp-floating-wa {
    transition: none !important;
    animation: none !important;
  }
}

/* -------------------------------------------------------------------------
   4) FINAL AFTER DARK LANDING HERO + SECTION RHYTHM
   Preserve the CMS hero image and all booking/WhatsApp actions. Tighten only
   the After Dark landing composition; other page hero systems stay untouched.
   ------------------------------------------------------------------------- */
html body.r20-page.r20-nightlife .r20-after-hero {
  min-height: clamp(430px, 56svh, 590px) !important;
  padding: clamp(52px, 6vw, 74px) 0 clamp(42px, 5vw, 58px) !important;
  background-size: cover !important;
}
html body.r20-page.r20-nightlife .r20-after-hero h1 {
  margin: 14px 0 18px !important;
}
html body.r20-page.r20-nightlife .r20-after-hero p:not(.r20-eyebrow) {
  margin: 0 0 14px !important;
  line-height: 1.62 !important;
}
html body.r20-page.r20-nightlife .r206-night-hero-actions {
  margin-top: 10px !important;
}

html body.r20-page.r20-nightlife .r20-collection {
  padding-top: 54px !important;
}
html body.r20-page.r20-nightlife .r20-section-head {
  margin-bottom: 28px !important;
}
html body.r20-page.r20-nightlife .r20-section-head .r20-eyebrow {
  margin: 0 0 7px !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  letter-spacing: .19em !important;
}
html body.r20-page.r20-nightlife .r20-section-head h2 {
  margin: 7px 0 12px !important;
}

@media (max-width: 700px) {
  html body.r20-page.r20-nightlife .r20-after-hero {
    min-height: 0 !important;
    padding: 26px 0 24px !important;
    background-position: 58% center !important;
  }
  html body.r20-page.r20-nightlife .r20-after-hero > .r20-wrap {
    width: calc(100% - 32px) !important;
  }
  html body.r20-page.r20-nightlife .r20-after-hero .r20-eyebrow {
    margin: 0 0 8px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    letter-spacing: .19em !important;
  }
  html body.r20-page.r20-nightlife .r20-after-hero h1 {
    max-width: 100% !important;
    margin: 10px 0 12px !important;
    font-size: clamp(31px, 8.7vw, 46px) !important;
    line-height: 1.025 !important;
  }
  html body.r20-page.r20-nightlife .r20-after-hero p:not(.r20-eyebrow) {
    margin: 0 0 10px !important;
    font-size: 15px !important;
    line-height: 1.48 !important;
  }
  html body.r20-page.r20-nightlife .r20-after-hero .r20-night-schedule {
    margin: 8px 0 10px !important;
    font-size: 14px !important;
    line-height: 1.43 !important;
  }
  html body.r20-page.r20-nightlife .r206-night-hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100%, 460px) !important;
    margin: 8px 0 0 !important;
    gap: 9px !important;
  }
  html body.r20-page.r20-nightlife .r206-night-hero-actions > a {
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 56px !important;
    padding: 11px 8px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    justify-content: center !important;
    gap: 6px !important;
  }
  html body.r20-page.r20-nightlife .r206-night-hero-actions > a svg {
    flex: 0 0 17px !important;
    width: 17px !important;
    height: 17px !important;
  }
  html body.r20-page.r20-nightlife .r20-collection {
    padding: 32px 0 52px !important;
  }
  html body.r20-page.r20-nightlife .r20-section-head {
    margin-bottom: 22px !important;
  }
  html body.r20-page.r20-nightlife .r20-section-head h2 {
    margin: 8px 0 12px !important;
    font-size: clamp(34px, 9vw, 40px) !important;
    line-height: 1.08 !important;
  }
  html body.r20-page.r20-nightlife .r20-section-head > p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
}
