
/* IMMOZERO portal refinement — original, responsive and compatible with existing functions */
:root{--portal-deep:#10281e;--portal-green:#16835c;--portal-line:#dfe7e1}
body.portal-home{background:#fff;color:#15231b}
.portal-home .wrap{max-width:1304px}
.portal-home .site-header{box-shadow:0 3px 18px rgba(16,41,28,.04);border-color:#e5ebe6}
.portal-home .header-inner{min-height:78px}
.portal-home .desktop-nav{gap:29px}
.portal-home .desktop-nav a{font-size:14px;color:#2d3930}
.portal-home .op-brand{letter-spacing:-.067em}
.portal-home .header-publish,.portal-home .publish-cta{border-radius:9px}
.portal-home .portal-hero{height:405px;min-height:0;background:#123c2b;overflow:hidden}
.portal-home .portal-hero .hero-photo{object-position:center 54%}
.portal-home .portal-hero .hero-shade{background:linear-gradient(95deg,rgba(8,31,20,.78),rgba(8,31,20,.40) 56%,rgba(8,31,20,.13))}
.portal-home .portal-hero .hero-layout{min-height:100%;padding-top:58px;padding-bottom:108px;align-items:center}
.portal-home .portal-hero h1{font-size:clamp(40px,5.1vw,72px);line-height:1.06;font-weight:800;letter-spacing:-.055em;max-width:680px;margin:0 0 19px}
.portal-home .portal-hero .eyebrow{color:#b5ead0;font-size:12px}
.portal-home .portal-hero .hero-lead{font-size:18px;line-height:1.45;font-weight:500;color:#f0f7f2;max-width:520px;margin:0}
.portal-home .portal-search{position:relative;z-index:3;margin-top:-83px;background:transparent;padding:0 0 8px}
.portal-home .portal-search .search-card{border:1px solid #dce6dd;border-radius:16px;background:#fff;box-shadow:0 15px 45px rgba(18,45,27,.14);padding:23px 28px 20px}
.portal-home .portal-search .tab-buttons{margin-top:0;display:inline-flex;gap:6px;border:0;background:#eef3ef;border-radius:9px;padding:5px}
.portal-home .portal-search .tab{background:transparent;border:0;border-radius:7px;min-height:42px;padding:9px 25px;color:#405648;font-weight:750}
.portal-home .portal-search .tab.active{background:#126e4c;color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.10)}
.portal-home .portal-search .search-controls{margin-top:20px;gap:12px}
.portal-home .portal-search .search-controls>label>span{font-size:12px;font-weight:750;color:#526359}
.portal-home .portal-search input,.portal-home .portal-search select{min-height:52px;background:#fff;border:1px solid #cfdad1;border-radius:8px;font-size:15px}
.portal-home .portal-search input:focus,.portal-home .portal-search select:focus{border-color:#18875d;outline:2px solid #18875d22}
.portal-home .portal-search .search-submit{border-radius:8px;min-height:52px;box-shadow:none}
.portal-home .portal-search .filter-toggle{min-height:52px;border-radius:8px}
.portal-home .portal-search .search-card-footer{padding-top:12px;margin-top:1px}
.portal-home .quick-actions{max-width:770px;gap:13px;margin:19px auto 0}
.portal-home .quick-actions .btn{min-height:49px;border-radius:9px;font-size:14px}
.portal-home .quick-actions .btn-dark{background:#182c20;border-color:#182c20}
.portal-home .quick-actions .btn-primary{background:#178054}
.portal-categories{padding-top:35px;padding-bottom:12px}
.portal-categories__heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px}
.portal-categories__heading strong{font-size:16px;letter-spacing:-.01em}
.portal-categories__heading a{font-size:13px;font-weight:700;color:#20744e;text-decoration:underline;text-underline-offset:3px}
.portal-categories__links{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.portal-categories__links a{min-height:82px;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border:1px solid #dae6de;border-radius:10px;background:#f8faf8;font-size:13px;font-weight:750;line-height:1.3;text-align:center;transition:background .2s,border-color .2s,transform .2s}
.portal-categories__links a:hover{background:#edf6f0;border-color:#83ba99;transform:translateY(-2px)}
.portal-categories__links span{font-size:22px;line-height:1}
.portal-home .listings-section{padding-top:28px;padding-bottom:58px;background:#fff}
.portal-home .listings-section .section-title-row{align-items:end;gap:22px}
.portal-home .listings-section .section-title-row h2{font-size:clamp(29px,3vw,39px);letter-spacing:-.04em;margin:5px 0}
.portal-home .listings-section .section-desc{font-size:14px}
.portal-home .listing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.portal-home .listing-card{display:flex;flex-direction:column;overflow:hidden;min-height:100%;border:1px solid #e1e6e0;border-radius:12px;background:#fff;box-shadow:0 5px 19px rgba(14,39,25,.045);transition:transform .18s,border-color .18s,box-shadow .18s}
.portal-home .listing-card:hover{transform:translateY(-3px);border-color:#9cb8a3;box-shadow:0 13px 25px rgba(14,39,25,.09)}
.portal-home .listing-photo{height:auto;aspect-ratio:16/10;overflow:hidden;background:#edf0ed;border-radius:0}
.portal-home .listing-photo img{height:100%;width:100%;object-fit:cover;display:block}
.portal-home .listing-body{flex:1;display:flex;flex-direction:column;padding:21px;min-width:0}
.portal-home .listing-body h3{font-size:18px;line-height:1.28;letter-spacing:-.025em;min-height:2.56em;margin:7px 0}
.portal-home .listing-place{font-size:13px;font-weight:650;color:#556459}
.portal-home .listing-stats{margin-top:7px;display:flex;flex-wrap:wrap;gap:7px}
.portal-home .listing-stats span{border-radius:5px;background:#f2f6f2;color:#415147;font-size:12px;padding:4px 7px}
.portal-home .listing-price{margin-top:auto;padding-top:20px;font-size:23px;font-weight:800;letter-spacing:-.025em;color:#182b20}
.portal-home .listing-provider{font-size:12px;margin-top:7px;color:#778178}
.portal-home .listing-actions{margin-top:15px;padding-top:14px;border-top:1px solid #ecf0ed}
.portal-home .listing-badge{background:#fff;color:#205c3b;border:1px solid #e0e9df;font-weight:800;border-radius:5px}
.portal-home .listings-footer{border-top:1px solid #e7ece7;margin-top:35px;padding-top:21px}
.portal-home .benefits-section{background:#f7faf8;border-block:1px solid #e7eee9;padding:46px 0}
.portal-home .benefit-card{background:#fff;border-radius:12px;border:1px solid #e2ebe4;box-shadow:0 3px 10px #172c1910}
.portal-home .benefit-card--favorites{background:#fff}
.portal-home .benefit-card>strong{font-size:22px}
.portal-home .benefit-card:hover{background:#f4f9f5}
@media(max-width:1080px){.portal-categories__links{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-home .listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:920px){.portal-home .portal-hero{height:390px}.portal-home .portal-hero .hero-layout{padding-bottom:115px}.portal-home .portal-search{margin-top:-65px;background:transparent}.portal-home .portal-search .search-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-home .portal-search .search-card{padding:22px}.portal-home .portal-search .search-controls>.location-field{grid-column:1/-1}}
@media(max-width:650px){.portal-home .wrap{padding-inline:17px}.portal-home .portal-hero{height:338px}.portal-home .portal-hero .hero-layout{padding:37px 17px 96px}.portal-home .portal-hero h1{font-size:40px}.portal-home .portal-hero .hero-lead{font-size:15px}.portal-home .portal-search{margin-top:-57px}.portal-home .portal-search .wrap{padding-inline:14px}.portal-home .portal-search .search-card{padding:17px 16px 15px;border-radius:13px}.portal-home .portal-search .tab{padding:8px 20px;font-size:15px;min-height:40px}.portal-home .portal-search .search-controls{gap:12px}.portal-home .portal-search .search-controls>.search-submit{font-size:15px}.portal-home .quick-actions{gap:9px}.portal-home .quick-actions .btn{font-size:13px}.portal-categories{padding-top:24px}.portal-categories__links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.portal-categories__links a{min-height:64px;font-size:12px}.portal-home .listings-section{padding-top:15px}.portal-home .listing-grid{grid-template-columns:minmax(0,1fr);gap:17px}.portal-home .listing-photo{aspect-ratio:16/10}.portal-home .listing-body{padding:19px}.portal-home .listing-body h3{min-height:0}.portal-home .benefits-section{padding:30px 0}}

.portal-home .portal-hero {height: 245px;}
.portal-home .portal-hero .hero-layout {padding-block: 22px 118px;}
.portal-home .portal-hero h1 {font-size: clamp(32px, 4.4vw, 56px); max-width: none; margin: 0 0 8px;}
.portal-home .portal-search {margin-top: -48px;}
.portal-home .search-card-footer a {font-weight: 650; text-decoration: underline; text-underline-offset: .18em;}
.portal-shortcuts {margin-block: 18px 32px;}
.portal-shortcuts summary {cursor: pointer; padding-block: 12px; font-weight: 650;}
.portal-shortcuts nav {margin: 8px 0;}
.portal-home .portal-search input, .portal-home .portal-search select {font-size: 16px;}
@media (max-width: 650px) {
  .portal-home .portal-hero {height: auto; min-height: 150px;}
  .portal-home .portal-hero .hero-layout {padding: 20px 17px 94px;}
  .portal-home .portal-hero h1 {font-size: clamp(27px, 7.5vw, 36px); line-height: 1.1;}
  .portal-home .portal-search {margin-top: -23px;}
  .portal-home .header-inner {gap: 4px; padding-inline: 10px; min-height: 60px;}
  .portal-home .header-actions {gap: 2px;}
  .portal-home .header-publish {display: inline-flex; padding: 8px 10px; font-size: 13px; white-space: nowrap; min-height: 44px;}
  .portal-home .op-brand {font-size: clamp(20px, 5.4vw, 27px);}
  .portal-home .portal-search .tab {padding-inline: 16px; min-height: 44px;}
  .portal-home .portal-search .search-controls {margin-top: 13px;}
  .portal-home .portal-search .filter-toggle {padding-inline: 2px; font-size: 14px;}
}
