/* ANHP Realty v1.10: restored photo hero, unified blue-teal visual system. */
:root{
  --anhp-accent:#286D82;--anhp-accent-hover:#1F5466;
  --anhp-ink:#26353A;--anhp-soft:#F4F8F8;--anhp-line:#E1E8E9;
  --accent:#286D82;--forest:#286D82;--forest-dark:#1F5466;
  --ink:#26353A;--muted:#66767C;--sand:#F5F7F6;
  --line:#E1E8E9;--gold:#BDA98A;
}
body{color:#26353A;background:#fff}
a{transition:color .2s ease}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#286D82}
.portal-utility{background:#F5F7F6!important;border-color:#E6E8E8!important}
.portal-utility__phone,.site-header .nav-list .current-menu-item>a,.site-header .nav-list>li>a:hover{color:#286D82!important}
.site-header,body.home .site-header{background:#fff!important;border-bottom:1px solid #E3E9E9!important}
.site-header .brand{border-color:#286D82!important}
.site-header .brand-dot{color:#286D82!important}
.site-header .nav-list>li>a:after{background:#286D82!important}
.site-header .header-actions .btn--header,body.home .site-header .header-actions .btn--header,
.btn--primary,.search-submit,.contact-form button,.portal-aside-cta,
.site-footer-invite__primary,.site-footer-invite__actions a{
  background:#286D82!important;border-color:#286D82!important;color:#fff!important;
}
.site-header .header-actions .btn--header:hover,.btn--primary:hover,.search-submit:hover,
.contact-form button:hover,.portal-aside-cta:hover,.site-footer-invite__primary:hover,
.site-footer-invite__actions a:hover{background:#1F5466!important;border-color:#1F5466!important;color:#fff!important}
.property-card__price,.property-card__foot a,.portal-section-head>a,.portal-label,
.anhp-home-feed__bottom strong,.anhp-home-feed__eyebrow,.anhp-home-feed__all,
.anhp-text-link,.anhp-plain-button,.news-more,.footer-contact-phone,
.site-footer .footer-about-link,.news-card a:hover{color:#286D82!important}
.anhp-home-feed--dat-ban,.anhp-home-feed--phong-cho-thue,.portal-bottom-section{background:#F6F8F8!important}
.portal-shortcuts,.portal-shortcuts__item,.anhp-home-feed__card,.portal-aside-block{border-color:#E2E8E9!important}
.portal-shortcuts__item:hover,.portal-aside-help,.anhp-home-feed__card:hover{background:#F2F7F8!important}
.portal-shortcuts__item b,.portal-shortcuts__item small{color:#286D82!important}
.anhp-process{background:#F7F6F3!important}
.site-footer-invite{background:#EDF4F6!important;border-color:#DFE9EB!important}
.site-footer{background:#fff!important;border-color:#E1E8E9!important}
.footer-bottom-outer{background:#F5F7F8!important}
/* Return to full-bleed photo hero in v1.6/1.7 spirit: title first, compact search dock second. */
.home-v14 .portal-hero.portal-hero--restored{
  position:relative!important;display:block!important;isolation:isolate!important;
  min-height:0!important;height:auto!important;overflow:visible!important;
  padding:0!important;background:#243b46!important;
}
.portal-hero--restored .portal-hero__background{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center 53%!important;
  z-index:-2!important;filter:none!important;transform:none!important;
}
.portal-hero--restored .portal-hero__wash{
  position:absolute!important;inset:0!important;z-index:-1!important;
  background:linear-gradient(90deg,rgba(18,31,38,.78) 0%,rgba(18,31,38,.62) 42%,rgba(18,31,38,.14) 84%),
             linear-gradient(0deg,rgba(15,28,37,.40),transparent 45%)!important;
}
.home-v14 .portal-hero--restored .portal-hero__layout{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:0!important;min-height:575px!important;padding-top:86px!important;padding-bottom:0!important;
  position:relative!important;z-index:3!important;
}
.portal-hero--restored .portal-hero__copy{color:#fff!important;max-width:585px!important;margin:0 0 auto!important;padding:0 0 82px!important}
.portal-hero--restored .portal-hero__eyebrow{color:rgba(255,255,255,.83)!important;font-size:10px!important;font-weight:500!important;letter-spacing:.09em!important;margin:0 0 17px!important}
.home-v14 .portal-hero--restored h1{
  font-family:'Be Vietnam Pro',Arial,sans-serif!important;font-weight:600!important;
  font-size:clamp(32px,3.5vw,47px)!important;line-height:1.35!important;
  letter-spacing:-.019em!important;color:#fff!important;max-width:570px!important;
  margin:0 0 15px!important;text-wrap:balance;
}
.portal-hero--restored .portal-hero__subtitle{font-size:13px!important;line-height:1.82!important;color:rgba(255,255,255,.92)!important;max-width:490px!important;margin:0 0 25px!important}
.portal-hero--restored .portal-hero__actions{display:flex!important;flex-wrap:wrap!important;gap:24px!important}
.portal-hero--restored .portal-hero__primary{
  background:#286D82!important;color:#fff!important;padding:12px 18px!important;
  border-radius:3px!important;min-height:45px!important;border:1px solid #286D82!important;
}
.portal-hero--restored .portal-hero__primary:hover{background:#1F5466!important;border-color:#1F5466!important;color:#fff!important}
.portal-hero--restored .portal-hero__secondary{color:#fff!important;border-bottom:1px solid rgba(255,255,255,.72)!important}
.portal-hero--restored .portal-hero__find{width:100%!important;max-width:none!important;position:relative!important;margin-bottom:-61px!important;z-index:5!important}
.portal-hero--restored .portal-search--dock{
  width:100%!important;max-width:none!important;background:#fff!important;
  box-shadow:0 14px 35px rgba(29,49,59,.13)!important;border:1px solid #E4EBED!important;
  border-radius:5px!important;padding:20px 23px 22px!important;
}
.portal-hero--restored .portal-search__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px!important}
.portal-hero--restored .portal-search__top>span{font-weight:600!important;font-size:14px!important;color:#26353A!important}
.portal-hero--restored .portal-search__top>a{color:#286D82!important;font-size:11px!important}
.portal-hero--restored .property-search--hero .search-tabs{gap:19px!important;border-color:#E2E8E9!important}
.portal-hero--restored .property-search--hero .search-tab.is-active{color:#286D82!important;border-bottom-color:#286D82!important}
.portal-hero--restored .property-search--hero .search-fields{
  display:grid!important;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr)) 135px!important;
  padding:12px 0 0!important;gap:10px!important;
}
.portal-hero--restored .property-search--hero .search-field{
  min-height:51px!important;min-width:0!important;padding:6px 11px!important;border:1px solid #DCE5E7!important;
  background:#fff!important;border-radius:3px!important;
}
.portal-hero--restored .property-search--hero .search-field--keyword{grid-column:auto!important}
.portal-hero--restored .property-search--hero .search-field select,.portal-hero--restored .property-search--hero .search-field input{font-size:12px!important}
.portal-hero--restored .property-search--hero .search-submit{width:100%!important;min-width:0!important;min-height:51px!important;grid-column:auto!important;margin:0!important;align-self:stretch!important}
.portal-hero--restored .portal-hero__photo-note{position:absolute!important;right:max(20px,calc((100% - 1160px)/2))!important;bottom:172px!important;color:rgba(255,255,255,.88)!important;font-size:9px!important;text-shadow:0 1px 6px rgba(0,0,0,.5)!important}
.home-v14 .portal-shortcuts{padding-top:67px!important;background:#fff!important}
/* Component and preview search field variations share the same spacing. */
.portal-hero--restored .home-search-head{font-size:14px!important;font-weight:600!important;color:#26353A!important}
.portal-hero--restored .portal-search__helper{display:none!important}
.portal-hero--restored .home-fields{display:grid!important;grid-template-columns:1fr 1.5fr 1fr 132px!important;gap:10px!important;align-items:end!important}
.portal-hero--restored .home-fields label{background:#fff!important;border:1px solid #DEE7E9!important;border-radius:3px!important;min-width:0!important}
.portal-hero--restored .home-fields button{background:#286D82!important;border-radius:3px!important;color:#fff!important}
.portal-hero--restored .home-fields button:hover{background:#1F5466!important}
.portal-hero--restored .hero-search-note{display:none!important}
@media(max-width:1000px){
 .home-v14 .portal-hero--restored .portal-hero__layout{min-height:545px!important;padding-top:65px!important}
 .portal-hero--restored .portal-hero__copy{padding-bottom:76px!important}
 .portal-hero--restored .property-search--hero .search-fields{grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr)) 122px!important}
 .portal-hero--restored .home-fields{grid-template-columns:1fr 1.3fr 1fr 120px!important}
}
@media(max-width:760px){
 .home-v14 .portal-hero--restored .portal-hero__layout{min-height:0!important;padding-top:48px!important;padding-bottom:0!important}
 .portal-hero--restored .portal-hero__wash{background:linear-gradient(180deg,rgba(15,27,34,.73),rgba(15,27,34,.48))!important}
 .portal-hero--restored .portal-hero__background{object-position:center 48%!important}
 .portal-hero--restored .portal-hero__copy{padding-bottom:45px!important;max-width:620px!important}
 .home-v14 .portal-hero--restored h1{font-size:clamp(27px,5vw,36px)!important;max-width:520px!important}
 .portal-hero--restored .portal-hero__subtitle{font-size:12px!important;max-width:490px!important}
 .portal-hero--restored .portal-hero__find{margin-bottom:-1px!important}
 .portal-hero--restored .portal-search--dock{padding:15px 16px!important;border-radius:4px 4px 0 0!important;box-shadow:none!important}
 .portal-hero--restored .property-search--hero .search-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .portal-hero--restored .property-search--hero .search-field--keyword{grid-column:1/-1!important}
 .portal-hero--restored .property-search--hero .search-submit{grid-column:1/-1!important}
 .portal-hero--restored .home-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .portal-hero--restored .home-fields label:nth-child(2),.portal-hero--restored .home-fields button{grid-column:1/-1!important}
 .portal-hero--restored .portal-hero__photo-note{display:none!important}
 .home-v14 .portal-shortcuts{padding-top:0!important}
}
@media(max-width:540px){
 .home-v14 .portal-hero--restored .portal-hero__layout{padding-top:35px!important}
 .home-v14 .portal-hero--restored h1{font-size:29px!important;line-height:1.38!important}
 .portal-hero--restored .portal-hero__eyebrow{font-size:9px!important;margin-bottom:12px!important}
 .portal-hero--restored .portal-hero__subtitle{font-size:11px!important;margin-bottom:21px!important}
 .portal-hero--restored .portal-hero__copy{padding-bottom:39px!important}
 .portal-hero--restored .portal-hero__actions{gap:15px!important}
 .portal-hero--restored .portal-hero__actions a{font-size:11px!important}
 .portal-hero--restored .portal-search--dock{padding:13px 12px!important}
 .portal-hero--restored .portal-search__top>span{font-size:12px!important}
 .portal-hero--restored .portal-search__top>a{font-size:10px!important}
 .portal-hero--restored .home-fields,.portal-hero--restored .property-search--hero .search-fields{gap:8px!important}
}
@media(prefers-reduced-motion:reduce){.portal-hero--restored *,a,button{transition:none!important;animation:none!important}}
/* Override old preview grid-span defaults on wide screens. */
@media(min-width:761px){
 .portal-hero--restored .portal-hero__find .home-fields label:nth-child(2),
 .portal-hero--restored .portal-hero__find .home-fields button{
   grid-column:auto!important;
 }
}
