/* Chopper Russo Team — site-wide style layer (v2 "community" refresh)
   Palette: ink #0e1b2e · RE/MAX red #d7262e · RE/MAX blue #0b3d91 · warm tan #f5f1eb
   Type: Archivo (display) + Inter (body). Loaded via GTM tag "CRT Site Style Layer". */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap");
@import url("crt-pages.css");  /* page-level styles: town labels, listing, area, commercial pages */

:root{
  --crt-ink:#0e1b2e;--crt-blue:#0b3d91;--crt-red:#d7262e;--crt-red-dk:#b31d24;--crt-tan:#f5f1eb;--crt-gray:#f2f4f7;
  --crt-soft:#4a5568;--crt-line:#e6e9ef;
  --crt-display:"Archivo","Helvetica Neue",Arial,sans-serif;
  --crt-sans:"Inter",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  /* legacy aliases */
  --crt-navy:var(--crt-ink);--crt-serif:var(--crt-display)}

/* ---------- Type: one system everywhere ---------- */
body.site,.font-normal,.font-medium,.font-bold,.font-light{font-family:var(--crt-sans)!important}
.font-title{font-family:var(--crt-display)!important;font-weight:800!important;letter-spacing:-.015em}
.page-content h1,.page-content h2{font-family:var(--crt-display)!important;font-weight:800!important;letter-spacing:-.015em!important}
.page-content h3{font-family:var(--crt-display)!important;font-weight:700!important;letter-spacing:-.005em}

/* ---------- Custom HTML blocks: retheme through their shared tokens ---------- */
.md-custom-code [class*="crt-"],.md-custom-code [class*="bergen-"]{
  --navy:#0e1b2e;--red:#d7262e;--ink:#0e1b2e;--muted:#4a5568;--line:#e6e9ef;--border:#e6e9ef}
.md-custom-code,.md-custom-code *:not(i):not(svg):not(path):not([class*="icon"]):not(h1):not(h2):not(h3):not(h4):not(.n):not([class*="__num"]):not([class*="-num"]):not([class*="stat-n"]):not([class*="__value"]):not([style*="Archivo"]){font-family:var(--crt-sans)!important}
.md-custom-code [style*="Archivo"]{font-family:var(--crt-display)!important}
.md-custom-code :is(h1,h2){font-family:var(--crt-display)!important;font-weight:800!important;letter-spacing:-.02em!important;line-height:1.08!important}
.md-custom-code h3,.md-custom-code h4{font-family:var(--crt-display)!important;font-weight:700!important;letter-spacing:-.01em!important}
/* big stat numbers */
.md-custom-code :is(.n,[class*="__num"],[class*="-num"],[class*="stat-n"],[class*="__value"]){font-family:var(--crt-display)!important;font-weight:900!important;letter-spacing:-.02em!important}
/* eyebrow labels */
.md-custom-code [class*="eyebrow"]{font-family:var(--crt-sans)!important;font-weight:700!important;letter-spacing:.16em!important}

/* Blog articles */
.md-blog-article :is(h1,h2,h3){font-family:var(--crt-display)!important;letter-spacing:-.01em}
.md-blog-article :is(h1,h2){font-weight:800!important}

/* ---------- Header: white, dark menu (mockup) ---------- */
.md-header .header-container,.md-header .header-content,.md-header>div:first-child{background-color:#fff!important;background-image:none!important}
.md-header .header-container{border-bottom:1px solid var(--crt-line);box-shadow:0 2px 12px rgba(14,27,46,.05)}
.md-header .header-bg{display:none!important}
.md-header .logo{height:auto!important}
.md-header .logo img{height:56px!important;max-height:none!important;width:auto!important;max-width:none!important}
.md-header .menu-label,.md-header .menu-item>a{font-family:var(--crt-sans)!important;font-weight:600!important;letter-spacing:.06em!important}
.md-header .head-menu>li>a,.md-header .head-menu>li>a *,.md-header .head-menu>li>span,.md-header .head-account,.md-header .head-account *:not(img),.md-header .head-menu>li.more *{color:var(--crt-ink)!important;--origin-menu-color:#0e1b2e!important;--hover-menu-color:#d7262e!important}
.md-header .head-menu>li>a:hover,.md-header .head-menu>li>a:hover *,.md-header .head-menu>li.active>a .menu-label{color:var(--crt-red)!important}

/* ---------- Buttons ---------- */
.site-button.normal,.view-more-btn,.button-more,.md-evaluation-banner .submit-btn{
  background:var(--crt-red)!important;border-color:var(--crt-red)!important;color:#fff!important;
  border-radius:6px!important;font-family:var(--crt-sans)!important;font-weight:700!important;letter-spacing:.01em;text-transform:none!important;
  transition:background .2s,transform .2s}
.site-button.normal,.view-more-btn,.button-more{padding:13px 28px!important}
.md-evaluation-banner .submit-btn{line-height:normal!important;display:inline-flex!important;align-items:center;justify-content:center;font-size:16px!important}
.site-button.normal:hover,.view-more-btn:hover,.button-more:hover,.md-evaluation-banner .submit-btn:hover{background:var(--crt-red-dk)!important;transform:translateY(-1px)}
.site-button.plain{background:transparent!important;border:2px solid var(--crt-ink)!important;color:var(--crt-ink)!important;border-radius:6px!important;font-weight:700!important;text-transform:none!important}
.site-button.plain:hover{background:var(--crt-ink)!important;color:#fff!important}
.swiper-button{background:var(--crt-ink)!important;border-radius:50%!important}

/* ---------- Hero ---------- */
.md-hero .title-text h1,.md-hero .title-text h2,.md-hero .title-text h3{color:#fff!important}
.md-hero .title-text h1{
  font-family:var(--crt-display)!important;font-weight:900!important;font-size:clamp(36px,4.8vw,64px)!important;line-height:1!important;letter-spacing:-.025em!important;
  max-width:920px;margin:0 auto!important;text-wrap:balance;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.md-hero .title-text h2{
  font-family:var(--crt-sans)!important;font-weight:700!important;font-size:clamp(12px,1.1vw,14px)!important;line-height:1.4!important;
  letter-spacing:.2em!important;text-transform:uppercase!important;margin:18px auto 0!important;opacity:.95}
.md-hero .title-text h3{font-family:var(--crt-sans)!important;font-weight:400!important;font-size:clamp(15px,1.3vw,18px)!important;letter-spacing:0!important;text-transform:none!important;margin-top:6px!important;opacity:.92}
.md-hero .tab-header-ul li.active,.md-hero .tab-header-ul .active,.md-hero .icon-submit-btn,.md-hero [class*=search-btn]{background:var(--crt-red)!important}

/* ---------- Section titles on native modules ---------- */
.md-evaluation-banner .site-title,.md-team .site-title{font-family:var(--crt-display)!important;font-weight:800!important;letter-spacing:-.015em}
.md-team>*>.site-title,.md-team .team-title,.md-team>div>div>.site-title:first-child{display:none!important}
.md-testimonial .review-title{display:none!important}

/* ---------- Featured areas: street-sign town labels ---------- */
.md-featured-area .featured-area-item{filter:none!important;overflow:hidden;border-radius:8px}
.md-featured-area .featured-area-item img,.md-featured-area .featured-area-item [class*=img],.md-featured-area .featured-area-item [class*=bg]{transition:transform .6s ease}
.md-featured-area .featured-area-item:hover img,.md-featured-area .featured-area-item:hover [class*=img],.md-featured-area .featured-area-item:hover [class*=bg]{transform:scale(1.04)}
.md-featured-area .featured-area-item-sub-title{
  display:inline-block!important;background:#1e6b3a!important;color:#fff!important;border:2px solid #fff!important;border-radius:6px!important;
  padding:6px 14px!important;font-family:var(--crt-display)!important;font-weight:800!important;font-size:20px!important;letter-spacing:.01em!important;
  text-shadow:none!important;box-shadow:0 4px 14px rgba(0,0,0,.25);
  width:auto!important;max-width:max-content!important;align-self:center!important;margin-left:auto!important;margin-right:auto!important;white-space:nowrap}

/* ---------- Reviews ---------- */
.md-testimonial{background:var(--crt-tan)!important}
.md-testimonial .mg-bg,.md-testimonial [class*=mask],.md-testimonial [class*=shadow]{background:transparent!important;opacity:1}
.md-testimonial .swiper-slide{background:#fff!important;border:1px solid var(--crt-line);border-radius:12px!important;box-shadow:0 8px 28px rgba(14,27,46,.06)}
.md-testimonial .swiper-slide *:not(.site-button):not(.swiper-button):not(i){color:var(--crt-ink)!important}

/* ---------- Blog cards ---------- */
.md-blog .blog-sub-title{font-family:var(--crt-display)!important;font-weight:700!important;font-size:19px!important;line-height:1.3!important;color:var(--crt-ink)!important}

/* ---------- Listing cards ---------- */
.md-house .price,.md-house [class*=price]{font-family:var(--crt-display)!important;font-weight:800!important;color:var(--crt-ink)!important}

/* ---------- Homepage: remove the duplicate full-width listing rows ---------- */
body.home .md-house.layout12{display:none!important}

/* ---------- Area pages: hide Lofty's area-overview stat tiles (pulls the wrong town's data; market snapshot widget below is accurate) ---------- */
.md-area-overview .data-list{display:none!important}

/* ---------- Listing pages: hide Lofty's payment-estimate chip (conflicts with the Listing Levitator calculator directly below) ---------- */
.md-detail-info .caculator-container{display:none!important}

/* ---------- Homepage hero on phones: frame the RE/MAX sign, door and bench instead of dead-center ---------- */
@media (max-width:767px){.md-hero .single-picture{background-position:30% 50%!important}}

/* ---------- Homepage hero: split layout, text + search left, storefront photo right (mockup) ---------- */
.md-hero.layout3{background:#fff!important}
.md-hero.layout3 .banner{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;max-width:1240px;margin:0 auto!important;padding:136px 24px 64px!important;box-sizing:border-box;height:auto!important;min-height:0!important;background:#fff!important}
.md-hero.layout3 .banner-mask,.md-hero.layout3 .media-shadow{display:none!important}
.md-hero.layout3 .single-picture{position:relative!important;inset:auto!important;grid-column:2;grid-row:1;height:470px!important;width:100%!important;border-radius:10px;background-position:30% 60%!important}
.md-hero.layout3 .media-content-v2{grid-column:1;grid-row:1;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:26px!important}
.md-hero.layout3 .media-info,.md-hero.layout3 .title-text,.md-hero.layout3 .media-content-box,.md-hero.layout3 .search-group{width:100%!important;max-width:560px!important;margin:0!important}
.md-hero.layout3 .site-title{text-align:left!important}
.md-hero.layout3 .title-text h1{color:var(--crt-ink)!important;text-shadow:none!important;text-align:left!important;font-size:clamp(40px,4.6vw,66px)!important;line-height:.98!important;max-width:none!important;margin:0!important}
.md-hero.layout3 .title-text h2{color:var(--crt-red)!important;text-align:left!important;margin:16px 0 0!important}
.md-hero.layout3 .title-text h3{color:#3b475c!important;text-align:left!important;font-size:19px!important}
.md-hero.layout3 .tab-header-ul{margin:0!important}
.md-hero.layout3 .tab-header-ul li{color:var(--crt-ink)!important}
.md-hero.layout3 .tab-body{border:2px solid var(--crt-ink);border-radius:8px;overflow:hidden}
.md-hero.layout3 .keyword-submit{background:var(--crt-ink)!important}
@media (max-width:860px){.md-hero.layout3 .banner{grid-template-columns:minmax(0,1fr);padding:96px 20px 36px!important;gap:24px}.md-hero.layout3 .single-picture{grid-column:1;grid-row:2;height:260px!important}}

/* ---------- Homepage valuation: thin red lookup band (mockup) ---------- */
body.home .md-evaluation-banner .banner{height:auto!important;min-height:0!important;padding:0!important;background:var(--crt-red)!important}
body.home .md-evaluation-banner .banner>div:not(.cover),body.home .md-evaluation-banner .md-evaluation-banner-progress{display:none!important}
body.home .md-evaluation-banner .cover{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'t f' 's f';column-gap:40px;row-gap:8px;align-items:center;max-width:1240px!important;width:100%!important;margin:0 auto!important;padding:40px 24px!important;box-sizing:border-box;height:auto!important;position:relative!important;transform:none!important;left:auto!important;top:auto!important}
body.home .md-evaluation-banner .site-title{grid-area:t;margin:0!important;text-align:left!important}
body.home .md-evaluation-banner .site-title h2{color:#fff!important;text-align:left!important;font-family:var(--crt-display)!important;font-weight:900!important;font-size:clamp(28px,3vw,40px)!important;line-height:1.05!important;letter-spacing:-.02em!important;margin:0!important}
body.home .md-evaluation-banner .site-subtitle{grid-area:s;margin:0!important;text-align:left!important}
body.home .md-evaluation-banner .site-subtitle p{color:#ffe1e2!important;text-align:left!important;font-size:17px!important;margin:0!important}
body.home .md-evaluation-banner .slide-switch{grid-area:f;width:100%!important;margin:0!important}
body.home .md-evaluation-banner .address-body{background:#fff!important;border-radius:8px!important;overflow:hidden!important;border:0!important}
body.home .md-evaluation-banner .address-body .input{height:58px!important;border:0!important;font-size:17px!important;padding:0 18px!important}
body.home .md-evaluation-banner .address-body .right-box{width:auto!important}
body.home .md-evaluation-banner .submit-btn{height:58px!important;background:var(--crt-ink)!important;border-color:var(--crt-ink)!important;border-radius:0!important;padding:0 26px!important;font-family:var(--crt-display)!important;font-weight:800!important;letter-spacing:.03em!important;text-transform:uppercase!important}
@media (max-width:860px){body.home .md-evaluation-banner .cover{grid-template-columns:minmax(0,1fr);grid-template-areas:'t' 's' 'f';row-gap:14px;padding:32px 20px!important}}

/* ---------- Homepage stats band: full-bleed (Lofty's container clips the 100vw trick) ---------- */
.md-custom-code .mg-container:has(.crt-stats){max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important;margin:0!important}
.md-custom-code:has(.crt-stats){padding:0!important}
.crt-stats{left:auto!important;width:100%!important;margin-left:0!important}

/* ---------- Homepage section headers: left-aligned on the 1240 grid (mockup) ---------- */
body.home .md-custom-code div:has(> [class*="eyebrow"] + h2){max-width:1240px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:24px!important;padding-right:24px!important;box-sizing:border-box!important;text-align:left!important}
body.home .md-custom-code div:has(> [class*="eyebrow"] + h2)>[class*="eyebrow"]{color:var(--crt-red)!important;text-align:left!important;margin-left:0!important}
body.home .md-custom-code div:has(> [class*="eyebrow"] + h2)>h2{text-align:left!important;font-weight:900!important;font-size:clamp(32px,3.4vw,46px)!important;line-height:1.02!important;letter-spacing:-.02em!important;max-width:820px!important;margin-left:0!important;margin-right:0!important}
body.home .md-custom-code div:has(> [class*="eyebrow"] + h2)>p:not([class*="eyebrow"]){text-align:left!important;max-width:720px!important;margin-left:0!important;margin-right:0!important}
body.home .crt-explore-head,body.home .crt-explore-desc{box-sizing:border-box!important;text-align:left!important;margin-left:max(24px,calc((100% - 1240px)/2 + 24px))!important;margin-right:0!important}
body.home .crt-explore-head{max-width:820px!important;font-weight:900!important;font-size:clamp(32px,3.4vw,46px)!important;line-height:1.02!important}
body.home .crt-explore-desc{max-width:720px!important}
@media (max-width:860px){body.home .md-custom-code div:has(> [class*="eyebrow"] + h2){padding-left:20px!important;padding-right:20px!important}body.home .crt-explore-head,body.home .crt-explore-desc{margin-left:20px!important;margin-right:20px!important}}
/* tighten the gap between a section header and the native module it introduces */
body.home .md-custom-code:has(div > [class*="eyebrow"] + h2){margin-bottom:0!important}
body.home .md-custom-code:has(div > [class*="eyebrow"] + h2) + :is(.md-house,.md-testimonial,.md-team,.md-blog,.md-featured-area){padding-top:28px!important}
body.home :is(.md-house,.md-team,.md-blog) > .f-col{max-width:1240px!important;width:100%!important;padding-left:24px!important;padding-right:24px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
body.home .md-custom-code:has(.crt-reviews-intro){background:var(--crt-tan)!important;padding-top:72px!important}
body.home .crt-commercial__grid{max-width:1192px!important;margin-left:auto!important;margin-right:auto!important}
body.home .crt-launch{max-width:1240px!important;padding-left:0!important;padding-right:0!important}
body.home .crt-launch>*:not(.crt-launch__head){margin-left:24px!important;margin-right:24px!important}

/* ---------- Homepage towns: "Pick your town" card grid (replaces Lofty's JS mosaic) ---------- */
body.home .md-featured-area{padding:28px 0 80px!important}
body.home .md-featured-area .featured-area-container{max-width:1240px!important;margin:0 auto!important;padding:0 24px!important;box-sizing:border-box!important}
body.home .md-featured-area .featured-area-div{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:240px;gap:16px!important;height:auto!important;width:100%!important}
body.home .md-featured-area .featured-area-div>*:not(.featured-area-item-wrap),body.home .md-featured-area .featured-area-item-wrap.item-two{display:contents!important}
body.home .md-featured-area .featured-area-item-wrap{width:auto!important;height:auto!important;min-width:0!important;flex:none!important;margin:0!important;position:relative!important}
body.home .md-featured-area .featured-area-item-wrap:first-child{grid-column:span 2}
body.home .md-featured-area .featured-area-item-wrap.item-two>*{position:relative!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;display:block!important}
body.home .md-featured-area .featured-area-item,body.home .md-featured-area .featured-area-item-preview{width:100%!important;height:100%!important;border-radius:10px!important;overflow:hidden!important;display:block!important}
body.home .md-featured-area .featured-area-item img{width:100%!important;height:100%!important;object-fit:cover!important}
body.home .md-featured-area .featured-area-item-img-mask{background:linear-gradient(180deg,rgba(14,27,46,0) 45%,rgba(14,27,46,.45))!important;opacity:1!important}
body.home .md-featured-area .featured-area-item-bottom{inset:auto auto 16px 16px!important;width:auto!important;height:auto!important;transform:none!important;display:block!important}
body.home .md-featured-area .featured-area-item-sub-title{margin:0!important;text-transform:uppercase;font-size:18px!important}
body.home .md-featured-area .featured-area-item-wrap:first-child .featured-area-item::after{content:"HOMETOWN";position:absolute;right:16px;top:16px;z-index:3;background:var(--crt-red);color:#fff;font:700 12px/1 var(--crt-sans);letter-spacing:.08em;padding:7px 10px;border-radius:4px}
@media (max-width:860px){body.home .md-featured-area .featured-area-div{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:170px;gap:10px!important}body.home .md-featured-area .featured-area-container{padding:0 16px!important}body.home .md-featured-area .featured-area-item-sub-title{font-size:15px!important;padding:5px 10px!important}}

/* ---------- Full-bleed dark/tan bands: agents strip, community board, about ---------- */
.md-custom-code .mg-container:has(.crt-comm,.crt-agent-row,.crt-about){max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important;margin:0!important}
.md-custom-code:has(.crt-comm,.crt-agent-row){padding:0!important;margin-bottom:0!important}
.crt-agent-row,.crt-comm,body.home .crt-about{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;border-radius:0!important;box-sizing:border-box!important}
.crt-agent-row{margin-bottom:0!important;border-bottom:1px solid rgba(255,255,255,.08)}
.crt-comm{margin-top:0!important}

/* ---------- Footer: ink navy (mockup) ---------- */
.md-footer .bottom-content{background:var(--crt-ink)!important;color:#c3cad6!important}
.md-footer .bottom-content a:hover{color:#fff!important}

/* ---------- Phones: logo no longer cropped, search button fits, commercial section single padding ---------- */
@media (max-width:860px){
.md-header .logo{flex:0 0 auto!important;width:auto!important;max-width:none!important;overflow:visible!important}
.md-header .logo img{height:40px!important}
.md-hero.layout3 .keyword-submit{width:auto!important;min-width:0!important;padding:0 14px!important;font-size:13px!important;letter-spacing:.02em!important}
body.home .crt-commercial{padding-left:0!important;padding-right:0!important}
body.home .crt-commercial__grid{margin-left:20px!important;margin-right:20px!important}
}

/* ---------- Valuation band: input + button fill the white box (was a 2px white strip under the button) ---------- */
body.home .md-evaluation-banner .address-body{height:58px!important;align-items:stretch!important}
body.home .md-evaluation-banner .address-body :is(.left-box,.right-box){height:100%!important}
body.home .md-evaluation-banner .address-body .input,body.home .md-evaluation-banner .submit-btn{height:100%!important}
