/* Editorial room cards — matches the Veda rooms preview layout; type uses CMS heading/body fonts. */
.rooms-editorial {
  background: color-mix(in srgb, var(--brand-band-muted, #eee9de) 35%, var(--brand-band-light, #f7f4ed) 65%);
  padding-block: 90px;
}

.rooms-editorial .wrap,
.rooms-editorial__inner {
  width: min(1320px, calc(100% - 72px));
  margin-inline: auto;
}

.rooms-editorial__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 45px;
}

.rooms-editorial__nav {
  display: inline-flex;
  gap: 8px;
  flex-shrink: 0;
  margin-bottom: 7px;
}

.rooms-editorial__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid var(--brand-secondary, #947864);
  background: color-mix(in srgb, var(--brand-band-light, #f7f4ed) 90%, #fff);
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition-property: background-color, border-color, transform;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.rooms-editorial__nav-btn:hover {
  border-color: var(--brand-accent, #8a4a39);
  background: #fff;
}

.rooms-editorial__nav-btn:active {
  transform: scale(0.96);
}

.rooms-editorial .rooms-grid--paged > .js-rooms-item {
  min-width: 0;
}

.rooms-editorial .rooms-grid--paged > .js-rooms-item[hidden] {
  display: none !important;
}

.rooms-editorial__heading h2 {
  margin: 0;
  font-family: var(--font-heading), "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 4.5vw, 4.8rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--color-text, #302d28);
  text-wrap: balance;
}

.rooms-editorial .venue-listing-intro {
  margin: 14px 0 0;
  max-width: 36rem;
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-text, #302d28) 72%, transparent);
}
.rooms-editorial .venue-listing-empty {
  margin: 0;
  font-family: var(--font-body), Arial, sans-serif;
  color: color-mix(in srgb, var(--color-text, #302d28) 65%, transparent);
}

.rooms-editorial .eyebrow {
  display: block;
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-accent, #8a4a39);
  margin-bottom: 16px;
}

.rooms-editorial .text-link {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 7px;
  border-bottom: 1px solid var(--brand-secondary, #947864);
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 0 9px;
  letter-spacing: 0.035em;
  color: inherit;
  text-decoration: none;
}

.rooms-editorial .text-link span {
  font-size: 18px;
  font-weight: 400;
}

.rooms-editorial .rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.rooms-editorial .editorial-room-card {
  display: block;
  min-width: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.rooms-editorial .image-link {
  display: block;
  position: relative;
  aspect-ratio: 1.27;
  overflow: hidden;
  background: var(--brand-muted, #e9e1d1);
}

.rooms-editorial .image-link img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  transition-property: transform;
  transition-duration: 0.65s;
  -webkit-user-drag: none;
  user-select: none;
  touch-action: pan-y;
}

.rooms-editorial .room-image-placeholder {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(135deg, transparent 49.7%, rgba(0, 0, 0, 0.06) 50%),
    color-mix(in srgb, var(--brand-muted, #e9e1d1) 75%, var(--brand-band-light, #f7f4ed));
}

.rooms-editorial .image-link:hover img {
  transform: scale(1.035);
}

.rooms-editorial .image-action {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: color-mix(in srgb, var(--brand-band-light, #f7f4ed) 91%, transparent);
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 12px;
  padding: 8px 13px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(5px);
  transition-property: opacity, transform;
  transition-duration: 0.2s;
}

.rooms-editorial .image-link:hover .image-action,
.rooms-editorial .image-link:focus-visible .image-action {
  opacity: 1;
  transform: none;
}

.rooms-editorial .room-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 0 11px;
  color: var(--color-text-secondary, #7a6c58);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 11px;
}

.rooms-editorial .editorial-room-card h3 {
  margin: 0;
  font-family: var(--font-heading), "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 2.35rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.rooms-editorial .editorial-room-card h3 a {
  color: inherit;
  text-decoration: none;
}

.rooms-editorial .editorial-room-card > p {
  margin: 10px 0 0;
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text-secondary, #68645c);
}

.rooms-editorial .room-card-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.rooms-editorial .rooms-grid--preview > .editorial-room-card:nth-child(n+4) {
  display: none;
}

.rooms-editorial .rooms-grid--preview.is-expanded > .editorial-room-card:nth-child(n+4) {
  display: block;
}

.rooms-editorial__more {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.rooms-editorial .rooms-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--brand-secondary, #947864);
  background: transparent;
  color: inherit;
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-decoration: none;
  cursor: pointer;
  transition-property: transform, background-color, color;
  transition-duration: 0.2s;
}

.rooms-editorial .rooms-view-more:active {
  transform: scale(0.96);
}

.rooms-editorial .rooms-view-more:hover,
.rooms-editorial .rooms-view-more:focus-visible {
  background: var(--brand-primary, #815043);
  border-color: var(--brand-primary, #815043);
  color: #fff;
}

.rooms-editorial__stage {
  position: relative;
}

.rooms-editorial .owl-stage-outer {
  touch-action: pan-y;
}

@media (max-width: 960px) {
  .rooms-editorial .rooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }

  .rooms-editorial .editorial-room-card h3 {
    font-size: 2.1rem;
  }
}

@media (max-width: 640px) {
  .rooms-editorial {
    padding-block: 65px;
  }

  .rooms-editorial .wrap,
  .rooms-editorial__inner {
    width: calc(100% - 40px);
  }

  .rooms-editorial__heading {
    display: block;
    margin-bottom: 30px;
  }

  .rooms-editorial__heading h2 {
    font-size: 3rem;
  }

  .rooms-editorial .text-link {
    margin-top: 18px;
  }

  .rooms-editorial .rooms-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .rooms-editorial .image-action {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rooms-editorial .image-link img,
  .rooms-editorial .image-action {
    transition: none;
  }
}
