/* ==========================================================================
   Forbes Property — Conversion Kit
   Shared styles for hero CTAs, enquiry form, location/trust/map blocks,
   blurred floor plans, property-card CTAs, blog & glossary pages.
   Loaded AFTER theme CSS so it can override.
   ========================================================================== */

:root {
  --fx-red: #B71C1C;
  --fx-red-dark: #7f1010;
  --fx-gold: #C9A253;
  --fx-ink: #0e1014;
  --fx-paper: #ffffff;
  --fx-paper-dim: #f5f3ee;
  --fx-border: rgba(0,0,0,0.12);
  --fx-radius: 10px;
  --fx-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ---------- Larger Logo ---------- */
.ed-nav-brand img,
.mk-brand img,
.ar-brand img,
.ci-nav a img,
.ge-nav a img,
.br-nav a img,
a[href] > img[alt*="Forbes"] {
  height: 92px !important;
  width: auto !important;
}
@media (max-width: 720px) {
  .ed-nav-brand img,
  .mk-brand img,
  .ar-brand img,
  .ci-nav a img,
  .ge-nav a img,
  .br-nav a img,
  a[href] > img[alt*="Forbes"] {
    height: 68px !important;
  }
}

/* ---------- Hero CTA Triad ---------- */
.fx-hero-overlay {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.2rem clamp(1rem, 4vw, 3rem) 1.6rem;
  align-items: start;
}
.fx-hero-overlay > .fx-hero-form { display: none; }
@media (max-width: 900px) {
  .fx-hero-overlay > .fx-hero-form { display: block; }
}

.fx-hero-identity {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}
.fx-hero-identity .fx-eyebrow {
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.fx-hero-identity h1 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 0.8rem;
  color: #fff;
}
.fx-hero-identity .fx-loc {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1rem;
  font-weight: 500;
}
.fx-hero-identity .fx-rera {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.95;
}

.fx-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
}
.fx-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.fx-btn-primary   { background: var(--fx-red); color: #fff; }
.fx-btn-primary:hover { background: var(--fx-red-dark); color: #fff; }
.fx-btn-gold      { background: var(--fx-gold); color: #0e1014; }
.fx-btn-gold:hover { background: #b08c42; color: #0e1014; }
.fx-btn-outline   { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.fx-btn-outline:hover { background: rgba(255,255,255,0.14); color: #fff; }
.fx-btn-dark      { background: var(--fx-ink); color: #fff; }
.fx-btn-dark:hover { background: #000; color: #fff; }

/* ---------- Hero Enquiry Form (inline card) ---------- */
.fx-hero-form {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border-radius: var(--fx-radius);
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: var(--fx-shadow);
  color: var(--fx-ink);
  max-width: 380px;
  width: 100%;
}

/* Float form to top-right of hero on desktop, next to hero text */
@media (min-width: 901px) {
  .ed-hero, .mk-hero, .ar-hero, .ci-hero, .ge-hero, .br-hero {
    position: relative;
  }
  .fx-hero-floating-form {
    position: absolute;
    top: clamp(6rem, 12vh, 9rem);
    right: clamp(1.5rem, 4vw, 3.5rem);
    width: 380px;
    max-width: 40%;
    z-index: 20;
  }
  /* Cinematic/dark hero variant: form needs elevated stacking over overlays */
  .ci-hero .fx-hero-floating-form { z-index: 30; }
}
@media (max-width: 900px) {
  .fx-hero-floating-form { position: static; width: 100%; max-width: 100%; margin: 1.2rem 0 0; }
  .fx-hero-form { max-width: 100%; }
}
.fx-hero-form h3 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.25rem;
  margin: 0 0 0.3rem;
  color: var(--fx-ink);
  font-weight: 700;
}
.fx-hero-form p.fx-form-sub {
  font-size: 0.82rem;
  color: #555;
  margin: 0 0 0.9rem;
}
.fx-hero-form input,
.fx-hero-form select,
.fx-hero-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--fx-border);
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
  color: var(--fx-ink);
  margin-bottom: 0.55rem;
  box-sizing: border-box;
}
.fx-hero-form input:focus,
.fx-hero-form select:focus,
.fx-hero-form textarea:focus {
  outline: none;
  border-color: var(--fx-red);
  box-shadow: 0 0 0 3px rgba(183,28,28,0.12);
}
.fx-hero-form button {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--fx-red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
}
.fx-hero-form button:hover { background: var(--fx-red-dark); }
.fx-hero-form .fx-form-legal {
  font-size: 0.7rem;
  color: #777;
  margin: 0.7rem 0 0;
  line-height: 1.4;
}

/* ---------- Location section (top of page) ---------- */
.fx-location-section {
  padding: 5rem clamp(1rem, 4vw, 3rem);
  background: var(--fx-paper-dim);
  color: var(--fx-ink);
}
.fx-location-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .fx-location-inner { grid-template-columns: 1fr; gap: 1.8rem; }
}
.fx-location-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fx-red);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.fx-location-inner h2 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--fx-ink);
}
.fx-location-inner p.fx-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin: 0 0 1.2rem;
}
.fx-location-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.2rem;
}
.fx-location-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.92rem;
  color: #333;
  line-height: 1.45;
}
.fx-location-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.45em;
  width: 8px; height: 8px;
  background: var(--fx-gold);
  border-radius: 50%;
}
.fx-map-wrap {
  border-radius: var(--fx-radius);
  overflow: hidden;
  box-shadow: var(--fx-shadow);
  aspect-ratio: 4 / 3;
  background: #222;
}
.fx-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Trust section (top of page) ---------- */
.fx-trust-section {
  padding: 5rem clamp(1rem, 4vw, 3rem);
  background: #fff;
  border-top: 1px solid var(--fx-border);
  border-bottom: 1px solid var(--fx-border);
}
.fx-trust-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.fx-trust-head {
  text-align: center;
  margin-bottom: 2.6rem;
}
.fx-trust-head .fx-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fx-red);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.fx-trust-head h2 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin: 0;
  color: var(--fx-ink);
}
.fx-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.fx-trust-card {
  background: var(--fx-paper-dim);
  border: 1px solid var(--fx-border);
  padding: 1.6rem 1.4rem;
  border-radius: var(--fx-radius);
  text-align: left;
}
.fx-trust-card .fx-trust-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fx-red);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.fx-trust-card h3 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--fx-ink);
  font-weight: 700;
}
.fx-trust-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #444;
  margin: 0;
}

/* ---------- Master Plan / Project Map preview (bold image) ---------- */
.fx-mapteaser-section {
  padding: 5rem clamp(1rem, 4vw, 3rem);
  background: var(--fx-ink);
  color: #fff;
}
.fx-mapteaser-section,
.fx-mapteaser-section * {
  color: inherit;
}
.fx-mapteaser-inner,
.fx-section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.fx-mapteaser-section .fx-section-inner,
.fx-mapteaser-section .fx-mapteaser-inner { color: #fff; }
.fx-mapteaser-section .fx-rubric,
.fx-mapteaser-section .fx-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fx-gold) !important;
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: block;
}
.fx-mapteaser-section h2 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1.1rem;
  color: #ffffff !important;
  font-weight: 700;
  max-width: 860px;
}
.fx-mapteaser-section p,
.fx-mapteaser-section .fx-lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85) !important;
  margin: 0 0 1.4rem;
  max-width: 860px;
}
.fx-mapteaser-section .fx-mapteaser-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.4rem;
}
@media (max-width: 900px) {
  .fx-mapteaser-section .fx-mapteaser-head { grid-template-columns: 1fr; gap: 1rem; }
}
.fx-mapteaser-section .fx-mapteaser-head .fx-mapteaser-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--fx-radius);
}
.fx-mapteaser-section .fx-mapteaser-meta > div strong {
  display: block;
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.15rem;
}
.fx-mapteaser-section .fx-mapteaser-meta > div span {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
/* Bold image presentation */
.fx-mapteaser-frame,
.fx-mapteaser-img {
  border-radius: var(--fx-radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  background: #111;
  border: 1px solid rgba(201,162,83,0.25);
}
.fx-mapteaser-frame img,
.fx-mapteaser-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #f5f3ee;
}
.fx-mapteaser-caption {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.fx-mapteaser-cta {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

/* Stronger override for any existing master-plan section in themes that sit on dark bg */
section[id*="master" i] .fx-rubric,
section[id*="masterplan" i] .fx-eyebrow,
section[class*="mapteaser"] h1,
section[class*="mapteaser"] h2,
section[class*="mapteaser"] h3,
section[class*="mapteaser"] p { color: inherit; }

/* ---------- Blurred floor plan images (with reveal-on-click) ---------- */
.fx-floorplan {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}
.fx-floorplan img,
.fx-floorplan picture img {
  filter: blur(14px) saturate(0.9);
  transform: scale(1.04);
  transition: filter 0.3s ease, transform 0.3s ease;
  display: block;
  width: 100%;
  height: auto;
}
.fx-floorplan::after {
  content: 'Floor plan available on request';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.45);
  text-align: center;
  padding: 0 1rem;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.fx-floorplan.is-revealed img,
.fx-floorplan.is-revealed picture img { filter: none; transform: scale(1); }
.fx-floorplan.is-revealed::after { opacity: 0; }

/* ---------- Property card CTA row ---------- */
.fx-card-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.fx-card-cta .fx-btn {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  flex: 1 1 auto;
}

/* ---------- Footer links to Journal + Glossary ---------- */
.fx-footer-extra {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}
.fx-footer-extra a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 1px;
  transition: color 0.15s ease;
}
.fx-footer-extra a:hover { color: var(--fx-gold); }

/* ---------- Blog (Journal) styling ---------- */
.fx-journal-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem clamp(1rem, 4vw, 3rem) 5rem;
  color: var(--fx-ink);
}
.fx-journal-hero {
  border-bottom: 1px solid var(--fx-border);
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
}
.fx-journal-hero .fx-eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fx-red);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.fx-journal-hero h1 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}
.fx-journal-hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  max-width: 780px;
  margin: 0;
}

.fx-journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem;
}
.fx-journal-card {
  background: #fff;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  padding: 1.6rem 1.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.fx-journal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--fx-shadow);
}
.fx-journal-card .fx-j-meta {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fx-red);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.fx-journal-card h3 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.18rem;
  line-height: 1.3;
  margin: 0 0 0.7rem;
}
.fx-journal-card h3 a {
  color: var(--fx-ink);
  text-decoration: none;
}
.fx-journal-card h3 a:hover { color: var(--fx-red); }
.fx-journal-card p {
  font-size: 0.93rem;
  line-height: 1.55;
  color: #444;
  margin: 0 0 1rem;
  flex: 1;
}
.fx-journal-card .fx-j-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fx-red);
  text-decoration: none;
  letter-spacing: 0.06em;
}
.fx-journal-card .fx-j-link:hover { text-decoration: underline; }

/* Styling overlay for existing .ed-journal-* and similar legacy markup */
.ed-journal-head,
.mk-journal-head,
.ar-journal-head {
  padding: 4rem clamp(1rem, 4vw, 3rem) 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid var(--fx-border);
}
.ed-journal-eyebrow,
.ed-eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fx-red);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.ed-journal-h1 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--fx-ink);
}
.ed-journal-dek {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  max-width: 780px;
  margin: 0 0 1.2rem;
}
.ed-journal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
  font-size: 0.86rem;
  color: #555;
}
.ed-journal-meta > div em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fx-red);
  margin-bottom: 0.2rem;
}
.ed-journal-meta > div strong {
  color: var(--fx-ink);
  font-weight: 600;
}
.ed-journal-featured {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}
.ed-feature-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  overflow: hidden;
  background: #fff;
}
@media (max-width: 820px) {
  .ed-feature-article { grid-template-columns: 1fr; }
}
.ed-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 260px;
}
.ed-feature-body {
  padding: 2rem 1.8rem;
}
.ed-chapter {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fx-red);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.ed-feature-h2 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0 0 0.8rem;
  color: var(--fx-ink);
}
.ed-feature-dek {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #444;
  margin: 0 0 1.2rem;
}
.ed-feature-byline {
  font-size: 0.82rem;
  color: #666;
  display: flex;
  gap: 1.4rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.ed-feature-byline em {
  font-style: normal;
  color: var(--fx-red);
  font-weight: 600;
  margin-right: 0.3rem;
}
.ed-cta,
.ed-cta-bar-btn {
  display: inline-block;
  padding: 0.8rem 1.3rem;
  background: var(--fx-red);
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: background 0.15s ease;
}
.ed-cta:hover,
.ed-cta-bar-btn:hover { background: var(--fx-red-dark); }
.ed-cta-bar {
  text-align: center;
}

.ed-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem clamp(1rem, 4vw, 3rem);
}
.ed-section-head { margin-bottom: 2rem; }
.ed-section-h2 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin: 0.4rem 0 0.8rem;
  color: var(--fx-ink);
}
.ed-section-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #444;
  max-width: 720px;
  margin: 0;
}
.ed-journal-list {
  display: grid;
  gap: 1.6rem;
}
.ed-j-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--fx-border);
}
.ed-j-num {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.6rem;
  color: var(--fx-red);
  font-weight: 600;
}
.ed-j-meta {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fx-red);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.ed-j-body h3 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
.ed-j-body h3 a {
  color: var(--fx-ink);
  text-decoration: none;
}
.ed-j-body h3 a:hover { color: var(--fx-red); }
.ed-j-body p {
  font-size: 0.93rem;
  line-height: 1.55;
  color: #444;
  margin: 0;
}

/* ---------- Glossary styling ---------- */
.fx-glossary-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem clamp(1rem, 4vw, 3rem) 5rem;
  color: var(--fx-ink);
}
.fx-glossary-hero {
  padding: 3rem clamp(1rem, 4vw, 3rem) 2rem;
  background: linear-gradient(135deg, var(--fx-ink) 0%, #1a1c22 100%);
  color: #fff;
  border-radius: var(--fx-radius);
  margin-bottom: 2.5rem;
}
.fx-glossary-hero .fx-eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fx-gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.fx-glossary-hero h1 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 0.8rem;
  color: #fff;
}
.fx-glossary-hero p {
  font-size: 1.04rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 720px;
  margin: 0;
}

.fx-glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.fx-glossary-card {
  background: #fff;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  padding: 1.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.fx-glossary-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--fx-shadow);
}
.fx-glossary-card .fx-gloss-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--fx-ink);
  color: var(--fx-gold);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  flex-shrink: 0;
}
.fx-glossary-card h3 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.18rem;
  margin: 0 0 0.5rem;
  color: var(--fx-ink);
  line-height: 1.25;
}
.fx-glossary-card h3 a { color: inherit; text-decoration: none; }
.fx-glossary-card h3 a:hover { color: var(--fx-red); }
.fx-glossary-card p {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.55;
  margin: 0 0 0.9rem;
  flex: 1;
}
.fx-glossary-card .fx-gloss-link {
  color: var(--fx-red);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.fx-glossary-card .fx-gloss-link:hover { text-decoration: underline; }
.fx-glossary-divider {
  font-family: var(--font-heading, 'Playfair Display', serif);
  color: var(--fx-ink);
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--fx-gold);
  grid-column: 1 / -1;
}

/* Overlay for existing `.glossary-*` markup */
.glossary-hero { background: linear-gradient(135deg, var(--fx-ink) 0%, #1a1c22 100%) !important; }
.glossary-card { background: #fff; }
.glossary-card-letter { background: var(--fx-ink) !important; color: var(--fx-gold) !important; }
.glossary-card h2 a:hover { color: var(--fx-red) !important; }
.glossary-card-link { color: var(--fx-red) !important; }
.section-divider { border-bottom-color: var(--fx-gold) !important; color: var(--fx-ink) !important; }

/* ---------- Universal hamburger (mobile nav) ---------- */
.fx-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  z-index: 101;
  margin-left: auto;
  color: inherit;
}
.fx-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
  border-radius: 2px;
}
.fx-nav-open .fx-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fx-nav-open .fx-nav-toggle span:nth-child(2) { opacity: 0; }
.fx-nav-open .fx-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dark-nav variants get lighter bar color */
.ci-nav .fx-nav-toggle,
.ar-nav .fx-nav-toggle { color: #fff; }
.ed-nav .fx-nav-toggle,
.mk-nav .fx-nav-toggle,
.ge-nav .fx-nav-toggle,
.br-nav .fx-nav-toggle { color: #111; }

@media (max-width: 900px) {
  .fx-nav-toggle { display: inline-flex !important; }

  /* Hide desktop-only CTA chunks on mobile to save room for hamburger */
  .ed-nav-cta,
  .mk-nav-cta,
  .ar-nav-cta,
  .ci-nav-cta,
  .ge-nav-cta,
  .br-nav-cta { display: none !important; }

  /* Collapse link rows by default on mobile */
  .ed-nav-inner,
  .mk-nav-inner,
  .ar-nav-inner,
  .ci-nav-inner,
  .ge-nav-inner,
  .br-nav-inner { position: relative; }

  .ed-nav-links,
  .mk-nav-links,
  .ar-nav-links,
  .ci-nav-links,
  .ge-nav-links,
  .br-nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0.8rem 1.5rem 1.2rem;
    background: #ffffff;
    color: #111;
    box-shadow: 0 14px 34px rgba(0,0,0,0.18);
    border-top: 1px solid rgba(0,0,0,0.08);
    z-index: 100;
    max-height: 70vh;
    overflow-y: auto;
  }
  .ci-nav .ci-nav-links,
  .ar-nav .ar-nav-links { background: #0e1014; color: #fff; }

  .fx-nav-open .ed-nav-links,
  .fx-nav-open .mk-nav-links,
  .fx-nav-open .ar-nav-links,
  .fx-nav-open .ci-nav-links,
  .fx-nav-open .ge-nav-links,
  .fx-nav-open .br-nav-links { display: flex !important; }

  .ed-nav-links a,
  .mk-nav-links a,
  .ar-nav-links a,
  .ci-nav-links a,
  .ge-nav-links a,
  .br-nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 1rem;
    text-decoration: none;
    display: block;
  }
  .ci-nav .ci-nav-links a,
  .ar-nav .ar-nav-links a { color: #fff; border-bottom-color: rgba(255,255,255,0.12); }

  /* forbesproperty.in uses split .ed-nav-left / .ed-nav-right around brand */
  .ed-nav-left,
  .ed-nav-right {
    display: none !important;
    position: absolute;
    left: 0; right: 0;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0.6rem 1.5rem;
    background: #ffffff;
    color: #111;
    box-shadow: 0 14px 34px rgba(0,0,0,0.18);
    z-index: 100;
  }
  .ed-nav-left { top: 100%; border-top: 1px solid rgba(0,0,0,0.08); }
  .ed-nav-right { top: calc(100% + 0.01rem); }
  .ed-nav-left.open,
  .ed-nav-right.open,
  .fx-nav-open .ed-nav-left,
  .fx-nav-open .ed-nav-right { display: flex !important; position: static; box-shadow: none; padding: 0 1.5rem; }
  .fx-nav-open .ed-nav-inner,
  .ed-nav-inner:has(.ed-nav-left.open) {
    flex-direction: column !important;
    align-items: stretch !important;
    background: #ffffff;
    padding-bottom: 1rem;
  }
  .ed-nav-left a,
  .ed-nav-right a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 1rem;
    text-decoration: none;
    display: block;
    color: #111;
  }
}
/* On forbesproperty.in the existing ed-nav-toggle already wires markup */
.ed-nav-toggle ~ .fx-nav-toggle { display: none !important; }
