/*
 * ---------------------------------------------------------------------------
 *  Limelight Realty -- sitewide typography + color overrides
 *
 *  IMPORTANT: Bootstrap 3 (loaded via the theme) sets `html { font-size: 62.5% }`,
 *  so rem-based values render at 62.5% of intended size. We reset that here
 *  so 1rem = 16px again. Theme styles use px exclusively, so this only
 *  affects rem-based values in our overrides + the limelight-team plugin
 *  (where we WANT them to render at the standard size).
 *
 *  Goals:
 *    - Larger, more readable body text (18px / 1.65) on a modern system stack
 *    - Consistent heading scale, Nexa preserved for brand
 *    - Limelight green stays decorative; text/links use a deep,
 *      WCAG-AA-compliant green (#0e7a26 / #0a5d1d)
 *    - Don't break overlay/dark-background text (cards, hero) -- preserve white
 *    - Don't break Bootstrap utility classes (.text-center etc.)
 *
 *  Loaded via wp_enqueue_style at priority 999 in functions.php so it
 *  beats every plugin CSS in the cascade.
 * ---------------------------------------------------------------------------
 */

/* ============================================================ Base reset */

/* Undo Bootstrap's 62.5% so 1rem = 16px (the value all our other rules assume) */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

/* ============================================================ Design tokens */

:root {
  /* Font stacks */
  --lt-font-body:    -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --lt-font-display: "Nexa", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lt-font-mono:    ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", monospace;

  /* Type scale (in px so it's immune to root size shifts) */
  --lt-fs-base:    18px;
  --lt-lh-base:    1.65;
  --lt-fs-form:    16px;       /* prevents iOS focus zoom */
  --lt-fs-small:   14px;
  --lt-fs-h1:      clamp(34px, 4vw, 48px);
  --lt-fs-h2:      clamp(26px, 2.6vw, 34px);
  --lt-fs-h3:      clamp(22px, 2vw, 28px);
  --lt-fs-h4:      20px;
  --lt-fs-h5:      18px;
  --lt-fs-h6:      15px;

  /* Ink (text) */
  --lt-ink:        #1f2937;
  --lt-ink-soft:   #374151;
  --lt-ink-display:#0f172a;
  --lt-ink-mute:   #5b6470;

  /* Brand greens */
  --lt-green:        #5dd95d;   /* decorative ONLY (logo, hero fills) */
  --lt-green-text:   #0e7a26;   /* readable on white -- text + links (~7:1) */
  --lt-green-strong: #0a5d1d;   /* hover / active (~9:1) */

  /* Other brand colors */
  --lt-navy:       #2d3b4f;
  --lt-link:       #2d3b4f;
  --lt-link-hover: var(--lt-green-strong);
}

/* ============================================================ Body + paragraphs */

body,
body.bootstrap-realtypress {
  font-family: var(--lt-font-body);
  font-size: var(--lt-fs-base);
  line-height: var(--lt-lh-base);
  color: var(--lt-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Force paragraph size in absolute px so Bootstrap's body { font-size: 14px }
   loses to our overrides regardless of cascade order. */
body p {
  font-size: var(--lt-fs-base);
  line-height: var(--lt-lh-base);
  margin: 0 0 1em;
}

body p.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--lt-ink-soft);
}

body small,
body .small {
  font-size: var(--lt-fs-small);
}

body li {
  font-size: var(--lt-fs-base);
  line-height: var(--lt-lh-base);
}

/* ============================================================ Links */

body a {
  color: var(--lt-link);
  text-decoration: none;
  transition: color 0.15s ease;
}

body a:hover,
body a:focus {
  color: var(--lt-link-hover);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Don't underline buttons or wrapper links (cards, etc.) */
body a.btn:hover,
body a.btn:focus,
body a.lt-team__card:hover,
body a.lt-team__card:focus,
body a.lt-full__card:hover,
body a.lt-full__card:focus,
body a.lt-profile__btn:hover,
body a.lt-profile__btn:focus,
body a.card-grid-item-content:hover,
body a.card-grid-item-content:focus,
body a.lt-social__link:hover,
body a.lt-social__link:focus,
body .navbar a:hover,
body .navbar a:focus,
body .card-grid-item a:hover,
body .card-grid-item a:focus {
  text-decoration: none;
}

/* ============================================================ Headings */

body h1, body .h1,
body h2, body .h2,
body h3, body .h3,
body h4, body .h4,
body h5, body .h5,
body h6, body .h6 {
  font-family: var(--lt-font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--lt-ink-display);
  margin-top: 0;
  margin-bottom: 0.5em;
}

body h1, body .h1 { font-size: var(--lt-fs-h1); line-height: 1.1; letter-spacing: -0.015em; }
body h2, body .h2 { font-size: var(--lt-fs-h2); }
body h3, body .h3 { font-size: var(--lt-fs-h3); color: var(--lt-ink-soft); }
body h4, body .h4 { font-size: var(--lt-fs-h4); color: var(--lt-ink-soft); }
body h5, body .h5 { font-size: var(--lt-fs-h5); color: var(--lt-ink-soft); }
body h6, body .h6 { font-size: var(--lt-fs-h6); color: var(--lt-ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============================================================ Bootstrap "info"
 * The default brand green is too bright for text and white-on-green.
 * We patch only foreground/background utilities, NOT the underlying class.
 */

body .text-info,
body a.text-info,
body .text-info > * {
  color: var(--lt-green-text);
}

body .text-info:hover,
body a.text-info:hover {
  color: var(--lt-green-strong);
}

body .bg-info {
  background-color: #1f8c30;
  color: #fff;
}

body .btn-info {
  background-color: var(--lt-green-text);
  border-color: var(--lt-green-text);
  color: #fff;
  text-shadow: none;
  font-weight: 600;
}

body .btn-info:hover,
body .btn-info:focus,
body .btn-info:active,
body .btn-info.active {
  background-color: var(--lt-green-strong);
  border-color: var(--lt-green-strong);
  color: #fff;
}

/* Heading inside .bg-info / .bg-primary etc. should be white, not navy. */
body .bg-info h1, body .bg-info .h1,
body .bg-info h2, body .bg-info .h2,
body .bg-info h3, body .bg-info .h3,
body .bg-info h4, body .bg-info .h4,
body .bg-info h5, body .bg-info .h5,
body .bg-info h6, body .bg-info .h6,
body .bg-primary h1, body .bg-primary .h1,
body .bg-primary h2, body .bg-primary .h2,
body .bg-primary h3, body .bg-primary .h3,
body .bg-primary h4, body .bg-primary .h4,
body .bg-primary h5, body .bg-primary .h5,
body .bg-primary h6, body .bg-primary .h6,
body .bg-dark h1, body .bg-dark .h1,
body .bg-dark h2, body .bg-dark .h2,
body .bg-dark h3, body .bg-dark .h3,
body .bg-dark h4, body .bg-dark .h4,
body .bg-dark h5, body .bg-dark .h5,
body .bg-dark h6, body .bg-dark .h6 {
  color: #fff;
}

/* ============================================================ Card grid items
 * `.card-grid-item-content` overlays text on a dark image. Headings + spans
 * MUST be white. The .text-muted class on these headings has to be neutralized.
 * The decorative `.headline:after` underline must also be white here.
 */

body .card-grid-item-content,
body .card-grid-item-content h1,
body .card-grid-item-content h2,
body .card-grid-item-content h3,
body .card-grid-item-content h4,
body .card-grid-item-content h5,
body .card-grid-item-content h6,
body .card-grid-item-content .h1,
body .card-grid-item-content .h2,
body .card-grid-item-content .h3,
body .card-grid-item-content p,
body .card-grid-item-content span,
body .card-grid-item-content .text-muted {
  color: #fff !important;
}

body .card-grid-item-content h2,
body .card-grid-item-content .h2 {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 700;
  margin-bottom: 0.6em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  letter-spacing: 0;
}

body .card-grid-item-content span {
  font-size: 15px;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* The :after dash inside a card overlay should be white-ish. */
body .card-grid-item-content .headline:after {
  background: rgba(255, 255, 255, 0.85);
}

/* ============================================================ Buttons */

body .btn {
  font-family: var(--lt-font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 10px 20px;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

body .btn:focus-visible {
  outline: 3px solid rgba(14, 122, 38, 0.35);
  outline-offset: 2px;
}

body .btn-lg {
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 10px;
}

body .btn-sm {
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 6px;
}

body .btn-primary {
  background-color: var(--lt-navy);
  border-color: var(--lt-navy);
  color: #fff;
  text-shadow: none;
}

body .btn-primary:hover,
body .btn-primary:focus,
body .btn-primary:active {
  background-color: var(--lt-green-text);
  border-color: var(--lt-green-text);
  color: #fff;
}

/* ============================================================ Forms */

body input[type="text"],
body input[type="email"],
body input[type="url"],
body input[type="tel"],
body input[type="number"],
body input[type="search"],
body input[type="password"],
body select,
body textarea,
body .form-control {
  font-family: var(--lt-font-body);
  font-size: var(--lt-fs-form);
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #d6d6d6;
  color: var(--lt-ink);
  background-color: #fff;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body input[type="text"]:focus,
body input[type="email"]:focus,
body input[type="url"]:focus,
body input[type="tel"]:focus,
body input[type="number"]:focus,
body input[type="search"]:focus,
body input[type="password"]:focus,
body select:focus,
body textarea:focus,
body .form-control:focus {
  outline: none;
  border-color: var(--lt-green-text);
  box-shadow: 0 0 0 3px rgba(14, 122, 38, 0.18);
}

body label {
  font-weight: 600;
  font-size: 15px;
  color: var(--lt-ink-soft);
  margin-bottom: 4px;
}

/* ============================================================ Tables, lists, blockquotes */

body table {
  font-size: 16px;
}

body th {
  font-weight: 700;
  color: var(--lt-ink-display);
}

body blockquote {
  border-left: 4px solid var(--lt-green-text);
  padding: 4px 0 4px 20px;
  margin: 1.5em 0;
  font-size: 19px;
  font-style: normal;
  color: var(--lt-ink-soft);
  background: transparent;
}

/* ============================================================ Hero "limelight-agent-hero"
 * Hero displays the agent's last name in green on a dark background.
 * Bright lime is fine here, but we ensure the rest of the hero text stays
 * readable and the size doesn't compress.
 */

body .limelight-agent-hero h1 span {
  color: var(--lt-green);  /* bright on dark = OK */
}

body .limelight-agent-hero h1 {
  font-size: clamp(1.85rem, 4.8vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: var(--lh-tight, 1.08);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2em;
}

/* Title must stay clearly smaller than the agent name */
body .limelight-agent-hero h2 {
  font-size: clamp(0.85rem, 1.6vw, 1.125rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.35em;
  line-height: 1.3;
}

body .limelight-agent-hero h3,
body .limelight-agent-hero h3 a {
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
}

/* "Our [Team]" pattern -- text-info inside heading on a light bg */
body h1 .text-info,
body h2 .text-info,
body h3 .text-info,
body .h1 .text-info,
body .h2 .text-info,
body .h3 .text-info {
  color: var(--lt-green-text);
}


/* ============================================================ Navbar / nav */

body .navbar {
  font-family: var(--lt-font-body);
  font-size: 16px;
  letter-spacing: 0.005em;
}

body .navbar-nav > li > a {
  font-weight: 600;
  font-size: 15px;
}

/*
 * Keep logo + top menu on one desktop row.
 * Bootstrap float layout wraps once logo + links exceed the ~1140px
 * content width inside the 1170px container.
 */
@media (min-width: 768px) {
  body .navbar-nav > li > a {
    padding-left: 8px;
    padding-right: 8px;
  }

  body .navbar > .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }

  body .navbar-header {
    float: none;
    flex: 0 0 auto;
  }

  body .navbar-collapse.collapse {
    display: flex !important;
    float: none;
    flex: 1 1 auto;
    width: auto;
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-end;
  }

  body .navbar-nav {
    float: none;
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
  }

  body .navbar-nav.navbar-right {
    margin-right: 0;
  }

  body .navbar-nav > li {
    float: none;
    white-space: nowrap;
  }
}

body .navbar-nav > li > a:hover,
body .navbar-nav > li > a:focus {
  color: var(--lt-green-text);
}

/* ============================================================ Bootstrap utility patches */

body .text-muted {
  color: var(--lt-ink-mute);
}

body .text-success,
body a.text-success {
  color: var(--lt-green-text);
}
body .text-success:hover,
body a.text-success:hover {
  color: var(--lt-green-strong);
}

/* ============================================================ RealtyPress patches
 * RealtyPress uses 4-class selectors like
 *   `.bootstrap-realtypress .rps-grid-result .rps-property-info .city-province-postalcode`
 * so we have to match (or beat) that specificity to win.
 */

/* RealtyPress injects an inline <style> setting these to #777 with 4-class
 * specificity, so we both match that specificity AND use !important. */
.bootstrap-realtypress .rps-grid-result .rps-property-info .city-province-postalcode,
.bootstrap-realtypress .rps-list-result .rps-property-result .rps-property-info .city-province-postalcode,
.bootstrap-realtypress .rps-listing-preview-shortcode .rps-property-info .city-province-postalcode,
.bootstrap-realtypress .rps-favorites .rps-favorites-result .rps-property-info .city-province-postalcode {
  font-size: 15px !important;
  color: #4b5563 !important;          /* darker than #666; >= 7:1 on #f6f6f6 */
}

.bootstrap-realtypress .rps-grid-result .rps-property-info .address,
.bootstrap-realtypress .rps-list-result .rps-property-result .rps-property-info .address {
  font-size: 16px;
  color: var(--lt-ink-display);
  font-weight: 600;
}

body .price,
body .pricing,
body .property-price {
  font-weight: 700;
  color: var(--lt-ink-display);
}

/* ============================================================ Estatik patches */

body .es-field__description,
body .es-field__label,
body .es-form .es-field__description {
  font-size: 14px !important;       /* Estatik uses em-based sizing in deeply nested rules */
  color: var(--lt-ink-soft);
  line-height: 1.5;
}

/* ============================================================ Limelight team plugin
 * Ensure the role text reads at a sensible size everywhere.
 * (Plugin already uses rem; with html-size reset above, sizes are correct.)
 */

body .lt-team__role {
  font-size: 14px;
  letter-spacing: 0.12em;
}

body .lt-team__name {
  font-size: 19px;
}

body .lt-team__title {
  font-size: clamp(24px, 2.4vw, 32px);
}

body .lt-team__subtitle {
  font-size: 17px;
  color: var(--lt-ink-mute);
}

/* ============================================================ Print + reduced motion */

@media print {
  body { font-size: 12pt; line-height: 1.5; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  body a,
  body .btn { transition: none; }
}

/* ============================================================
 * Restored FB / YT / teaser / mstats-CTA widget styles
 * (from stash b53c8fe, 2026-05-10, perf/homepage-may2026 branch).
 *
 * These selectors style the widgets that live in the homepage
 * front-page.php (FB + YT + teaser) and the .lt-mstats-cta HTML
 * block that lives in each homepage's post_content.
 *
 * The b53c8fe :root token block is NOT re-declared globally to
 * avoid overriding HEAD's higher-contrast --lt-green-* colors.
 * Only --lt-brand-green / --lt-brand-green-dark are aliased so
 * the widget selectors below resolve them cleanly.
 * ============================================================ */

:root {
  --lt-brand-green:      #6ab75a;
  --lt-brand-green-dark: #5aa44a;
}

/* ============================================================
 * FACEBOOK PAGE FEED SECTION
 *
 * Rendered by lt_render_fb_page_feed() in functions.php and placed
 * on the homepage (front-page.php) below the existing content. The
 * iframe is the official Facebook Page Plugin; the link below is
 * always-rendered fallback for users where the iframe is blocked
 * (privacy modes, ad blockers, dev hosts, etc.).
 * ============================================================ */

body .lt-fb-section {
  padding: 64px 16px;
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body .lt-fb-section__head {
  text-align: center;
  margin-bottom: 28px;
}

body .lt-fb-section__head h2 {
  margin: 0 0 8px;
}

body .lt-fb-section__head p {
  margin: 0;
  color: var(--lt-ink-mute);
  font-size: 16px;
}

/* Card wrapper around the iframe so it doesn't read as a raw embed */
body .lt-fb-feed {
  margin: 0 auto;
  max-width: 500px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Branded header bar -- replaces FB's default cover so the embed feels native */
body .lt-fb-feed__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--lt-navy, #2d3b4f);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body .lt-fb-feed__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
}

body .lt-fb-feed__brand .fa {
  font-size: 20px;
  color: #fff;
}

body .lt-fb-feed__visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

body .lt-fb-feed__visit:hover,
body .lt-fb-feed__visit:focus {
  background: var(--lt-brand-green, #6ab75a);
  border-color: var(--lt-brand-green, #6ab75a);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

body .lt-fb-feed__visit .fa {
  font-size: 11px;
}

/* The iframe itself sits inside a clipped frame so the FB chrome
 * blends with the card. We give it a fixed height (900px) so visitors
 * see 3-4 posts without scrolling — the iframe handles internal
 * scroll only when needed, and the card never overflows the page. */
body .lt-fb-feed__frame {
  position: relative;
  background: #fff;
  height: 900px;
  overflow: hidden;
}

/* --- Personal-profile fallback card ---
 * Used when the FB URL is a personal profile (which the Page Plugin
 * can't embed). Same chrome as the embedded version, but the iframe
 * is replaced with a static "Visit our profile" CTA so the section
 * stays useful instead of showing a blank box.
 */
body .lt-fb-feed__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 32px 56px;
  background: #fff;
  min-height: 360px;
}

body .lt-fb-feed__fallback-icon {
  font-size: 56px;
  color: #1877f2;            /* Facebook blue, only used here */
  margin-bottom: 22px;
  opacity: 0.92;
}

body .lt-fb-feed__fallback h3 {
  margin: 0 0 14px;
  font-family: var(--lt-font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--lt-ink-display);
  text-transform: none;
}

body .lt-fb-feed__fallback p {
  margin: 0 0 28px;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--lt-ink-soft);
}

body .lt-fb-feed__fallback-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--lt-brand-green, #6ab75a);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  border: 0;
}

body .lt-fb-feed__fallback-cta:hover,
body .lt-fb-feed__fallback-cta:focus {
  background: var(--lt-brand-green-dark, #5aa44a);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(106, 183, 90, 0.25);
  color: #fff;
  text-decoration: none;
}

body .lt-fb-feed__fallback-cta .fa {
  font-size: 13px;
}

body .lt-fb-feed__iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}

@media (max-width: 600px) {
  /* Section + heading: tighter padding so the card has more room */
  body .lt-fb-section {
    padding: 40px 12px;
    overflow-x: hidden;
  }
  body .lt-fb-section__head {
    margin-bottom: 20px;
  }
  body .lt-fb-section__head h2 {
    font-size: 22px;
  }
  body .lt-fb-section__head p {
    font-size: 14px;
    line-height: 1.45;
  }

  /* FB card: trimmer chrome + much shorter iframe so it fits the viewport */
  body .lt-fb-feed {
    max-width: 100%;
    width: 100%;
  }
  body .lt-fb-feed__header {
    padding: 11px 14px;
    gap: 10px;
  }
  body .lt-fb-feed__brand {
    font-size: 13px;
    gap: 8px;
    min-width: 0;          /* allow truncation if needed */
  }
  body .lt-fb-feed__brand .fa {
    font-size: 17px;
  }
  body .lt-fb-feed__visit {
    font-size: 11px;
    padding: 5px 10px;
    gap: 5px;
    flex-shrink: 0;        /* don't let it wrap awkwardly */
  }
  /* Iframe height clamps to the smaller of 540px or 65% of viewport
   * height. On a 700-tall phone that's ~455px, on 800 it's 520px,
   * and on 900+ it caps at 540px. The whole card now fits on screen
   * comfortably without needing an in-iframe scroll mid-paragraph. */
  body .lt-fb-feed__frame {
    height: min(540px, 65vh);
  }
  body .lt-fb-feed__iframe {
    max-width: 100%;
  }

  /* Fallback (personal-profile) card: tighten padding on phones */
  body .lt-fb-feed__fallback {
    padding: 44px 24px 40px;
    min-height: 280px;
  }
  body .lt-fb-feed__fallback-icon {
    font-size: 44px;
    margin-bottom: 16px;
  }
  body .lt-fb-feed__fallback h3 {
    font-size: 19px;
    margin-bottom: 10px;
  }
  body .lt-fb-feed__fallback p {
    font-size: 14px;
    margin-bottom: 22px;
  }
  body .lt-fb-feed__fallback-cta {
    padding: 11px 18px;
    font-size: 12px;
  }
}
/* --- Side-by-side social feeds (Facebook + YouTube) ---
 * Two-column responsive grid that hosts both feed cards.
 * Stacks on narrow viewports.
 */
body .lt-social-row {
  display: grid;
  /* Columns are capped at 500px each to match Facebook's Page Plugin
   * content-width hard limit (anything wider just leaves an empty strip
   * inside the iframe). On wide viewports we get a centered 2-column
   * layout (500px + 28px gap + 500px = 1028px); on narrower viewports
   * the grid auto-fits to one column. */
  grid-template-columns: repeat(auto-fit, minmax(440px, 500px));
  gap: 28px;
  align-items: start;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
}

/* Cards inside the row stretch to fill their (now capped) grid cell. */
body .lt-social-row .lt-fb-feed,
body .lt-social-row .lt-yt-feed {
  margin: 0;
  max-width: 100%;
  width: 100%;
}
/* --- YouTube card (mirrors FB card chrome, different iframe) --- */
body .lt-yt-feed {
  margin: 0 auto;
  max-width: 500px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body .lt-yt-feed__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--lt-navy, #2d3b4f);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body .lt-yt-feed__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
}

/* The YouTube glyph keeps its platform red so it reads instantly,
 * even though the rest of the card chrome stays on-brand (navy). */
body .lt-yt-feed__brand .fa {
  font-size: 20px;
  color: #ff0033;
}

body .lt-yt-feed__visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

body .lt-yt-feed__visit:hover,
body .lt-yt-feed__visit:focus {
  background: var(--lt-brand-green, #6ab75a);
  border-color: var(--lt-brand-green, #6ab75a);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

body .lt-yt-feed__visit .fa {
  font-size: 11px;
}

/* Iframe frame: fixed 600px tall on desktop. Shorter than FB (which is
 * a feed scroll), but tall enough that the player + playlist nav both
 * have breathing room. The iframe fills the frame. */
/* YouTube player frame.
 *
 * We use a 16:9 aspect ratio rather than a fixed pixel height so the
 * embedded video fills the card edge-to-edge with no left/right black
 * bars (which is what the player would otherwise render to fit a 16:9
 * video into a square-ish container). On a ~500px-wide desktop card
 * this gives a ~281px-tall player; on a narrower mobile card the
 * player scales down proportionally.
 */
body .lt-yt-feed__frame {
  position: relative;
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

body .lt-yt-feed__iframe {
  display: block;
  border: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

/* --- "More videos" thumbnail row ---
 * Sits below the player to make it obvious there's more content
 * on the channel beyond the currently-loaded video. Each item links
 * directly to the video on YouTube. */
body .lt-yt-feed__more {
  background: #fff;
  padding: 18px 18px 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

body .lt-yt-feed__more-label {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lt-ink-soft);
  font-weight: 500;
}

body .lt-yt-feed__more-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
}

body .lt-yt-feed__more-list li {
  margin: 0;
}

body .lt-yt-feed__more-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 6px;
  margin: -6px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

body .lt-yt-feed__more-item:hover,
body .lt-yt-feed__more-item:focus {
  background: rgba(0,0,0,0.03);
  text-decoration: none;
  color: inherit;
}

body .lt-yt-feed__more-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 54px;
  background-color: #000;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

body .lt-yt-feed__more-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.18);
  transition: background 0.15s ease;
}

body .lt-yt-feed__more-item:hover .lt-yt-feed__more-thumb::before {
  background: rgba(0,0,0,0.05);
}

body .lt-yt-feed__more-thumb .fa {
  position: relative;
  z-index: 1;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

body .lt-yt-feed__more-thumb--placeholder {
  background: linear-gradient(135deg, #1a1a1a, #333);
}

body .lt-yt-feed__more-title {
  font-size: 13px;
  line-height: 1.4;
  color: var(--lt-ink-display);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body .lt-yt-feed__more-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px dashed rgba(0,0,0,0.08);
  width: 100%;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lt-brand-green, #6ab75a);
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.18s ease;
}

body .lt-yt-feed__more-cta:hover,
body .lt-yt-feed__more-cta:focus {
  color: var(--lt-brand-green-dark, #5aa44a);
  gap: 12px;
  text-decoration: none;
}

body .lt-yt-feed__more-cta .fa {
  font-size: 11px;
}

@media (max-width: 600px) {
  /* Stack the two cards vertically. max-width:100% prevents the
   * grid from forcing horizontal overflow on narrow viewports. */
  body .lt-social-row {
    gap: 18px;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  /* YouTube card: full-width with a true 16:9 player.
   * aspect-ratio means the player scales perfectly to whatever
   * width the phone gives us — no fixed pixel guesswork. */
  body .lt-yt-feed {
    max-width: 100%;
    width: 100%;
  }
  body .lt-yt-feed__header {
    padding: 11px 14px;
    gap: 10px;
  }
  body .lt-yt-feed__brand {
    font-size: 13px;
    gap: 8px;
    min-width: 0;
  }
  body .lt-yt-feed__brand .fa {
    font-size: 17px;
  }
  body .lt-yt-feed__visit {
    font-size: 11px;
    padding: 5px 10px;
    gap: 5px;
    flex-shrink: 0;
  }
  body .lt-yt-feed__frame {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* "More videos" thumbnail strip — slightly tighter on phones */
  body .lt-yt-feed__more {
    padding: 14px 14px 16px;
  }
  body .lt-yt-feed__more-list {
    gap: 8px;
  }
  body .lt-yt-feed__more-item {
    grid-template-columns: 84px 1fr;
    gap: 10px;
  }
  body .lt-yt-feed__more-thumb {
    width: 84px;
    height: 47px;
  }
  body .lt-yt-feed__more-title {
    font-size: 12.5px;
  }
}
/* ============================================================
 * HOMEPAGE NAVIGATION TEASER
 *
 * Editorial 3-column grid that previews each top-level menu item.
 * Built dynamically from lt_get_homepage_teasers() in functions.php.
 *
 * Visual: soft #fafafa section, white cards, fine 1px hairline,
 * Oswald display titles, numbered eyebrows for editorial polish,
 * arrow CTA that slides 4px on hover, card lifts 2px on hover.
 * Responsive via auto-fit so layout collapses gracefully on mobile.
 * ============================================================ */

body .lt-teaser {
  padding: clamp(56px, 7vw, 96px) 16px;
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body .lt-teaser__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

body .lt-teaser__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lt-brand-green, #6ab75a);
  font-weight: 500;
}

body .lt-teaser__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 42px);
}

body .lt-teaser__lead {
  margin: 0;
  color: var(--lt-ink-mute);
  font-size: 17px;
  line-height: 1.55;
}

body .lt-teaser__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

body .lt-teaser__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
  isolation: isolate;
}

body .lt-teaser__card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--lt-brand-green, #6ab75a);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
  z-index: 1;
}

body .lt-teaser__card:hover,
body .lt-teaser__card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 14px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: inherit;
}

body .lt-teaser__card:hover::before,
body .lt-teaser__card:focus-visible::before {
  transform: scaleX(1);
}

body .lt-teaser__num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--lt-ink-mute);
  font-weight: 500;
  font-feature-settings: "tnum";
}

body .lt-teaser__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(106, 183, 90, 0.10);
  color: var(--lt-brand-green, #6ab75a);
  margin-bottom: 18px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

body .lt-teaser__card:hover .lt-teaser__icon {
  background: var(--lt-brand-green, #6ab75a);
  color: #fff;
}

body .lt-teaser__icon .fa {
  font-size: 18px;
}

body .lt-teaser__card-title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--lt-ink-display);
}

body .lt-teaser__desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--lt-ink-soft);
  flex: 1 1 auto;
}

body .lt-teaser__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lt-ink-display);
  font-weight: 500;
  transition: color 0.18s ease, gap 0.18s ease;
}

body .lt-teaser__cta .fa {
  font-size: 12px;
  transition: transform 0.18s ease;
}

body .lt-teaser__card:hover .lt-teaser__cta {
  color: var(--lt-brand-green, #6ab75a);
  gap: 12px;
}

body .lt-teaser__card:hover .lt-teaser__cta .fa {
  transform: translateX(2px);
}

@media (max-width: 600px) {
  body .lt-teaser { padding: 48px 12px; }
  body .lt-teaser__card { padding: 24px 22px 20px; }
}
/* ============================================================
 * MARKET STATS — homepage CTA band
 *
 * Modern replacement for the legacy "Click Here For Market Stats"
 * Bootstrap modal that lived in homepage post content. Renders a
 * full-bleed dark band with the London-night skyline behind a
 * gradient overlay, an Oswald headline, a short pitch, and a green
 * pill button that deep-links to /market-stats/.
 *
 * The corresponding HTML lives in the homepage post_content of
 * each site (page 32 on master + alisaadat, page 19 on lukas/susan/
 * vijay). Updating this CSS once restyles the band on all 5 sites.
 * ============================================================ */

body .lt-mstats-cta {
  position: relative;
  padding: 96px 24px;
  text-align: center;
  background: #0f172a;
  color: #fff;
  overflow: hidden;
  margin: 0;
}

body .lt-mstats-cta__bg {
  position: absolute; inset: 0;
  background-image: url('/wp-content/themes/realEstate/assets/img/london-night.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 0;
}

body .lt-mstats-cta::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.55), rgba(15,23,42,0.82));
  z-index: 1;
}

body .lt-mstats-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

body .lt-mstats-cta__eyebrow {
  font-size: 12px !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 18px !important;
  color: var(--lt-brand-green, #6ab75a) !important;
  font-weight: 500 !important;
}

body .lt-mstats-cta__title {
  font-family: var(--lt-font-display) !important;
  color: #fff !important;
  font-size: clamp(28px, 3.5vw, 44px) !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em;
  margin: 0 0 22px !important;
  text-transform: none;
}

body .lt-mstats-cta__lead {
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.82) !important;
  margin: 0 auto 32px !important;
  max-width: 600px;
}

body .lt-mstats-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--lt-brand-green, #6ab75a);
  color: #fff !important;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none !important;
  font-weight: 500;
  transition: background 0.18s ease, gap 0.18s ease;
}

body .lt-mstats-cta__btn:hover,
body .lt-mstats-cta__btn:focus {
  background: var(--lt-brand-green-dark, #5aa44a);
  gap: 16px;
  color: #fff !important;
}

body .lt-mstats-cta__btn .fa {
  font-size: 12px;
}

@media (max-width: 600px) {
  body .lt-mstats-cta { padding: 72px 16px; }
  body .lt-mstats-cta__lead { font-size: 16px !important; }
  body .lt-mstats-cta__btn {
    padding: 14px 24px;
    font-size: 13px;
    letter-spacing: 0.16em;
  }
}
