/* Final reference proportions, scoped to the Rooms page. */
body .rooms-page {
  --room-photo-height:clamp(360px,32vw,440px);
  --room-thumb-height:84px;
  background-color:#f4f9fd;
  background-image:linear-gradient(to bottom,transparent 32%,#f4f9fd 65%),url('assets/leo/rooms-background-reference-v2.png');
  background-size:100% 58.8vw;
  background-position:center top;
  padding:18px 0 22px;
}
body .rooms-page>.container { width:88%;max-width:1280px; }
body .rooms-reference-strip>.container { width:88%;max-width:none; }
body .rooms-page .rooms-intro { margin-bottom:8px; }
body .rooms-page .rooms-intro h2 { font-size:34px; }
body .rooms-page .rooms-intro p { font-size:14px; }
body .rooms-page .rooms-ornament { display:flex;align-items:center;justify-content:center;gap:10px;margin:7px auto 8px;color:#d89523; }
.rooms-ornament svg { width:30px;height:25px; }
.rooms-ornament>span { display:block;width:58px;height:1px;background:currentColor; }
body .rooms-page .room-tabs { gap:12px;background:none;box-shadow:none;overflow:visible;border-radius:0;margin:8px auto 10px; }
body .rooms-page .room-tabs button { flex:initial;justify-content:center;min-width:165px;border-radius:6px;box-shadow:0 3px 12px #204b9b12; }
body .rooms-page .room-panel,body .rooms-page .room-panel:nth-of-type(even) {
  grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:10px;margin:0;
}
body .rooms-page .room-photos {
  height:auto;min-height:0;padding:8px;gap:8px;
  border-radius:12px;box-shadow:0 8px 24px #163d8d12;
  grid-template-rows:var(--room-photo-height) var(--room-thumb-height);
}
body .rooms-page .room-main-photo { height:var(--room-photo-height);border-radius:8px; }
body .rooms-page .room-photo-strip,body .rooms-page .room-photo-strip button { height:var(--room-thumb-height); }
body .rooms-page .room-photo-prev,body .rooms-page .room-photo-next { top:calc(var(--room-photo-height) / 2 - 11px);bottom:auto; }
body .rooms-page .room-photo-prev { left:14px; }
body .rooms-page .room-photo-next { right:14px; }
body .rooms-page .room-details { height:auto;min-height:0;padding:26px 24px;border-radius:12px;box-shadow:0 8px 24px #163d8d12; }
body .rooms-page .room-name h3 { max-width:340px;font-size:30px;line-height:1.12; }
body .rooms-page .room-details>p { font-size:14px;line-height:1.5;margin:8px 0 12px; }
body .rooms-page .room-facilities { margin-top:14px; }
body .rooms-page .room-facilities li { font-size:12px;min-height:44px; }
body .rooms-page .room-tariff strong { font-size:32px; }
body .rooms-page .room-reserve-row .room-actions { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px; }
body .rooms-page .room-actions .button { min-height:44px;padding:10px 6px;font-size:12px;gap:7px; }
body .rooms-page .room-actions .button .icon { width:20px;height:20px; }
@media(max-width:800px) {
  body .rooms-page { --room-photo-height:clamp(240px,52vw,410px);--room-thumb-height:70px;background-size:auto 570px;padding-top:38px; }
  body .rooms-page>.container { width:94%; }
  body .rooms-page .room-panel,body .rooms-page .room-panel:nth-of-type(even) { grid-template-columns:1fr; }
  body .rooms-page .room-tabs { width:auto; }
  body .rooms-page .room-tabs button { min-width:0;flex:1; }
  body .rooms-page .room-details { padding:20px; }
}

/* Hero proportions from wireframe/rooms.png: a taller photo so the whole building shows, copy aligned
   to the page edge on a soft white fade, and the highlights as a rounded card overlapping the photo. */
@media(min-width:801px) {
  body .rooms-hero-reference { height:clamp(540px,44vw,720px);min-height:0; }
  body .rooms-hero-reference .rooms-hero-image { object-position:center 42%; }
  body .rooms-hero-reference::before { inset:0 auto 0 0;width:58%;height:100%;background:linear-gradient(90deg,rgba(248,251,255,.97) 0%,rgba(248,251,255,.88) 32%,rgba(248,251,255,.5) 62%,transparent 100%); }
  body .rooms-hero-reference .rooms-hero-content { width:min(88%,1280px);max-width:none;margin:0 auto;padding-top:clamp(200px,17vw,280px); }
  body .rooms-hero-reference h1 { font-size:clamp(50px,4.8vw,74px); }
  body .rooms-hero-reference p { font-size:16px; }
  .rooms-feature-strip { width:min(80%,1040px);height:88px;margin:-52px auto 0;border-radius:44px;background:#fff;box-shadow:0 14px 34px rgba(23,60,125,.16); }
  .rooms-feature-inner { max-width:none;width:92%; }
  .rooms-feature-inner .icon { width:36px;height:36px; }
  .rooms-feature-inner strong { font-size:15px; }
  .rooms-feature-inner small { font-size:12px; }
}
/* The hero's left side is now a light fade, so the unscrolled header uses the navy logo and links. */
@media(min-width:801px) {
  body:has(.rooms-hero-reference) .site-header:not(.scrolled) .lx-brand-text,
  body:has(.rooms-hero-reference) .site-header:not(.scrolled) nav a,
  body:has(.rooms-hero-reference) .site-header:not(.scrolled) .lx-phone { color:#0b2f7a; }
  body:has(.rooms-hero-reference) .site-header:not(.scrolled) .brand-logo-light { opacity:0; }
  body:has(.rooms-hero-reference) .site-header:not(.scrolled) .brand-logo-scrolled { opacity:1; }
}
