/*
Theme Name: HomeHub247 Realty
Theme URI: https://homehub247.com
Author: HomeHub247
Description: Original real estate marketplace theme inspired by the feature set of modern property portals. Houses, rentals, rooms and shared housing.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: homehub247
*/
:root{--navy:#072544;--blue:#006fce;--green:#239b27;--light:#f5f7fb;--text:#27384a;--muted:#6d7d8d;--border:#e3e9f0}
*{box-sizing:border-box}body{margin:0;color:var(--text);font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.container{width:min(1180px,92%);margin:auto}
.site-header{background:#fff;border-bottom:1px solid var(--border);position:relative;z-index:10}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px}.brand{font-size:27px;font-weight:850;letter-spacing:-1px;color:var(--navy)}.brand span{color:var(--blue)}.site-nav{display:flex;gap:25px;align-items:center}.site-nav a{font-weight:600;font-size:14px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--blue);border:1px solid var(--blue);color:white;padding:12px 20px;border-radius:9px;font-weight:700;cursor:pointer}.btn.outline{background:white;color:var(--blue)}.menu-toggle{display:none;background:none;border:0;font-size:25px;cursor:pointer}
.hero{min-height:490px;background:linear-gradient(90deg,rgba(10,29,52,.82),rgba(10,29,52,.26)),url('assets/hero.svg') center/cover;display:flex;align-items:center}.hero-content{color:#fff;padding:65px 0}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:800;color:#c1d4ff}.hero h1{font-size:clamp(38px,5vw,62px);line-height:1.12;letter-spacing:-2px;margin:12px 0;max-width:720px}.hero p{max-width:630px;font-size:18px;color:#e9efff}.search-panel{margin-top:32px;background:white;color:var(--text);padding:16px;border-radius:14px;box-shadow:0 18px 50px #07172a30;max-width:1050px}.search-tabs{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.search-tabs a{padding:7px 14px;border-radius:7px;font-size:14px;font-weight:700;background:var(--light)}.search-tabs a.active{background:var(--blue);color:white}.search-grid{display:grid;grid-template-columns:2fr 1.1fr 1fr auto;gap:10px}.search-grid input,.search-grid select,.field{width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text)}.section{padding:72px 0}.section.alt{background:var(--light)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section h2{font-size:32px;line-height:1.2;letter-spacing:-.8px;color:var(--navy);margin:0 0 7px}.muted{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.property-card{border:1px solid var(--border);border-radius:14px;overflow:hidden;background:white;box-shadow:0 5px 22px #1020390a;transition:transform .2s}.property-card:hover{transform:translateY(-3px)}.card-photo{position:relative;display:block;aspect-ratio:1.48;background:#dbe4ef;overflow:hidden}.card-photo img{width:100%;height:100%;object-fit:cover}.card-photo .placeholder{height:100%;display:grid;place-items:center;color:#71869d;background:linear-gradient(145deg,#dce7f6,#b8cee8);font-size:54px}.pill{position:absolute;top:14px;left:14px;background:var(--blue);color:#fff;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:700}.card-body{padding:20px}.price{font-size:25px;font-weight:850;color:var(--blue)}.card-body h3{margin:7px 0;font-size:18px;line-height:1.3}.meta{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-top:13px}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category-tile{border-radius:13px;background:white;padding:28px 18px;border:1px solid var(--border);text-align:center}.category-icon{font-size:34px}.category-tile h3{margin:8px 0 3px}.cta{background:var(--navy);color:white;border-radius:18px;padding:45px;display:flex;align-items:center;justify-content:space-between;gap:20px}.cta h2{color:white}.site-footer{background:#0d1b2d;color:#b9c6d8;padding:45px 0}.footer-inner{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap}.site-footer .brand{color:white}.page-heading{padding:52px 0 28px;background:var(--light)}.page-heading h1{margin:0;font-size:38px;color:var(--navy)}.archive-search{padding:24px 0}.listing-layout{display:grid;grid-template-columns:1fr 300px;gap:28px}.sidebar-box{border:1px solid var(--border);padding:22px;border-radius:12px;margin-bottom:20px}.single-grid{display:grid;grid-template-columns:2fr 1fr;gap:28px}.single-cover{width:100%;max-height:540px;object-fit:cover;border-radius:14px}.detail-box{padding:25px;border:1px solid var(--border);border-radius:14px}.detail-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.detail-list div{border-bottom:1px solid var(--border);padding:8px 0}.entry-content{max-width:760px}.notice{padding:14px 18px;background:#eef5ff;border-radius:8px}.pagination{margin:35px 0}.pagination .page-numbers{padding:8px 13px;border:1px solid var(--border);border-radius:6px}.pagination .current{background:var(--blue);color:white}.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:900px){.search-grid{grid-template-columns:1fr 1fr}.cards{grid-template-columns:repeat(2,1fr)}.categories{grid-template-columns:repeat(2,1fr)}.listing-layout,.single-grid{grid-template-columns:1fr}.site-nav{display:none;position:absolute;top:81px;left:0;right:0;background:white;padding:20px;box-shadow:0 12px 20px #0002;flex-direction:column}.site-nav.open{display:flex}.menu-toggle{display:block}}@media(max-width:580px){.search-grid,.cards,.categories{grid-template-columns:1fr}.hero{min-height:570px}.section{padding:48px 0}.cta{display:block;padding:28px}.hero h1{letter-spacing:-1px}.header-inner>.btn{display:none}}

/* Sierra Leone-inspired HomeHub247 branding */
.brand-image{display:block;width:215px;max-height:58px;object-fit:contain;object-position:left center}.site-header .header-inner{min-height:88px}.site-nav{gap:18px}.site-nav a:hover,.site-footer a:hover{color:var(--green)}.btn{background:var(--green);border-color:var(--green)}.btn:hover{background:#157f1b}.btn.outline{background:white;color:var(--green)}.price{color:var(--green)}.pill{background:var(--blue)}.search-tabs a.active{background:var(--green)}.hero{background:linear-gradient(90deg,rgba(4,30,55,.88),rgba(4,30,55,.28)),url('assets/hero.svg') center/cover}.section h2{color:var(--navy)}.brand-mark{max-width:320px;width:100%;height:auto}.site-footer .brand-image{background:white;padding:4px 8px;border-radius:7px}.top-actions{display:flex;gap:8px;align-items:center}.btn-small{padding:9px 12px;font-size:13px}.page-content{max-width:850px;margin:0 auto}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.info-box{border:1px solid var(--border);padding:24px;border-radius:13px;background:white}.info-box h3{margin:0 0 7px}.form-card{max-width:800px;margin:0 auto;border:1px solid var(--border);border-radius:15px;padding:30px;background:white}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.form-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.form-field label{font-weight:700;font-size:14px}.form-field input,.form-field select,.form-field textarea{border:1px solid var(--border);padding:12px;border-radius:8px;width:100%}.form-field textarea{min-height:140px}.form-field.full{grid-column:1/-1}.success{background:#eaf8eb;color:#146a1b;padding:15px;border-radius:9px}.error{background:#fff0ee;color:#a22c21;padding:15px;border-radius:9px}.page-links{display:flex;flex-wrap:wrap;gap:16px}.footer-links{display:flex;flex-wrap:wrap;gap:18px}.footer-links a{font-size:14px}.listing-table{width:100%;border-collapse:collapse}.listing-table td,.listing-table th{padding:13px;text-align:left;border-bottom:1px solid var(--border)}.site-nav .menu-item{list-style:none}.site-nav ul{display:flex;gap:18px;align-items:center;padding:0;margin:0}.brand-tagline{color:#bdd7f3;font-size:13px}.verified-note{background:#f0f7ff;border-left:4px solid var(--blue);padding:15px 20px;border-radius:5px}.form-help{font-size:13px;color:var(--muted)}
@media(max-width:900px){.site-nav ul{flex-direction:column}.top-actions .btn-small{display:none}.info-grid{grid-template-columns:1fr 1fr}}@media(max-width:580px){.form-grid,.info-grid{grid-template-columns:1fr}.form-card{padding:18px}.brand-image{width:165px}.site-header .header-inner{min-height:76px}.site-nav{top:76px}.hero-content{padding:48px 0}}

/* Version 1.2 — Sierra Leone real estate portal visual system */
:root{--blue:#0867c9;--navy:#0b2746;--green:#169b38;--light:#f6f9fc;--border:#e3eaf1}
.utility-bar{background:#0b2746;color:#c9d7e7;font-size:12px}.utility-inner{display:flex;justify-content:space-between;align-items:center;min-height:33px;gap:12px}.utility-inner a:hover{color:white}
.site-header{box-shadow:0 3px 20px #1233550d}.header-inner{min-height:88px}.site-nav{gap:18px}.site-nav a{font-size:13px}.brand-image{max-height:59px;max-width:225px;object-fit:contain}.btn{background:var(--green);border-color:var(--green)}.btn.outline{background:white;color:var(--green);border-color:#c9e4d1}.btn:hover{filter:brightness(.94)}
.hero-v2{min-height:575px;background:linear-gradient(90deg,rgba(4,24,43,.82),rgba(4,24,43,.30)),url('assets/hero.svg') center/cover}.hero-v2 .hero-content{text-align:center}.hero-v2 h1{margin:12px auto;font-size:clamp(42px,5.2vw,70px)}.hero-v2 p{margin:0 auto;max-width:750px}.hero-v2 .search-panel{text-align:left;margin:37px auto 0;max-width:1080px}.hero-v2 .eyebrow{color:#d7f7df}.search-tabs a.active,.search-tabs a:hover{background:var(--green);color:white}
.advanced-fields{grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap;padding-top:6px}.advanced-fields label{font-size:12px;color:#526579;font-weight:700;display:flex;align-items:center;gap:7px}.advanced-fields input,.advanced-fields select{width:115px;padding:8px;border:1px solid var(--border);border-radius:7px}
.green-text{color:var(--green)!important}.center-head{text-align:center;margin:0 auto 30px}.center-head h2{font-size:35px;margin:8px 0}.center-head p{margin:0}.category-tile{box-shadow:0 10px 35px #1c45640a;transition:transform .2s,border-color .2s}.category-tile:hover{transform:translateY(-5px);border-color:#9ad9aa}.category-icon{color:var(--green);font-size:39px}.category-tile h3{color:var(--navy)}
.property-card{box-shadow:0 9px 35px #10203910}.card-photo .pill{background:var(--green)}.price{color:var(--green)}.empty-listings{grid-column:1/-1;padding:38px;border:1px dashed #b9d3c1;background:white;border-radius:14px;text-align:center}.empty-listings h3{margin:0 0 8px}
.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.benefits>div{background:#fff;border:1px solid var(--border);padding:28px;border-radius:14px}.benefits h3{color:var(--navy)}.benefit-icon{width:56px;height:56px;border-radius:14px;background:#e9f7ed;color:var(--green);display:grid;place-items:center;font-size:32px}.cta{background:linear-gradient(115deg,#063a75,#168e49)}.cta-button{background:white;color:var(--green);border-color:white}
.page-heading{background:#f2f8f5}.directory-section{padding-top:15px}.directory-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.directory-top h2{font-size:21px;margin:0}.listing-layout{grid-template-columns:265px 1fr}.directory-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-link{display:block;padding:10px 0;border-bottom:1px solid var(--border);font-size:14px}.filter-link:hover{color:var(--green)}
.detail-section{margin:25px 0 30px;border:1px solid var(--border);border-radius:14px;padding:24px;background:white}.detail-section h2{font-size:24px}.overview-stats{display:flex;flex-wrap:wrap;gap:14px}.overview-stats>div{padding:12px 20px;background:#f3f9f6;border-radius:10px;min-width:115px}.overview-stats strong,.overview-stats span{display:block}.overview-stats strong{font-size:20px;color:var(--navy)}.overview-stats span{font-size:12px;color:var(--muted)}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.feature-grid span{color:#2b6942}.agent-inline{display:flex;gap:12px;align-items:center}.agent-inline img{border-radius:50%}.agent-inline small{display:block;color:var(--muted)}.full-btn{width:100%;text-align:center}.sticky-detail{position:sticky;top:20px}.empty-photo{background:#e9f2f9;display:grid;place-items:center;min-height:320px;color:#617a8c}
.agent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.agent-card{padding:24px;border:1px solid var(--border);border-radius:12px;text-align:center}.agent-card img{border-radius:50%}
.site-footer{background:#071e34}.footer-columns{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:35px;padding:15px 0 35px}.footer-columns h3{color:#fff;font-size:16px;margin-top:0}.footer-columns a:not(:has(img)){display:block;padding:4px 0;color:#c2d1df;font-size:14px}.footer-columns a:hover{color:#fff}.footer-logo{width:210px;max-height:100px;object-fit:contain;background:white;border-radius:8px;padding:5px}.footer-sub{font-size:13px;color:#91bba5}.footer-bottom{border-top:1px solid #24415a;padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:13px}
@media(max-width:1000px){.footer-columns{grid-template-columns:repeat(2,1fr)}.site-nav{gap:10px}.listing-layout{grid-template-columns:210px 1fr}}@media(max-width:760px){.utility-inner{display:block;padding:7px 0}.listing-layout,.directory-cards,.benefits,.agent-grid{grid-template-columns:1fr}.filter-sidebar{order:2}.footer-columns{grid-template-columns:1fr 1fr}.hero-v2{min-height:620px}.hero-v2 .hero-content{text-align:left}.hero-v2 h1,.hero-v2 p{margin-left:0}.feature-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.footer-columns,.feature-grid{grid-template-columns:1fr}.footer-bottom{display:block}.directory-top{display:block}.advanced-fields{display:grid;grid-template-columns:1fr 1fr}.advanced-fields label{display:block}.advanced-fields input,.advanced-fields select{width:100%}}
