/* Keep animated heading words separate from background-clipped text layers. */
body .s3-rooms .experience-title,
body .anderson-experience .experience-title,
body #gallery-12-uPjIIY98CZ .experience-title {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  animation: none;
  color: #206c56;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

body .s3-rooms .experience-subtitle,
body .anderson-experience .experience-subtitle,
body #gallery-12-uPjIIY98CZ .experience-subtitle {
  display: block;
  font-size: clamp(0.875rem, 1.5vw, 1.2rem);
  letter-spacing: clamp(0.12rem, 0.5vw, 0.4rem);
  margin-bottom: 1rem;
}

/* Two compact room cards per row on tablets and desktops. */
body .s3-rooms > .container {
  width: calc(100% - 32px);
  max-width: 1440px;
  padding-inline: 0;
}

body .s3-rooms .experience-header {
  margin-bottom: 2rem;
}

body .s3-rooms .experience-title {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
}

body .s3-rooms .title-underline {
  margin-top: 1.25rem;
}

body .s3-rooms .rooms-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: none;
}

body .s3-rooms .room-card {
  min-width: 0;
  flex-direction: row;
  align-items: stretch;
}

body .s3-rooms .room-visual-area {
  flex: 0 0 44%;
  width: 44%;
  height: auto;
  aspect-ratio: 3 / 2;
  padding: 0;
  margin: 0;
  align-self: center;
}

body .s3-rooms .room-content {
  min-width: 0;
  padding: 20px;
}

body .s3-rooms .room-title {
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

body .s3-rooms .room-features {
  gap: 8px 14px;
  margin-bottom: 16px;
}

body .s3-rooms .room-feature {
  min-width: 0;
  font-size: 14px;
  gap: 6px;
}

body .s3-rooms .btn-details {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}

/* The map continues to use the existing Leaflet controls and markers. */
.anderson-experience .maplibregl-canvas {
  max-width: none;
}

.anderson-experience .map-unavailable {
  position: absolute;
  z-index: 1100;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: #f5f8f6;
  text-align: center;
  color: #206c56;
}

.anderson-experience .map-unavailable a {
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 1199px) {
  body .s3-rooms .room-card {
    flex-direction: column;
  }

  body .s3-rooms .room-visual-area {
    flex: none;
    width: calc(100% - 32px);
    margin: 16px 16px 0;
  }

  body .s3-rooms .room-content {
    justify-content: flex-start;
  }

  body .s3-rooms .btn-details {
    margin-top: auto;
  }
}

@media (max-width: 767px) {
  body .anderson-experience .experience-container {
    padding-inline: 16px;
  }

  body .anderson-experience #anderson-map {
    width: 100%;
    height: 340px;
  }

  body .anderson-experience .experience-header {
    margin-bottom: 3rem;
  }

  body .anderson-experience .experience-filters {
    gap: 8px;
    margin: 0 0 2rem;
  }

  body .anderson-experience .filter-btn {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
  }
}

@media (max-width: 639px) {
  body .s3-rooms .rooms-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  body .s3-rooms .room-content {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .s3-rooms .title-word,
  body .anderson-experience .title-word,
  body #gallery-12-uPjIIY98CZ .title-word {
    animation: none;
    transform: none;
    opacity: 1;
  }
}
