/*
Theme Name: Estate Home
Description: Company-managed real estate directory.
Version: 4.0.0
Requires PHP: 7.4
*/
:root{--primary:#5736a9;--secondary:#178360;--ink:#211c2c;--line:#e6e2e9}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;background:#fff}a{color:var(--primary)}button,input,select,textarea{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d57d00;outline-offset:3px}
.eh-head{background:var(--primary);color:#fff}.eh-bar{max-width:1250px;padding:0 4%;margin:auto;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px}.eh-head a,.eh-footer a{color:inherit;text-decoration:none}.eh-brand a{display:flex;align-items:center;gap:9px;font-size:24px;font-weight:750;letter-spacing:-1px}.eh-brand img{max-height:44px;width:auto;max-width:190px;object-fit:contain}.eh-mark{display:grid;place-items:center;width:35px;height:35px;border:2px solid;border-radius:10px;font:700 31px/1 Georgia}.eh-head nav{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:600}.eh-head nav a:hover{text-decoration:underline}.eh-navbtn{border:1px solid #ffffff80;border-radius:20px;padding:6px 14px}
.eh-hero{min-height:383px;background:linear-gradient(90deg,#1b0e38b8,#1b0e3833),var(--hero) center 55%/cover,var(--primary);display:grid;place-items:center;padding:50px 5%;color:#fff}.eh-inner{width:min(800px,100%)}.eh-inner h1{font-size:clamp(28px,4vw,48px);letter-spacing:-.045em;line-height:1.12;margin:0 0 25px;text-shadow:0 1px 12px #0004}.eh-tabs{display:flex;width:fit-content;color:white;background:#211833c9;border-radius:12px 12px 0 0;overflow:hidden}.eh-tabs label{position:relative;cursor:pointer}.eh-tabs input{width:1px;height:1px;position:absolute;opacity:0}.eh-tabs span{display:block;padding:12px 24px;font-weight:650;border-bottom:3px solid transparent}.eh-tabs input:checked+span{border-color:white;background:#ffffff18}.eh-tabs input:focus-visible+span{outline:3px solid gold;outline-offset:-4px}.eh-controls,.eh-filters{display:flex;background:white;color:var(--ink);padding:8px;gap:8px;align-items:center}.eh-controls{border-radius:0 12px 12px 12px;box-shadow:0 8px 30px #0002}.eh-place{display:flex;align-items:center;gap:12px;flex:1;padding:0 12px;min-width:0}.eh-place span{font-size:25px;color:var(--primary)}.eh-place input{border:0;padding:10px 0;width:100%;min-width:0}.eh-controls button{background:var(--secondary);color:white;font-weight:700;border:0;border-radius:8px;padding:13px 28px;cursor:pointer}.eh-compact{min-height:260px}.eh-compact h1{font-size:32px}.eh-filters{margin-top:8px;border-radius:10px;flex-wrap:wrap;padding:10px 16px}.eh-filters label{font-size:14px}.eh-filters input,.eh-filters select{border:1px solid var(--line);border-radius:5px;padding:4px;width:120px}
.eh-wrap{max-width:1200px;padding:32px 4% 65px;margin:auto}.eh-wrap section+section{margin-top:44px}.eh-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}.eh-title h2{margin:0;font-size:clamp(24px,3vw,31px);letter-spacing:-.045em}.eh-title p,.eh-card p{margin:2px 0;color:#665e70}.eh-title a{font-weight:650;text-decoration:none;font-size:14px}.eh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.eh-card{display:block;border-radius:14px;border:1px solid var(--line);overflow:hidden;color:inherit;text-decoration:none;background:white;transition:box-shadow .15s}.eh-card:hover{box-shadow:0 6px 18px #2118331f}.eh-photo{position:relative;background:#eae6f0;aspect-ratio:1.85}.eh-photo img{width:100%;height:100%;display:block;object-fit:cover}.eh-photo span{position:absolute;left:12px;top:12px;background:white;color:var(--primary);font-size:12px;font-weight:700;padding:3px 10px;border-radius:14px}.eh-cardbody{padding:16px 18px}.eh-price{font-size:20px;letter-spacing:-.04em;font-weight:750}.eh-card h3{font-size:18px;margin:5px 0 0}.eh-card p,.eh-spec{font-size:14px}.eh-spec{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.eh-pages{margin-top:24px}.eh-pages .page-numbers{padding:6px}.eh-footer{background:#25212e;color:#eeeaf4}.eh-footer span{font-size:13px}
@media(max-width:760px){.eh-bar{flex-wrap:wrap;gap:4px;padding:12px 5%}.eh-brand a{font-size:20px}.eh-head nav{gap:15px;flex-wrap:wrap;font-size:13px}.eh-head nav .eh-navbtn{padding:2px 9px}.eh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.eh-hero{min-height:320px}.eh-wrap{padding:28px 5% 44px}}
@media(max-width:520px){.eh-head .eh-bar{display:block}.eh-head nav{margin-top:10px;justify-content:space-between;gap:6px}.eh-tabs span{padding:9px 17px}.eh-hero{min-height:280px;padding:32px 5%}.eh-controls button{padding:11px 16px}.eh-place{gap:6px;padding:0 4px}.eh-grid{grid-template-columns:1fr}.eh-title a{white-space:nowrap;font-size:13px}.eh-photo{aspect-ratio:2}.eh-footer .eh-bar{display:grid}}
.eh-hero{--hero:url('assets/hero.webp')}@media(max-width:720px){.eh-hero{--hero:url('assets/hero-mobile.webp')}}
