/* ==========================================================================
   0. SELF-HOSTED FONT — Mulish (woff2, latin subset). Files live in the child
      theme /fonts/ folder. Paths are ROOT-RELATIVE (/wp-content/...) on purpose
      so they keep working after the move to InMotion + themunirgroup.ca.
      Weights used by this site: 400 / 600 / 700 / 800 + 400 italic.
   ========================================================================== */
@font-face{font-family:'Mulish';font-style:normal;font-weight:400;font-display:swap;src:url('/wp-content/themes/hello-elementor-child/fonts/mulish-400.woff2') format('woff2');}
@font-face{font-family:'Mulish';font-style:normal;font-weight:600;font-display:swap;src:url('/wp-content/themes/hello-elementor-child/fonts/mulish-600.woff2') format('woff2');}
@font-face{font-family:'Mulish';font-style:normal;font-weight:700;font-display:swap;src:url('/wp-content/themes/hello-elementor-child/fonts/mulish-700.woff2') format('woff2');}
@font-face{font-family:'Mulish';font-style:normal;font-weight:800;font-display:swap;src:url('/wp-content/themes/hello-elementor-child/fonts/mulish-800.woff2') format('woff2');}
@font-face{font-family:'Mulish';font-style:italic;font-weight:400;font-display:swap;src:url('/wp-content/themes/hello-elementor-child/fonts/mulish-italic-400.woff2') format('woff2');}


/* ==========================================================================
   THE MUNIR GROUP — GLOBAL STYLESHEET
   --------------------------------------------------------------------------
   One sheet for every reusable "mg-" component on the site. Load this ONCE,
   site-wide, then paste the STYLE-STRIPPED markup (no <style> block) into each
   Elementor HTML widget. Class names are unchanged, so pages render identically
   the moment this sheet is live.

   HOW TO DEPLOY (pick one):
   • Best for page speed — enqueue as a real, cacheable file:
       upload this file to your child theme (e.g. /wp-content/themes/hello-child/
       munir-global.css) and enqueue it, OR add it via a "custom CSS file" plugin.
       A real .css file is cached by the browser across page loads and can be
       minified; that beats inline CSS.
   • Simplest — Elementor ▸ Site Settings ▸ Custom CSS: paste everything below.
       Works immediately, but Elementor prints it inline in <head> on every page
       (not separately cacheable). Fine to start; move to a file later for speed.

   ROLLOUT ORDER (important): put this sheet live FIRST, confirm one page still
   looks right with its local <style> removed, THEN strip the rest. Don't strip
   pages before this is loaded or you'll briefly have unstyled pages.

   NOTES
   • Tokens reconciled to the most-used values: navy #1b2039, gold-hover #e0a614.
     (Old one-offs #1f2542 / #d89f10 / #1d2236 now resolve to these — the shift
     is visually negligible.) The blog post keeps a darker link gold #b07f08 for
     readable inline links; that override is scoped to .mg-post only.
   • Mulish is expected to be loaded by Elementor's font kit (do NOT @import it
     here). For best Core Web Vitals, set Google Fonts to display:swap and add a
     preconnect to fonts.gstatic.com — or self-host Mulish (ask and I'll add the
     @font-face block + woff2 plan).
   • NOT included yet: the Advantage / contact section (.mg-advantage / .mg-adv-*)
     — it's pending its no-padding + form rework; we'll add it to this sheet then.
   ========================================================================== */


/* ==========================================================================
   1. BRAND TOKENS
   ========================================================================== */
:root {
  --mg-navy:    #1b2039;   /* dark navy — cards, contact card, step badge text bg */
  --mg-heading: #242a48;   /* headings */
  --mg-gold:    #f5b81e;   /* gold — accents, buttons, icons */
  --mg-gold-h:  #e0a614;   /* gold hover + most inline text links */
  --mg-text:    #4d4d57;   /* body copy */
  --mg-font: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}


/* ==========================================================================
   2. BASE — reset + font scope (applies only inside mg- components)
   ========================================================================== */
.mg-expertise, .mg-hero, .mg-featured, .mg-team, .mg-insights, .mg-faq,
.mg-agents, .mg-info, .mg-profile, .mg-fhe, .mg-post {
  font-family: var(--mg-font);
  width: 100%;
}
.mg-expertise *, .mg-hero *, .mg-featured *, .mg-team *, .mg-insights *, .mg-faq *,
.mg-agents *, .mg-info *, .mg-profile *, .mg-fhe *, .mg-post * {
  box-sizing: border-box;
}


/* ==========================================================================
   3. SHARED PATTERNS
   ========================================================================== */

/* Section display headings (Insights / FAQ / Featured / Team / FHE) */
.mg-insights .mg-insights-title,
.mg-faq .mg-faq-title,
.mg-featured .mg-featured-title,
.mg-team .mg-team-title,
.mg-fhe .mg-fhe-title {
  margin: 0;
  color: var(--mg-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-size: clamp(32px, 4.4vw, 48px);
}
.mg-featured .mg-featured-title { margin: 0 0 18px; }
.mg-team .mg-team-title         { margin: 0 0 18px; }
.mg-fhe .mg-fhe-title           { margin: 0 0 24px; }

/* Section intro paragraph (Featured / Team share these) */
.mg-featured .mg-featured-text,
.mg-team .mg-team-text {
  margin: 0;
  color: var(--mg-text);
  font-size: 18px;
  line-height: 1.65;
}
.mg-featured .mg-featured-text a {
  color: var(--mg-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s ease;
}
.mg-featured .mg-featured-text a:hover { color: var(--mg-gold-h); }

/* Shared keyboard focus ring */
.mg-expertise a:focus-visible, .mg-expertise .mg-play:focus-visible,
.mg-hero a:focus-visible, .mg-featured a:focus-visible, .mg-agents a:focus-visible,
.mg-info a:focus-visible, .mg-profile a:focus-visible, .mg-fhe a:focus-visible,
.mg-post a:focus-visible {
  outline: 3px solid var(--mg-gold);
  outline-offset: 3px;
}


/* ==========================================================================
   4. HOMEPAGE — EXPERTISE SECTION  (.mg-expertise)
   ========================================================================== */
.mg-expertise .mg-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: stretch;
}
.mg-expertise .mg-heading {
  margin: 0 0 24px;
  color: var(--mg-heading);
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.mg-expertise .mg-copy p {
  margin: 0 0 20px;
  color: var(--mg-text);
  font-size: 16.5px;
  line-height: 1.7;
}
.mg-expertise .mg-copy p:last-child { margin-bottom: 0; }

.mg-expertise .mg-video {
  position: relative;
  margin-top: 32px;
  border-radius: 10px;
  overflow: hidden;
  background: #d8dde6;
}
.mg-expertise .mg-poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.mg-expertise .mg-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px; height: 84px;
  border: 3px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.mg-expertise .mg-play:hover { background: rgba(0,0,0,0.34); transform: scale(1.06); }
.mg-expertise .mg-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }

.mg-expertise .mg-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mg-expertise .mg-card {
  flex: 1 1 auto;
  background: var(--mg-navy);
  border-radius: 12px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.mg-expertise .mg-card-icon { flex: 0 0 auto; color: var(--mg-gold); display: flex; }
.mg-expertise .mg-card-icon svg { width: 54px; height: 54px; fill: currentColor; }
.mg-expertise .mg-card-title {
  flex: 1 1 auto;
  color: var(--mg-gold);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.18;
}
.mg-expertise .mg-reg { font-size: 0.5em; vertical-align: super; font-weight: 700; }
.mg-expertise .mg-btn {
  flex: 0 0 auto;
  background: var(--mg-gold);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background .2s ease;
}
.mg-expertise .mg-btn:hover { background: var(--mg-gold-h); }

.mg-expertise .mg-social {
  background: var(--mg-navy);
  border-radius: 12px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.mg-expertise .mg-social a { color: #fff; display: flex; transition: transform .2s ease, color .2s ease; }
.mg-expertise .mg-social a:hover { color: var(--mg-gold); transform: translateY(-2px); }
.mg-expertise .mg-social svg { width: 27px; height: 27px; fill: currentColor; }

.mg-expertise .mg-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: nowrap;
}
.mg-expertise .mg-logos img { display: block; width: auto !important; height: auto !important; max-width: 47% !important; max-height: 120px !important; }
.mg-expertise .mg-logos img.mg-logo-c21 { max-width: 38% !important; }

@media (max-width: 900px) {
  .mg-expertise .mg-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .mg-expertise .mg-heading { font-size: 30px; }
  .mg-expertise .mg-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    row-gap: 18px;
    align-items: center;
    padding: 24px;
  }
  .mg-expertise .mg-card-icon { grid-column: 1; grid-row: 1; }
  .mg-expertise .mg-card-icon svg { width: 46px; height: 46px; }
  .mg-expertise .mg-card-title { grid-column: 2; grid-row: 1; font-size: 22px; }
  .mg-expertise .mg-btn { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: 60%; text-align: center; }
  .mg-expertise .mg-social { gap: 24px; padding: 22px; }
}


/* ==========================================================================
   5. HOMEPAGE — HERO TEXT BAND  (.mg-hero)
   Content only. The navy background + gold top border live on the Elementor
   SECTION that wraps this widget (bg #1f2542, top border 5px #f5b81e).
   ========================================================================== */
.mg-hero .mg-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.mg-hero .mg-eyebrow {
  margin: 0 0 22px;
  color: var(--mg-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mg-hero .mg-hero-title {
  margin: 0;
  color: #fff;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-size: clamp(38px, 5.2vw, 62px);
}
.mg-hero .mg-hero-text {
  margin: 0 0 34px;
  color: #fff;
  font-size: 19px;
  line-height: 1.55;
}
.mg-hero .mg-hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.mg-hero .mg-btn {
  background: var(--mg-gold);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s ease;
}
.mg-hero .mg-btn:hover { background: var(--mg-gold-h); }

@media (max-width: 900px) {
  .mg-hero .mg-hero-inner { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 600px) {
  .mg-hero .mg-hero-text { font-size: 17px; }
  .mg-hero .mg-hero-btns { gap: 12px; }
}


/* ==========================================================================
   6. HOMEPAGE — FEATURED / TEAM / INSIGHTS / FAQ HEADINGS
   (display headings + intro paragraphs are in section 3; only extras here)
   ========================================================================== */
@media (max-width: 600px) {
  .mg-featured .mg-featured-text { font-size: 16.5px; }
  .mg-team .mg-team-text { font-size: 16.5px; }
}


/* ==========================================================================
   7. HOMEPAGE — TEAM CARDS  (.mg-agents)
   ========================================================================== */
.mg-agents .mg-agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.mg-agents .mg-agent {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}
.mg-agents .mg-agent-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: #fff;
  display: block;
  transform-origin: center top;
  transition: transform .35s ease;
}
.mg-agents .mg-agent:hover .mg-agent-photo { transform: scale(1.05); }
.mg-agents .mg-agent-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(245, 184, 30, 0.92);
  padding: 11px 12px 13px;
  text-align: center;
  border-radius: 4px;
  transition: background .2s ease;
}
.mg-agents .mg-agent:hover .mg-agent-label { background: var(--mg-gold); }
.mg-agents .mg-agent-name {
  margin: 0;
  color: var(--mg-navy);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
}
.mg-agents .mg-agent-role {
  margin: 3px 0 0;
  color: var(--mg-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.mg-agents .mg-agents-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.mg-agents .mg-agents-cta a {
  background: var(--mg-navy);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 4px;
  transition: opacity .2s ease;
}
.mg-agents .mg-agents-cta a:hover { opacity: .9; }

@media (max-width: 980px) {
  .mg-agents .mg-agents-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .mg-agents .mg-agents-grid { grid-template-columns: 1fr; }
  .mg-agents .mg-agents-cta { justify-content: center; }
}


/* ==========================================================================
   8. INFORMATIONAL PAGE TEMPLATE  (.mg-info)
   Used by all 14 buyer/seller cluster pages. Per-page differences (the <main>
   copy + which nav item has .is-active) live in the markup, not here.
   ========================================================================== */
.mg-info .mg-info-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-areas: "content nav";
  gap: 50px;
  align-items: start;
}
.mg-info .mg-info-main { grid-area: content; min-width: 0; }
.mg-info .mg-info-nav  { grid-area: nav; position: sticky; top: 160px; } /* header height (~128px) + ~32px gap; adjust to your header */

/* Main content */
.mg-info .mg-eyebrow {
  margin: 0 0 14px;
  color: var(--mg-gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mg-info .mg-title {
  margin: 0 0 22px;
  color: var(--mg-heading);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-size: clamp(32px, 4.4vw, 46px);
}
.mg-info .mg-lead {
  margin: 0 0 28px;
  color: var(--mg-heading);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 600;
}
.mg-info .mg-info-main h2 {
  margin: 38px 0 16px;
  color: var(--mg-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-size: clamp(22px, 2.6vw, 28px);
}
.mg-info .mg-info-main p {
  margin: 0 0 18px;
  color: var(--mg-text);
  font-size: 16.5px;
  line-height: 1.75;
}
.mg-info .mg-info-main p strong { color: var(--mg-heading); font-weight: 800; }
.mg-info .mg-info-main p a,
.mg-info .mg-info-main li a {
  color: var(--mg-gold-h);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

/* Challenges list — gold dot markers */
.mg-info .mg-chal { list-style: none; margin: 0 0 18px; padding: 0; }
.mg-info .mg-chal li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--mg-text);
  font-size: 16.5px;
  line-height: 1.6;
}
.mg-info .mg-chal li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mg-gold);
}
.mg-info .mg-chal li strong { color: var(--mg-heading); font-weight: 800; }

/* "How we help" list — gold house icons */
.mg-info .mg-help { list-style: none; margin: 0 0 18px; padding: 0; }
.mg-info .mg-help li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 14px;
  color: var(--mg-text);
  font-size: 16.5px;
  line-height: 1.6;
}
.mg-info .mg-help li svg {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  fill: var(--mg-gold);
  margin-top: 1px;
}

/* Numbered steps timeline (process pages) */
.mg-info .mg-steps { list-style: none; margin: 6px 0 18px; padding: 0; }
.mg-info .mg-steps li {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 26px;
}
.mg-info .mg-steps li:last-child { padding-bottom: 0; }
.mg-info .mg-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 46px;
  bottom: 2px;
  width: 2px;
  background: rgba(245, 184, 30, 0.35);
}
.mg-info .mg-step-num {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--mg-gold);
  color: var(--mg-navy);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.mg-info .mg-step-body { padding-top: 6px; }
.mg-info .mg-step-body h3 {
  margin: 0 0 6px;
  color: var(--mg-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}
.mg-info .mg-step-body p { margin: 0; }

/* Disclaimer / note callout (first-time, mortgages, offers, closing, etc.) */
.mg-info .mg-note {
  margin: 6px 0 18px;
  padding: 14px 18px;
  background: rgba(29, 32, 57, 0.04);
  border-left: 3px solid var(--mg-gold);
  border-radius: 6px;
  color: #5d5d67;
  font-size: 14.5px;
  line-height: 1.6;
}

/* CTA button */
.mg-info .mg-cta {
  display: inline-block;
  margin-top: 14px;
  background: var(--mg-gold);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 4px;
  transition: background .2s ease;
}
.mg-info .mg-cta:hover { background: var(--mg-gold-h); }

/* Section nav card (upper right) */
.mg-info .mg-nav-card {
  background: #f7f8fb;
  border: 1px solid #e8eaf1;
  border-radius: 12px;
  padding: 22px 20px;
}
.mg-info .mg-nav-h {
  margin: 0 0 14px;
  padding: 0 12px;
  color: var(--mg-gold-h);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mg-info .mg-nav-list { list-style: none; margin: 0; padding: 0; }
.mg-info .mg-nav-list li { margin: 0; }
.mg-info .mg-nav-list a {
  display: block;
  padding: 11px 14px;
  border-radius: 7px;
  color: var(--mg-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.mg-info .mg-nav-list a:hover { background: #fff; color: var(--mg-gold-h); }
.mg-info .mg-nav-list a.is-active {
  background: rgba(245, 184, 30, 0.16);
  color: var(--mg-heading);
  font-weight: 800;
  border-left: 3px solid var(--mg-gold);
  padding-left: 11px;
}

@media (max-width: 900px) {
  .mg-info .mg-info-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "nav" "content";
    gap: 30px;
  }
  .mg-info .mg-info-nav { position: static; }
}
@media (max-width: 600px) {
  .mg-info .mg-lead { font-size: 18px; }
  .mg-info .mg-info-main p,
  .mg-info .mg-chal li,
  .mg-info .mg-help li,
  .mg-info .mg-step-body p { font-size: 16px; }
}


/* ==========================================================================
   9. AGENT PROFILE  (.mg-profile)
   Shared by all four agent pages. Photo/name/role/phone/email/bio are markup.
   ========================================================================== */
.mg-profile .mg-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.mg-profile .mg-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  display: block;
  background: #d8dde6;
}
.mg-profile .mg-contact {
  margin-top: 24px;
  background: var(--mg-navy);
  border-radius: 12px;
  padding: 28px 30px;
}
.mg-profile .mg-contact-h {
  margin: 0 0 20px;
  color: var(--mg-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mg-profile .mg-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.mg-profile .mg-contact-row:last-of-type { margin-bottom: 0; }
.mg-profile .mg-contact-ico {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(245, 184, 30, 0.14);
  color: var(--mg-gold);
  display: flex; align-items: center; justify-content: center;
}
.mg-profile .mg-contact-ico svg { width: 19px; height: 19px; fill: currentColor; }
.mg-profile .mg-contact-text { display: flex; flex-direction: column; min-width: 0; }
.mg-profile .mg-contact-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  margin-bottom: 2px;
}
.mg-profile .mg-contact-text a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  word-break: break-word;
  transition: color .2s ease;
}
.mg-profile .mg-contact-text a:hover { color: var(--mg-gold); }
.mg-profile .mg-cta {
  display: block;
  text-align: center;
  margin-top: 24px;
  background: var(--mg-gold);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 24px;
  border-radius: 4px;
  transition: background .2s ease;
}
.mg-profile .mg-cta:hover { background: var(--mg-gold-h); }
.mg-profile .mg-eyebrow {
  margin: 0 0 14px;
  color: var(--mg-gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mg-profile .mg-name {
  margin: 0 0 26px;
  color: var(--mg-heading);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-size: clamp(34px, 4.6vw, 52px);
}
.mg-profile .mg-bio p {
  margin: 0 0 20px;
  color: var(--mg-text);
  font-size: 17px;
  line-height: 1.75;
}
.mg-profile .mg-bio p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .mg-profile .mg-inner { grid-template-columns: 1fr; gap: 34px; }
  .mg-profile .mg-photo { max-width: 440px; }
}
@media (max-width: 600px) {
  .mg-profile .mg-name { font-size: 32px; }
  .mg-profile .mg-bio p { font-size: 16px; }
  .mg-profile .mg-contact { padding: 24px; }
}


/* ==========================================================================
   10. FREE HOME EVALUATION — INTRO  (.mg-fhe)
   Sits above the Elementor Forms widget.
   ========================================================================== */
.mg-fhe .mg-fhe-lead {
  margin: 0 0 22px;
  color: var(--mg-heading);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 600;
}
.mg-fhe .mg-fhe-text {
  margin: 0 0 22px;
  color: var(--mg-text);
  font-size: 17px;
  line-height: 1.75;
}
.mg-fhe .mg-fhe-text strong { color: var(--mg-heading); font-weight: 800; }
.mg-fhe .mg-fhe-sub {
  margin: 34px 0 0;
  color: var(--mg-heading);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.mg-fhe .mg-fhe-sub::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 16px;
  background: var(--mg-gold);
  border-radius: 2px;
}
.mg-fhe .mg-fhe-privacy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  background: rgba(29, 32, 57, 0.04);
  border-left: 3px solid var(--mg-gold);
  border-radius: 6px;
}
.mg-fhe .mg-fhe-privacy svg {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  fill: var(--mg-gold);
  margin-top: 1px;
}
.mg-fhe .mg-fhe-privacy p {
  margin: 0;
  color: #5d5d67;
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .mg-fhe .mg-fhe-lead { font-size: 18px; }
  .mg-fhe .mg-fhe-text { font-size: 16px; }
}


/* ==========================================================================
   11. BLOG POST  (.mg-post) + RELATED POSTS  (.mg-related)
   ========================================================================== */
.mg-post {
  /* darker link gold for readable inline links on white; scoped to posts */
  --mg-gold-h: #b07f08;
  --mg-text:   #43434d;
}
.mg-post .mg-post-inner { max-width: 760px; margin: 0 auto; }
.mg-post .mg-eyebrow {
  margin: 0 0 12px;
  color: var(--mg-gold-h);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mg-post .mg-title {
  margin: 0 0 8px;
  color: var(--mg-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-size: clamp(30px, 5vw, 44px);
}
.mg-post .mg-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  margin: 22px 0 30px;
}
.mg-post .mg-lead {
  margin: 0 0 26px;
  color: var(--mg-heading);
  font-size: 19.5px;
  line-height: 1.6;
  font-weight: 600;
}
.mg-post h2 {
  margin: 40px 0 14px;
  color: var(--mg-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-size: clamp(23px, 3vw, 30px);
}
.mg-post p {
  margin: 0 0 18px;
  color: var(--mg-text);
  font-size: 17px;
  line-height: 1.8;
}
.mg-post a {
  color: var(--mg-gold-h);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.mg-post .mg-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 6px 0 24px;
}
.mg-post .mg-solution {
  margin: 22px 0 26px;
  padding: 20px 24px;
  background: rgba(245, 184, 30, 0.08);
  border-left: 4px solid var(--mg-gold);
  border-radius: 8px;
}
.mg-post .mg-sol-label {
  margin: 0 0 12px;
  color: var(--mg-gold-h);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mg-post .mg-solution ul { list-style: none; margin: 0; padding: 0; }
.mg-post .mg-solution li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--mg-text);
  font-size: 16.5px;
  line-height: 1.6;
}
.mg-post .mg-solution li:last-child { margin-bottom: 0; }
.mg-post .mg-solution li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mg-gold);
}
.mg-post .mg-cta-box {
  margin: 38px 0 10px;
  padding: 30px 32px;
  background: var(--mg-navy);
  border-radius: 14px;
  text-align: center;
}
.mg-post .mg-cta-box h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  line-height: 1.25;
}
.mg-post .mg-cta-box p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16.5px;
}
.mg-post .mg-cta-btn {
  display: inline-block;
  background: var(--mg-gold);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 4px;
  transition: background .2s ease;
}
.mg-post .mg-cta-btn:hover { background: var(--mg-gold-h); }

@media (max-width: 600px) {
  .mg-post .mg-lead { font-size: 18px; }
  .mg-post p { font-size: 16.5px; }
  .mg-post .mg-cta-box { padding: 26px 22px; }
}

/* Related posts — add class "mg-related" to the Elementor Posts/Related widget.
   Targets the standard Elementor "Posts" widget markup. If you use a Loop Grid,
   the inner class names differ and these selectors need adjusting. */
.mg-related { font-family: var(--mg-font); }
.mg-related .elementor-post {
  background: #fff;
  border: 1px solid #e8eaf1;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mg-related .elementor-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(29, 32, 57, 0.10);
}
.mg-related .elementor-post__thumbnail { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0; }
.mg-related .elementor-post__thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.mg-related .elementor-post__text { padding: 16px 18px 18px; }
.mg-related .elementor-post__title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.mg-related .elementor-post__title a { color: var(--mg-heading); text-decoration: none; font-weight: 800; }
.mg-related .elementor-post__title a:hover { color: #b07f08; }
.mg-related .elementor-post__meta-data { color: #8a8a93; font-size: 12.5px; margin-bottom: 8px; }
.mg-related .elementor-post__excerpt p { color: #4d4d57; font-size: 14.5px; line-height: 1.6; }
.mg-related .elementor-post__read-more {
  color: #b07f08; font-weight: 700; text-decoration: none;
  letter-spacing: 0.04em; font-size: 14px;
}
.mg-related .elementor-post__read-more:hover { text-decoration: underline; }


/* ==========================================================================
   12. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .mg-expertise *, .mg-hero *, .mg-agents *,
  .mg-info *, .mg-profile *, .mg-post * { transition: none !important; }
}
