.lifestyle-page.is-lifestyle #lifestyle-image-gallery {
  background: #0c0c10;
  color: #f7f5f1;
  padding: 0 clamp(1.25rem, 5vw, 5rem) clamp(4.5rem, 8vw, 8rem);
}

.lifestyle-runtime-gallery-inner {
  margin: 0 auto;
  max-width: 82rem;
}

.lifestyle-runtime-gallery-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  max-width: 45rem;
}

.lifestyle-runtime-gallery-kicker {
  color: #8edbd1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.lifestyle-runtime-gallery-heading h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.05;
  margin: 0;
}

.lifestyle-runtime-gallery-heading p:not(.lifestyle-runtime-gallery-kicker) {
  color: #b9b5b8;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  margin: 0;
}

.lifestyle-runtime-gallery-grid {
  display: grid;
  gap: clamp(0.625rem, 1.4vw, 1.25rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.lifestyle-runtime-gallery-card {
  background: #17171c;
  margin: 0;
  min-height: 12rem;
  overflow: hidden;
  position: relative;
}

.lifestyle-runtime-gallery-card:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 32rem;
}

.lifestyle-runtime-gallery-card:nth-child(2) {
  grid-column: span 5;
  min-height: 18rem;
}

.lifestyle-runtime-gallery-card:nth-child(3) {
  grid-column: span 5;
  min-height: 18rem;
}

.lifestyle-runtime-gallery-card:nth-child(4),
.lifestyle-runtime-gallery-card:nth-child(5),
.lifestyle-runtime-gallery-card:nth-child(6) {
  grid-column: span 4;
  min-height: 16rem;
}

.lifestyle-runtime-gallery-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
  width: 100%;
}

.lifestyle-runtime-gallery-card:hover img {
  transform: scale(1.035);
}

.lifestyle-runtime-gallery-card::after {
  border: 1px solid rgba(255, 255, 255, 0.16);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.lifestyle-page.is-lifestyle #lifestyle-image-gallery .lifestyle-gallery-more {
  align-items: center;
  border: 1px solid #efb2c5;
  color: #f7f5f1;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  gap: 0.75rem;
  justify-content: center;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 3.25rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.lifestyle-page.is-lifestyle #lifestyle-image-gallery .lifestyle-gallery-more::after {
  content: '↗';
  font-size: 1rem;
}

.lifestyle-page.is-lifestyle #lifestyle-image-gallery .lifestyle-gallery-more:hover {
  background: #efb2c5;
  color: #17171c;
}

.lifestyle-page.is-lifestyle .lifestyle-events > .lifestyle-inline-link {
  display: none !important;
}

.lifestyle-page.is-lifestyle .lifestyle-events .lifestyle-section-heading,
.lifestyle-page.is-lifestyle .lifestyle-welcome .lifestyle-section-heading {
  margin-bottom: clamp(1.1rem, 2.5vw, 1.5rem);
}

.lifestyle-page.is-lifestyle .lifestyle-events .lifestyle-section-heading h2,
.lifestyle-page.is-lifestyle .lifestyle-welcome .lifestyle-section-heading h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  margin: 0;
}

.lifestyle-page.is-lifestyle {
  display: flex !important;
  flex-direction: column !important;
}

.lifestyle-page.is-lifestyle > .lifestyle-welcome {
  order: -3 !important;
  padding-bottom: 0;
  padding-top: 6.25rem;
}

.lifestyle-page.is-lifestyle > .lifestyle-hero {
  order: -1 !important;
}

.lifestyle-page.is-lifestyle > #experience {
  order: 0 !important;
}

.lifestyle-page.is-lifestyle > #lifestyle-image-gallery {
  order: 1 !important;
}

.lifestyle-page.is-lifestyle > #events {
  order: -2 !important;
  padding-top: 0;
}

/* Old cached application bundles may still include this strip inside events. */
.lifestyle-page.is-lifestyle .lifestyle-events > .lifestyle-events-slideshow {
  display: none;
}

.lifestyle-events-slideshow {
  background: #101011;
  height: clamp(7.25rem, 16vw, 9.25rem);
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  overflow: hidden;
  position: relative;
}

.lifestyle-events-slideshow-track {
  align-items: stretch;
  animation: none;
  display: flex;
  height: 100%;
  transform: translateZ(0);
  will-change: transform;
  width: max-content;
}

.lifestyle-events-slideshow.is-ready .lifestyle-events-slideshow-track {
  animation: lifestyle-events-slideshow 110s linear infinite;
  animation-play-state: running;
}

@media (max-width: 720px) {
  .lifestyle-events-slideshow.is-ready .lifestyle-events-slideshow-track {
    animation-duration: 264s;
  }
}

.lifestyle-events-slideshow-group {
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
  height: 100%;
  padding-right: 0.6rem;
}

.lifestyle-events-slideshow figure {
  flex: 0 0 clamp(8.5rem, 19vw, 12.5rem);
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.lifestyle-events-slideshow figure a {
  display: block;
  height: 100%;
  outline-offset: -3px;
  width: 100%;
}

.lifestyle-events-slideshow figure a:focus-visible {
  outline: 2px solid #8edbd1;
}

.lifestyle-events-slideshow img {
  backface-visibility: hidden;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
  transform: translateZ(0);
  width: 100%;
}

.lifestyle-events-slideshow figure:hover img {
  transform: scale(1.045);
}

@keyframes lifestyle-events-slideshow {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.lifestyle-page.is-lifestyle .lifestyle-events .lifestyle-events-feed--joyclub-standard {
  margin-top: 0;
}

.lifestyle-events-more {
  align-items: center;
  color: rgba(247, 245, 241, 0.72);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 700;
  gap: 0.55rem;
  letter-spacing: 0.08em;
  margin: 0.95rem 0 0;
  text-transform: uppercase;
}

.lifestyle-events-more-scroll {
  border: 1px solid rgba(142, 219, 209, 0.72);
  display: inline-block;
  height: 1.35rem;
  position: relative;
  width: 0.68rem;
}

.lifestyle-events-more-scroll::after {
  border-bottom: 1px solid #8edbd1;
  border-right: 1px solid #8edbd1;
  bottom: 0.33rem;
  content: '';
  height: 0.28rem;
  left: 0.16rem;
  position: absolute;
  transform: rotate(45deg);
  width: 0.28rem;
}

/* The brand and language controls already live in the top navigation. */
.lifestyle-page.is-lifestyle .lifestyle-area-hero-content > .lifestyle-kicker {
  display: none;
}

/* Keep the resort identity and language switcher above the events-first layout. */
.lifestyle-page.is-lifestyle .lifestyle-nav {
  position: fixed !important;
  z-index: 50;
  top: 0;
  left: 50%;
  width: min(calc(100% - 32px), 1180px);
  min-height: 64px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(245, 242, 236, 0.16);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(12, 12, 16, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
}

.lifestyle-page.is-lifestyle .lifestyle-brand-monogram {
  display: none;
}

.lifestyle-page.is-lifestyle .lifestyle-surprise-logo {
  width: 4.625rem;
  height: 2.75rem;
  display: block;
  flex: 0 0 auto;
  border: 1px solid rgba(239, 178, 197, 0.42);
  border-radius: 4px;
  object-fit: cover;
  object-position: center;
}

.lifestyle-page.is-lifestyle > .lifestyle-events {
  padding-top: 6.25rem;
}

@media (min-width: 900px) {
  .lifestyle-page.is-lifestyle .lifestyle-nav {
    min-height: 72px;
  }
}

@media (max-width: 420px) {
  .lifestyle-page.is-lifestyle .lifestyle-surprise-logo {
    width: 2.875rem;
    height: 2.25rem;
  }

  .lifestyle-page.is-lifestyle .lifestyle-brand {
    gap: 0.5rem;
  }

  .lifestyle-page.is-lifestyle .lifestyle-brand strong {
    max-width: 6.75rem;
    overflow: hidden;
    font-size: 0.64rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Compact presentation for the live Joyclub calendar links. */
.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard {
  background: #111116;
  border: 1px solid rgba(250, 249, 245, 0.32);
  box-sizing: border-box;
  display: block !important;
  height: clamp(20rem, 54vh, 24rem);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  overscroll-behavior-y: contain;
  position: relative;
  scrollbar-color: rgba(142, 219, 209, 0.75) transparent;
  scrollbar-width: thin;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard::-webkit-scrollbar {
  width: 0.45rem;
}

.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard::-webkit-scrollbar-thumb {
  background: rgba(142, 219, 209, 0.75);
  border-radius: 0;
}

.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard .lifestyle-event-card {
  border-bottom: 1px solid rgba(250, 249, 245, 0.2);
  min-width: 0;
}

.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard .lifestyle-event-card:last-child {
  border-bottom: 0;
}

.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard .lifestyle-event-card > a {
  align-items: center;
  gap: 1rem;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  min-height: 6.5rem;
  padding: 0.75rem;
}

.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard .lifestyle-event-image {
  align-self: stretch;
}

.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard .lifestyle-event-copy {
  justify-content: center;
  padding: 0.125rem 0.25rem 0.125rem 0;
}

.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard .lifestyle-event-date {
  margin-bottom: 0.25rem;
}

.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard .lifestyle-event-card h3 {
  font-size: 0.9rem;
  line-height: 1.35;
}

.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard .lifestyle-event-description,
.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard .lifestyle-event-meta span {
  display: none;
}

.lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard .lifestyle-event-meta {
  margin-top: 0.35rem;
  padding-top: 0;
}

@media (max-width: 420px) {
  .lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard {
    height: 20.5rem;
  }

  .lifestyle-page.is-lifestyle .lifestyle-events-feed--joyclub-standard .lifestyle-event-card > a {
    grid-template-columns: 4.75rem minmax(0, 1fr);
    min-height: 6rem;
  }
}

@media (max-width: 720px) {
  .lifestyle-page.is-lifestyle #lifestyle-image-gallery {
    padding-bottom: 5.5rem;
  }

  .lifestyle-runtime-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lifestyle-runtime-gallery-card:nth-child(n) {
    grid-column: span 1;
    grid-row: auto;
    min-height: 12rem;
  }

  .lifestyle-runtime-gallery-card:nth-child(1) {
    grid-column: span 2;
    min-height: 17rem;
  }
}

/* Keep navigation independent from the page flow on every Lifestyle route. */
.lifestyle-page .lifestyle-nav {
  position: fixed !important;
  z-index: 1000 !important;
  top: 0;
  left: 50%;
  width: min(calc(100% - 32px), 1180px);
  min-height: 64px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(245, 242, 236, 0.16);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(12, 12, 16, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
}

.lifestyle-page .lifestyle-nav-controls {
  position: relative;
  z-index: 1002 !important;
}

.lifestyle-page .lifestyle-menu-button {
  color: #fffdf8;
}

.lifestyle-page .lifestyle-menu-button svg {
  display: block;
  fill: none;
  stroke: currentColor;
}

.lifestyle-page .lifestyle-nav-links {
  position: fixed !important;
  z-index: 1001 !important;
  inset: 0 !important;
  box-sizing: border-box;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.lifestyle-page .lifestyle-nav-links.is-open {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

html:has(body.lifestyle-menu-active),
body.lifestyle-menu-active {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* The entry page carries a more specific legacy nav rule. Keep this global
 * navigation fixed there as well, otherwise its menu can fall into page flow. */
.lifestyle-page.is-home .lifestyle-nav,
.lifestyle-page.is-lifestyle .lifestyle-nav,
.lifestyle-page.is-rental .lifestyle-nav,
.lifestyle-page.is-organizer .lifestyle-nav {
  left: 0 !important;
  margin: 0 auto !important;
  position: fixed !important;
  right: 0 !important;
  top: 0 !important;
  transform: none !important;
  z-index: 1000 !important;
}

.lifestyle-page.is-home .lifestyle-nav-controls,
.lifestyle-page.is-lifestyle .lifestyle-nav-controls,
.lifestyle-page.is-rental .lifestyle-nav-controls,
.lifestyle-page.is-organizer .lifestyle-nav-controls {
  z-index: 1002 !important;
}

.lifestyle-page.is-home .lifestyle-nav-links,
.lifestyle-page.is-lifestyle .lifestyle-nav-links,
.lifestyle-page.is-rental .lifestyle-nav-links,
.lifestyle-page.is-organizer .lifestyle-nav-links {
  height: 100dvh !important;
  inset: 0 !important;
  position: fixed !important;
  width: 100vw !important;
  z-index: 1001 !important;
}

/* Single language trigger with a compact, readable selection menu. */
.lifestyle-page .lifestyle-language {
  background: transparent !important;
  border: 0 !important;
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

.lifestyle-page .lifestyle-language-native {
  display: none !important;
}

.lifestyle-page .lifestyle-language-trigger {
  align-items: center;
  background: rgba(12, 12, 16, 0.96) !important;
  border: 1px solid rgba(245, 242, 236, 0.24) !important;
  border-radius: 6px !important;
  color: #fffdf8 !important;
  cursor: pointer;
  display: inline-flex !important;
  font-size: 0.68rem !important;
  font-weight: 750 !important;
  gap: 0 !important;
  height: 38px !important;
  justify-content: center;
  padding: 0 !important;
  width: 38px !important;
}

.lifestyle-page .lifestyle-language-trigger strong {
  display: none;
}

.lifestyle-page .lifestyle-language-icon {
  display: grid;
  place-items: center;
}

.lifestyle-page .lifestyle-language-icon svg {
  fill: none;
  height: 0.95rem;
  stroke: currentColor;
  stroke-width: 1.8;
  width: 0.95rem;
}

.lifestyle-page .lifestyle-language-trigger i {
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  height: 0.34rem;
  display: none;
  transition: transform 160ms ease, margin 160ms ease;
  width: 0.34rem;
}

.lifestyle-page .lifestyle-language-dropdown {
  background: #101014;
  border: 1px solid rgba(245, 242, 236, 0.2);
  display: none !important;
  min-width: 10rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 1003;
}

.lifestyle-page .lifestyle-language.is-open .lifestyle-language-dropdown {
  display: grid !important;
}

.lifestyle-page .lifestyle-language-choice {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(245, 242, 236, 0.12) !important;
  color: #fffdf8 !important;
  cursor: pointer;
  display: flex !important;
  font-size: 0.78rem !important;
  justify-content: space-between;
  min-height: 2.65rem;
  padding: 0 0.7rem !important;
  text-align: left;
  width: 100% !important;
}

.lifestyle-page .lifestyle-language-choice:last-child {
  border-bottom: 0 !important;
}

.lifestyle-page .lifestyle-language-choice small {
  color: #8edbd1;
  font-size: 0.65rem;
  font-weight: 750;
}

.lifestyle-page .lifestyle-language-choice:hover,
.lifestyle-page .lifestyle-language-choice:focus-visible,
.lifestyle-page .lifestyle-language-choice[aria-pressed="true"] {
  background: rgba(243, 181, 199, 0.16) !important;
}

@media (max-width: 420px) {
  .lifestyle-page .lifestyle-language-trigger {
    width: 38px !important;
  }
}

@media (min-width: 900px) {
  .lifestyle-page .lifestyle-nav {
    min-height: 72px;
  }
}

/* The global navigation is moved next to the hero, outside its stacking context. */
.lifestyle-page > .lifestyle-nav {
  left: 0 !important;
  right: 0 !important;
  margin-inline: auto !important;
  transform: none !important;
  z-index: 2147483000 !important;
}

.lifestyle-page > .lifestyle-nav .lifestyle-nav-links {
  z-index: 2147483001 !important;
}

.lifestyle-page > .lifestyle-nav .lifestyle-nav-controls {
  z-index: 2147483002 !important;
}

body.lifestyle-funnel-active .lifestyle-quote-overlay {
  z-index: 2147483003 !important;
}

/* Shared Surprise and Lifestyle Resort identity in the fixed navigation. */
.lifestyle-page .lifestyle-brand > .lifestyle-brand-monogram {
  display: none !important;
}

.lifestyle-page .lifestyle-brand {
  gap: 0.45rem;
}

.lifestyle-page .lifestyle-surprise-logo {
  width: 3.5rem;
  height: 2.5rem;
  display: block;
  flex: 0 0 auto;
  border: 1px solid rgba(239, 178, 197, 0.42);
  border-radius: 4px;
  object-fit: cover;
  object-position: center;
}

.lifestyle-page .lifestyle-resort-logo {
  width: 3.6rem;
  height: 3.6rem;
  display: block;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.lifestyle-page .lifestyle-brand small {
  display: block !important;
  font-size: 0.62rem;
  line-height: 1.2;
}

.lifestyle-page .lifestyle-brand strong {
  font-size: 0.76rem;
  line-height: 1.15;
  text-transform: none;
}

@media (max-width: 420px) {
  .lifestyle-page .lifestyle-surprise-logo {
    width: 2.375rem;
    height: 2rem;
  }

  .lifestyle-page .lifestyle-resort-logo {
    width: 2.7rem;
    height: 2.7rem;
  }

  .lifestyle-page .lifestyle-brand strong {
    max-width: 7.5rem;
    overflow: visible;
    font-size: 0.62rem;
    text-overflow: clip;
    white-space: nowrap;
  }

  .lifestyle-page .lifestyle-brand small {
    font-size: 0.55rem;
    white-space: nowrap;
  }
}
