/* RentHub Forward — "our listings have moved" showcase page.
   Navy + orange from the A&M Realty logo; blueprint grid nods to "Your success. Our blueprint." */
:root {
  --navy-950: #071528;
  --navy-900: #0b1f38;
  --navy-800: #13304f;
  --line: rgba(255, 255, 255, .08);
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, .74);
  --ink-faint: rgba(255, 255, 255, .5);
  --orange: #f5a623;
  --orange-deep: #e08a0b;
  --on-orange: #0b1f38;
  --paper: #ffffff;
  --paper-ink: #0b1f38;
  --paper-soft: #5b6b80;
  --paper-line: #e6ebf2;
  --sale: #0b6b3a;
  --sale-bg: #e3f5ea;
  --lease: #1f6fd6;
  --lease-bg: #e5effc;
  --radius: 8px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

.rhs {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--navy-900);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
}

.rhs__page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
}

/* Header */
.rhs__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rhs__brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.rhs__brand img { display: block; height: 72px; width: auto; max-width: 260px; }
.rhs__brand-text { font-size: 18px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.rhs__domain {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--ink-soft); background: rgba(255, 255, 255, .04);
}
.rhs__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.rhs__top-right { display: flex; align-items: center; gap: 12px; }
.rhs__close {
  width: 40px; height: 40px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--ink); font-size: 24px; line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.rhs__close:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.rhs__close:focus-visible,
.rhs__stay-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.rhs__stay { margin: 20px 0 0; }
.rhs__stay-link {
  padding: 0; border: 0; background: none;
  color: var(--ink-faint); font: inherit; font-size: 14px;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.rhs__stay-link:hover { color: var(--ink); }

/* Main split */
.rhs__main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 64px;
  align-items: center;
  padding: 48px 0;
}

.rhs__eyebrow {
  margin: 0 0 16px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange);
}
.rhs__title {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.02em;
  max-width: 14ch;
}
.rhs__lede { margin: 20px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }

.rhs__points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.rhs__points li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.5; }
.rhs__points li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(245, 166, 35, .16);
}
.rhs__points li::after {
  content: "";
  position: absolute; left: 7px; top: 6px;
  width: 5px; height: 9px;
  border: solid var(--orange); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.rhs__cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px;
  padding: 16px 28px;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--on-orange);
  font-size: 17px; font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.rhs__cta:hover { background: var(--orange-deep); transform: translateY(-1px); }
.rhs__cta:focus-visible,
.rhs__pause:focus-visible,
.rhs__card:focus-visible,
.rhs__more:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Countdown */
.rhs__timer { display: flex; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.rhs__ring { width: 40px; height: 40px; transform: rotate(-90deg); flex: none; }
.rhs__ring circle { fill: none; stroke-width: 3; }
.rhs__ring-track { stroke: rgba(255, 255, 255, .14); }
.rhs__ring-fill {
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-dasharray: 106.8;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}
.rhs__timer-text { margin: 0; font-size: 15px; color: var(--ink-soft); }
.rhs__timer-text strong { color: var(--ink); font-weight: 600; }
.rhs__count { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.rhs__pause {
  margin-left: 4px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit; font-size: 14px;
  cursor: pointer;
}
.rhs__pause:hover { color: var(--ink); border-color: rgba(255, 255, 255, .5); }
.rhs__timer.is-paused .rhs__ring-fill { stroke: var(--ink-faint); }

/* Live listings panel */
.rhs__live {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(3, 10, 22, .45);
}
.rhs__live-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.rhs__live-head h2 { margin: 0; font-size: 17px; font-weight: 700; }
.rhs__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--sale);
}
.rhs__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1fae5b; }
.rhs__pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #1fae5b; opacity: 0;
  animation: rhs-pulse 2s ease-out infinite;
}
@keyframes rhs-pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }

.rhs__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rhs__card {
  display: flex; gap: 16px; align-items: center;
  padding: 10px; margin: 0 -10px;
  border-radius: var(--radius);
  color: inherit; text-decoration: none;
  transition: background-color .15s ease;
}
.rhs__card:hover { background: #f4f7fb; }
.rhs__thumb {
  position: relative; flex: none;
  width: 128px; height: 96px;
  border-radius: 6px; overflow: hidden;
  background: var(--paper-line);
}
.rhs__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rhs__kind {
  position: absolute; left: 6px; top: 6px;
  padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.rhs__kind--sale { background: var(--sale-bg); color: var(--sale); }
.rhs__kind--lease { background: var(--lease-bg); color: var(--lease); }
.rhs__card-body { display: grid; gap: 4px; min-width: 0; }
.rhs__card-title {
  font-size: 15px; font-weight: 600; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.rhs__card-meta { font-size: 13px; color: var(--paper-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rhs__card-price { font-size: 15px; font-weight: 700; color: var(--paper-ink); }

.rhs__more {
  display: block; margin-top: 12px; padding-top: 14px;
  border-top: 1px solid var(--paper-line);
  font-size: 14px; font-weight: 600; color: var(--lease); text-decoration: none;
}
.rhs__more:hover { text-decoration: underline; }

/* Footer */
.rhs__foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-faint);
}

/* Tablet & phone */
@media (max-width: 900px) {
  .rhs__main { grid-template-columns: 1fr; gap: 40px; padding: 32px 0; }
  .rhs__title { max-width: none; }
}
@media (max-width: 560px) {
  .rhs__page { padding: 16px; }
  .rhs__brand img { height: 52px; }
  .rhs__domain { display: none; }
  .rhs__lede { font-size: 16px; }
  .rhs__cta { display: flex; justify-content: center; width: 100%; }
  .rhs__live { padding: 16px; }
  .rhs__thumb { width: 96px; height: 76px; }
  .rhs__cards li:nth-child(n+3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rhs__ring-fill, .rhs__cta, .rhs__card { transition: none; }
  .rhs__pulse::after { animation: none; }
}
