/* =========================================================================
   One Global Capital — Residential listings (prototype)
   Layout and behaviour follow the measurements kept in the project notes.
   Written from scratch; no third-party site code, text or images.

   Elementor notes
   - Every block is a self-contained section with one root class (rl-*), so
     each maps to one Elementor container with that CSS class.
   - All sizes/colours are custom properties on :root so they can be moved to
     Elementor Site Settings (Global colours / fonts) or the child theme.
   - Fonts: Playfair Display (free, as measured). Proxima Nova (paid) is
     replaced by Figtree (free, Google Fonts) — see notes/DECISIONS.md.
   ========================================================================= */

:root {
  --rl-serif: "Playfair Display", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --rl-sans: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --rl-lato: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;   /* as on oneglobalresorts.com.au/stay/ */

  --rl-text: #1c1c1c;            /* reference #524C48 -> OGC near-black */
  --rl-text-strong: #050304;
  --rl-gold: var(--ogc-gold, #cba275);
  --rl-on-gold: #000;            /* OGC's own gold buttons use black text */
  --rl-panel: rgba(137, 137, 137, .15);
  --rl-warm: #f6f1eb;            /* reference #F5F2EE -> warm tint of OGC gold */
  /* OGC brand tokens with fallbacks, so this file also works without ogc-site.css (WordPress) */
  --rl-ogc-font: var(--ogc-font, "Roboto", "Helvetica Neue", Arial, sans-serif);
  --rl-ogc-gold: var(--ogc-gold, #cba275);
  --rl-ogc-muted: var(--ogc-muted, #535353);
  --rl-hover-grey: rgba(96, 96, 96, .92);   /* reference rgba(137,137,137,.8); darker so white text keeps 4.5:1 */

  --rl-radius: 20px;
  --rl-radius-sm: 10px;
  --rl-pill: 100px;
  --rl-gap: 24px;
  --rl-side: 24px;               /* page side padding (16px on phones) */
  --rl-ease: .3s ease-in-out;
  --rl-fade-slider: 500ms;       /* amenity slider fade (measured 500 ms ease) */
  --rl-fade-gallery: 300ms;      /* unit gallery fade (measured opacity .3s) */
}

/* ---------- Base inside the listing pages ---------- */
.rl {
  font-family: var(--rl-sans);
  font-size: 16px; line-height: 1.4; font-weight: 400;
  color: var(--rl-text);
}
/* zero-specificity resets so component classes below always win */
:where(.rl) :where(h1, h2, h3, h4) { margin: 0; font-weight: 400; }
:where(.rl) :where(p) { margin: 0 0 1em; }
.rl-section { padding: 72px 0 0; }
html:has(.rl, .ogc-market) { scroll-padding-top: calc(var(--ogc-header-h, 74px) + 16px); scroll-padding-bottom: 72px; }
.rl [hidden] { display: none !important; }   /* our display:grid/flex rules must not un-hide [hidden] buttons */
.rl-wrap { padding: 0 var(--rl-side); max-width: 1800px; margin: 0 auto; }

/* Visible placeholders for facts we could not source */
.ogc-ph {
  background: #fff4cc; color: #5a4300;
  border: 1px dashed #c9a227; border-radius: 4px;
  padding: 0 .3em; font-style: normal;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.rl-on-dark .ogc-ph, .ogc-ph--dark { background: rgba(255, 244, 204, .92); }

/* Grey photo placeholder ("Photo needed: unit 1303") */
.ogc-photo-ph {
  position: relative; width: 100%; height: 100%;
  background-color: #cfccc8;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 2px, transparent 2px 14px);
  display: grid; place-items: center; text-align: center;
  color: #3a3a3a;
}
.ogc-photo-ph__label {
  font-family: var(--rl-sans);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.85); padding: 6px 10px; border-radius: 4px;
  max-width: 80%;
}

/* ---------- Section heading (spaced capitals) ---------- */
.rl-heading {
  font-family: var(--rl-sans);
  font-size: 18px; line-height: 21.6px; font-weight: 400;
  letter-spacing: 9px; text-transform: uppercase; text-align: center;
  color: var(--rl-text);
  margin: 0 0 38px;
  padding: 0 var(--rl-side);
}

@media (max-width: 768px) {
  .rl-heading { font-size: 15px; line-height: 21px; letter-spacing: 5px; margin-bottom: 24px; }
}

/* ---------- Buttons (pills) ---------- */
.rl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 24px;
  border-radius: var(--rl-pill); border: 0;
  font-family: var(--rl-sans); font-size: 16px; font-weight: 600; line-height: 24px;
  text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: filter var(--rl-ease), background-color var(--rl-ease), color var(--rl-ease), border-color var(--rl-ease);
}
.rl-btn--primary { background: var(--rl-gold); color: var(--rl-on-gold); }
.rl-btn--primary:hover { filter: brightness(1.15); }
.rl-btn--white { background: #fff; color: #000; }
.rl-btn--white:hover { background: var(--rl-hover-grey); color: #fff; }
.rl-btn--outline {
  background: #fff; color: #000; border: 2px solid #000;
  font-size: 14px; padding: 10.5px 21px; min-height: 52px;
}
.rl-btn--outline:hover { background: #000; color: #fff; }
.rl-btn--outline svg { width: 14px; height: 14px; flex: none; }
.rl-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.rl-btn[aria-disabled="true"]:hover { background: #fff; color: #000; filter: none; }
.rl-btn--square { border-radius: 0; font-size: 14px; min-height: 58px; padding: 16px 42px; }

/* =========================================================================
   1. RESIDENTIAL page ("Currently in Market") — OGC homepage card style
   ========================================================================= */
.ogc-market { font-family: var(--rl-ogc-font); padding: 90px 15px 110px; display: flex; justify-content: center; }
.ogc-market__inner { width: 100%; max-width: 1278px; }
.ogc-market__eyebrow { margin: 0 0 14px; font-size: 18px; font-weight: 400; text-transform: uppercase; color: #000; }
.ogc-market__title { margin: 0 0 18px; font-size: 34px; font-weight: 300; line-height: 1.15; color: #000; }
.ogc-market__intro { margin: 0 0 56px; max-width: 640px; font-size: 16px; font-weight: 300; line-height: 24px; color: #000; }
.ogc-market__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

.ogc-mcard { display: block; text-decoration: none; color: #000; }
.ogc-mcard__media { position: relative; aspect-ratio: 409 / 550; overflow: hidden; margin: 0 0 10px; background: #eee; }
.ogc-market .ogc-mcard__media img { width: 100%; height: 100%; object-fit: cover; }
.ogc-mcard__tag {
  position: absolute; left: 16px; top: 16px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 12px;
}
.ogc-mcard__tag--soon { background: var(--rl-ogc-gold); color: #000; }
.ogc-mcard__title { margin: 0 0 10px; font-size: 26px; font-weight: 400; line-height: 39px; color: #000; }
.ogc-mcard__text { margin: 0; font-size: 15px; font-weight: 300; line-height: 22.5px; color: var(--rl-ogc-muted); }
.ogc-mcard__ext { font-size: 13px; color: var(--rl-ogc-muted); }

@media (max-width: 1024px) {
  .ogc-market { padding: 56px 15px 80px; }
  .ogc-market__grid { gap: 16px; }
  .ogc-mcard__title { font-size: 22px; line-height: 32px; }
}
@media (max-width: 768px) {
  .ogc-market__title { font-size: 28px; }
  .ogc-market__intro { margin-bottom: 36px; }
}
@media (max-width: 599px) {
  .ogc-market__grid { grid-template-columns: 1fr; gap: 40px; }
  .ogc-mcard__media { aspect-ratio: 4 / 5; }
}

/* =========================================================================
   2. PROJECT page
   ========================================================================= */

/* ---------- Hero ---------- */
.rl-hero {
  position: relative; overflow: hidden;
  height: calc(100vh - var(--ogc-header-h, 74px));
  height: calc(100svh - var(--ogc-header-h, 74px));
  min-height: 600px; max-height: 1100px;
  color: #fff;
}
.rl-hero__bg { position: absolute; inset: 0; }
.rl .rl-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.rl-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.rl-hero__panel {
  position: absolute; inset: 0 auto 0 0; width: 80%; z-index: 2;
  background: linear-gradient(to right, rgba(0,0,0,.8), rgba(0,0,0,.45) 65%, rgba(0,0,0,0));   /* fades to clear: no seam; text keeps 3:1+ */
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 0 0 clamp(24px, 8.9vw, 128px);
}
.rl-hero__content { max-width: 1024px; padding-right: 24px; }
.rl-hero__mark { display: inline-flex; flex-direction: column; align-items: center; margin: 0 0 48px; }
.rl-hero__mark-name {
  font-family: var(--rl-serif); font-size: 64px; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
  padding-left: .14em;
}
.rl-hero__mark-sub {
  margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,.6); padding-top: 10px;
}
.rl-hero__intro {
  font-family: var(--rl-serif); font-size: 26px; line-height: 35.75px; font-weight: 400;
  margin: 0 0 48px; max-width: 780px;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.rl-hero__ctas { display: flex; flex-wrap: wrap; gap: 24px; }
.rl-hero__scroll {
  position: absolute; left: 50%; bottom: 32px; z-index: 3; transform: translateX(-50%);
  width: 52px; height: 33px; padding: 1px 6px;
  background: transparent; border: 0; color: #fff; cursor: pointer;
}
.rl-hero__scroll svg { width: 40px; height: 25px; display: block; margin: 0 auto; }

@media (max-width: 768px) {
  .rl-hero { height: 640px; min-height: 0; }
  .rl-hero__panel {
    width: 100%; padding: 16px 16px 64px; align-items: center; text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.7));
  }
  .rl-hero__content { padding: 0; width: 100%; }
  .rl-hero__mark { margin-bottom: 24px; }
  .rl-hero__mark-name { font-size: 44px; }
  .rl-hero__intro { font-size: 20px; line-height: 27px; margin-bottom: 24px; }
  .rl-hero__ctas { flex-direction: column; align-items: center; gap: 12px; }
  .rl-hero__ctas .rl-btn { width: 100%; max-width: 360px; min-height: 48px; padding: 10px 14px; font-size: 14px; line-height: 20px; }
  .rl-hero__scroll { bottom: 16px; }
}
@media (max-width: 359px) {
  .rl-hero { height: 680px; }
  .rl-hero__intro { font-size: 18px; line-height: 25px; }
}

/* ---------- Unit cards ---------- */
.rl-units { padding-top: 72px; }
.rl-units__wrap { padding: 0 var(--rl-side); max-width: 1440px; margin: 0 auto; }

.rl-filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 0 0 24px;
}
.rl-filter__group {
  display: flex; align-items: stretch;
  background: var(--rl-warm); border-radius: 37px; min-height: 66px;
}
.rl-filter__item { position: relative; width: 220px; min-width: 0; min-height: 66px; }
.rl-filter__item + .rl-filter__item { border-left: 1px solid rgba(0,0,0,.08); }
.rl-filter__label {                    /* sits over the select; clicks pass through to it */
  position: absolute; left: 32px; top: 13px; z-index: 1; pointer-events: none;
  font-size: 12px; font-weight: 600; letter-spacing: .42px; text-transform: uppercase; color: var(--rl-text);
}
.rl-filter__select {                   /* fills the whole pill, so any click on it opens the list */
  position: absolute; inset: 0; width: 100%; height: 100%;
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent; margin: 0; border-radius: inherit;
  padding: 31px 44px 10px 32px;
  font-family: var(--rl-sans); font-size: 14px; color: var(--rl-text); cursor: pointer;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
.rl-filter__select:focus-visible { outline: 2px solid #1c1c1c; outline-offset: -5px; border-radius: 30px; }
.rl-filter__item:first-child .rl-filter__select { border-radius: 37px 0 0 37px; }
.rl-filter__item:last-child .rl-filter__select { border-radius: 0 37px 37px 0; }
.rl-filter__item::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 7px; height: 7px; margin-top: -2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.rl-filter__count { margin-left: auto; font-size: 14px; color: var(--rl-text); }
.rl-filter__empty { display: none; text-align: center; padding: 40px 0; }
.rl-filter__empty.is-shown { display: block; }

.rl-grid {
  display: grid; gap: var(--rl-gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* Grid items are the grid's direct children: the card itself here, or the wrapper an
   Elementor Loop Grid puts around each Loop Item (then the card fills the wrapper). */
.rl-grid > * { aspect-ratio: 448 / 313; }                   /* small card */
.rl-grid > .is-large { grid-row: span 2; aspect-ratio: auto; } /* 448 x 650 */
.rl-grid > :not(.rl-card) > .rl-card { height: 100%; }
.rl-grid > .is-hidden { display: none; }
.rl-grid--few { display: flex; justify-content: center; flex-wrap: wrap; }
.rl-grid--few > * { flex: 0 1 448px; aspect-ratio: 448 / 650; }

.rl-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--rl-radius);
  color: #fff; text-decoration: none; cursor: pointer;
  background: #cfccc8;
  min-height: 220px;
}
.rl-card__media { position: absolute; inset: 0; }
.rl .rl-card__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rl-radius); }
.rl-card__media .ogc-photo-ph { border-radius: var(--rl-radius); }
.rl-card__media .ogc-photo-ph__label {          /* under the building line + tag, never on the title */
  position: absolute; left: 19px; top: 80px; max-width: calc(100% - 30px);
  font-size: 11px; padding: 4px 8px;
}
.rl-card__content {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px 11px 15px 19px;
  background-image: linear-gradient(to top, rgba(0,0,0,.86) 0, rgba(0,0,0,.72) 40%, rgba(0,0,0,.25) 62%, rgba(0,0,0,0) 76%);
}
.rl-card__content::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to top, rgba(0,0,0,0) 75%, rgba(0,0,0,.8) 100%);
}
.rl-card__top { display: flex; flex-direction: column; align-items: flex-start; }
.rl-card__where { display: flex; align-items: stretch; font-size: 14px; line-height: 15.4px; }
.rl-card__building { font-weight: 700; text-transform: uppercase; padding-right: 6.4px; }
.rl-card__area { font-weight: 300; padding-left: 6.4px; border-left: 1px solid #fff; }
.rl-card__tag {
  display: inline-flex; margin-top: 8px;
  padding: 1px 10px; border-radius: 5px;
  background: rgba(0,0,0,.55);   /* reference .25; darker so white text keeps 4.5:1 on light photos and grey boxes */
  font-size: 14px; line-height: 23.94px; font-weight: 400;
}
.rl-card__body { margin-top: auto; }
.rl-card__title {
  font-family: var(--rl-serif); font-size: 26px; line-height: 32px; font-weight: 400;
  margin: 0 0 8px; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.rl-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rl-card__meta { margin: 0; min-width: 0; }
.rl-card__meta div { display: flex; align-items: center; gap: 7px; line-height: 20px; }
.rl-card__meta dt { font-size: 14px; font-weight: 700; text-transform: uppercase; }
.rl-card__meta dd { margin: 0; font-size: 16px; font-weight: 300; white-space: nowrap; }
.rl-card__btn {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 18px; border-radius: var(--rl-pill);
  background: #fff; color: #000;
  font-size: 12.5px; font-weight: 600; line-height: 1; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  transition: background-color var(--rl-ease), color var(--rl-ease);
}
.rl-card__btn:hover { background: var(--rl-hover-grey); color: #fff; }
.rl-card:focus-visible { outline: 3px solid #1c1c1c; outline-offset: 3px; }
.rl-on-dark :focus-visible, .rl-lightbox :focus-visible { outline-color: #fff; }

.rl-units__more { display: flex; justify-content: center; padding-top: 32px; }

/* Below 1200 px the 3-up cards get narrow, so the grid drops to 2 columns (no mosaic)
   earlier than the reference's 1024 px. */
@media (max-width: 1199px) {
  .rl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rl-grid > .is-large { grid-row: auto; aspect-ratio: 448 / 313; }
}
@media (max-width: 768px) {
  :root { --rl-side: 16px; }
  .rl-units { padding-top: 48px; }
  .rl-grid, .rl-grid--few { display: grid; grid-template-columns: 1fr; }
  .rl-grid > *, .rl-grid > .is-large, .rl-grid--few > * { aspect-ratio: auto; height: 240px; grid-row: auto; }   /* measured 358 x 240 */
  .rl-card__title { margin-bottom: 16px; }
  .rl-filter__group { width: 100%; }
  .rl-filter__item { flex: 1 1 50%; width: auto; }
  .rl-filter__item::after { right: 14px; }
  .rl-filter__label { left: 18px; }
  .rl-filter__select { padding: 30px 28px 9px 18px; font-size: 16px; }   /* 16 px: iPhone won't zoom on tap */
}
@media (max-width: 389px) {
  .rl-filter__group { flex-direction: column; border-radius: 24px; }
  .rl-filter__item { flex: none; }
  .rl-filter__item + .rl-filter__item { border-left: 0; border-top: 1px solid rgba(0,0,0,.08); }
  .rl-filter__count { margin: 0 auto; }
}

/* ---------- Fade slider (amenities / features) ---------- */
.rl-gallery-section { padding: 72px var(--rl-side) 0; }
.rl-slider { position: relative; max-width: 1392px; margin: 0 auto; }
.rl-slider__track { position: relative; aspect-ratio: 16 / 9; margin: 0 12px; }
.rl-slider__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity var(--rl-fade-slider) ease, visibility 0s linear var(--rl-fade-slider);
}
.rl-slider__slide.is-active { opacity: 1; visibility: visible; transition: opacity var(--rl-fade-slider) ease, visibility 0s; z-index: 1; }
.rl .rl-slider__slide img, .rl-slider__slide .ogc-photo-ph { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rl-radius); }
.rl-slider__caption {
  position: absolute; left: 20px; bottom: 16px; z-index: 2;
  font-size: 12px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.rl-slider__arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-20px);
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.75); color: #000; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color var(--rl-ease);
}
.rl-slider__arrow:hover { background: #fff; }
.rl-slider__arrow svg { width: 16px; height: 16px; }
.rl-slider__arrow--prev { left: 40px; }
.rl-slider__arrow--next { right: 40px; }

.rl-slider__dots {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; pointer-events: none;
  display: flex; justify-content: center; gap: 8px;
}
.rl-slider__dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 3px rgba(0,0,0,.45); }
.rl-slider__dots span.is-on { background: #fff; }
.rl-amenity-text {
  max-width: 820px; margin: 36px auto 0; text-align: center;
  font-size: 17px; line-height: 28px; font-weight: 300; color: var(--rl-text-strong);
}
.rl-cols {
  display: flex; align-items: flex-start; justify-content: center; gap: 36px;
  max-width: 1002px; margin: 36px auto 0;
}
.rl-cols--3 { max-width: 860px; }
.rl-col { flex: 1 1 0; min-width: 0; }
.rl-col ul { list-style: none; margin: 0; padding: 0; }
.rl-col li { position: relative; padding-left: 14px; font-size: 16px; line-height: 25.6px; font-weight: 300; color: var(--rl-text-strong); }
.rl-col li::before { content: "•"; position: absolute; left: 0; top: 0; }   /* wrapped lines start under the text, not the bullet */

@media (max-width: 768px) {
  .rl-gallery-section { padding: 48px 16px 0; }
  .rl-slider__track { aspect-ratio: 4 / 3; margin: 0; }
  .rl-slider__arrow { width: 36px; height: 36px; transform: translateY(-18px); }
  .rl-slider__arrow--prev { left: 10px; }
  .rl-slider__arrow--next { right: 10px; }
  .rl-amenity-text { margin-top: 24px; font-size: 15px; line-height: 24px; }
  .rl-cols { display: block; margin: 20px 0 0; max-width: none; }
  .rl-col li { font-size: 15px; line-height: 24px; }
}

/* ---------- Serviced apartments (Green Square): the layout of oneglobalresorts.com.au/stay/ ---------- */
.rl-serviced { margin-top: 72px; padding: 64px 24px 72px; background: #edece7; }
.rl-serviced__head { max-width: 900px; margin: 0 auto 44px; text-align: center; }
.rl-serviced__title { font-family: var(--rl-lato); font-size: 36px; line-height: 40px; font-weight: 300; color: #1a1a1a; margin: 0 0 25px; }
.rl-serviced__text { font-size: 16px; line-height: 23px; font-weight: 300; color: #000; margin: 0; padding: 0 65px; }
.rl-tabs { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 auto 34px; }
.rl-tabs__tab {
  position: relative; background: none; border: 0; cursor: pointer;
  padding: 8px 20px; font-family: var(--rl-sans); font-size: 14px; line-height: 20px; font-weight: 400;
  letter-spacing: 1px; text-transform: uppercase; color: #6f6c6c;
}
.rl-tabs__tab + .rl-tabs__tab::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: #cfc9b4; }
.rl-tabs__tab[aria-selected="true"] { color: #1a1a1a; font-weight: 600; }
.rl-suite { display: flex; align-items: stretch; max-width: 1356px; height: 600px; margin: 0 auto; }
.rl-suite__box { flex: 0 0 452px; display: flex; flex-direction: column; padding: 50px 60px 28px; background: #fff; }
.rl-suite__name { font-family: var(--rl-lato); font-size: 32px; line-height: 43px; font-weight: 400; color: #1a1a1a; margin: 0; }
.rl-suite__size { font-family: var(--rl-lato); font-size: 32px; line-height: 44px; font-weight: 300; color: #333; margin: 0 0 40px; }
.rl-suite__facts { margin: 0; }
.rl-suite__facts div { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #999; }
.rl-suite__facts dt { flex: 0 0 96px; font-size: 14px; line-height: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #777; }
.rl-suite__facts dd { margin: 0; font-size: 14px; line-height: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #1a1a1a; }
.rl-suite__text { margin: 24px 0 0; font-size: 15px; line-height: 25px; font-weight: 300; color: #000; }
.rl-suite__btn {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 28px;
  background: #1a1a1a; color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  transition: background-color var(--rl-ease);
}
.rl-suite__btn:hover { background: #4a4a4a; }
.rl-suite__media { flex: 1 1 0; min-width: 0; max-width: none; margin: 0; }
.rl-suite__media .rl-slider__track { height: 100%; aspect-ratio: auto; margin: 0; }
.rl .rl-suite__media .rl-slider__slide img { border-radius: 0; }
.rl-suite__media .rl-slider__arrow--prev { left: 16px; }
.rl-suite__media .rl-slider__arrow--next { right: 16px; }
.rl-suite[hidden] { display: none; }

@media (max-width: 1099px) {
  .rl-suite { flex-direction: column; height: auto; }
  .rl-suite__box { flex: none; padding: 32px 32px 28px; }
  .rl-suite__size { margin-bottom: 20px; }
  .rl-suite__btn { margin-top: 24px; }
  .rl-suite__media { flex: none; width: 100%; }
  .rl-suite__media .rl-slider__track { height: auto; aspect-ratio: 3 / 2; }
}
@media (max-width: 768px) {
  .rl-serviced { margin-top: 48px; padding: 40px 16px 48px; }
  .rl-serviced__head { margin-bottom: 28px; }
  .rl-serviced__title { font-size: 30px; line-height: 36px; margin-bottom: 16px; }
  .rl-serviced__text { padding: 0; font-size: 15px; line-height: 23px; }
  .rl-tabs { flex-direction: column; align-items: center; margin-bottom: 24px; }
  .rl-tabs__tab { padding: 8px 12px; font-size: 13px; }
  .rl-tabs__tab + .rl-tabs__tab::before { display: none; }
  .rl-suite__box { padding: 28px 20px; text-align: center; }
  .rl-suite__name, .rl-suite__size { font-size: 28px; line-height: 36px; }
  .rl-suite__facts div { justify-content: center; }
  .rl-suite__facts dt { flex: none; }
  .rl-suite__btn { align-self: stretch; }
}

/* ---------- Feature panel (awards) ---------- */
.rl-feature-section { padding-top: 72px; }
.rl-feature { position: relative; height: clamp(640px, 56.67vw, 900px); overflow: hidden; }
.rl-feature__bg { position: absolute; inset: 0; }
.rl .rl-feature__bg img { width: 100%; height: 100%; object-fit: cover; }
.rl-feature__panel {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(255,255,255,.94) 0, rgba(255,255,255,.88) 540px, rgba(255,255,255,0) 800px);
  display: flex; align-items: center;
  padding: 0 0 0 71px;
}
.rl-feature__content { max-width: 430px; }
.rl-feature--side .rl-feature__bg { left: max(38%, 470px); }
.rl-feature--side .rl-feature__panel { background: linear-gradient(to right, #fff max(40%, 505px), rgba(255,255,255,0) max(58%, 700px)); }
.rl-feature__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; margin: 0 0 14px; }
.rl-feature__title { font-family: var(--rl-serif); font-size: 44px; line-height: 1.15; margin: 0 0 28px; color: #000; }
.rl-feature__text { font-size: 16px; line-height: 26px; font-weight: 300; color: #333; }
.rl-feature__list { list-style: none; padding: 0; margin: 0; }
.rl-feature__list li { font-size: 15px; line-height: 22px; font-weight: 300; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.rl-feature__list strong { font-weight: 600; display: block; }

@media (max-width: 1023px) {
  .rl-feature { height: auto; display: flex; flex-direction: column; }
  .rl-feature__bg, .rl-feature--side .rl-feature__bg { position: relative; left: 0; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; }
  .rl .rl-feature__bg img { position: absolute; inset: 0; }
  .rl-feature__panel, .rl-feature--side .rl-feature__panel { position: relative; background: #fff; padding: 32px var(--rl-side) 0; }
  .rl-feature__content { max-width: none; }
  .rl-feature__title { font-size: 34px; }
}

/* ---------- Brand pillars band ---------- */
.rl-band-section { padding-top: 72px; }
.rl-band { position: relative; color: #fff; overflow: hidden; }
.rl-band__bg { position: absolute; inset: 0; }
.rl .rl-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.rl-band__inner {
  position: relative; z-index: 1;
  padding: 140px 0 96px;   /* side padding comes from the inner .rl-wrap (24 px, as measured) */
  background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.85) 100%);
  min-height: 810px; display: flex; flex-direction: column; justify-content: flex-end;
}
.rl-band__title { font-family: var(--rl-serif); font-size: 64px; line-height: 76.8px; margin: 0 0 38px; }
.rl-band__lead { font-size: 16px; margin: 0 0 56px; max-width: 760px; }
.rl-band__row { display: flex; align-items: center; gap: 24px; }
.rl-pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); flex: 1; row-gap: 32px; }
.rl-pillar { padding: 0 30px; border-left: 1px solid rgba(255,255,255,.85); }
.rl-pillar:first-child { padding-left: 0; border-left: 0; }
.rl-pillar__h {
  font-family: var(--rl-serif); font-size: clamp(24px, 2.1vw, 32px); line-height: 1.25; margin: 0 0 16px;
  hyphens: auto; overflow-wrap: break-word;   /* safety net for long single words */
}
.rl-pillar__toggle { display: none; }
.rl-pillar__text { font-size: 15px; line-height: 24px; margin: 0; }

@media (max-width: 1360px) {
  .rl-band__row { flex-direction: column; align-items: flex-start; }
  .rl-pillars { width: 100%; }
  .rl-pillar { padding: 0 20px; }
}
@media (min-width: 769px) and (max-width: 1199px) {
  .rl-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rl-pillar:nth-child(3n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 768px) {
  .rl-band-section { padding-top: 48px; }
  .rl-band__inner { padding: 40px 0 40px; min-height: 0; background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.85) 100%); }   /* the title sits at the top on phones */
  .rl-band__title { font-size: 38px; line-height: 46px; margin-bottom: 20px; padding: 0; }
  .rl-band__lead { padding: 0; margin-bottom: 24px; }
  .rl-pillars { display: block; width: 100%; }
  .rl-pillar { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.5); padding: 0; }
  .rl-pillar:first-child { border-top: 1px solid rgba(255,255,255,.5); padding-left: 0; }
  .rl-pillar__h { margin: 0; font-size: 22px; line-height: 28px; }
  .rl-pillar__txt { display: none; }
  .rl-pillar__toggle {
    all: unset; box-sizing: border-box; width: 100%; padding: 20px 0; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
  }
  .rl-pillar__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .rl-pillar__icon { display: block; font-family: var(--rl-sans); font-size: 30px; line-height: 1; font-weight: 300; }
  .rl-pillar__text { display: none; padding: 0 0 20px; }
  .rl-pillar.is-open .rl-pillar__text { display: block; }
  .rl-band__row > .rl-btn { margin: 24px 0 0; }
}

/* ---------- Map ---------- */
.rl-map-section { padding: 72px var(--rl-side) 0; isolation: isolate; }   /* map panes must not cover fixed page elements */
.rl-map { position: relative; max-width: 1368px; margin: 0 auto; border-radius: var(--rl-radius); overflow: hidden; background: #f4f1ea; }
.rl-map__bar {
  position: absolute; left: 50%; top: 16px; z-index: 2; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px; border-radius: var(--rl-pill);
  background: rgba(255,255,255,.95); box-shadow: 0 2px 14px rgba(0,0,0,.14); white-space: nowrap;
}
.rl-map__filter {
  background: transparent; border: 0; border-radius: var(--rl-pill); cursor: pointer;
  padding: 9px 16px; color: #1c1c1c;
  font-family: var(--rl-sans); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .04em;
  transition: background-color var(--rl-ease), color var(--rl-ease);
}
.rl-map__filter:hover { background-color: rgba(0,0,0,.06); }
.rl-map__filter[aria-pressed="true"] { background-color: #1c1c1c; color: #fff; }
.rl-map__canvas { height: 620px; position: relative; z-index: 0; }
.rl-mk {
  position: relative; width: 14px; height: 14px; border-radius: 50%; cursor: pointer;
  background: #1c1c1c; border: 2px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.35);
}
.rl-mk__n { display: none; }
.rl-mk__label {
  position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%);
  padding: 6px 10px; border-radius: var(--rl-pill); white-space: nowrap;
  background: #fff; color: #1c1c1c; box-shadow: 0 1px 6px rgba(0,0,0,.16);
  font-family: var(--rl-sans); font-size: 12px; line-height: 13px; font-weight: 600;
}
.rl-mk--left .rl-mk__label { left: auto; right: calc(100% + 8px); }
.rl-mk-home { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.rl-mk-home__name {
  padding: 9px 15px; border-radius: var(--rl-pill); background: #1c1c1c; color: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.3);
  font-family: var(--rl-sans); font-size: 14px; line-height: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.rl-mk-home__stem { width: 2px; height: 12px; background: #1c1c1c; }
.rl-mk-home--left { flex-direction: row; }
.rl-mk-home--left .rl-mk-home__stem { width: 12px; height: 2px; }
.rl-mk-home__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--rl-gold); border: 3px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.4); }
.rl .maplibregl-ctrl-attrib { font-size: 10px; line-height: 14px; }
.rl .maplibregl-popup-content { font-family: var(--rl-sans); font-size: 14px; line-height: 20px; padding: 10px 28px 10px 12px; border-radius: 10px; }
.rl-map__list { display: none; list-style: none; margin: 0; padding: 0; }
.rl-map__list li.rl-map__home::before { content: ""; background: var(--rl-gold); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); box-sizing: border-box; }
.rl-map__list li { display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.rl-map__list li[hidden] { display: none; }
.rl-map-section.is-failed .rl-map__list .rl-map__home::before { box-shadow: none; }
.rl-map__list li::before {
  content: attr(data-n); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; align-self: start;
  display: grid; place-items: center; background: #1c1c1c; color: #fff; font-size: 12px; font-weight: 600;
}
.rl-map__name { font-size: 15px; line-height: 20px; font-weight: 600; }
.rl-map__note { font-size: 14px; line-height: 20px; font-weight: 300; grid-column: 2; }
.rl-map__open { margin: 14px auto 0; max-width: 1368px; text-align: right; font-size: 14px; line-height: 20px; }
.rl-map__open a { color: var(--rl-text-strong); text-decoration: underline; text-underline-offset: 3px; }
/* The map couldn't start (no WebGL, or the service is blocked): the list of places shows instead. */
.rl-map-section.is-failed .rl-map { display: none; }
.rl-map-section.is-failed .rl-map__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 24px; max-width: 1000px; margin: 0 auto; }

@media (max-width: 900px) {
  .rl-map { overflow: visible; background: none; border-radius: 0; }
  .rl-map__bar {
    position: static; transform: none; flex-wrap: wrap; justify-content: center; white-space: normal;
    padding: 0 0 14px; gap: 6px; background: none; box-shadow: none;
  }
  .rl-map__filter { padding: 8px 14px; border: 1px solid rgba(0,0,0,.2); }
  .rl-map__canvas { border-radius: 16px; overflow: hidden; height: 480px; }
  .rl-map__open { text-align: left; }
  .rl-map__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); column-gap: 24px; margin-top: 12px; }
  .rl-mk { width: 20px; height: 20px; box-sizing: border-box; border-width: 1.5px; }
  .rl-mk__n { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-family: var(--rl-sans); font-size: 11px; line-height: 1; font-weight: 600; }
  .rl-mk__label { display: none; }
  /* the building: a bigger gold dot, named in the list (a name on the map collides with the numbers) */
  .rl-mk-home { cursor: pointer; }
  .rl-mk-home__name, .rl-mk-home__stem { display: none; }
  .rl-mk-home__dot { width: 24px; height: 24px; box-sizing: border-box; }
}
@media (max-width: 768px) {
  .rl-map-section { padding: 48px 16px 0; }
  .rl-map__canvas { height: 400px; }
}
@media (max-width: 359px) {
  .rl-mk { width: 16px; height: 16px; border-width: 1px; }
  .rl-mk__n { font-size: 10px; }
  .rl-mk-home__dot { width: 20px; height: 20px; }
}

/* ---------- Register your interest (One Global Capital's own form, /residences/) ---------- */
.rl-form-section { padding: 72px var(--rl-side) 0; font-family: var(--rl-ogc-font); }
.rl-reg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 650px); gap: 40px 64px; max-width: 1340px; margin: 0 auto; color: #000; }
.rl-reg__intro { max-width: 511px; }
.rl-reg__eyebrow { margin: 0 0 20px; font-size: 16px; line-height: 16px; text-transform: uppercase; }
.rl-reg__title { margin: 0 0 20px; font-size: 34px; line-height: 40px; font-weight: 300; color: #000; }
.rl-reg__text { margin: 0; font-size: 16px; line-height: 24px; font-weight: 300; }
.rl-reg__formtitle { margin: 0 0 20px; font-size: 16px; line-height: 22px; text-transform: uppercase; }
.rl-progress { height: 12px; margin: 0 0 30px; border-radius: 10px; overflow: hidden; background: #e0e0e0; }
.rl-progress__bar {
  height: 100%; padding-right: 15px; border-radius: 10px; background: var(--rl-gold); color: #000;
  font-size: 10px; line-height: 12px; text-align: right; transition: width var(--rl-ease);
}
.rl-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.rl-field--full { grid-column: 1 / -1; }
.rl-field label { display: block; padding-bottom: 10px; font-size: 16px; line-height: 16px; color: #000; }
.rl-field input, .rl-field textarea {
  display: block; width: 100%; height: 40px; padding: 8px 16px;
  border: 0; border-bottom: 1px solid rgba(0,0,0,.32); border-radius: 0; background: #fff; color: #000;
  font-family: var(--rl-ogc-font); font-size: 16px; line-height: 22px; font-weight: 300;
  appearance: none; -webkit-appearance: none;
}
.rl-field textarea { height: 110px; resize: vertical; }
.rl-field input:focus, .rl-field textarea:focus { outline: 2px solid #1c1c1c; outline-offset: 0; }
.rl-req { margin-left: 4px; color: var(--rl-ogc-gold); }
.rl-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.rl-group legend { padding: 0 0 12px; font-size: 16px; line-height: 20px; color: #000; }
.rl-choice { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 24px; font-weight: 300; color: #000; cursor: pointer; }
.rl-choice input { flex: none; width: 15px; height: 15px; margin: 0; accent-color: var(--rl-ogc-gold); }
.rl-step__nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 24px; }
.rl-step__nav--first { grid-template-columns: minmax(0, 350px); }
.rl-step__btn {
  min-height: 40px; padding: 8px 12px; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--rl-ogc-font); font-size: 15px; line-height: 20px; font-weight: 400;
  transition: filter var(--rl-ease);
}
.rl-step__btn:hover { filter: brightness(1.15); }
.rl-step__btn--next { background: var(--rl-ogc-gold); color: #000; }
.rl-step__btn--prev { background: #000; color: #fff; }
.rl-step__btn--prev:hover { filter: none; background: #333; }
.rl-step__btn--send { text-transform: uppercase; }
.rl-form.rl-steps-on .rl-step:not(.is-active) { display: none; }
.rl-form:not(.rl-steps-on) [data-rl-next], .rl-form:not(.rl-steps-on) [data-rl-prev], .rl-form:not(.rl-steps-on) .rl-progress { display: none; }   /* no script: one long form */
.rl-field:has([aria-invalid="true"]) input { border-bottom: 2px solid #a40000; }
.rl-group:has([aria-invalid="true"]) legend { color: #a40000; }
.rl-form__small { margin: 16px 0 0; font-size: 14px; line-height: 20px; font-weight: 300; }
.rl-form__result { margin: 0 0 24px; padding: 14px 16px; background: var(--rl-warm); font-size: 16px; line-height: 24px; font-weight: 400; }
.rl-form__result.is-ok { color: #1d6b2f; }
.rl-form__result.is-err { color: #a40000; }
.rl-form.rl-form--sent .rl-step, .rl-form--sent .rl-progress, .rl-form--sent .rl-form__small { display: none; }
.rl-form__status { margin: 14px 0 0; min-height: 22px; font-size: 15px; }
.rl-form__status.is-ok { color: #1d6b2f; }
.rl-form__status.is-err { color: #a40000; }
.rl-band__wrap { width: 100%; }

@media (max-width: 1023px) {
  .rl-reg { grid-template-columns: minmax(0, 1fr); }
  .rl-reg__intro { max-width: none; }
}
@media (max-width: 768px) {
  .rl-form-section { padding: 48px 16px 0; }
  .rl-reg__title { font-size: 30px; line-height: 36px; }
}
@media (max-width: 520px) {
  .rl-fields { grid-template-columns: minmax(0, 1fr); }
  .rl-step__nav, .rl-step__nav--first { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rl-step__btn { min-height: 44px; }
  .rl-step__btn--prev { order: 2; }
}

/* ---------- Legal strip ---------- */
.rl-legal {
  position: relative; margin-top: 72px;
  background: var(--rl-warm); color: var(--rl-text-strong);
  padding: 18px 120px; text-align: center; font-size: 15px; line-height: 23px;
}
.rl-legal p { margin: 0 auto; max-width: 1040px; }
.rl-legal__close {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);   /* clear of the back-to-top circle (right 15, 40 wide) */
  width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: #555;
}
.rl-legal__close svg { width: 22px; height: 22px; }
.rl-legal.is-closed { display: none; }
@media (max-width: 768px) {
  .rl-legal { margin-top: 48px; padding: 16px 108px 16px 16px; text-align: center; }
  .rl-legal__close { right: 62px; }
}

/* =========================================================================
   3. UNIT page
   ========================================================================= */
.rl-unit {
  display: flex; align-items: center;
  max-width: 1800px; margin: 0 auto;
  padding: 44px 0;
}
.rl-unit__media { flex: 0 0 calc(58.3333% - 10px); max-width: calc(58.3333% - 10px); padding: 0 24px; margin-right: 24px; }
.rl-unit__info { flex: 0 0 calc(41.6667% - 14px); max-width: calc(41.6667% - 14px); padding-right: 50px; }

.rl-gallery { position: relative; margin-bottom: 20px; }
.rl-gallery__stage { position: relative; aspect-ratio: 782 / 489; border-radius: 6px; overflow: hidden; }
.rl-gallery__slide {
  position: absolute; inset: 0; display: block;
  opacity: 0; visibility: hidden; cursor: zoom-in;
  transition: opacity var(--rl-fade-gallery), visibility 0s linear var(--rl-fade-gallery);
  border: 0; padding: 0; background: none; width: 100%;
}
.rl-gallery__slide:focus-visible { outline: none; }
.rl-gallery__slide:focus-visible::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: var(--rl-radius);
  box-shadow: inset 0 0 0 3px #1c1c1c, inset 0 0 0 6px #fff;
}
.rl-gallery__slide.is-active { opacity: 1; visibility: visible; transition: opacity var(--rl-fade-gallery), visibility 0s; z-index: 1; }
.rl .rl-gallery__slide img, .rl-gallery__slide .ogc-photo-ph { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rl-radius); }
.rl-gallery__btn {
  position: absolute; top: 50%; z-index: 10; transform: translateY(-24px);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 1px solid rgba(5,3,4,.12); color: var(--rl-text);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transition: opacity var(--rl-ease), background-color var(--rl-ease), border-color var(--rl-ease);
}
.rl-gallery__btn svg { width: 18px; height: 15px; }
.rl-gallery__btn--prev { left: 12px; }
.rl-gallery__btn--next { right: 12px; }
.rl-gallery:hover .rl-gallery__btn, .rl-gallery:focus-within .rl-gallery__btn { opacity: 1; }
.rl-gallery__btn:hover { background: #fff; border-color: var(--rl-gold); }
.rl-gallery__viewall { position: absolute; right: 16px; bottom: 16px; z-index: 10; width: 150px; }
.rl-thumbs { display: flex; flex-wrap: wrap; gap: 4px; padding: 2px 0; }   /* wraps, so no thumbnail is ever cut off */
.rl-thumb {
  flex: 0 0 90px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: var(--rl-radius-sm);
  background: none; cursor: pointer; overflow: hidden; transition: opacity .2s, border-color .2s;
}
.rl .rl-thumb img, .rl-thumb .ogc-photo-ph { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.rl-thumb .ogc-photo-ph__label { font-size: 8px; padding: 2px 4px; letter-spacing: 0; }
.rl-thumb:hover { opacity: .85; }
.rl-thumb:focus-visible { outline: 2px solid #1c1c1c; outline-offset: -2px; box-shadow: inset 0 0 0 4px #fff; }
.rl-thumb[aria-current="true"] { border-color: var(--rl-gold); }

.rl-unit__eyebrow { font-size: 16px; line-height: 22.4px; letter-spacing: 3px; text-transform: uppercase; color: var(--rl-text); margin: 0; }
.rl-unit__eyebrow a { font-weight: 700; color: var(--rl-text-strong); text-decoration: none; transition: color var(--rl-ease); }
.rl-unit__eyebrow a:hover { color: var(--rl-text-strong); text-decoration: underline; text-decoration-color: var(--rl-gold); text-underline-offset: 4px; }   /* gold text on white is only 2.3:1 */
.rl-unit__title { font-family: var(--rl-serif); font-size: 48px; line-height: 57.6px; margin: 24px 0; color: var(--rl-text); }
.rl-unit__facts {
  display: flex; flex-wrap: wrap; column-gap: clamp(16px, 2vw, 48px);   /* wraps instead of overflowing */
  margin: 24px 0; padding-top: 24px; border-top: 1px solid #000;
}
.rl-unit__facts dd { white-space: nowrap; }
.rl-unit__facts dt { font-size: 14px; font-weight: 600; line-height: 16.1px; }
.rl-unit__facts dd { margin: 0; font-size: 22px; line-height: 44px; font-weight: 300; }
.rl-unit__media-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.rl-unit__desc { font-size: 16px; line-height: 27px; margin: 0 0 32px; max-width: 600px; }
.rl-unit__desc p { margin: 0 0 16px; }
.rl-unit__desc p:last-child { margin-bottom: 0; }
.rl-unit__desc .rl-unit__lead { font-weight: 700; color: var(--rl-text-strong); }
.rl-unit__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.rl-similar { padding-top: 72px; }
.rl-similar__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--rl-gap); padding: 0 var(--rl-side); max-width: 1440px; margin: 0 auto; }
.rl-similar__grid .rl-card { aspect-ratio: 330 / 248; }
.rl-similar__grid .rl-card__title { font-size: 24px; line-height: 32px; }
/* 4-up cards are narrow: a smaller price and pill keep both on one line */
.rl-similar__grid .rl-card__btn { padding: 0 14px; }
.rl-similar__grid .rl-card__meta dt { font-size: 12px; }
.rl-similar__grid .rl-card__meta dd { font-size: 14px; }

@media (max-width: 1439px) {
  .rl-similar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* the address and all four facts stay on one line each (Prisca, 5 Nov 2026) */
  .rl-unit__eyebrow { font-size: 14px; letter-spacing: 2px; }
  .rl-unit__facts dd { font-size: 20px; }
}
@media (max-width: 1199px) {
  .rl-unit { align-items: flex-start; }
  .rl-unit__info { padding-right: 24px; }
  .rl-unit__eyebrow { font-size: 13px; letter-spacing: 1px; }
  .rl-unit__facts { column-gap: 16px; }
  .rl-unit__facts dd { font-size: 18px; }
}
@media (max-width: 1023px) {
  .rl-unit { flex-direction: column; align-items: stretch; padding: 24px 0; }
  .rl-unit__media, .rl-unit__info { flex: none; max-width: none; margin: 0; padding: 0 var(--rl-side); }
  .rl-unit__media { margin-bottom: 32px; }
}
@media (max-width: 768px) {
  .rl-unit { padding: 16px 0 0; }
  .rl-gallery__stage { aspect-ratio: 358 / 300; }
  .rl-gallery__btn { display: none; }   /* measured: hidden on phones; swipe and View all instead */
  .rl-gallery__slide .ogc-photo-ph { place-items: start center; padding-top: 18px; }
  .rl-thumbs { display: none; }
  .rl-unit__title { font-size: 40px; line-height: 48px; }
  .rl-unit__eyebrow { font-size: 12px; }
  .rl-unit__facts { flex-direction: column; }
  .rl-unit__facts > div { display: flex; align-items: center; }
  .rl-unit__facts dt { flex: 0 0 126px; padding-right: 28px; }
  .rl-unit__facts dd { font-size: 18px; line-height: 36px; }
  .rl-unit__media-ctas, .rl-unit__ctas { flex-direction: column; align-items: flex-start; }
  .rl-similar { padding-top: 48px; }
  .rl-similar__grid { grid-template-columns: 1fr; }
  .rl-similar__grid .rl-card { aspect-ratio: auto; height: 240px; }
}

/* ---------- Lightbox ---------- */
.rl-lightbox {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(0,0,0,.92); color: #fff;
  display: none;
}
.rl-lightbox.is-open { display: block; }
.rl-lightbox__counter { position: absolute; left: 20px; top: 18px; z-index: 3; font-size: 14px; font-family: var(--rl-sans); }
.rl-lightbox__close, .rl-lightbox__zoom {
  position: absolute; right: 12px; top: 8px; z-index: 3; width: 44px; height: 44px;
  background: none; border: 0; color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.rl-lightbox__zoom { right: 60px; }
.rl-lightbox__close svg, .rl-lightbox__zoom svg { width: 22px; height: 22px; }
.rl-lightbox__zoom .rl-zoom-out, .rl-lightbox__zoom[aria-pressed="true"] .rl-zoom-in { display: none; }
.rl-lightbox__zoom[aria-pressed="true"] .rl-zoom-out { display: block; }
.rl-lightbox__stage {
  position: absolute; inset: 0 70px; z-index: 1;   /* full height, as measured; controls overlay */
  display: grid; place-items: center; grid-template: minmax(0, 1fr) / minmax(0, 1fr);   /* definite track so max-height works */
}
.rl .rl-lightbox__stage img {
  max-width: 100%; max-height: 100%; min-width: 0; min-height: 0;
  object-fit: contain; cursor: zoom-in;
}
.rl-lightbox__stage .ogc-photo-ph { width: min(100%, 1100px); aspect-ratio: 16 / 10; height: auto; }
/* zoomed: photo at full resolution, drag or scroll to move around */
.rl-lightbox__stage.is-zoomed { inset: 0; display: block; overflow: auto; cursor: grab; scrollbar-width: none; }
.rl-lightbox__stage.is-zoomed::-webkit-scrollbar { display: none; }
.rl .rl-lightbox__stage.is-zoomed img { max-width: none; max-height: none; cursor: zoom-out; user-select: none; -webkit-user-drag: none; }
.rl-lightbox__stage.is-dragging { cursor: grabbing; }
.rl-lightbox__nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 60px; height: 90px; background: none; border: 0; color: #fff; cursor: pointer;
}
.rl-lightbox__nav svg { width: 28px; height: 44px; }
.rl-lightbox__nav--prev { left: 6px; }
.rl-lightbox__nav--next { right: 6px; }
@media (max-width: 768px) {
  .rl-lightbox__stage { inset: 56px 8px; }
  .rl-lightbox__nav { width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.5); display: grid; place-items: center; }
  .rl-lightbox__nav svg { width: 14px; height: 22px; }
  .rl.rl-lightbox .rl-lightbox__nav:is(:hover, :focus) { background-color: rgba(0,0,0,.5); }   /* visible on grey boxes and bright photos */
}

@media (min-width: 680px) and (max-width: 768px) {
  .rl-grid:not(.rl-grid--few), .rl-similar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* very narrow phones and 2-up tablets: titles can wrap to 2 lines, so cards get 20 px more */
@media (max-width: 379px), (min-width: 680px) and (max-width: 768px) {
  .rl-grid > *, .rl-grid > .is-large, .rl-grid--few > *, .rl-similar__grid .rl-card { height: 260px; }
}
@media (max-width: 379px), (min-width: 680px) and (max-width: 768px) {   /* small phones + 2-up tablets: compact card text so price + pill fit one row */
  .rl-card__title { font-size: 22px; line-height: 30px; }
  .rl-card__btn { padding: 0 14px; }
  .rl-card__meta dt { font-size: 12px; }
  .rl-card__meta dd { font-size: 14px; }
}

@media (max-width: 345px) {   /* the very smallest phones: the pill goes under the price */
  .rl-grid > *, .rl-grid > .is-large, .rl-grid--few > *, .rl-similar__grid .rl-card { height: 290px; }
  .rl-card__footer { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   Live-theme compatibility
   The live site loads Hello Elementor's reset.css (v3.5.1) on every page. It styles every
   button, link and heading with rules that beat single-class selectors: pink #c36 button
   hover/focus ([type=button]:hover = 0,2,0), navy #336 link hover (a:hover = 0,1,1),
   headings at weight 500, and button borders/padding. Tested by loading that file first
   (tools/test_behaviour.py). The rules below restate our own values where the theme would win.
   ========================================================================= */
:where(.rl) button {                    /* theme `button` base: border, padding, pink text */
  border: 0; border-radius: 0; padding: 0; color: inherit; font-size: inherit;
  white-space: normal; transition: none; background-color: transparent;
}
:where(.rl) label { line-height: inherit; }
/* theme `[type=button]` (0,1,0) also sets padding .5rem 1rem + nowrap on every type="button" */
.rl .rl-thumb, .rl .rl-gallery__slide, .rl .rl-slider__arrow, .rl .rl-gallery__btn, .rl .rl-lightbox__close,
.rl .rl-lightbox__zoom, .rl .rl-lightbox__nav, .rl .rl-legal__close { padding: 0; white-space: normal; }
.rl .rl-gallery__slide { border-radius: 0; }
.rl .rl-filter__label { display: block; }

/* headings: weight 400 as measured (theme forces 500) */
.rl .rl-heading, .rl .rl-card__title, .rl .rl-feature__title, .rl .rl-band__title,
.rl .rl-pillar__h, .rl .rl-unit__title, .rl .rl-suite__name,
.rl .rl-hero__mark, .ogc-market .ogc-mcard__title { font-weight: 400; }
.rl .rl-serviced__title, .rl .rl-reg__title { font-weight: 300; }
.ogc-market .ogc-market__title { font-weight: 300; }

/* buttons: hover / focus states (theme would paint them pink) */
.rl .rl-slider__arrow:is(:hover, :focus) { background-color: #fff; color: #000; }
.rl .rl-gallery__btn:focus { background-color: rgba(255,255,255,.9); color: var(--rl-text); }
.rl .rl-gallery__btn:hover { background-color: #fff; color: var(--rl-text); border-color: var(--rl-gold); }
.rl .rl-lightbox__close:is(:hover, :focus), .rl .rl-lightbox__zoom:is(:hover, :focus),
.rl .rl-lightbox__nav:is(:hover, :focus) { background-color: transparent; color: #fff; }
.rl .rl-thumb:is(:hover, :focus), .rl .rl-gallery__slide:is(:hover, :focus) { background-color: transparent; }
.rl .rl-map__filter { padding: 9px 16px; white-space: normal; }
.rl .rl-map__filter[aria-pressed="false"]:is(:hover, :focus) { background-color: rgba(0,0,0,.06); color: #1c1c1c; }
.rl .rl-map__filter[aria-pressed="true"]:is(:hover, :focus) { background-color: #1c1c1c; color: #fff; }
.rl .rl-tabs__tab { padding: 8px 20px; white-space: normal; }
.rl .rl-tabs__tab:is(:hover, :focus) { background-color: transparent; color: #1a1a1a; }
.rl .rl-step__btn { padding: 8px 12px; white-space: normal; border-radius: 0; }
.rl .rl-step__btn--next:is(:hover, :focus) { background-color: var(--rl-ogc-gold); color: #000; }
.rl .rl-step__btn--prev:is(:hover, :focus) { background-color: #333; color: #fff; }
.rl .maplibregl-ctrl button { padding: 0; background-color: transparent; color: #333; border-radius: 0; white-space: normal; }
.rl .maplibregl-ctrl button:is(:hover, :focus) { background-color: rgba(0,0,0,.05); color: #333; }
.rl .maplibregl-popup-close-button { padding: 0 6px; background-color: transparent; color: #333; border-radius: 0 3px 0 0; }
.rl .maplibregl-popup-close-button:is(:hover, :focus) { background-color: rgba(0,0,0,.05); color: #333; }
.rl .rl-legal__close:is(:hover, :focus) { background-color: transparent; color: #555; }
.rl .rl-pillar__toggle:is(:hover, :focus) { background-color: transparent; color: #fff; }
.rl button.rl-btn--primary:is(:hover, :focus) { background-color: var(--rl-gold); color: var(--rl-on-gold); }
.rl button.rl-btn--white:focus { background-color: #fff; color: #000; }
.rl button.rl-btn--white:hover { background-color: var(--rl-hover-grey); color: #fff; }

/* links: hover colours (theme would turn them navy) */
.rl a.rl-card:is(:hover, :active) { color: #fff; }
.rl a.rl-btn--primary:is(:hover, :active) { color: var(--rl-on-gold); }
.rl a.rl-btn--outline:is(:hover, :active), .rl a.rl-btn--white:is(:hover, :active) { color: #fff; }
.rl a.rl-btn--outline[aria-disabled="true"]:is(:hover, :active) { color: #000; }
.rl a.rl-hero__scroll:is(:hover, :active) { color: #fff; }
.rl a.rl-suite__btn:is(:hover, :active) { color: #fff; }
.ogc-market a.ogc-mcard:is(:hover, :active) { color: #000; }

/* reduced motion (this file goes to WordPress; the prototype-only site CSS had the only rule) */
/* Elementor Loop Grid: the script moves .rl-grid onto .elementor-loop-container; restate our
   columns above Elementor's `.elementor-grid-3 .elementor-grid` rules (set the widget to 3/2/1 too). */
@media (max-width: 900px) { .rl .rl-map__filter { padding: 8px 14px; } }
@media (max-width: 768px) { .rl .rl-tabs__tab { padding: 8px 12px; } }
.rl .rl-grid.elementor-loop-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rl-gap); }
.rl .rl-grid--few.elementor-loop-container { display: flex; }
@media (max-width: 1199px) { .rl .rl-grid.elementor-loop-container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px)  { .rl .rl-grid.elementor-loop-container, .rl .rl-grid--few.elementor-loop-container { display: grid; grid-template-columns: 1fr; } }
@media (min-width: 680px) and (max-width: 768px) {
  .rl .rl-grid.elementor-loop-container:not(.rl-grid--few) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .rl *, .rl *::before, .rl *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.rl-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
