/* ============================================================
   searchocalahomes.com: editorial layer (Oct 2026)
   Loaded LAST on every non-blog page. Same family as gonzalez.realtor:
   light paper pages, ruled sections, big Playfair headlines, numbered
   rows, square-cornered buttons. Forest/gold brand colors unchanged.
   The blog does not load this file (its look comes from main.css).
   ============================================================ */

:root{
  --ed-ink:#1A211C;
  --ed-soft:#3A433C;          /* secondary text, darker than --muted for readability */
  --ed-rule:#D6CFBE;
  --ed-paper:#F8F5EE;
  --ed-paper-2:#F1ECE1;
  --ed-gold-text:#7D611B;
  --ed-radius:4px;
  --radius:4px; --radius-sm:4px; --radius-lg:4px; --radius-xl:4px;
  --muted:#3A433C; --text-muted:#3A433C;
  --shadow-sm:none; --shadow-md:none; --shadow-lg:none; --shadow-xl:none;
}
html{font-size:106.25%;}   /* 17px base */
body{background:var(--ed-paper);color:var(--ed-ink);line-height:1.65;}
p,li{color:inherit;}

/* ---------- Type ---------- */
h1,h2,h3{font-family:var(--font-display,'Playfair Display',Georgia,serif);color:var(--forest,#1B3A2D);}
h2{letter-spacing:-.02em;}
.section-label,.sh__pill,.pill,.pill--orange,.pill--blue,.sh__pill--orange,.sh__pill--blue,.ap-category-badge,.hp-hero__eyebrow,.hero__eyebrow,.eyebrow{
  background:none!important;border:none!important;border-radius:0!important;padding:0!important;
  color:var(--ed-gold-text)!important;font-family:var(--font,'Barlow',sans-serif);font-weight:700;font-size:.78rem!important;letter-spacing:.16em;text-transform:uppercase;box-shadow:none!important;}

/* ---------- Buttons: square corners, one system ---------- */
.btn,[class^="btn--"]:not(.btn),.btn--full,.nav__cta,.site-nav__phone,.mobile-cta-bar__btn,.lf-btn,.btn-submit,.ap-form__submit,.ap-sidebar__cta,.dl-btn,.float-call{border-radius:var(--ed-radius)!important;}
.btn{box-shadow:none!important;transform:none!important;letter-spacing:0;}
.btn:hover{transform:none!important;}
.btn--primary,.btn--gold{background:var(--forest,#1B3A2D);border-color:var(--forest,#1B3A2D);color:#fff;}
.btn--primary:hover,.btn--gold:hover{background:var(--forest-deep,#12271E);border-color:var(--forest-deep,#12271E);color:#fff;}
.btn--outline{background:transparent;color:var(--forest,#1B3A2D);border-color:var(--forest,#1B3A2D);}
.btn--outline:hover{background:var(--forest,#1B3A2D);color:#fff;border-color:var(--forest,#1B3A2D);}

/* ---------- Nav: paper bar, monogram feel, quiet phone link ---------- */
.site-nav{background:rgba(248,245,238,.96)!important;border-bottom:1px solid var(--ed-rule)!important;backdrop-filter:blur(8px);}
.site-nav__avatar{border-radius:0!important;border:1px solid var(--gold,#C9A84C)!important;padding:2px;background:#fff;}
.site-nav__brand{font-family:var(--font-display,'Playfair Display',serif);font-weight:700;color:var(--forest,#1B3A2D);}
.site-nav__brand span{font-family:var(--font,'Barlow',sans-serif);font-weight:500;color:var(--ed-soft);letter-spacing:.02em;}
.site-nav__links a,.site-nav__more summary{color:var(--ed-ink)!important;font-weight:600;}
.site-nav__links a:hover{color:var(--forest,#1B3A2D)!important;box-shadow:inset 0 -2px 0 var(--gold,#C9A84C);}
.site-nav__phone{background:var(--forest,#1B3A2D)!important;color:#fff!important;}
.site-nav__more-panel{border-radius:var(--ed-radius)!important;box-shadow:0 12px 30px rgba(18,39,30,.12)!important;border:1px solid var(--ed-rule)!important;}
.breadcrumbs{background:var(--ed-paper)!important;border-bottom:none!important;}
.breadcrumbs,.breadcrumbs a{font-size:.82rem;color:var(--ed-soft)!important;}

/* ---------- Heroes: light cover, ruled, left aligned ---------- */
.hp-hero,.hero,.hero--authority,.ap-hero,.page-hero,.g-hero{
  background:var(--ed-paper)!important;color:var(--ed-ink)!important;text-align:left;}
.hp-hero::before,.hp-hero::after,.hero::before,.hero::after,.ap-hero::before,.ap-hero::after{display:none!important;}
.hp-hero__inner,.hero__inner,.ap-hero__inner{border-top:1px solid var(--ed-ink);padding-top:2rem!important;max-width:var(--max-w,1200px);}
.hp-hero{padding-top:3rem!important;}
.hero{padding-top:2.5rem!important;}
.hp-hero__h1,.hero__headline,.ap-hero__h1,.hero h1,.ap-hero h1{
  color:var(--forest,#1B3A2D)!important;font-size:clamp(2.4rem,6vw,5rem)!important;line-height:1.02!important;letter-spacing:-.03em!important;font-weight:700!important;max-width:18ch;}
.hp-hero__h1 .gradient-text,.hero .gradient-text,.gradient-text{background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--ed-gold-text)!important;font-style:italic;font-weight:600;}
.hp-hero__sub,.hero__subheadline,.hero__intro,.hero p,.ap-hero p,.ap-hero__meta{color:var(--ed-soft)!important;opacity:1!important;}
.hp-hero__sub,.hero__subheadline{font-size:1.18rem!important;max-width:56ch;}
.hero__intro{font-size:1rem!important;max-width:70ch;}
.hero .btn--outline-light,.hp-hero .btn--outline-light,.hero .btn--outline,.hp-hero .btn--outline{color:var(--forest,#1B3A2D)!important;border-color:var(--forest,#1B3A2D)!important;background:transparent!important;}
.hero .btn--outline-light:hover,.hp-hero .btn--outline:hover,.hero .btn--outline:hover{background:var(--forest,#1B3A2D)!important;color:#fff!important;}
.hero a:not(.btn),.hp-hero a:not(.btn){color:var(--forest,#1B3A2D);}

/* Hero stats / stat bars: big ruled numerals on paper */
.hp-hero__stats,.stat-bar__list{gap:0!important;border-top:1px solid var(--ed-ink);}
.hp-stat,.stat-bar__item{background:transparent!important;border:none!important;border-right:1px solid var(--ed-rule)!important;border-radius:0!important;backdrop-filter:none!important;text-align:left!important;padding:1.1rem 1.25rem 1.25rem!important;}
.hp-stat:last-child,.stat-bar__item:last-child{border-right:none!important;}
.hp-stat__val,.stat-bar__value{color:var(--forest,#1B3A2D)!important;font-family:var(--font-display,'Playfair Display',serif)!important;font-size:clamp(2rem,4vw,3rem)!important;font-weight:700!important;letter-spacing:-.03em!important;}
.hp-stat__label,.stat-bar__label,.stat-bar__source{color:var(--ed-soft)!important;opacity:1!important;letter-spacing:.06em;}
.stat-bar{background:var(--ed-paper)!important;border-top:none!important;color:var(--ed-ink)!important;}
.stat-bar__inner,.stat-bar > div{max-width:var(--max-w,1200px);}

/* ---------- Sections & section headings ---------- */
.section--alt,.section--warm,.g-section--alt,.lf-section{background:var(--ed-paper-2)!important;}
.section-heading,.sh,.section__header,.g-title,.section h2:first-child{position:relative;}
.sh,.section-header,.section__head,.g-head{border-top:1px solid var(--ed-ink);padding-top:1.4rem;text-align:left!important;}
.sh h2,.section-header h2,.section__title,.g-title{font-size:clamp(1.9rem,4vw,3rem)!important;letter-spacing:-.02em;line-height:1.06;}

/* ---------- Cards: flat, ruled, square ---------- */
.community-card,.c-card,.cc-card,.need-card,.form-box,.related-link,.testi-card,.ap-sidebar__card,.dl-card,.tool-card,.guide-card,.card{
  border-radius:var(--ed-radius)!important;box-shadow:none!important;transform:none!important;}
.community-card:hover,.c-card:hover,.need-card:hover,.related-link:hover,.guide-card:hover,.card:hover{transform:none!important;box-shadow:none!important;border-color:var(--gold,#C9A84C)!important;}
.c-card__top,.c-card__header,.community-card__accent{border-radius:0!important;}
.community-card__accent{height:3px!important;background:var(--forest,#1B3A2D)!important;}
.community-card__name,.c-card__name,.c-card h3,.need-card h3{font-family:var(--font-display,'Playfair Display',serif);color:var(--forest,#1B3A2D);}
.c-card__tags span,.c-card__tag,.tag,.badge{border-radius:2px!important;}
.related-link{background:transparent!important;border:none!important;border-top:1px solid var(--ed-rule)!important;padding:1rem 0!important;font-weight:600;}
.related-link:hover{border-top-color:var(--gold,#C9A84C)!important;}

/* ---------- Tables ---------- */
.comparison-table,.b-table,table{border-radius:0!important;box-shadow:none!important;}
.comparison-table thead{background:transparent!important;border-bottom:2px solid var(--ed-ink);}
.comparison-table thead th{color:var(--ed-ink)!important;font-size:.75rem;letter-spacing:.12em;}
.comparison-table td,.comparison-table th{border-color:var(--ed-rule)!important;}

/* ---------- Callouts ---------- */
.callout,.callout--tip,.agent-tip,.tip{background:transparent!important;border:none!important;border-top:1px solid var(--gold,#C9A84C)!important;border-bottom:1px solid var(--ed-rule)!important;border-radius:0!important;padding:1.2rem 0!important;}

/* ---------- FAQ: serif questions, hairlines ---------- */
.faq-item{border:none!important;border-bottom:1px solid var(--ed-rule)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;}
.faq-list{border-top:1px solid var(--ed-rule);}
.faq-question{font-family:var(--font-display,'Playfair Display',serif)!important;font-size:1.25rem!important;font-weight:600!important;color:var(--forest,#1B3A2D)!important;padding:1.3rem 0!important;background:transparent!important;}
.faq-icon{background:transparent!important;color:var(--ed-gold-text)!important;}
.faq-question[aria-expanded="true"] .faq-icon{background:transparent!important;color:var(--ed-gold-text)!important;}
.faq-answer{color:var(--ed-soft);}

/* ---------- Forms ---------- */
.form-control,.lf-input,.ap-form input,.ap-form select,.ap-form textarea,input[type="text"],input[type="email"],input[type="tel"],select,textarea{border-radius:var(--ed-radius)!important;}
.lead-form-section,.lf-wrap,.form-box,.ap-form-section{border-top:3px solid var(--forest,#1B3A2D)!important;box-shadow:none!important;}

/* ---------- Dark accent bands stay dark, but flatter ---------- */
.cta-band,.g-cta,.about-strip,.section--blue,.cta-main{border-radius:0!important;}

/* ---------- Trust bar ---------- */
.trust-bar{background:var(--ed-paper)!important;border-top:1px solid var(--ed-ink)!important;border-bottom:1px solid var(--ed-rule)!important;}
.trust-bar__photo{border-radius:0!important;}

/* ---------- Footer ---------- */
.site-footer,footer.site-footer{background:var(--forest-deep,#12271E)!important;}

/* ---------- Mobile ---------- */
@media (max-width:640px){
  .hp-hero__h1,.hero__headline,.ap-hero__h1,.hero h1,.ap-hero h1{font-size:clamp(2.1rem,9vw,2.8rem)!important;}
  .hp-stat,.stat-bar__item{border-right:none!important;border-bottom:1px solid var(--ed-rule)!important;}
}

/* ============================================================
   All hero variants (one rule set for ~20 page-specific heroes)
   ============================================================ */
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero){
  background:var(--ed-paper)!important;background-image:none!important;color:var(--ed-ink)!important;text-align:left!important;box-shadow:none!important;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero)::before,
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero)::after{display:none!important;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero) :is(h1,h1 *){
  color:var(--forest,#1B3A2D)!important;-webkit-text-fill-color:currentColor!important;background:none!important;text-shadow:none!important;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero) h1{
  font-size:clamp(2.4rem,6vw,5rem)!important;line-height:1.02!important;letter-spacing:-.03em!important;font-weight:700!important;max-width:18ch;margin-left:0!important;text-align:left!important;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero) :is(h1 em,h1 span,h1 .gold,h1 .accent){color:var(--ed-gold-text)!important;font-style:italic;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero) :is(p,li,small,span:not([class*="btn"]),div){color:var(--ed-soft);opacity:1!important;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero) :is(p,h2){margin-left:0!important;text-align:left!important;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero) :is([class*="eyebrow"],[class*="badge"],[class*="kicker"],[class*="label"]):not([class*="btn"]){
  background:none!important;border:none!important;padding:0!important;border-radius:0!important;color:var(--ed-gold-text)!important;font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:.78rem!important;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero) :is([class*="ctas"],[class*="cta-row"],[class*="actions"],[class*="buttons"]){justify-content:flex-start!important;}
/* Buttons inside heroes: primary = forest fill, everything else = forest outline */
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero) :is(a,button)[class*="btn"]{
  background:transparent!important;color:var(--forest,#1B3A2D)!important;border:1.5px solid var(--forest,#1B3A2D)!important;box-shadow:none!important;opacity:1!important;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero) :is(a,button):is(.btn--primary,.btn--gold,[class*="primary"]){
  background:var(--forest,#1B3A2D)!important;color:#fff!important;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero) :is(a,button)[class*="btn"]:hover{background:var(--forest-deep,#12271E)!important;color:#fff!important;border-color:var(--forest-deep,#12271E)!important;}
/* Stat boxes inside heroes */
:is(.hero-stat,.gp-hero-stat,.z-stat,.hp-stat,[class*="hero__stat"]){background:transparent!important;border:none!important;border-top:1px solid var(--ed-ink)!important;border-radius:0!important;backdrop-filter:none!important;box-shadow:none!important;text-align:left!important;}
:is(.hero-stat,.gp-hero-stat,.z-stat,[class*="hero__stat"]) :is(strong,b,[class*="num"],[class*="val"]){color:var(--forest,#1B3A2D)!important;font-family:var(--font-display,'Playfair Display',serif);}
/* Forms that sit inside a hero (first-time buyers etc.) keep a white card */
:is(.hero,.page-hero,.g-hero) :is(form,[class*="form-col"],[class*="form-card"]){background:#fff!important;border:1px solid var(--ed-rule)!important;border-top:3px solid var(--forest,#1B3A2D)!important;border-radius:var(--ed-radius)!important;box-shadow:none!important;}
:is(.hero,.page-hero,.g-hero) :is(form,[class*="form-col"],[class*="form-card"]) :is(label,p,span,div,h2,h3){color:var(--ed-ink);}

/* Category badge above authority heroes */
.ap-category-badge{display:block!important;max-width:var(--max-w,1200px);margin:2rem auto 0!important;padding:0 1rem!important;}

/* Secondary dark nav strip (sell, guides) */
.gnav{background:var(--ed-paper-2)!important;border-top:1px solid var(--ed-rule)!important;border-bottom:1px solid var(--ed-rule)!important;}
.gnav a,.gnav__list a{color:var(--ed-ink)!important;}
.gnav a:hover,.gnav__list a:hover{color:var(--forest,#1B3A2D)!important;box-shadow:inset 0 -2px 0 var(--gold,#C9A84C);}
.gnav li,.gnav__list li{border-color:var(--ed-rule)!important;}

/* Homepage community cards: no gradient banners; price as an italic line */
.cc-card{border:1px solid var(--ed-rule)!important;border-top:2px solid var(--forest,#1B3A2D)!important;border-radius:var(--ed-radius)!important;box-shadow:none!important;background:#fff!important;}
.cc-card__header{background:transparent!important;height:auto!important;min-height:0!important;padding:1.1rem 1.25rem 0!important;}
.cc-card__price-badge{position:static!important;background:none!important;border:none!important;box-shadow:none!important;padding:0!important;
  font-family:var(--font-display,'Playfair Display',serif);font-style:italic;font-weight:600;font-size:1rem!important;color:var(--ed-gold-text)!important;}
.cc-card__name{font-family:var(--font-display,'Playfair Display',serif)!important;font-size:1.45rem!important;color:var(--forest,#1B3A2D)!important;}
.cc-card__chips span,.cc-card__chip{border-radius:2px!important;background:var(--ed-paper)!important;border-color:var(--ed-rule)!important;}
.cc-card__footer{border-top:1px solid var(--ed-rule)!important;}
.cc-card__footer .btn,.cc-card__footer a{border-radius:var(--ed-radius)!important;}

/* Generic rounded cards on page-specific layouts (sell, guides) */
:is(.sell-card,.situation-card,.g-card,.hub-card,.z-card,.gp-card,.ds-card,.guide-card,.tool-card,.ty-card,.feature-card,.info-card,.step-card,.price-card,.stat-card,.compare-card){
  border-radius:var(--ed-radius)!important;box-shadow:none!important;transform:none!important;}
:is(.sell-card,.situation-card,.g-card,.hub-card,.z-card,.gp-card,.ds-card,.guide-card,.tool-card,.ty-card,.feature-card,.info-card,.step-card,.price-card,.stat-card,.compare-card):hover{transform:none!important;box-shadow:none!important;}
.sell-hero{padding-top:3rem!important;padding-bottom:3rem!important;}
.sell-hero > *{max-width:var(--max-w,1200px);margin-left:auto!important;margin-right:auto!important;}

/* Page-specific layouts: square corners and flat cards inside the main content
   (images, SVG icons and the chat widget keep their own shapes) */
main :is(div,section,article,aside,a[class],button,span,details,summary,form,input,select,textarea,table,figure,li,label):not(.site-nav__avatar){border-radius:var(--ed-radius)!important;}
main :is(div,section,article,aside,a,li,figure,details):not(:focus-visible){box-shadow:none!important;}
main img{border-radius:0!important;}

/* Sell hero: line content up with the page column */
.sell-hero{padding-left:max(1.25rem,calc((100% - var(--max-w,1200px))/2))!important;padding-right:max(1.25rem,calc((100% - var(--max-w,1200px))/2))!important;}
.sell-hero > *{margin-left:0!important;margin-right:0!important;}

/* Heroes built with inline styles (testimonials, calculator, neighborhoods, etc.) */
main > section:has(h1)[style*="background"]{background:var(--ed-paper)!important;color:var(--ed-ink)!important;text-align:left!important;
  padding-left:max(1.25rem,calc((100% - var(--max-w,1200px))/2))!important;padding-right:max(1.25rem,calc((100% - var(--max-w,1200px))/2))!important;}
main > section:has(h1)[style*="background"] > div{max-width:none!important;margin:0!important;border-top:1px solid var(--ed-ink);padding-top:2rem;}
main > section:has(h1)[style*="background"] h1{color:var(--forest,#1B3A2D)!important;font-family:var(--font-display,'Playfair Display',serif);font-size:clamp(2.4rem,6vw,5rem)!important;line-height:1.02!important;letter-spacing:-.03em;font-weight:700!important;max-width:18ch;}
main > section:has(h1)[style*="background"] :is(p,div,span){color:var(--ed-soft)!important;opacity:1!important;margin-left:0!important;}
main > section:has(h1)[style*="background"] :is([style*="justify-content:center"],[style*="justify-content: center"]){justify-content:flex-start!important;}
/* Ghost buttons written as inline white-on-dark styles */
:is(.hero,.page-hero,.g-hero,.z-hero,.hub-hero,.gp-hero,.stats-hero,.sell-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,main > section:has(h1)) a[style*="rgba(255,255,255"]{
  background:transparent!important;color:var(--forest,#1B3A2D)!important;border:1.5px solid var(--forest,#1B3A2D)!important;}
:is(.hero,.page-hero,.g-hero,.z-hero,.hub-hero,.gp-hero,.stats-hero,.sell-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,main > section:has(h1)) a[style*="background:#"]:not([style*="rgba"]){
  background:var(--forest,#1B3A2D)!important;color:#fff!important;border-radius:var(--ed-radius)!important;}
/* Heroes without an inner column wrapper */
.stats-hero,.z-hero,.ty-hero,.err-hero{padding-left:max(1.25rem,calc((100% - var(--max-w,1200px))/2))!important;padding-right:max(1.25rem,calc((100% - var(--max-w,1200px))/2))!important;}
.stats-hero > *,.stats-hero p{margin-left:0!important;}
:is(.hero,.page-hero,.g-hero,.z-hero,.hub-hero,.gp-hero,.stats-hero,.sell-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.ty-hero,.err-hero) :is([class*="links"],[class*="ctas"],[class*="actions"]) > a{
  background:transparent!important;color:var(--forest,#1B3A2D)!important;border:1.5px solid var(--forest,#1B3A2D)!important;border-radius:var(--ed-radius)!important;}
:is(.hero,.page-hero,.g-hero,.z-hero,.hub-hero,.gp-hero,.stats-hero,.sell-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.ty-hero,.err-hero) :is([class*="links"],[class*="ctas"],[class*="actions"]) > a:is(.primary,[class*="primary"],:first-child){
  background:var(--forest,#1B3A2D)!important;color:#fff!important;}
/* Inline white text inside heroes (checklists, captions) becomes readable dark text */
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero,main > section:has(h1)) :is(p,li){color:var(--ed-soft)!important;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero,main > section:has(h1)) :is([style*="color:#fff"],[style*="color: #fff"],[style*="color:rgba(255,255,255"],[style*="color: rgba(255,255,255"],[style*="color:white"]){color:var(--ed-soft)!important;}
:is(.hero,.hp-hero,.ap-hero,.z-hero,.page-hero,.pagehero,.g-hero,.ap-cat-index-hero,.hub-hero,.ty-hero,.err-hero,.about-hero,.ds-hero,.guide-hero,.finder-hero,.gp-hero,.stats-hero,.sell-hero) [style*="color:#C9A84C"]{color:var(--ed-gold-text)!important;}
:is(.g-agent-name,.g-stat .num){color:var(--forest,#1B3A2D)!important;}
:is(.g-agent-cred,.g-stat .lbl){color:var(--ed-soft)!important;}
.g-stat{background:transparent!important;border:none!important;border-top:1px solid var(--ed-ink)!important;}
/* Listing pages keep their photo hero with white type */
.lp-hero :is(h1,h2,h3){color:#fff!important;}

/* Homepage quick MLS search (replaces the embedded search box) */
.mls-quick{display:flex;flex-direction:column;align-items:center;gap:1.1rem;padding:1.75rem 0 .5rem;border-top:1px solid var(--ed-ink);}
.mls-quick__ranges{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;}
.mls-quick__link{padding:.6rem 1.1rem;border:1px solid var(--ed-rule);border-radius:var(--ed-radius);background:#fff;color:var(--forest,#1B3A2D);font-weight:600;text-decoration:none;}
.mls-quick__link:hover{border-color:var(--forest,#1B3A2D);}
.mls-quick__note{font-size:.85rem;color:var(--ed-soft);margin:0;}
