/**
 * North Hill Hotel — Room block display styles
 * Used by [nhh_room_section] and [nhh_rooms_list] shortcodes.
 */

/* ─── Filter dropdown ────────────────────────────────────────────────────── */
.nhh-room-filter {
  margin-bottom: 0;
}

.nhh-room-filter select {
  padding: 10px 36px 10px 14px;
  border: 1px solid #e0d3be;
  border-radius: 2px;
  background-color: #fff;
  font-size: 0.9em;
  letter-spacing: 0.04em;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a7560' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  min-width: 220px;
  color: #4a4040;
}

.nhh-room-filter select:focus {
  outline: none;
  border-color: #c9a96e;
}

/* ─── Section spacing ────────────────────────────────────────────────────── */
.nhh-room-block {
  padding: 4.5rem 0;
}

/* ─── Row vertical alignment ─────────────────────────────────────────────── */
.nhh-room-block .nhh-room-main {
  align-items: center;
}

/* ─── Gallery grid ───────────────────────────────────────────────────────── */
.nhh-room-gallery {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nhh-room-gallery__item {
  display: block;
  overflow: hidden;
  position: relative;
}

.nhh-room-gallery__item--featured {
  aspect-ratio: 4 / 3;
}

.nhh-room-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.nhh-room-gallery__item--thumb {
  aspect-ratio: 4 / 3;
}

.nhh-room-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.nhh-room-gallery__item:hover img {
  transform: scale(1.04);
}

.nhh-room-gallery__hidden {
  display: none !important;
}

/* ─── Room info column ───────────────────────────────────────────────────── */
.nhh-room-info-col h2.mainheading {
  margin-bottom: 4px;
}

.nhh-room-info-col h3.secondaryheading {
  margin-bottom: 14px;
}

.nhh-room-desc {
  line-height: 1.7;
  margin-top: 10px;
}

/* ─── Amenities section ──────────────────────────────────────────────────── */
.nhh-room-amenities-col {
  margin-top: 12px;
}

.nhh-room-divider {
  border: none;
  border-top: 1px solid #e0d3be;
  margin: 0 0 28px;
}

/* ─── Featured item (amenity row) ────────────────────────────────────────── */
.nhh-featured-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}

.nhh-featured-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93em;
  line-height: 1.5;
}

.nhh-featured-item .nhh-icon {
  flex-shrink: 0;
  color: #c9a96e;
  margin-top: 1px;
}

/* ─── CTA section ────────────────────────────────────────────────────────── */
.nhh-room-cta {
  padding: 0 !important;
  background-color: rgb(225, 189, 127);
}

.nhh-room-cta-col-inner {
  padding: 2rem 0 0;
}

.nhh-room-cta-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.nhh-room-cta-text {
  text-align: center;
}

.nhh-room-cta-heading {
  margin: 0 !important;
  color: #fff !important;
}

.nhh-room-cta-btn {
  display: inline-block;
  border: 2px solid #fff !important;
  color: #fff !important;
  background: transparent !important;
  border-radius: 2px;
  letter-spacing: 0.18em;
  font-size: 0.76em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 28px;
  transition: background 0.22s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nhh-room-cta-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
}

/* ─── Filter visibility ──────────────────────────────────────────────────── */
.nhh-room-block.nhh-hidden,
.nhh-room-cta.nhh-hidden {
  display: none !important;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 44.375em) {
  .nhh-room-block {
    padding: 2rem 0;
  }

  .nhh-room-gallery__item--featured {
    aspect-ratio: 1 / 1;
  }

  .nhh-room-gallery__thumbs {
    grid-template-columns: 1fr;
  }

  .nhh-room-gallery__item--thumb {
    aspect-ratio: 16 / 5;
  }

  .nhh-room-gallery {
    margin-bottom: 20px;
  }

  .nhh-room-cta-col-inner {
    padding: 2rem 0;
  }

  .nhh-room-cta-stack {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}
