.w-mod-js .gallery-page .gallery-inner {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease;
  min-height: 60vh;
}

.w-mod-js .gallery-page .gallery-inner.gallery-await {
  opacity: 0;
  visibility: hidden;
}

.w-mod-js .gallery-page .gallery-inner.gallery-ready {
  opacity: 1;
  visibility: visible;
}

.is-room-page .room-header-details {
  align-items: center;
  text-align: center;
}

.is-room-page .room-header-details .room-content-item-row {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: 1rem;
}

.is-room-page .room-header-details .room-content-item {
  justify-content: center;
}

.is-room-page .room-header-details .header-content-row {
  justify-content: center;
}

.is-room-page .room-header-details .margin-bottom,
.is-room-page .room-header-details .margin-bottom > div {
  text-align: center;
}

.is-gallery .gallery-body {
  position: relative;
}

.is-gallery .gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  color: rgba(248, 250, 252, 0.92);
  background: linear-gradient(120deg, rgba(26, 26, 26, 0.94) 0%, rgba(26, 26, 26, 0.84) 35%, rgba(26, 26, 26, 0.94) 100%);
  transition: opacity 0.4s ease, visibility 0.4s ease;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

.is-gallery .gallery-placeholder::before {
  content: "";
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 3px solid rgba(248, 250, 252, 0.35);
  border-top-color: rgba(248, 250, 252, 0.9);
  animation: gallery-spin 1s linear infinite;
}

.is-gallery .gallery-placeholder.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes gallery-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body.is-gallery.gallery-loading footer.footer-component {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

body.is-gallery.gallery-loaded footer.footer-component {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper > .main-wrapper {
  flex: 1 0 auto;
}

footer.footer-component {
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .w-mod-js .gallery-page .gallery-inner {
    min-height: 40vh;
  }
}

/* Hide Webflow badge/credit if injected */
.w-webflow-badge,
a[href*="webflow.com"]:has(svg),
a[href*="webflow.com"][aria-label*="Webflow"],
[data-wf-badge] {
  display: none !important;
}

/* Ensure Webflow default interactions control blog cards (no custom hover override) */
/* intentionally left minimal to avoid conflicting with Webflow animations */

/* Ensure slider arrows are visible if Webflow toggles fail */
.w-slider-arrow-left,
.w-slider-arrow-right {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Dark header on room pages */
/* Room pages: header with black gradient like original design */
html.nav-ready .is-room-page .navbar-component {
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background-color: #0000 !important;
  background-image: linear-gradient(#000, #040404 0%, #000 1%, #fff0) !important;
  align-items: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 4.5rem !important;
  padding-left: 5% !important;
  padding-right: 5% !important;
  display: flex !important;
  position: absolute !important;
  top: 0; left: 0;
}
.is-room-page .room-header-section {
  /* Keep image flush with top while allowing navbar overlay */
  padding-top: 0;
  min-height: 4.5em;
}
.is-room-page .navbar-link { color: #fff; }

/* Room pages: larger H1 per request */
.is-room-page .room-header-section .heading-style-h1 { font-size: 250% !important; }

/* Ensure feature primary image spans full column width like demo */
.feature-primary-image-wrapper {
  width: 100% !important;
  max-width: none !important; /* override Webflow's max-width limits */
}

.feature-primary-image {
  display: block;
  width: 100% !important; /* fill wrapper width */
  height: auto; /* keep natural aspect ratio */
  aspect-ratio: auto !important; /* cancel square forcing from base css */
  object-fit: cover; /* keep cropping behavior if height is constrained */
}

/* Gallery page inspired by lightGallery thumbnail demo */
body.is-gallery {
  background-image: linear-gradient(#e8f0ff 0%, #ffffff 52.08%);
  color: #0e3481;
  min-height: 100vh;
}

.is-gallery .main-wrapper.gallery-page {
  padding: 0;
}

.is-gallery .gallery-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.is-gallery .gallery-header .display-6 {
  color: #f8fafc;
}

.is-gallery .gallery-header .lead {
  max-width: 620px;
  color: rgba(248, 250, 252, 0.75);
}

.is-gallery .gallery-body {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.is-gallery .gallery-inner {
  width: 100%;
}

.is-gallery #animated-thumbnails-gallery {
  width: 100%;
}

.is-gallery #animated-thumbnails-gallery .gallery-item {
  display: block;
  padding: 5px;
}

.is-gallery .gallery-thumb {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.is-gallery .gallery-item:hover .gallery-thumb {
  transform: scale(1.045);
  filter: brightness(1.05);
}

@media (max-width: 768px) {
  .is-gallery .main-wrapper.gallery-page {
    padding: 0;
  }

  .is-gallery .gallery-header .display-6 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
}

.footer-component {
  background:#006459;
  color:#fefefe;
  padding:3rem 0 2.5rem;
}
.footer-inner {
  max-width: min(1100px, 90vw);
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
}
.footer-contact {
  display:grid;
  gap:1rem;
  font-size:0.95rem;
}
.footer-link {
  display:flex;
  align-items:center;
  gap:0.65rem;
  color:rgba(255,255,255,0.9);
  text-decoration:none;
  transition:opacity 0.2s ease;
}
.footer-link:hover { opacity:0.75; }
.footer-icon { display:inline-flex; width:24px; height:24px; color:rgba(255,255,255,0.85); }
.footer-icon svg { width:100%; height:100%; }
.footer-social { display:flex; gap:0.75rem; }
.footer-social-item { width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; border:1px solid rgba(255,255,255,0.25); transition:background 0.2s ease, border-color 0.2s ease; color:#fefefe; }
.footer-social-item:hover { background:rgba(255,255,255,0.15); border-color:rgba(255,255,255,0.4); }
.footer-social-item svg { width:18px; height:18px; fill:currentColor; }
.footer-logo-block {
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:0.75rem;
}
.footer-logo { width:140px; height:auto; }
.footer-logo-link { display:inline-block; }
.footer-language .language-toggle {
  background:rgba(255,255,255,0.2);
  color:#f8fafc;
  border-color:rgba(255,255,255,0.4);
}
.footer-language .language-link {
  color:#0f172a;
  text-decoration:none;
}
.footer-language .language-list {
  right:auto;
  left:0;
}
.footer-language .language-link:hover,
.footer-language .language-link:focus {
  text-decoration:none;
}
.rooms-section .button-group {
  margin-top:1.5rem;
  grid-column-gap:1rem;
  grid-row-gap:1rem;
  text-align:center;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  display:flex;
}

.rooms-section .room-details-content {
  margin-bottom:1.5rem;
  grid-column-gap:1.25rem;
  grid-row-gap:1.25rem;
  flex-flow:column;
  margin-top:1.5rem;
  display:flex;
}

.room-header-component {
  grid-column-gap:0;
  grid-row-gap:0;
  background-color:var(--base-color-brand--black);
  grid-template-rows:auto;
  grid-template-columns:1.2fr 1fr;
  grid-auto-columns:1fr;
  align-items:center;
  padding-top:5rem;
  display:grid;
}

@media (max-width: 991px) {
  .room-header-component {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4rem;
  }

  .feature-image,
  .room-header-image {
    height: auto;
    max-height: none;
  }

  .room-content-wrapper {
    width: 90%;
    margin: -6% auto 6rem;
  }
}

.room-header-component .button-group,
.room-content-wrapper .button-group {
  margin-top:1.5rem;
  column-gap:1rem;
  row-gap:1rem;
  text-align:left;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  display:flex;
}
@media (max-width:768px) {
  .footer-inner { flex-direction:column; align-items:flex-start; }
  .footer-logo-block {
    margin-left:0;
    align-items:flex-start;
  }
}

.has-dark-navbar .navbar-component { background: transparent; }
.has-dark-navbar .navbar-link { color: rgba(248, 250, 252, 0.9); }
.has-dark-navbar .navbar-link:hover { color: #ffffff; }

/* Basic slider visibility states */
[data-slider] {
  position: relative;
}

[data-slider-track] {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

[data-slider] [data-slide] {
  flex: 0 0 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

[data-slider] [data-slide].is-active {
  opacity: 1;
  pointer-events: auto;
}

[data-slider-prev],
[data-slider-next] {
  cursor: pointer;
}

.contact-map-wrapper {
  margin-top: 2.5rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  background: rgba(15, 23, 42, 0.08);
}

.contact-map-frame {
  display: block;
  width: 100%;
  min-height: 510px;
  border: 0;
}

@media (min-width: 992px) {
  .contact-map-frame {
    min-height: 630px;
  }
}

.contact-padding-large {
  padding-top: 10rem !important;
}
