/* DealHoGayi mega navigation: independent original design */
.dhg-mega-nav{display:flex;align-items:center;gap:clamp(8px,1.2vw,22px);height:100%;position:static;white-space:nowrap}
.dhg-mega-nav .dhg-nav-top{color:#12352c;text-decoration:none;font-size:clamp(14px,1vw,16px);font-weight:750;display:inline-flex;align-items:center;gap:7px;padding:17px 3px;transition:color .2s}
.dhg-mega-nav .dhg-nav-top:hover,.dhg-nav-item:hover>.dhg-nav-top,.dhg-nav-item:focus-within>.dhg-nav-top{color:#008f61}
.dhg-mega-nav .dhg-nav-top .bi{font-size:10px;transition:transform .18s}.dhg-nav-item:hover>.dhg-nav-top .bi{transform:rotate(180deg)}
.dhg-nav-item{position:static}.dhg-mega-panel{position:absolute;left:0;right:0;top:100%;z-index:1002;display:grid;gap:24px;padding:27px 32px 30px;border:1px solid #e0ede7;border-top:3px solid #bfe83a;border-radius:0 0 20px 20px;background:#fff;box-shadow:0 22px 45px #002a1e24;white-space:normal;visibility:hidden;opacity:0;transform:translateY(7px);pointer-events:none;transition:opacity .18s,transform .18s,visibility .18s;max-height:calc(100vh - 105px);overflow-y:auto}
.dhg-nav-item:hover>.dhg-mega-panel,.dhg-nav-item:focus-within>.dhg-mega-panel,.dhg-nav-item.is-open>.dhg-mega-panel{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto}
.dhg-mega-market{grid-template-columns:minmax(130px,.75fr) minmax(175px,1.1fr) minmax(128px,.8fr) minmax(145px,.9fr) minmax(185px,1fr)}
.dhg-mega-columns{grid-template-columns:repeat(4,minmax(0,1fr))}.dhg-more-columns{grid-template-columns:repeat(4,minmax(0,1fr))}
.dhg-mega-panel h3{font-size:14px;line-height:1.4;color:#113f32;margin:0 0 12px;font-weight:850}.dhg-mega-panel a:not(.dhg-nav-top){color:#52655e;display:block;text-decoration:none;padding:6px 0;font-size:14px;line-height:1.4}.dhg-mega-panel a:hover{color:#008b5c}.dhg-mega-panel a.dhg-mega-all{color:#008c5a;font-weight:850;margin-top:6px}
.dhg-market-tab{display:flex;width:100%;border:0;background:transparent;align-items:center;justify-content:space-between;color:#4b6257;padding:10px 12px;font-weight:750;border-radius:10px;text-align:left}.dhg-market-tab.active,.dhg-market-tab:hover{background:#eaf9ef;color:#008554}.dhg-market-options[hidden]{display:none}
.dhg-mega-feature{background:linear-gradient(145deg,#005043,#079766);padding:20px;color:white;border-radius:17px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-height:180px}.dhg-mega-feature .bi{font-size:29px;color:#caff46}.dhg-mega-feature strong{font-size:17px;line-height:1.3}.dhg-mega-feature p{color:#e1f7ec;font-size:13px;margin:0}.dhg-mega-panel .dhg-mega-feature a{background:#d5f64b;padding:9px 12px;color:#123b2c;font-weight:800;border-radius:10px;margin-top:auto}
.dhg-mega-panel label{display:block;margin:0 0 10px;font-size:12px;color:#52645a}.dhg-site-select{display:block;width:100%;border:1px solid #deeae4;border-radius:10px;padding:9px;background:white;color:#113d30;font-size:13px}.dhg-mega-panel small{font-size:11px;color:#87938b}
.dhg-mobile-nav details summary{list-style:none;cursor:pointer;font-weight:750;padding:10px 0}.dhg-mobile-nav details summary::-webkit-details-marker{display:none}.dhg-mobile-nav details>a{display:block;padding:8px 13px}.dhg-mobile-nav .dhg-mobile-sub{padding-left:26px;font-size:13px}
@media(max-width:1199px){.dhg-mega-nav{display:none!important}.dhg-mobile-nav{max-height:75vh;overflow:auto}}@media(min-width:1200px){.dhg-mobile-nav{display:none!important}}@media(max-width:1399px){.dhg-mega-panel{gap:14px;padding:22px 18px}.dhg-mega-panel a:not(.dhg-nav-top){font-size:13px}.dhg-mega-market{grid-template-columns:130px 170px 120px 145px minmax(125px,1fr)}}

/* Override legacy 900px toggle breakpoint so tablet users can open the mega menu. */
@media(min-width:901px) and (max-width:1199px){body.dhg-site .dhg-nav-toggle{display:grid!important;place-items:center;width:42px;height:42px;border:0;border-radius:10px;background:#e4f5ec;color:#00684c;font-size:25px}body.dhg-site .dhg-mobile-nav{display:none!important;flex-direction:column}body.dhg-site .dhg-mobile-nav.is-open{display:flex!important}body.dhg-site .site-header .brand-logo img{max-width:205px!important}}
@media(max-width:1199px){body.dhg-site .dhg-mobile-nav details summary{font-size:16px;padding:13px 12px;border-bottom:1px solid #e5f1e8}body.dhg-site .dhg-mobile-nav details a{font-size:14px;padding:9px 19px;border-bottom:1px solid #f0f5f1}body.dhg-site .dhg-mobile-nav a{display:block}}
@media(min-width:1200px){body.dhg-site .dhg-mega-nav{display:flex!important}body.dhg-site .dhg-nav-toggle{display:none!important}}

/* DealHoGayi newsroom distinct from evergreen blog */
.dhg-news-hero{background:linear-gradient(115deg,rgba(0,49,39,.96),rgba(0,132,80,.85)),url('/assets/images/property-originals/property-01.webp') center/cover!important;padding:55px 0!important}.dhg-news-hero .container{max-width:1180px}.dhg-news-hero h1{font-size:clamp(32px,3.3vw,58px);max-width:680px}.dhg-news-listing .dhg-blog-card{box-shadow:0 8px 30px #0b4b3112}.dhg-news-listing .dhg-blog-card .dhg-blog-image img{object-fit:cover}

@media(min-width:1200px){body.dhg-site .site-header .main-header-row{gap:clamp(7px,1.2vw,18px)!important}body.dhg-site .site-header .brand-logo img{width:clamp(155px,15vw,200px)!important}}

/* 2026-11-13 stability and branding update: full-height triggers remove the hover gap. */
@media (min-width: 1200px) {
  body.dhg-site .site-header .dhg-mega-nav {align-self:stretch!important;align-items:stretch!important;height:auto!important;}
  body.dhg-site .site-header .dhg-mega-nav .dhg-nav-item {display:flex;align-items:stretch;}
  body.dhg-site .site-header .dhg-mega-nav .dhg-nav-item > .dhg-nav-top {display:inline-flex;align-items:center;min-height:100%;}
  body.dhg-site .site-header .dhg-mega-panel {top:calc(100% - 1px);}
  body.dhg-site .site-header .dhg-nav-item.is-open>.dhg-nav-top {color:#008f61;}
  body.dhg-site .site-header .dhg-nav-item.is-open>.dhg-nav-top .bi {transform:rotate(180deg);}
}
/* Logo stays legible while preserving enough width for all 6 navigation items. */
@media (min-width:1400px){body.dhg-site .site-header .brand-logo img{width:232px!important;max-width:none!important;height:auto!important;}}
@media (min-width:1200px) and (max-width:1399.98px){body.dhg-site .site-header .brand-logo img{width:205px!important;max-width:none!important;height:auto!important;}}
@media (min-width:768px) and (max-width:1199.98px){body.dhg-site .site-header .brand-logo img{width:195px!important;max-width:100%!important;height:auto!important;}}
@media (max-width:767.98px){body.dhg-site .site-header .brand-logo img{width:clamp(155px,40vw,185px)!important;max-width:100%!important;height:auto!important;}}

/* 2026-11-13: DealHoGayi editorial navigation, distinct from the white-column reference.
   Keeps the same destinations and the existing stable hover behaviours. */
@media(min-width:1200px){
 body.dhg-site .site-header .dhg-mega-nav .dhg-nav-top{border-radius:12px;padding:12px 9px;min-height:44px;position:relative;transition:background .2s,color .2s}
 body.dhg-site .site-header .dhg-mega-nav .dhg-nav-top:hover,
 body.dhg-site .site-header .dhg-mega-nav .dhg-nav-item.is-open>.dhg-nav-top,
 body.dhg-site .site-header .dhg-mega-nav .dhg-nav-item:focus-within>.dhg-nav-top{background:#edf7ed;color:#066d4b}
 body.dhg-site .site-header .dhg-mega-nav .dhg-nav-item.is-open>.dhg-nav-top:after{content:"";position:absolute;bottom:3px;left:12px;right:12px;height:3px;border-radius:20px;background:#c6d942}
 body.dhg-site .site-header .dhg-mega-panel{top:calc(100% - 1px);padding:0 20px 22px!important;border:1px solid #d8e8dd;border-top:0!important;border-radius:0 0 24px 24px;background:linear-gradient(115deg,#f4f9f4,#fffdf5 66%,#f0f8f3);box-shadow:0 30px 70px rgba(0,41,25,.20);gap:14px!important;overflow-y:auto;}
 body.dhg-site .site-header .dhg-mega-intro{grid-column:1/-1;display:flex;align-items:center;gap:13px;background:linear-gradient(115deg,#003e31 0%,#075d46 70%,#10845c 100%);color:#fff;margin:0 -20px 4px;padding:15px 24px;position:relative;overflow:hidden}
 body.dhg-site .site-header .dhg-mega-intro:after{content:"";position:absolute;width:180px;height:180px;right:20%;top:-130px;border:1px solid rgba(210,246,88,.35);border-radius:50%;box-shadow:0 0 0 35px rgba(255,255,255,.035),0 0 0 85px rgba(255,255,255,.025);pointer-events:none}
 body.dhg-site .site-header .dhg-mega-monogram{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:rgba(217,244,101,.16);border:1px solid rgba(217,244,101,.35);color:#dcf57b;font-size:20px}
 body.dhg-site .site-header .dhg-mega-intro>div{display:grid;gap:1px}
 body.dhg-site .site-header .dhg-mega-intro>div>span{color:#d1edbc;font-size:10px;font-weight:850;letter-spacing:.13em}
 body.dhg-site .site-header .dhg-mega-intro strong{font-size:17px;font-weight:850;letter-spacing:-.02em}
 body.dhg-site .site-header .dhg-mega-panel .dhg-mega-intro>a{color:#063d2c;background:#d6ee76;padding:9px 14px;border-radius:999px;margin-left:auto;font-weight:850;font-size:12px;position:relative;z-index:1;white-space:nowrap}
 body.dhg-site .site-header .dhg-mega-panel>div:not(.dhg-mega-intro){min-width:0;background:#fff;border:1px solid #e4eee5;border-radius:16px;padding:18px 15px;box-shadow:0 8px 20px rgba(0,45,23,.035)}
 body.dhg-site .site-header .dhg-mega-panel>div.dhg-mega-market-tabs{padding:10px;background:linear-gradient(155deg,#e4f5e8,#f8fbef);border-color:#d3e7cf}
 body.dhg-site .site-header .dhg-mega-panel>div.dhg-mega-feature{background:linear-gradient(145deg,#004537,#0f8e63);border-color:transparent;box-shadow:0 12px 30px rgba(5,94,70,.14)}
 body.dhg-site .site-header .dhg-mega-panel h3{font-size:12px;letter-spacing:.045em;text-transform:uppercase;color:#006848;padding:0 0 10px;border-bottom:1px solid #e6f0e7;margin:0 0 9px;font-weight:900}
 body.dhg-site .site-header .dhg-mega-panel a:not(.dhg-nav-top):not(.dhg-mega-intro>a){position:relative;padding:8px 9px 8px 13px;border-radius:8px;font-weight:650;color:#3b5447;transition:background .18s,color .18s,transform .18s;font-size:13px}
 body.dhg-site .site-header .dhg-mega-panel a:not(.dhg-nav-top):not(.dhg-mega-intro>a):not(.dhg-mega-feature a):before{content:"";position:absolute;left:2px;top:50%;width:4px;height:4px;background:#a6cdb1;border-radius:50%;transform:translateY(-50%)}
 body.dhg-site .site-header .dhg-mega-panel a:not(.dhg-nav-top):not(.dhg-mega-intro>a):hover{background:#ebf8ed;color:#007a54;transform:translateX(2px)}
 body.dhg-site .site-header .dhg-market-tab{font-weight:850;padding:12px;border-radius:11px;}
 body.dhg-site .site-header .dhg-market-tab.active{background:#075a44;color:#fff;box-shadow:0 8px 18px #005a4430}
 body.dhg-site .site-header .dhg-market-tab.active .bi{color:#d9f58f}
 body.dhg-site .site-header .dhg-mega-feature strong{color:#fff}
 body.dhg-site .site-header .dhg-mega-feature p{color:#e1f8ec}
 body.dhg-site .site-header .dhg-mega-panel .dhg-mega-feature>a{background:#d9f37d!important;color:#144535!important;display:block;padding:11px!important;border-radius:10px;font-size:12px;font-weight:850}
 body.dhg-site .site-header .dhg-mega-market{grid-template-columns:minmax(116px,.75fr) minmax(165px,1.1fr) minmax(110px,.8fr) minmax(140px,.9fr) minmax(155px,1fr)}
 body.dhg-site .site-header .dhg-mega-columns{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:1200px) and (max-width:1399.98px){body.dhg-site .site-header .dhg-mega-panel{padding:0 11px 12px!important;gap:8px!important}body.dhg-site .site-header .dhg-mega-intro{margin:0 -11px 3px;padding:12px 15px}body.dhg-site .site-header .dhg-mega-panel>div:not(.dhg-mega-intro){padding:12px 9px}body.dhg-site .site-header .dhg-mega-market{grid-template-columns:125px 165px 115px 140px minmax(140px,1fr)}body.dhg-site .site-header .dhg-mega-panel a:not(.dhg-nav-top):not(.dhg-mega-intro>a){font-size:12px}}

/* Browse Properties: own identity, matching existing DealHoGayi deep-green + lime palette. */
body.dhg-site .dhg-browse-hub{padding:54px 0 62px;background:linear-gradient(180deg,#f4f9f5 0%,#fff 100%);position:relative;isolation:isolate;clear:both}
body.dhg-site .dhg-browse-intro{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:24px}
body.dhg-site .dhg-browse-eyebrow{font-weight:850;font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:#00774d;display:inline-flex;align-items:center;gap:7px;margin-bottom:10px}
body.dhg-site .dhg-browse-intro h2{font-size:clamp(28px,2.8vw,39px)!important;letter-spacing:-.04em;line-height:1.1;margin:0 0 8px;font-weight:900;color:#11392d!important}
body.dhg-site .dhg-browse-intro p{margin:0;color:#677e70;font-size:14px;max-width:640px}
body.dhg-site .dhg-browse-all{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#075f46;background:#e7f7e8;padding:11px 16px;border:1px solid #cae3cf;border-radius:999px;white-space:nowrap;font-weight:850;font-size:13px}
body.dhg-site .dhg-browse-all:hover{background:#d9f09e;color:#064b38}
body.dhg-site .dhg-browse-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.dhg-site .dhg-browse-card{min-width:0;border:1px solid #dbeadf;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 18px 34px rgba(13,58,36,.06);transition:transform .2s,box-shadow .2s;position:relative}
body.dhg-site .dhg-browse-card:hover{transform:translateY(-3px);box-shadow:0 25px 45px rgba(13,58,36,.10)}
body.dhg-site .dhg-browse-card-head{padding:23px 20px 21px;display:flex;align-items:center;gap:13px;min-height:105px;background:radial-gradient(ellipse at 100% -20%,rgba(227,251,128,.24),transparent 53%),linear-gradient(115deg,#064735,#0b7a54);color:#fff}
body.dhg-site .dhg-browse-card--plots .dhg-browse-card-head{background:radial-gradient(ellipse at 100% 0,rgba(227,251,128,.3),transparent 53%),linear-gradient(115deg,#034d43,#147f70)}
body.dhg-site .dhg-browse-card--commercial .dhg-browse-card-head{background:radial-gradient(ellipse at 100% 0,rgba(227,251,128,.24),transparent 53%),linear-gradient(115deg,#144938,#397249)}
body.dhg-site .dhg-browse-icon{display:grid;place-items:center;flex:none;width:49px;height:49px;border-radius:14px;background:rgba(235,253,178,.14);border:1px solid rgba(231,249,163,.35);color:#e3fd96;font-size:24px}
body.dhg-site .dhg-browse-card-head>div{min-width:0;flex:1}
body.dhg-site .dhg-browse-card-head h3{font-size:19px;margin:0 0 4px;line-height:1.2;font-weight:900;color:#fff;letter-spacing:-.03em}
body.dhg-site .dhg-browse-card-head p{margin:0;color:#d4f0dd;font-size:11px;line-height:1.4}
body.dhg-site .dhg-browse-arrow{display:grid;place-items:center;border:1px solid rgba(255,255,255,.22);border-radius:50%;width:30px;height:30px;color:#cdef89}
body.dhg-site .dhg-browse-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#fafcf9;border-bottom:1px solid #e4ece4;padding:0 12px;gap:5px}
body.dhg-site .dhg-browse-tabs button{position:relative;border:0;background:transparent;color:#768779;padding:15px 3px;font-size:13px;min-height:49px;font-weight:800;cursor:pointer;border-radius:0}
body.dhg-site .dhg-browse-tabs button.is-active{color:#007c51}
body.dhg-site .dhg-browse-tabs button.is-active:after{content:"";position:absolute;bottom:-1px;left:12%;right:12%;height:3px;background:#acdb59;border-radius:4px 4px 0 0}
body.dhg-site .dhg-browse-tabs button:focus-visible,body.dhg-site .dhg-browse-pager button:focus-visible{outline:3px solid #85d1a1;outline-offset:2px}
body.dhg-site .dhg-browse-tab-panel{padding:16px 15px 12px;min-height:217px}
body.dhg-site .dhg-browse-tab-panel[hidden],body.dhg-site .dhg-browse-page[hidden],body.dhg-site .dhg-browse-pager[hidden]{display:none!important}
body.dhg-site .dhg-browse-page{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-content:start}
body.dhg-site .dhg-browse-tile{display:flex;flex-direction:column;justify-content:center;position:relative;min-height:78px;padding:10px 6px;text-align:center;border:1px solid #e2ebe4;border-radius:11px;color:#143f2f;background:linear-gradient(170deg,#fff,#f9fcf9);text-decoration:none;transition:transform .15s,border-color .15s,background .15s;min-width:0}
body.dhg-site .dhg-browse-tile strong{font-weight:850;font-size:12px;color:#113c30;line-height:1.3;overflow-wrap:break-word}
body.dhg-site .dhg-browse-tile small{font-size:10px;color:#7c8b80;margin-top:2px;line-height:1.3;overflow-wrap:break-word}
body.dhg-site .dhg-browse-tile i{position:absolute;top:4px;right:5px;font-size:9px;color:#a2bca4;opacity:0}
body.dhg-site .dhg-browse-tile:hover{background:#edfaed;border-color:#b6d68f;transform:translateY(-2px);color:#00583a}
body.dhg-site .dhg-browse-tile:hover i{opacity:1}
body.dhg-site .dhg-browse-pager{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:13px;font-size:10px;font-weight:850;letter-spacing:.12em;color:#4d7863}
body.dhg-site .dhg-browse-pager button{display:grid;place-items:center;width:29px;height:29px;border:1px solid #d6e8d9;border-radius:50%;background:#eff8f0;color:#087c51;cursor:pointer;font-size:13px}
body.dhg-site .dhg-browse-pager button:disabled{opacity:.35;cursor:default}
body.dhg-site .dhg-browse-pager button:not(:disabled):hover{background:#087755;color:#fff}

/* The selected inventory must be the first substantive section, before all ads and feature rows. */
body.dhg-site.property-page .dhg-priority-results{position:relative;padding:32px 0 36px!important;background:#f4f9f5;border-bottom:1px solid #dae9e0;scroll-margin-top:90px}
body.dhg-site.property-page .dhg-priority-results .results-toolbar{margin-bottom:18px}
body.dhg-site.property-page .dhg-priority-results .results-toolbar h2{font-size:clamp(26px,2.8vw,37px)!important;margin:2px 0 0}
body.dhg-site.property-page .dhg-results-context{font-size:13px;margin:7px 0 0;color:#517266}
body.dhg-site.property-page .dhg-refine-link{background:#e3f4e9;color:#096345;border:1px solid #c5e2cf;text-decoration:none;border-radius:9px;padding:8px 10px;font-weight:800;white-space:nowrap;font-size:12px}
body.dhg-site.property-page .dhg-refine-link:hover{background:#d1ebda}
body.dhg-site.property-page .dhg-priority-results .empty-state{background:#fff;border:1px solid #dbece0;border-radius:16px;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center}
/* Filtering shouldn't leave a huge promotional hero above the matching inventory. */
body.dhg-site.dhg-search-focused .property-hero{padding:8px 0 14px!important;background:#f4f9f5!important}
body.dhg-site.dhg-search-focused .property-hero .specialist-subnav{min-height:30px}
body.dhg-site.dhg-search-focused .property-hero .specialist-hero-overlay{min-height:0;padding:18px!important;border-radius:16px!important;box-shadow:0 8px 24px #003f2520!important}
body.dhg-site.dhg-search-focused .property-hero .specialist-hero-overlay h1{font-size:clamp(21px,2.5vw,29px)!important;margin:3px 0 6px!important}
body.dhg-site.dhg-search-focused .property-hero .specialist-hero-overlay>p,body.dhg-site.dhg-search-focused .property-hero .hero-kicker{display:none!important}
body.dhg-site.dhg-search-focused .property-hero .specialist-search{margin-top:13px!important;padding:10px!important;box-shadow:0 4px 18px #0c503225!important}
body.dhg-site.dhg-search-focused .property-hero .specialist-search .search-tabs{margin-bottom:7px}
@media(max-width:1100px){body.dhg-site .dhg-browse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.dhg-site .dhg-browse-grid>.dhg-browse-card:last-child{grid-column:1/-1}}
@media(max-width:700px){body.dhg-site .dhg-browse-hub{padding:35px 0}body.dhg-site .dhg-browse-intro{align-items:flex-start;flex-direction:column;gap:15px}body.dhg-site .dhg-browse-grid{grid-template-columns:1fr;gap:14px}body.dhg-site .dhg-browse-grid>.dhg-browse-card:last-child{grid-column:auto}body.dhg-site .dhg-browse-card-head{min-height:90px;padding:17px}body.dhg-site .dhg-browse-tab-panel{min-height:190px}body.dhg-site.property-page .dhg-priority-results .results-toolbar form{width:100%;flex-wrap:wrap}body.dhg-site.property-page .dhg-refine-link{margin-right:auto}body.dhg-site.dhg-search-focused .property-hero .specialist-hero-overlay{padding:13px!important}}
@media(prefers-reduced-motion:reduce){body.dhg-site .dhg-browse-card,body.dhg-site .dhg-browse-tile,body.dhg-site .site-header .dhg-mega-panel *{transition:none!important}}

/* Dynamic menu v1: smaller photo cards and roomier property links; avoids oversized green block. */
@media(min-width:1200px){
 body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market{grid-template-columns:minmax(124px,.75fr) minmax(188px,1.15fr) minmax(145px,.82fr) minmax(172px,1fr) 205px!important;}
 body.dhg-site .site-header .dhg-mega-panel.dhg-mega-columns{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
 body.dhg-site .site-header .dhg-mega-feature--photo{width:205px;max-width:205px;min-width:0;justify-self:end;min-height:205px;max-height:270px;padding:16px 13px!important;overflow:hidden;isolation:isolate;justify-content:space-between;background:#073c2e!important;position:relative;}
 body.dhg-site .site-header .dhg-mega-feature--photo:before{content:'';position:absolute;inset:0;background-image:linear-gradient(180deg,rgba(0,42,31,.45) 0%,rgba(0,38,31,.55) 32%,rgba(0,29,24,.93) 100%),var(--dhg-nav-photo,linear-gradient(145deg,#085b49,#168263));background-size:cover;background-position:center;z-index:-1;transition:transform .45s;}
 body.dhg-site .site-header .dhg-mega-feature--photo:hover:before{transform:scale(1.055)}
 body.dhg-site .site-header .dhg-mega-feature--photo .dhg-mega-feature-copy{display:flex;flex-direction:column;gap:5px;max-width:100%;}
 body.dhg-site .site-header .dhg-mega-feature--photo .dhg-mega-feature-copy .bi{font-size:22px;color:#e2fa80}
 body.dhg-site .site-header .dhg-mega-feature--photo strong{font-size:15px;line-height:1.25;color:#fff;text-shadow:0 1px 4px #002e27}
 body.dhg-site .site-header .dhg-mega-feature--photo p{font-size:11px;line-height:1.4;color:#f4faf6}
 body.dhg-site .site-header .dhg-mega-panel .dhg-mega-feature--photo>a{font-size:11px!important;line-height:1.25;padding:9px 9px!important;max-width:100%;white-space:normal;}
 body.dhg-site .site-header .dhg-mega-managed-columns{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
 body.dhg-site .site-header .dhg-mega-managed-columns .dhg-mega-feature--photo{grid-column:auto;width:100%;max-width:230px;}
}
@media(min-width:1200px) and (max-width:1399.98px){
 body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market{grid-template-columns:125px minmax(168px,1fr) minmax(122px,.8fr) minmax(134px,.95fr) 174px!important;gap:8px!important}
 body.dhg-site .site-header .dhg-mega-feature--photo{width:174px;max-width:174px;min-height:188px;max-height:260px;padding:11px!important}
 body.dhg-site .site-header .dhg-mega-feature--photo strong{font-size:13px}
 body.dhg-site .site-header .dhg-mega-feature--photo p{font-size:10px}
}
@media(min-width:1200px){body.dhg-site .site-header .dhg-mega-panel .dhg-managed-col{min-width:0}body.dhg-site .site-header .dhg-mega-market .dhg-mega-types{min-width:0}}
@media(max-width:1199px){.dhg-mobile-group{padding:7px 10px 9px;border-bottom:1px solid #e2eee6}.dhg-mobile-group strong{font-size:13px;color:#006a4b;display:block;margin-bottom:2px}.dhg-mobile-group>a{margin-left:10px}}


/* DHG COMPACT BUY/RENT FIX v2 - 2026-11-14: direct CSS replacement, no installer */
/* Targets only the desktop Buy/Rent market tab rail; keeps other menus intact. */
@media (min-width:1200px) {
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market {
    grid-template-columns: minmax(234px,248px) minmax(165px,1.15fr) minmax(135px,.85fr) minmax(165px,.95fr) minmax(170px,205px) !important;
    align-items:stretch;
  }
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market > .dhg-mega-market-tabs {
    min-width:0 !important;
    box-sizing:border-box;
    padding:8px !important;
    align-self:stretch;
  }
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-market-tab {
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:100% !important;
    height:28px !important;
    min-height:28px !important;
    max-height:28px !important;
    box-sizing:border-box !important;
    margin:0 0 6px !important;
    padding:0 31px 0 12px !important;
    border:0 !important;
    border-radius:9px !important;
    text-align:left !important;
    white-space:nowrap !important;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif !important;
    font-size:13px !important;
    line-height:1.15 !important;
    font-weight:700 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
    transform:none !important;
    transition:background-color .15s ease,color .15s ease,box-shadow .15s ease !important;
  }
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-market-tab:last-child { margin-bottom:0 !important; }
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-market-tab:is(:hover,:focus,.active) {
    transform:none !important;
    letter-spacing:0 !important;
    font-weight:700 !important;
  }
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-market-tab > .bi {
    position:absolute !important;
    top:50% !important;
    right:10px !important;
    left:auto !important;
    display:block !important;
    width:13px !important;
    height:14px !important;
    margin:0 !important;
    font-size:12px !important;
    line-height:14px !important;
    text-align:center !important;
    transform:translateY(-50%) !important;
    transition:color .15s ease !important;
    pointer-events:none;
  }
  /* Switching Homes / Plots / Commercial must not resize the dropdown. */
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market > .dhg-mega-types {
    min-width:0 !important;
    height:334px !important;
    min-height:334px !important;
    max-height:334px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    scrollbar-gutter:stable;
  }
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-mega-types-title {
    min-height:29px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-market-options:not([hidden]) {
    animation:dhgMarketContentReveal .15s ease-out both;
  }
}
@media (min-width:1200px) and (max-width:1399.98px) {
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market {
    grid-template-columns: minmax(230px,238px) minmax(145px,1fr) minmax(110px,.8fr) minmax(135px,.95fr) 174px !important;
  }
}
@keyframes dhgMarketContentReveal { from { opacity:.55; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce) {
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-market-options:not([hidden]) { animation:none !important; }
}


/* DHG MEGA MENU READABILITY v3 - 2026-11-14
   Preserve the working compact 238-248px rail and 28px tabs.
   Restore icon/text space, remove leftover legacy bullet dots, and
   increase legibility across ALL editable mega-menu groups. */
@media (min-width:1200px) {
  /* Header top-level navigation and icon-to-label spacing. */
  body.dhg-site .site-header .dhg-mega-nav .dhg-nav-top {
    font-size:15px !important;
    line-height:1.3 !important;
    gap:9px !important;
    font-weight:750 !important;
  }
  body.dhg-site .site-header .dhg-mega-nav .dhg-nav-top > .dhg-nav-main-icon {
    flex:0 0 auto;
    font-size:14px !important;
    margin:0 !important;
    line-height:1 !important;
  }
  /* All existing card headings: the heading icon is an actual visual element,
     not a bullet; maintain a predictable leading gap. */
  body.dhg-site .site-header .dhg-mega-panel :is(.dhg-managed-col,.dhg-mega-types) h3 {
    font-size:14px !important;
    line-height:1.4 !important;
    font-weight:850 !important;
    letter-spacing:.018em !important;
    overflow-wrap:break-word;
  }
  body.dhg-site .site-header .dhg-mega-panel :is(.dhg-managed-col,.dhg-mega-types) h3 > i.bi {
    display:inline-block !important;
    width:16px !important;
    min-width:16px !important;
    font-size:15px !important;
    margin:0 9px 0 0 !important;
    vertical-align:-1px;
    color:#08764f;
  }
  /* Avoid double decoration: the legacy CSS still paints a green dot
     next to the new real icon on every navigation link. */
  body.dhg-site .site-header .dhg-mega-panel a::before {
    content:none !important;
    display:none !important;
  }
  /* Link contents are icon + label; align them using flex and a gap,
     rather than relying on spaces between HTML tags. */
  body.dhg-site .site-header .dhg-mega-panel :is(.dhg-market-options,.dhg-managed-col) > a {
    display:flex !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:9px !important;
    padding:8px 6px !important;
    font-size:14.5px !important;
    line-height:1.48 !important;
    font-weight:650 !important;
    white-space:normal !important;
    overflow-wrap:break-word;
  }
  body.dhg-site .site-header .dhg-mega-panel :is(.dhg-market-options,.dhg-managed-col) > a > i.dhg-nav-link-icon {
    position:static !important;
    display:inline-block !important;
    flex:0 0 16px !important;
    width:16px !important;
    min-width:16px !important;
    margin:2px 0 0 0 !important;
    padding:0 !important;
    font-size:15px !important;
    line-height:1.3 !important;
    color:#098057 !important;
    vertical-align:top !important;
    transform:none !important;
  }
  body.dhg-site .site-header .dhg-mega-panel :is(.dhg-market-options,.dhg-managed-col) > a > span {
    display:block;
    flex:1 1 auto;
    min-width:0;
  }
  body.dhg-site .site-header .dhg-mega-panel :is(.dhg-market-options,.dhg-managed-col) > a > .bi-arrow-right:last-child {
    flex:none;
    align-self:center;
    font-size:13px !important;
    color:#098057;
  }
  /* Critical fix: previous compact styles positioned BOTH tab icons and
     chevrons absolutely at the right edge. Only the chevron belongs there. */
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-market-tab > i.bi.dhg-nav-group-icon {
    position:static !important;
    display:inline-block !important;
    flex:0 0 16px !important;
    width:16px !important;
    min-width:16px !important;
    height:16px !important;
    margin:0 9px 0 0 !important;
    padding:0 !important;
    font-size:15px !important;
    line-height:16px !important;
    text-align:center !important;
    transform:none !important;
    color:#167754;
    pointer-events:none;
  }
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-market-tab > span {
    display:inline-block;
    flex:1 1 auto;
    min-width:0;
    text-align:left;
  }
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-market-tab > i.bi-chevron-right {
    position:absolute !important;
    top:50% !important;
    right:10px !important;
    left:auto !important;
    flex:none !important;
    width:13px !important;
    height:14px !important;
    margin:0 !important;
    transform:translateY(-50%) !important;
    pointer-events:none;
  }
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-market-tab {
    font-size:14.5px !important;
    font-weight:750 !important;
    letter-spacing:0 !important;
    /* Keep original successful compact 28px button height. */
    height:28px !important;
    min-height:28px !important;
    max-height:28px !important;
  }
  body.dhg-site .site-header .dhg-mega-panel.dhg-mega-market .dhg-market-tab:is(.active,:hover,:focus) > i.dhg-nav-group-icon {
    color:currentColor !important;
  }
  /* Editable drop-down settings in More. */
  body.dhg-site .site-header .dhg-mega-panel .dhg-managed-col label {
    font-size:14px !important;
    line-height:1.5 !important;
  }
  body.dhg-site .site-header .dhg-mega-panel .dhg-managed-col label > i.dhg-nav-link-icon {
    display:inline-block;
    margin-right:9px !important;
    font-size:15px !important;
    color:#098057;
  }
  body.dhg-site .site-header .dhg-mega-panel .dhg-site-select {font-size:14px !important;}
  body.dhg-site .site-header .dhg-mega-intro > div > span {font-size:11.5px !important;}
  body.dhg-site .site-header .dhg-mega-intro strong {font-size:18px !important;}
  body.dhg-site .site-header .dhg-mega-panel .dhg-mega-intro > a {font-size:13px !important;}
  /* Photo promo card remains deliberately compact and untouched geometrically. */
}
@media (min-width:1400px) {
  body.dhg-site .site-header .dhg-mega-nav .dhg-nav-top {font-size:16px !important;}
  body.dhg-site .site-header .dhg-mega-panel :is(.dhg-market-options,.dhg-managed-col) > a {font-size:15px !important;}
}
/* Mobile uses the same real icons; no unspaced inline glyphs. */
@media (max-width:1199.98px) {
  body.dhg-site .dhg-mobile-nav details > summary,
  body.dhg-site .dhg-mobile-nav > a {font-size:16.5px !important;line-height:1.5 !important;}
  body.dhg-site .dhg-mobile-nav details a,
  body.dhg-site .dhg-mobile-nav .dhg-mobile-group > a {font-size:15.5px !important;line-height:1.5 !important;}
  body.dhg-site .dhg-mobile-nav .dhg-mobile-group > strong {font-size:15px !important;line-height:1.4 !important;}
  body.dhg-site .dhg-mobile-nav i.bi {margin-right:9px !important;vertical-align:baseline;}
  body.dhg-site .dhg-mobile-nav .dhg-mobile-group a i.bi {display:inline-block;width:17px;min-width:17px;}
}
