/* ============================================================
   CITY GUIDE PAGES — /<city>-waterfront-homes/ and
   /lauderdale-by-the-sea-condos/ (each served by <folder>/index.html).
   Builds on area.css (.ar-wrap, white nav), legal.css (.lg-content
   prose) and oal-pages.css (titles, buttons). Scoped to .ct-*.
   ============================================================ */

.ct-main { background: var(--white); }

/* ---------- Top: back link, title, wide city photo ---------- */
.ct-hero { padding: calc(var(--oal-nav-h) + 48px) 0 0; }

.ct-back {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font: 500 15px/1.3 var(--oal-body);
  color: var(--oal-ocean-ink);
}
.ct-back:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ct-back:focus-visible { outline: 2px solid var(--oal-ocean); outline-offset: 3px; }

.ct-h1 { font-size: clamp(36px, 5vw, 64px); max-width: 18ch; margin: 16px 0 44px; }

.ct-photo {
  margin: 0;
  aspect-ratio: 16 / 9; max-height: 640px; width: 100%;
  overflow: hidden; border-radius: var(--oal-r-sm, 6px);
  background: var(--oal-mist);
}
.ct-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 55%;
}

/* ---------- Body copy: comfortable reading width ---------- */
.ct-body { padding: 72px 0 120px; }
.ct-prose { max-width: 70ch; }
.ct-prose > :first-child { margin-top: 0; }
.ct-prose h2 { margin-top: 56px; }
.lg-content p.ct-source { font-size: 14.5px; line-height: 1.7; color: var(--oal-slate); }

/* ---------- "Talk to Heather" call-to-action ---------- */
.ct-cta {
  max-width: 70ch; margin: 64px 0 0;
  padding: 40px 44px;
  background: var(--oal-mist);
  border-radius: 8px;
}
.ct-cta h2 {
  font: 600 clamp(24px, 2.4vw, 30px)/1.2 var(--oal-display);
  letter-spacing: -.02em; color: var(--oal-deep);
  margin: 0 0 12px;
}
.ct-cta p {
  font: 400 17px/1.65 var(--oal-body); color: var(--oal-body-ink);
  max-width: 52ch; margin: 0 0 24px;
}

/* ---------- "Markets We Serve" block (Pompano Beach) ---------- */
.ct-markets {
  max-width: 70ch; margin: 64px 0 0;
  padding-top: 40px; border-top: 1px solid var(--oal-line);
}
.ct-markets .ar-label { margin: 0 0 14px; }
.ct-markets p.ct-markets-p {
  font: 400 17px/1.7 var(--oal-body); color: var(--oal-body-ink);
  max-width: 60ch; margin: 0;
}
.ct-markets + .ct-cta { margin-top: 32px; }

.ct-foot { margin-top: 56px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .ct-hero { padding-top: calc(var(--oal-nav-h) + 28px); }
  .ct-h1 { margin: 10px 0 28px; }
  .ct-photo { aspect-ratio: 3 / 2; max-height: none; border-radius: 4px; }
  .ct-body { padding: 48px 0 88px; }
  .ct-prose, .ct-cta, .ct-markets { max-width: none; }
  .ct-cta { padding: 28px 24px; margin-top: 48px; }
  .ct-cta .s-btn-navy { width: 100%; }
  .ct-markets { margin-top: 48px; padding-top: 32px; }
}
