/* Resale & Rentals — luxury redesign on black (scoped to .hh-resale-page) */

.hh-resale-page {
  --rr-black: #050505;
  --rr-black-soft: #0a0a0a;
  --rr-surface: #111111;
  --rr-surface-2: #161616;
  --rr-surface-3: #1c1c1c;
  --rr-ivory: #f7f4ee;
  --rr-champagne: #c4a574;
  --rr-champagne-light: #d4bc8e;
  --rr-champagne-deep: #a88855;
  --rr-ink: #f7f4ee;
  --rr-ink-muted: rgba(247, 244, 238, 0.68);
  --rr-ink-faint: rgba(247, 244, 238, 0.42);
  --rr-line: rgba(247, 244, 238, 0.1);
  --rr-line-strong: rgba(196, 165, 116, 0.35);
  --rr-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rr-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --rr-sans: "Montserrat", system-ui, sans-serif;

  font-family: var(--rr-sans);
  color: var(--rr-ink);
  background: var(--rr-black) !important;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body.hh-resale-page.hh-site {
  background:
    radial-gradient(
      900px 420px at 8% -5%,
      rgba(196, 165, 116, 0.08),
      transparent 55%
    ),
    radial-gradient(
      700px 380px at 100% 18%,
      rgba(196, 165, 116, 0.04),
      transparent 50%
    ),
    var(--rr-black-soft) !important;
}

.hh-resale-page #topcontrol,
.hh-resale-page .topcontrol {
  display: none !important;
}

.hh-resale-page #main-content {
  padding-top: 0;
  margin-top: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.hh-resale-page .container {
  width: 100%;
  max-width: 1160px;
  box-sizing: border-box;
}

.hh-resale-page h1,
.hh-resale-page h2,
.hh-resale-page h3,
.hh-resale-page .hh-rr-display,
.hh-resale-page .hh-rr-hero__title,
.hh-resale-page .hh-rr-cta__title,
.hh-resale-page .hh-rr-avail__title,
.hh-resale-page .hh-rr-feature__body h3,
.hh-resale-page .hh-resale-card__body h3 {
  font-family: var(--rr-serif) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
}

/* ---- Shared primitives ---- */
.hh-rr-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--rr-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rr-champagne-light) !important;
}

.hh-rr-kicker--on-dark {
  color: var(--rr-champagne-light) !important;
}

.hh-rr-display {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 1.35rem + 2.2vw, 3.35rem) !important;
  line-height: 1.12 !important;
  color: #fff !important;
}

.hh-rr-lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--rr-ink-muted) !important;
}

.hh-rr-section-head {
  margin-bottom: 2.75rem;
  max-width: 40rem;
}

.hh-rr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.55rem;
  border-radius: 1px;
  font-family: var(--rr-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    background 0.28s var(--rr-ease),
    color 0.28s var(--rr-ease),
    border-color 0.28s var(--rr-ease),
    transform 0.28s var(--rr-ease),
    box-shadow 0.28s var(--rr-ease);
}

.hh-rr-btn:focus-visible {
  outline: 2px solid var(--rr-champagne);
  outline-offset: 3px;
}

.hh-rr-btn--solid {
  background: var(--rr-champagne);
  border: 1px solid var(--rr-champagne);
  color: #0a0a0a !important;
}

.hh-rr-btn--solid:hover,
.hh-rr-btn--solid:focus {
  background: var(--rr-champagne-light);
  border-color: var(--rr-champagne-light);
  color: #050505 !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(196, 165, 116, 0.28);
}

.hh-rr-btn--line {
  background: transparent;
  border: 1px solid rgba(247, 244, 238, 0.4);
  color: #fff !important;
}

.hh-rr-btn--line:hover,
.hh-rr-btn--line:focus {
  border-color: var(--rr-champagne-light);
  color: var(--rr-champagne-light) !important;
}

.hh-rr-btn--line-light {
  background: transparent;
  border: 1px solid rgba(247, 244, 238, 0.35);
  color: var(--rr-ivory) !important;
}

.hh-rr-btn--line-light:hover,
.hh-rr-btn--line-light:focus {
  border-color: var(--rr-champagne-light);
  color: var(--rr-champagne-light) !important;
}

.hh-rr-btn--gold {
  background: var(--rr-champagne);
  border: 1px solid var(--rr-champagne);
  color: #0a0a0a !important;
}

.hh-rr-btn--gold:hover,
.hh-rr-btn--gold:focus {
  background: var(--rr-champagne-light);
  border-color: var(--rr-champagne-light);
  color: #050505 !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(196, 165, 116, 0.28);
}

/* ---- Hero ---- */
.hh-rr-hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hh-rr-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--rr-surface);
}

.hh-rr-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transform: scale(1.06);
  animation: hh-rr-hero-ken 18s var(--rr-ease) both;
}

.hh-rr-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.42) 0%,
      rgba(5, 5, 5, 0.55) 40%,
      rgba(5, 5, 5, 0.9) 100%
    ),
    linear-gradient(90deg, rgba(5, 5, 5, 0.5) 0%, rgba(5, 5, 5, 0.15) 68%);
}

.hh-rr-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(
      var(--hh-header-height, 96px) + var(--hh-nav-inset, 16px) + 4rem
    )
    1.25rem 4.5rem;
}

.hh-rr-hero__copy {
  max-width: 38rem;
}

.hh-rr-hero__kicker {
  color: var(--rr-champagne-light) !important;
  opacity: 0;
  animation: hh-rr-fade-up 0.9s var(--rr-ease) 0.15s forwards;
}

.hh-rr-hero__title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.55rem, 1.5rem + 3.6vw, 4.6rem) !important;
  line-height: 1.08 !important;
  color: #fff !important;
  font-weight: 600 !important;
  opacity: 0;
  animation: hh-rr-fade-up 0.95s var(--rr-ease) 0.28s forwards;
}

.hh-rr-hero__text {
  margin: 0 0 2rem;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 400;
  color: rgba(247, 244, 238, 0.82) !important;
  opacity: 0;
  animation: hh-rr-fade-up 0.95s var(--rr-ease) 0.42s forwards;
}

.hh-rr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: hh-rr-fade-up 0.95s var(--rr-ease) 0.55s forwards;
}

@keyframes hh-rr-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hh-rr-hero-ken {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1.03);
  }
}

/* ---- Discovery / filters ---- */
.hh-rr-discover {
  padding: 4.75rem 0 0;
  background: var(--rr-black);
  border-bottom: 1px solid var(--rr-line);
}

.hh-rr-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: flex-end;
  padding: 0 0 1.75rem;
  position: sticky;
  top: calc(
    var(--hh-header-height, 96px) + var(--hh-nav-inset, 16px) + 0.25rem
  );
  z-index: 24;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.98) 0%,
    rgba(5, 5, 5, 0.94) 75%,
    rgba(5, 5, 5, 0.82) 100%
  );
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hh-rr-filters__group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.hh-rr-filters__group--wide {
  flex: 1 1 280px;
}

.hh-rr-filters__label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rr-ink-faint) !important;
}

/* ---- Luxury dropdown filters ---- */
.hh-rr-select {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  min-width: 190px;
  min-height: 46px;
  padding: 0.75rem 2.8rem 0.75rem 1rem;
  border: 1px solid var(--rr-line);
  border-radius: 0;
  outline: none;
  background-color: var(--rr-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c4a574' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  color: var(--rr-ivory);
  font-family: var(--rr-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.hh-rr-select:hover {
  border-color: rgba(196, 165, 116, 0.55);
}

.hh-rr-select:focus {
  border-color: var(--rr-champagne);
  box-shadow: 0 0 0 2px rgba(196, 165, 116, 0.1);
}

.hh-rr-select:focus-visible {
  outline: 2px solid var(--rr-champagne);
  outline-offset: 3px;
}

.hh-rr-select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hh-rr-select option {
  background: #111;
  color: var(--rr-ivory);
}

.hh-rr-pill:focus-visible {
  outline: 2px solid var(--rr-champagne);
  outline-offset: 2px;
}

.hh-rr-filters__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hh-rr-pill {
  appearance: none;
  border: 1px solid var(--rr-line);
  background: var(--rr-surface);
  color: var(--rr-ink-muted) !important;
  font-family: var(--rr-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.72rem 1.1rem;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.hh-rr-pill:hover,
.hh-rr-pill:focus {
  border-color: rgba(196, 165, 116, 0.55);
  color: #fff !important;
}

.hh-rr-pill.is-active {
  background: rgba(196, 165, 116, 0.12);
  border-color: var(--rr-champagne);
  color: var(--rr-champagne-light) !important;
  box-shadow: inset 0 -1px 0 var(--rr-champagne);
}

/* ---- Featured properties ---- */
.hh-rr-featured {
  padding: 5rem 0 4.5rem;
  background: var(--rr-black-soft);
}

.hh-rr-featured__grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hh-rr-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  min-height: 420px;
  background: var(--rr-surface);
  border: 1px solid var(--rr-line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  scroll-margin-top: calc(var(--hh-header-height, 96px) + 56px);
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--rr-ease),
    box-shadow 0.45s var(--rr-ease),
    border-color 0.45s var(--rr-ease);
}

.hh-rr-feature.is-hidden {
  display: none;
}

.hh-rr-feature--alt {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
}

.hh-rr-feature--alt .hh-rr-feature__media {
  order: 2;
}

.hh-rr-feature--alt .hh-rr-feature__body {
  order: 1;
}

.hh-rr-feature:hover {
  border-color: var(--rr-line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.hh-rr-feature__media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: #0e0e0e;
}

.hh-rr-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--rr-ease);
}

.hh-rr-feature:hover .hh-rr-feature__media img {
  transform: scale(1.05);
}

.hh-rr-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 3vw, 3rem);
  background: linear-gradient(
    160deg,
    var(--rr-surface-2) 0%,
    var(--rr-surface) 100%
  );
}

.hh-rr-feature__meta {
  margin: 0 0 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rr-champagne-light) !important;
}

.hh-rr-feature__body h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.85rem, 1.3rem + 1.4vw, 2.65rem) !important;
  line-height: 1.1 !important;
  color: #fff !important;
}

.hh-rr-feature__place {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--rr-ink-faint) !important;
}

.hh-rr-feature__text {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--rr-ink-muted) !important;
}

/* ---- Availability / inventory ---- */
.hh-rr-availability {
  padding: 5rem 0;
  background:
    radial-gradient(
      700px 360px at 85% 0%,
      rgba(196, 165, 116, 0.1),
      transparent 60%
    ),
    var(--rr-black);
  color: var(--rr-ivory);
  border-top: 1px solid var(--rr-line);
}

.hh-rr-inventory {
  min-height: 1px;
}

.hh-rr-avail {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rr-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 55%),
    var(--rr-surface);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.hh-rr-avail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--rr-champagne-light),
    var(--rr-champagne-deep)
  );
}

.hh-rr-avail__content {
  max-width: 38rem;
  position: relative;
}

.hh-rr-avail__title {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 1.25rem + 1.5vw, 2.5rem) !important;
  line-height: 1.15 !important;
  color: #fff !important;
}

.hh-rr-avail p:not(.hh-rr-kicker) {
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(247, 244, 238, 0.72) !important;
}

.hh-rr-none {
  margin: 0;
  padding: 1.25rem 0;
  color: rgba(247, 244, 238, 0.55) !important;
  font-size: 0.95rem;
}

/* Listing cards (when JSON has inventory) */
.hh-resale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.hh-resale-card {
  background: var(--rr-surface);
  border: 1px solid var(--rr-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition:
    border-color 0.3s ease,
    transform 0.35s var(--rr-ease);
}

.hh-resale-card:hover {
  border-color: rgba(196, 165, 116, 0.4);
  transform: translateY(-2px);
}

.hh-resale-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0e0e0e;
  overflow: hidden;
}

.hh-resale-slides {
  position: absolute;
  inset: 0;
}

.hh-resale-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.hh-resale-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hh-resale-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--rr-ease);
}

.hh-resale-card:hover .hh-resale-slide.is-active img {
  transform: scale(1.04);
}

.hh-resale-prev,
.hh-resale-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  background: rgba(5, 5, 5, 0.72);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    border-color 0.25s ease;
}

.hh-resale-card:hover .hh-resale-prev,
.hh-resale-card:hover .hh-resale-next,
.hh-resale-card:focus-within .hh-resale-prev,
.hh-resale-card:focus-within .hh-resale-next {
  opacity: 1;
}

.hh-resale-prev {
  left: 0.6rem;
}

.hh-resale-next {
  right: 0.6rem;
}

.hh-resale-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}

.hh-resale-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hh-resale-dot.is-active {
  background: var(--rr-champagne);
}

.hh-resale-card__body {
  padding: 1.2rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.hh-resale-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

.hh-resale-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0;
  background: transparent;
}

.hh-resale-badge--offer {
  color: var(--rr-champagne-light) !important;
}

.hh-resale-badge--status {
  color: rgba(247, 244, 238, 0.55) !important;
}

.hh-resale-id {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(247, 244, 238, 0.4);
  letter-spacing: 0.06em;
}

.hh-resale-card__body h3 {
  margin: 0.15rem 0 0;
  font-size: 1.45rem !important;
  color: #fff !important;
  line-height: 1.15 !important;
}

.hh-resale-card__type {
  margin: 0;
  font-size: 0.8rem;
  text-transform: capitalize;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 238, 0.5) !important;
}

.hh-resale-card__meta {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid var(--rr-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.8rem;
  color: rgba(247, 244, 238, 0.72) !important;
}

.hh-resale-card__price {
  margin: 0.5rem 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rr-champagne-light) !important;
}

.hh-resale-wa {
  margin-top: auto;
  text-align: center;
  width: 100%;
}

/* ---- Why H&H ---- */
.hh-rr-why {
  padding: 5.25rem 0;
  background: var(--rr-black-soft);
  border-top: 1px solid var(--rr-line);
}

.hh-rr-why__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.hh-rr-why__item {
  padding: 1.75rem 1.35rem 1.85rem;
  background: var(--rr-surface);
  border: 1px solid var(--rr-line);
  border-top: 2px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.35s var(--rr-ease),
    transform 0.35s var(--rr-ease);
}

.hh-rr-why__item:hover {
  border-top-color: var(--rr-champagne);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.hh-rr-why__icon {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1.15rem;
  color: var(--rr-champagne-light);
}

.hh-rr-why__icon svg {
  width: 100%;
  height: 100%;
}

.hh-rr-why__item h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem !important;
  color: #fff !important;
}

.hh-rr-why__item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--rr-ink-muted) !important;
}

/* ---- Final CTA ---- */
.hh-rr-cta {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background: var(--rr-surface);
  text-align: center;
  border-top: 1px solid var(--rr-line);
}

.hh-rr-cta__glow {
  position: absolute;
  inset: auto 10% -40% 10%;
  height: 60%;
  background: radial-gradient(
    closest-side,
    rgba(196, 165, 116, 0.22),
    transparent 70%
  );
  pointer-events: none;
}

.hh-rr-cta__inner {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
}

.hh-rr-cta__title {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 1.4rem + 2vw, 3.4rem) !important;
  line-height: 1.12 !important;
  color: #fff !important;
}

.hh-rr-cta__text {
  margin: 0 auto 2rem;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(247, 244, 238, 0.72) !important;
}

.hh-rr-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hh-rr-hero {
    min-height: min(78vh, 680px);
    align-items: flex-end;
  }

  .hh-rr-hero__inner {
    padding: calc(
        var(--hh-header-height, 88px) + var(--hh-nav-inset, 12px) + 3rem
      )
      1.15rem 3.5rem;
  }

  .hh-rr-feature,
  .hh-rr-feature--alt {
    grid-template-columns: minmax(0, 1fr);
  }

  .hh-rr-feature--alt .hh-rr-feature__media,
  .hh-rr-feature--alt .hh-rr-feature__body {
    order: unset;
  }

  .hh-rr-feature__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .hh-rr-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hh-rr-discover,
  .hh-rr-featured,
  .hh-rr-availability,
  .hh-rr-why,
  .hh-rr-cta {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hh-rr-discover {
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .hh-rr-hero {
    min-height: 0;
  }

  .hh-rr-hero__inner {
    padding: calc(
        var(--hh-header-height, 80px) + var(--hh-nav-inset, 10px) + 2.5rem
      )
      1rem 3rem;
  }

  .hh-rr-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hh-rr-btn {
    width: 100%;
  }

  .hh-rr-filters {
    position: static;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    gap: 1.25rem;
  }

  .hh-rr-filters__group {
    width: 100%;
  }

  .hh-rr-select {
    width: 100%;
    min-width: 0;
  }

  .hh-rr-filters__pills {
    width: 100%;
  }

  .hh-rr-pill {
    flex: 1 1 auto;
  }

  .hh-rr-why__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hh-rr-featured {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .hh-rr-feature__body {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .hh-rr-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hh-resale-prev,
  .hh-resale-next {
    opacity: 1;
  }

  .hh-resale-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 400px) {
  .hh-rr-hero__title {
    font-size: clamp(2.2rem, 9vw, 2.7rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hh-rr-hero__media img,
  .hh-rr-hero__kicker,
  .hh-rr-hero__title,
  .hh-rr-hero__text,
  .hh-rr-hero__actions,
  .hh-rr-feature,
  .hh-rr-feature__media img,
  .hh-rr-btn,
  .hh-rr-why__item,
  .hh-resale-slide,
  .hh-resale-slide img,
  .hh-resale-card {
    animation: none !important;
    transition: none !important;
  }

  .hh-rr-hero__kicker,
  .hh-rr-hero__title,
  .hh-rr-hero__text,
  .hh-rr-hero__actions {
    opacity: 1;
    transform: none;
  }

  .hh-rr-hero__media img {
    transform: none;
  }

  .hh-rr-feature:hover .hh-rr-feature__media img,
  .hh-resale-card:hover .hh-resale-slide.is-active img {
    transform: none;
  }
}
