/* Final homepage alignment for the supplied Rooms & Suites / Restaurant reference. */

/* Rooms: keep the floral canvas full width while the content follows one shared rail. */
body .home-reference-body > .lx-rooms {
  width: 100% !important;
  margin: 0 !important;
  padding: 28px 0 36px !important;
  background: #f7f8fd url('assets/leo/home-botanical-blue.jpg') center / 100% 100% no-repeat !important;
}

body .home-reference-body > .lx-rooms .lx-rooms-grid {
  width: min(86%, 1320px) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr) !important;
  grid-template-areas: "head head" "tabs card" "photo card" !important;
  column-gap: 20px !important;
  row-gap: 10px !important;
}

body .home-reference-body > .lx-rooms .lx-rooms-head {
  grid-area: head !important;
  margin: 0 !important;
}

body .home-reference-body > .lx-rooms .lx-room-tabs {
  grid-area: tabs !important;
  display: flex !important;
  gap: 9px !important;
  margin: 0 !important;
}

body .home-reference-body > .lx-rooms .lx-room-photo {
  grid-area: photo !important;
  height: clamp(280px, 24vw, 340px) !important;
  min-height: 0 !important;
  border-radius: 10px !important;
}

body .home-reference-body > .lx-rooms .lx-room-card {
  grid-area: card !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 18px !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 26px #102e6114 !important;
}

/* Restaurant: the blue/floral background belongs to the whole section, not the rail. */
body .home-reference-body > .lx-dine {
  position: relative !important;
  isolation: isolate !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 34px max(7%, calc((100% - 1320px) / 2)) 34px !important;
  box-sizing: border-box !important;
  background-color: #f3e5c9 !important;
  background-image: url('assets/leo/restaurant-gold-botanical.png'), linear-gradient(90deg, #ead1a3 0%, #f7ead0 20%, #f7ead0 80%, #ead1a3 100%) !important;
  background-repeat: no-repeat !important;
  background-position: left center, center !important;
  background-size: auto 100%, 100% 100% !important;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.28fr) !important;
  gap: clamp(24px, 3.4vw, 46px) !important;
  align-items: center !important;
}

body .home-reference-body > .lx-dine::before,
body .home-reference-body > .lx-dine::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  width: min(22vw, 300px);
  background: url('assets/leo/restaurant-gold-botanical.png') left center / auto 100% no-repeat;
  filter: none;
  opacity: .72;
  pointer-events: none;
}

body .home-reference-body > .lx-dine::before { left: 0; }
body .home-reference-body > .lx-dine::after {
  right: 0;
  transform: scaleX(-1);
}

body .home-reference-body > .lx-dine > * { position: relative; z-index: 1; }

/* Banquet: use the same full-width botanical canvas as the reference mockup. */
body .home-reference-body > .lx-events {
  position: relative !important;
  isolation: isolate !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 34px max(7%, calc((100% - 1320px) / 2)) 36px !important;
  box-sizing: border-box !important;
  background: #f7f8fd url('assets/leo/home-botanical-blue.jpg') center / 100% 100% no-repeat !important;
}

body .home-reference-body > .lx-events > * { position: relative; z-index: 1; }

/* The lower four home bands share the pale botanical canvas from the reference. */
body .home-reference-body > .lx-gallery,
body .home-reference-body > .lx-why,
body .home-reference-body > .lx-reviews,
body .home-reference-body > .lx-location {
  position: relative !important;
  isolation: isolate !important;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: max(7%, calc((100% - 1320px) / 2)) !important;
  box-sizing: border-box !important;
  background: #f7f8fd url('assets/leo/home-botanical-blue.jpg') center / 100% 100% no-repeat !important;
}

body .home-reference-body > .lx-gallery > *,
body .home-reference-body > .lx-why > *,
body .home-reference-body > .lx-reviews > *,
body .home-reference-body > .lx-location > * {
  position: relative;
  z-index: 1;
}

body .home-reference-body > .lx-dine .lx-dine-copy {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
}

body .home-reference-body > .lx-dine .lx-dine-gallery {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  min-height: 320px !important;
}

body .home-reference-body > .lx-dine .lx-dine-photo {
  min-height: 320px !important;
  border-radius: 10px !important;
}

@media (max-width: 900px) {
  body .home-reference-body > .lx-rooms .lx-rooms-grid {
    width: calc(100% - 48px) !important;
    grid-template-columns: 1fr !important;
    grid-template-areas: "head" "tabs" "photo" "card" !important;
  }

  body .home-reference-body > .lx-dine {
    width: 100% !important;
    padding-inline: 24px !important;
    grid-template-columns: 1fr !important;
    grid-template-areas: "gallery" "copy" !important;
  }

  body .home-reference-body > .lx-events {
    width: 100% !important;
    padding-inline: 24px !important;
  }

  body .home-reference-body > .lx-dine .lx-dine-gallery,
  body .home-reference-body > .lx-dine .lx-dine-copy {
    grid-column: 1 !important;
  }

  body .home-reference-body > .lx-dine .lx-dine-gallery {
    grid-row: 1 !important;
  }

  body .home-reference-body > .lx-dine .lx-dine-copy {
    grid-row: 2 !important;
  }
}

@media (max-width: 560px) {
  body .home-reference-body > .lx-rooms .lx-rooms-grid {
    width: calc(100% - 32px) !important;
  }

  body .home-reference-body > .lx-dine {
    padding-inline: 16px !important;
  }

  body .home-reference-body > .lx-events {
    padding-inline: 16px !important;
  }

  body .home-reference-body > .lx-dine .lx-dine-gallery,
  body .home-reference-body > .lx-dine .lx-dine-photo {
    min-height: 230px !important;
  }

  body .home-reference-body > .lx-dine::before,
  body .home-reference-body > .lx-dine::after {
    width: 34vw;
  }
}

/* Final home-page consistency: every content section uses the same floral artwork. */
body .home-reference-body > .lx-about-wrap,
body .home-reference-body > .lx-rooms,
body .home-reference-body > .lx-dine,
body .home-reference-body > .lx-tables,
body .home-reference-body > .lx-gallery,
body .home-reference-body > .lx-why,
body .home-reference-body > .lx-events,
body .home-reference-body > .lx-reviews,
body .home-reference-body > .lx-location {
  background-color: #f7f8fd !important;
  background-image: url('assets/leo/home-botanical-blue.jpg') !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
}

body .home-reference-body > .lx-about-wrap > .lx-about,
body .home-reference-body > .lx-rooms > .lx-rooms-grid,
body .home-reference-body > .lx-tables .dining-collection {
  background: transparent !important;
}

/* Discover Our Spaces: make every image card taller and more prominent. */
body .home-reference-body > .lx-gallery .lx-gallery-grid > a {
  aspect-ratio: 1.7 !important;
}

@media (max-width: 900px) {
  body .home-reference-body > .lx-gallery .lx-gallery-grid > a {
    aspect-ratio: 1.35 !important;
  }
}

@media (max-width: 560px) {
  body .home-reference-body > .lx-gallery .lx-gallery-grid > a {
    aspect-ratio: 1.12 !important;
  }
}

/* Match the reference artwork on the final two content sections. */
body .home-reference-body > .lx-reviews,
body .home-reference-body > .lx-location {
  background: #f7f8fd url('assets/leo/home-botanical-blue.jpg') center / 100% 100% no-repeat !important;
}

/* Give the final two bands distinct floral moods, as in the supplied reference. */
body .home-reference-body > .lx-reviews {
  background: #f7f8fd url('assets/leo/home-botanical-blue.jpg') center / 100% 100% no-repeat !important;
}

body .home-reference-body > .lx-location {
  background-color: #f3e5c9 !important;
  background-image: url('assets/leo/restaurant-gold-botanical.png'), linear-gradient(90deg, #ead1a3 0%, #f8ecd7 20%, #f8ecd7 80%, #ead1a3 100%) !important;
  background-repeat: no-repeat !important;
  background-position: left center, center !important;
  background-size: auto 100%, 100% 100% !important;
}

body .home-reference-body > .lx-location::before,
body .home-reference-body > .lx-location::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  width: min(22vw, 300px);
  background: url('assets/leo/restaurant-gold-botanical.png') left center / auto 100% no-repeat;
  opacity: .55;
  pointer-events: none;
}

body .home-reference-body > .lx-location::before { left: 0; }
body .home-reference-body > .lx-location::after { right: 0; transform: scaleX(-1); }

/* Use the same generated gold floral frame on the restaurant and location bands. */
body .home-reference-body > .lx-dine,
body .home-reference-body > .lx-location {
  background: #f7f8fd url('assets/leo/gold-botanical-frame.png') center / 100% 100% no-repeat !important;
}

/* Final override: former gold bands now use the Rooms & Suites floral background. */
body .home-reference-body > .lx-dine {
  background: #f7f8fd url('assets/leo/home-floral-reference.png') center / 100% 100% no-repeat !important;
}

/* Final Location override: keep its content clear and readable. */
body .home-reference-body > .lx-location {
  background: #f7f8fd !important;
  background-image: none !important;
}

/* Final Location override: keep its content clear and readable. */
body .home-reference-body > .lx-location {
  background: #f7f8fd !important;
  background-image: none !important;
}

/* Keep the Location content clear and visible over a calm background. */
body .home-reference-body > .lx-location {
  background: #f7f8fd !important;
  background-image: none !important;
}

/* Keep every former gold content band consistent with the Rooms & Suites background. */
body .home-reference-body > .lx-dine {
  background: #f7f8fd url('assets/leo/home-floral-reference.png') center / 100% 100% no-repeat !important;
}

/* Final Location override: keep its content clear and readable. */
body .home-reference-body > .lx-location {
  background: #f7f8fd !important;
  background-image: none !important;
}

/* Restaurant must win over the shared feature-band rule above. */
body .home-reference-body > .lx-dine {
  background: #f7f8fd url('assets/leo/home-botanical-blue.jpg') center / 100% 100% no-repeat !important;
}

/* Restaurant follows the mockup's pale floral mix: blue-white flowers with subtle gold accents. */
body .home-reference-body > .lx-dine {
  background: #f7f8fd url('assets/leo/restaurant-reference-floral.png') center / 100% 100% no-repeat !important;
}

body .home-reference-body > .lx-dine::before {
  display: none !important;
}

body .home-reference-body > .lx-dine::after {
  display: none !important;
}

body .home-reference-body > .lx-dine::before,
body .home-reference-body > .lx-dine::after,
body .home-reference-body > .lx-location::before,
body .home-reference-body > .lx-location::after {
  display: none !important;
}

/* Final reference-matched floral pattern: use the same pale-blue Rooms & Suites canvas everywhere. */
body .home-reference-body > .lx-about-wrap,
body .home-reference-body > .lx-rooms,
body .home-reference-body > .lx-tables,
body .home-reference-body > .lx-gallery,
body .home-reference-body > .lx-why,
body .home-reference-body > .lx-events,
body .home-reference-body > .lx-reviews {
  background: #f7f8fd url('assets/leo/home-botanical-blue.jpg') center / 100% 100% no-repeat !important;
}

body .home-reference-body > .lx-dine,
body .home-reference-body > .lx-location {
  background: #f7f8fd url('assets/leo/home-botanical-blue.jpg') center / 100% 100% no-repeat !important;
}

/* Premium Rooms & Suites card: restore pricing and give the detail panel a fuller luxury finish. */
body .home-reference-body > .lx-rooms .lx-room-card {
  align-self: stretch !important;
  height: 100% !important;
  padding: 25px 24px 22px !important;
  border: 1px solid #dfe3f2 !important;
  border-top: 3px solid var(--lx-gold) !important;
  border-radius: 16px !important;
  background: linear-gradient(160deg, #ffffff 0%, #fbfcff 68%, #f4f6ff 100%) !important;
  box-shadow: 0 18px 42px #202b7a18 !important;
}

body .home-reference-body > .lx-rooms .lx-room-card h3 {
  font-size: clamp(26px, 2.2vw, 34px) !important;
  letter-spacing: -.02em;
  margin-bottom: 12px !important;
}

body .home-reference-body > .lx-rooms .lx-room-chips {
  gap: 7px 14px !important;
  margin-bottom: 16px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #e9ebf5;
}

body .home-reference-body > .lx-rooms .lx-room-chips li {
  padding: 7px 9px;
  border: 1px solid #e3e7f5;
  border-radius: 999px;
  background: #f7f8ff;
  font-size: 11px !important;
}

body .home-reference-body > .lx-rooms .lx-room-checks {
  gap: 11px 14px !important;
  margin-bottom: 0 !important;
}

body .home-reference-body > .lx-rooms .lx-room-checks li {
  font-size: 11.5px !important;
  color: #39436a;
}

body .home-reference-body > .lx-rooms .lx-room-price {
  display: flex !important;
  align-items: baseline;
  gap: 7px;
  margin: auto 0 15px !important;
  padding-top: 16px;
  border-top: 1px solid #e9ebf5;
}

body .home-reference-body > .lx-rooms .lx-room-price strong {
  font-size: 29px !important;
  color: var(--lx-blue) !important;
}

body .home-reference-body > .lx-rooms .lx-room-price span {
  color: #6b7390;
  font-size: 12px;
  font-weight: 600;
}

body .home-reference-body > .lx-rooms .lx-room-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 9px !important;
}

body .home-reference-body > .lx-rooms .lx-room-actions .lx-btn {
  min-height: 42px;
  padding: 11px 13px !important;
  font-size: 11px;
}

@media (max-width: 560px) {
  body .home-reference-body > .lx-rooms .lx-room-card {
    height: auto !important;
  }
}
