@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');
:root{--navy:#07113f;--navy2:#111d52;--orange:#f07828;--gold:#f4c72f;--ink:#18213a;--muted:#778096;--line:#e8eaf0;--paper:#f7f8fa;--green:#0e806a}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:'DM Sans',sans-serif;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.site-header{height:94px;padding:10px clamp(18px,5vw,76px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:20}.brand img{width:250px;height:70px;object-fit:contain}.main-nav{display:flex;align-items:center;gap:8px;padding:8px;background:#f5f6f8;border-radius:50px}.main-nav a{padding:12px 17px;border-radius:30px;font-size:14px;font-weight:700;color:#566078}.main-nav a:hover,.main-nav a:first-child{background:var(--navy);color:white}.header-actions{display:flex;gap:10px;align-items:center}.btn{border:0;border-radius:12px;padding:13px 19px;display:inline-flex;justify-content:center;align-items:center;font-weight:800;font-size:13px;cursor:pointer}.btn-primary{background:var(--orange);color:#fff}.btn-outline{border:1px solid #d9dce5;color:var(--navy);background:#fff}.btn-dark{background:var(--navy);color:#fff;width:100%}.btn:hover{filter:brightness(.96);transform:translateY(-1px)}.menu-toggle{display:none;background:none;border:0;font-size:25px;color:var(--navy)}.ad-unit{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f0f1f4;border:1px dashed #d1d5df;color:#8b91a1;min-height:76px}.ad-unit img{width:100%;height:100%;object-fit:cover}.ad-header{margin:14px auto 18px;max-width:1200px;height:clamp(72px,10vw,118px);padding:0 12px;border:0;border-radius:12px;background:#f7f8fa}.ad-header img{width:100%;height:100%;object-fit:contain;object-position:center;background:#f7f8fa}.country-badge{position:absolute;top:12px;left:12px;background:#fff;color:#15234b;padding:7px 10px;border-radius:20px;font-size:11px;font-weight:800;box-shadow:0 2px 8px #0002}.fee-line{display:flex;flex-wrap:wrap;gap:8px;color:#5e687b;font-size:11px;font-weight:700;margin:0 0 12px}.fee-line span{background:#f5f6f8;border-radius:7px;padding:6px 8px}.social-links{display:flex;gap:12px;flex-wrap:wrap;padding:8px 0 20px}.social-links a{display:inline-flex;align-items:center;gap:7px;border:1px solid #ffffff35;border-radius:30px;padding:8px 13px}.social-links a span{font-weight:900;font-size:18px}.hero{padding:56px clamp(20px,6vw,90px) 40px;background:linear-gradient(120deg,#f8f7f1 0%,#f5f5f3 60%,#f4f0e9 100%);display:grid;grid-template-columns:1fr 1.05fr;gap:45px;align-items:center}.hero h1{font:600 clamp(42px,5vw,68px)/1.06 'Playfair Display',serif;letter-spacing:-1.8px;color:var(--navy);margin:0 0 20px}.hero h1 em{color:#b68b43}.hero p{color:#6f7787;font-size:16px;line-height:1.7}.hero-image{height:350px;border-radius:24px 100px 24px 24px;overflow:hidden}.hero-image img{width:100%;height:100%;object-fit:cover}.search-panel{margin:0 auto 40px;max-width:1240px;background:white;border:1px solid var(--line);box-shadow:0 15px 40px #101c3b0d;border-radius:20px;padding:25px;position:relative}.tabs{display:flex;gap:8px;margin-bottom:20px}.tabs a,.chip{background:#f0f2ed;padding:11px 18px;border-radius:30px;font-size:13px;font-weight:800;color:#687166}.tabs a.active,.chip:hover{background:var(--navy);color:#fff}.search-fields{display:grid;grid-template-columns:1.5fr 1fr 1fr auto;gap:12px}.field label{display:block;font-size:12px;font-weight:700;color:#7b8291;margin:0 0 7px}.field input,.field select,.admin-form input,.admin-form select,.admin-form textarea{width:100%;border:1px solid #dfe2e9;border-radius:10px;padding:14px;font:inherit;background:#fff;color:var(--ink)}.field input:focus,.field select:focus,.admin-form input:focus,.admin-form textarea:focus{outline:2px solid #dce2ff;border-color:var(--navy)}.quick-locations{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.section{padding:45px clamp(18px,5vw,75px)}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.section-head h2{font:600 36px 'Playfair Display',serif;color:var(--navy);margin:0}.section-head p{color:var(--muted);margin:8px 0 0}.property-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.property-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 28px #17213b08;transition:.2s}.property-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px #17213b14}.property-image{height:225px;display:block;position:relative;background:#e9ebef}.property-image img{width:100%;height:100%;object-fit:cover}.image-count,.status-pill{position:absolute;bottom:12px;left:12px;background:#07113fdb;color:white;padding:7px 10px;border-radius:20px;font-size:11px;font-weight:800}.status-pill{left:auto;right:12px;background:var(--orange)}.property-info{padding:18px}.eyebrow{font-size:11px;letter-spacing:.7px;text-transform:uppercase;color:var(--green);font-weight:800}.property-info h3{font:700 23px 'Playfair Display',serif;margin:9px 0}.location{color:#7a8291;font-size:13px;margin:0 0 14px}.price{font-size:21px;font-weight:800;color:var(--navy)}.price small{font-size:12px;color:#838a99}.features{display:flex;justify-content:space-between;padding:15px 0;margin:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;color:#687184;font-weight:700}.card-actions{display:flex}.browse-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;align-items:start}.vertical-ad{width:100%;aspect-ratio:9/16;position:sticky;top:115px;border-radius:15px}.vertical-ad img{object-fit:cover}.filters{background:#f7f8fa;padding:16px;border-radius:15px;display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.filters select,.filters input{padding:11px;border:1px solid var(--line);border-radius:9px;background:white}.page-hero{background:var(--paper);padding:55px clamp(18px,6vw,90px)}.page-hero h1{font:600 48px 'Playfair Display',serif;color:var(--navy);margin:0 0 10px}.detail-layout{display:grid;grid-template-columns:1.5fr .8fr;gap:30px}.gallery-main{height:440px;border-radius:18px;overflow:hidden}.gallery-main img{width:100%;height:100%;object-fit:cover}.detail-box{border:1px solid var(--line);border-radius:18px;padding:24px;height:max-content}.detail-box h2{font:600 30px 'Playfair Display',serif;margin:8px 0}.detail-price{font-size:28px;font-weight:800;color:var(--navy)}.site-footer{background:var(--navy);color:#fff;padding:35px clamp(18px,5vw,75px) 20px}.footer-ad{margin-bottom:30px}.footer-ad .ad-unit{min-height:90px;background:#ffffff12;border-color:#ffffff30;color:#ffffff80}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding:20px 0 35px}.footer-logo{width:260px;height:90px;object-fit:contain;background:#fff;border-radius:12px;padding:5px}.site-footer h3{color:var(--gold)}.site-footer a{display:block;margin:10px 0;color:#dce0ed}.site-footer p{color:#c4cadb;line-height:1.7}.copyright{border-top:1px solid #ffffff22;padding-top:20px;color:#aab2cb;font-size:12px}.notice{padding:13px 16px;border-radius:10px;margin:15px 0;background:#e9f7ef;color:#12623d}.notice.error{background:#fff0ef;color:#9b2525}.admin-body{background:#f4f6fa;min-height:100vh}.admin-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:var(--navy);padding:22px 16px;color:#fff}.sidebar img{width:205px;height:70px;object-fit:contain;background:white;border-radius:10px;margin:0 auto 25px}.sidebar a{display:block;color:#d8dced;padding:13px 14px;border-radius:9px;font-weight:600;font-size:14px;margin:4px 0}.sidebar a:hover,.sidebar a.active{background:#ffffff1b;color:white}.admin-main{padding:28px;min-width:0}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.admin-top h1{margin:0;color:var(--navy);font-size:27px}.admin-card{background:#fff;border:1px solid #e9ebf0;border-radius:16px;padding:22px;margin-bottom:22px;box-shadow:0 5px 18px #101b3508}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat strong{display:block;font-size:30px;color:var(--navy);margin-top:9px}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th,.admin-table td{text-align:left;padding:13px 10px;border-bottom:1px solid #edf0f4}.admin-table th{color:#778096;font-size:11px;text-transform:uppercase}.admin-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.admin-form .full{grid-column:1/-1}.admin-form label{display:block;font-size:12px;font-weight:800;color:#677087;margin-bottom:6px}.admin-form textarea{min-height:110px;resize:vertical}.admin-form button{justify-self:start}.password-wrap{position:relative}.password-wrap input{padding-right:55px}.eye-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:#f0f2f6;border-radius:7px;padding:7px;cursor:pointer}.login-wrap{max-width:440px;margin:8vh auto;padding:20px}.login-card{background:white;border-radius:20px;padding:32px;box-shadow:0 20px 60px #0a17401a}.login-card img{width:260px;height:90px;object-fit:contain;margin:0 auto 20px}.login-card h1{text-align:center;color:var(--navy)}.login-card .field{margin:15px 0}.login-card .btn{width:100%}.pagination{display:flex;gap:8px;margin-top:25px}.pagination a{padding:9px 13px;border:1px solid var(--line);border-radius:8px}.empty{padding:40px;text-align:center;color:#7a8291;background:#f8f9fb;border-radius:14px}
@media(max-width:1000px){.main-nav{display:none;position:absolute;top:85px;left:12px;right:12px;border-radius:14px;flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.menu-toggle{display:block}.hero{grid-template-columns:1fr}.hero-image{height:280px}.property-grid{grid-template-columns:repeat(2,1fr)}.search-fields{grid-template-columns:1fr 1fr}.browse-layout{grid-template-columns:1fr 180px}.admin-shell{grid-template-columns:210px 1fr}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.site-header{height:78px;padding:8px 14px}.brand img{width:180px;height:58px}.header-actions .btn-outline{display:none}.header-actions .btn{padding:10px}.hero{padding:38px 20px}.hero h1{font-size:43px}.hero-image{height:220px}.search-panel{margin:0 12px 25px;padding:17px}.search-fields{grid-template-columns:1fr}.property-grid{grid-template-columns:1fr}.section{padding:32px 15px}.section-head h2{font-size:29px}.browse-layout{grid-template-columns:1fr}.vertical-ad{position:static;max-width:220px;margin:0 auto}.detail-layout{grid-template-columns:1fr}.gallery-main{height:280px}.footer-grid{grid-template-columns:1fr}.admin-shell{grid-template-columns:1fr}.sidebar{padding:10px;display:flex;gap:5px;overflow:auto;align-items:center}.sidebar img{width:100px;height:45px;margin:0 8px 0 0}.sidebar a{white-space:nowrap;padding:10px}.admin-main{padding:16px}.admin-form{grid-template-columns:1fr}.admin-form .full{grid-column:auto}.stats{grid-template-columns:1fr 1fr}.admin-table{display:block;overflow-x:auto}.admin-top h1{font-size:21px}}
.ad-sidebar{aspect-ratio:9/16;min-height:0;position:sticky;top:115px;border-radius:15px}

.language-switch select{border:1px solid #dfe2e9;border-radius:9px;padding:9px;color:var(--navy);font-weight:700;background:#fff}.category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.category-tile{position:relative;height:150px;border-radius:15px;overflow:hidden;background:var(--navy);box-shadow:0 8px 20px #07113f20}.category-tile:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#07113fdd)}.category-tile img{width:100%;height:100%;object-fit:cover;transition:.25s}.category-tile:hover img{transform:scale(1.06)}.category-tile span{position:absolute;z-index:1;bottom:13px;left:12px;right:8px;color:white;font-weight:800;font-size:14px}.map-wrap{border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-top:16px}.map-wrap iframe{display:block;width:100%;height:360px;border:0}.map-wrap>a{display:block;padding:13px 16px;color:var(--navy);font-weight:800}.features span{display:inline-flex;align-items:center;gap:4px}.ui-icon{font-size:16px}@media(max-width:1000px){.category-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:680px){.category-grid{grid-template-columns:repeat(2,1fr)}.category-tile{height:125px}.language-switch select{padding:7px;font-size:11px}}
/* Refined listing map and expanded photo gallery */
.listing-map-section{margin-top:42px;max-width:920px}
.listing-map-section h2{font:600 27px 'Playfair Display',serif;color:var(--navy);margin:0 0 12px}
.map-wrap{max-width:900px;margin:0 auto;border-radius:14px;box-shadow:0 8px 24px #101b350c}
.map-wrap iframe{height:250px}
.map-wrap>a{font-size:13px;padding:10px 14px}
.gallery-main{height:420px;background:#f1f2f5;box-shadow:0 8px 24px #101b350c}
.gallery-main img{object-fit:contain;background:#f1f2f5}
.gallery-heading{display:flex;justify-content:space-between;align-items:center;margin:14px 0 10px;color:var(--navy);font-size:14px}
.gallery-heading span{color:var(--muted);font-size:12px}
.gallery-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.gallery-thumb{height:88px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#f1f2f5;cursor:pointer}
.gallery-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.gallery-thumb:hover img{transform:scale(1.06)}
.gallery-thumb.active{border-color:var(--orange);box-shadow:0 0 0 2px #f0782822}
.upload-help{display:block;color:#778096;font-size:12px;line-height:1.6;margin-top:7px}
.admin-gallery-preview{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:14px}
.admin-gallery-preview img{width:100%;height:85px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
@media(max-width:680px){.map-wrap iframe{height:210px}.listing-map-section h2{font-size:24px}.gallery-main{height:280px}.gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.gallery-thumb{height:72px}.admin-gallery-preview{grid-template-columns:repeat(3,minmax(0,1fr))}}

.job-announcement{margin:25px auto;max-width:1240px;padding:0 20px}.job-video-card{display:grid;grid-template-columns:1fr 1.2fr;gap:20px;background:#f6f7fa;border-radius:18px;padding:18px;align-items:center}.job-video-card video,.job-video-card iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#111}.account-card{max-width:650px;margin:40px auto}.country-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}@media(max-width:680px){.job-video-card{grid-template-columns:1fr}.ad-header{height:72px;margin:8px 10px 14px}.country-admin-grid{grid-template-columns:1fr}}

.country-flag-thumb{display:inline-block!important;width:36px!important;height:24px!important;max-width:36px!important;object-fit:cover!important;border:1px solid #e3e6ed;border-radius:4px;vertical-align:middle}.country-flag-preview{display:inline-block!important;width:48px!important;height:32px!important;max-width:48px!important;object-fit:cover!important;border:1px solid #e3e6ed;border-radius:4px;vertical-align:middle}.property-image .country-badge img.country-card-flag{display:inline-block!important;width:22px!important;height:15px!important;min-width:22px!important;max-width:22px!important;min-height:15px!important;max-height:15px!important;object-fit:cover!important;vertical-align:-3px;border-radius:2px;margin-right:5px}.country-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.country-actions form{margin:0}.btn-danger{background:#b42318;color:#fff;border:0;border-radius:10px;padding:10px 13px;font-weight:800;cursor:pointer}.table-scroll{overflow-x:auto}.muted{color:#7a8291;font-size:12px}

/* Property photo previous/next controls */
.gallery-main{position:relative}.gallery-nav{position:absolute;z-index:2;top:50%;transform:translateY(-50%);border:0;border-radius:30px;background:#07113fdc;color:#fff;padding:12px 16px;font-weight:800;cursor:pointer;box-shadow:0 4px 14px #0003}.gallery-prev{left:14px}.gallery-next{right:14px}.gallery-nav:hover{background:#b68b43}.filters form{align-items:center}.filters select[name="subcategory"]{min-width:190px}

/* Haha East Africa: curved trending-property carousel and refined social icons */
.trending-slider-wrap{max-width:1240px;margin:28px auto 42px;padding:0 22px}
.trending-slider{position:relative;height:290px;border-radius:34px 90px 34px 90px;overflow:hidden;background:#e9edf4;box-shadow:0 18px 45px #07113f20}
.trending-slide{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;padding:38px clamp(24px,6vw,76px);background-size:cover;background-position:center;color:#fff;opacity:0;visibility:hidden;transform:scale(1.025);transition:opacity .65s ease,transform 3s ease,visibility .65s}
.trending-slide.active{opacity:1;visibility:visible;transform:scale(1)}
.trending-slide strong{font:600 clamp(27px,4vw,43px)/1.12 'Playfair Display',serif;max-width:680px}
.trending-slide>span:last-child{font-size:14px;font-weight:700;color:#fff}
.trending-kicker{font-size:11px;letter-spacing:2px;font-weight:900;color:#f4c72f}
.trending-dots{display:flex;justify-content:center;gap:8px;margin-top:14px}
.trending-dots button{width:9px;height:9px;border:0;border-radius:20px;background:#c8ccd6;padding:0;cursor:pointer;transition:.2s}
.trending-dots button.active{width:28px;background:var(--orange)}
.social-links{gap:13px}
.social-links a.social-icon{width:43px;height:43px;padding:9px;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff55;border-radius:50%;transition:.2s}
.social-links a.social-icon:hover{background:#ffffff20;transform:translateY(-3px)}
.social-icon svg{width:23px;height:23px;display:block}
.jobs-hero{padding:76px clamp(20px,7vw,100px);background:linear-gradient(120deg,#07113f 0%,#17285f 72%,#263c75 100%);color:#fff}
.jobs-hero .eyebrow{color:#f4c72f;letter-spacing:1.8px}
.jobs-hero h1{font:600 clamp(38px,5vw,60px)/1.08 'Playfair Display',serif;max-width:760px;margin:15px 0;color:#fff}
.jobs-hero p{max-width:760px;color:#dce3f4;font-size:17px;line-height:1.8}
.jobs-sector-tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:25px}
.jobs-sector-tags span{border:1px solid #ffffff45;background:#ffffff12;color:#fff;padding:9px 14px;border-radius:30px;font-size:12px;font-weight:700}
@media(max-width:680px){.trending-slider-wrap{padding:0 13px;margin:18px auto 28px}.trending-slider{height:225px;border-radius:25px 55px 25px 55px}.trending-slide{padding:22px}.trending-slide strong{font-size:27px}.jobs-hero{padding:48px 20px}.jobs-hero h1{font-size:39px}}

.jobs-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.job-card{border:1px solid var(--line);border-radius:20px;padding:24px;background:#fff;box-shadow:0 8px 25px #07113f0a}
.job-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.job-card h3{font:600 25px 'Playfair Display',serif;color:var(--navy);margin:8px 0}
.job-sector{font-size:10px;text-transform:uppercase;letter-spacing:1px;font-weight:900;color:var(--green)}
.job-type{font-size:11px;font-weight:800;padding:8px 11px;border-radius:30px;background:#f0f2f7;color:var(--navy);white-space:nowrap}
.job-meta{display:flex;flex-wrap:wrap;gap:14px;color:var(--muted);font-size:12px;margin:10px 0 15px}
.job-card>p{color:#657087;line-height:1.75;white-space:normal}
.job-apply{display:flex;justify-content:flex-end;margin-top:18px}
@media(max-width:680px){.jobs-list{grid-template-columns:1fr}.job-card{padding:18px}.job-card-top{flex-direction:column}}


/* Refined property detail page inspired by the supplied Hills Props reference */
.property-detail-page{max-width:1320px;margin:0 auto;padding:24px clamp(14px,3vw,38px) 55px;background:#f3f7f5}
.detail-topline{display:flex;gap:9px;align-items:center;margin:0 0 12px;color:#60736d;font-size:11px;font-weight:900;letter-spacing:1px}
.detail-topline span{background:#e2eee9;border-radius:20px;padding:7px 12px}
.detail-gallery-card,.detail-title-card,.detail-content-card,.detail-contact-card{background:#fff;border:1px solid #e5ece8;border-radius:15px;box-shadow:0 7px 22px #123b2c0b}
.detail-gallery-card{padding:10px;margin-bottom:18px}
.gallery-main{height:clamp(280px,48vw,560px);border-radius:10px;overflow:hidden;background:#e7eeeb;box-shadow:none}
.gallery-main img{width:100%;height:100%;object-fit:cover;background:#e7eeeb}
.gallery-heading{margin:12px 4px 9px;color:#07113f}
.gallery-thumbs{display:flex;gap:9px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 9px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#8da99d #edf2ef}
.gallery-thumb{flex:0 0 112px;width:112px;height:76px;border:2px solid transparent;border-radius:9px;scroll-snap-align:start}
.gallery-thumb img{width:100%;height:100%;object-fit:cover}
.gallery-thumb.active{border-color:#07113f;box-shadow:0 0 0 2px #07113f20}
.detail-layout-modern{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}
.detail-main-column{display:grid;gap:16px;min-width:0}
.detail-title-card,.detail-content-card{padding:22px}
.detail-title-card h1{font-size:clamp(23px,3vw,32px);line-height:1.2;color:#103b30;margin:8px 0 10px;font-weight:850}
.detail-title-card .detail-price,.detail-contact-card .detail-price{font-size:clamp(24px,3vw,32px);font-weight:900;color:#0e3b2f}
.detail-title-card .location,.detail-contact-card .location{color:#718078;font-size:13px}
.detail-title-card .features{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}
.detail-title-card .features span{background:#edf5f1;border:1px solid #e0eee7;color:#315b4c;padding:10px 12px;border-radius:9px;font-size:12px;font-weight:800}
.detail-content-card h2{font-size:19px;color:#07113f;margin:0 0 15px;font-weight:900}
.detail-description{color:#596a62;line-height:1.85;font-size:14px;white-space:normal}
.property-facts>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #edf1ee;font-size:13px}
.property-facts>div:last-child{border:0}
.property-facts>div span{color:#718078}.property-facts>div b{color:#243e34;text-align:right}
.detail-contact-card{position:sticky;top:110px;padding:22px}
.contact-price-label{font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:#819188;font-weight:900}
.detail-contact-card h2{font-size:18px;line-height:1.35;color:#07113f;margin:10px 0}
.seller-mini{display:flex;align-items:center;gap:11px;padding:16px 0;border-top:1px solid #edf1ee;margin-top:15px}
.seller-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#dff2eb;color:#08775d;font-weight:900}
.seller-mini b,.seller-mini small{display:block}.seller-mini b{font-size:13px;color:#24483b}.seller-mini small{font-size:11px;color:#839087;margin-top:3px}
.detail-whatsapp{width:100%;background:#f07828!important;border-radius:30px;margin:8px 0;color:white!important}
.detail-call{display:block;text-align:center;padding:11px;border:1px solid #dce9e2;border-radius:30px;color:#285644;font-weight:800;font-size:13px}
.contact-note{font-size:12px;line-height:1.7;color:#77857d}
.reference-code{border-top:1px solid #edf1ee;padding-top:12px;font-size:12px;color:#718078}
.listing-map-section{background:#fff;border:1px solid #e5ece8;border-radius:15px;padding:22px}
.listing-map-section h2{font-size:19px;color:#07113f}
@media(max-width:820px){.detail-layout-modern{grid-template-columns:1fr}.detail-contact-card{position:static;grid-row:1}.property-detail-page{padding:16px 12px 35px}.detail-gallery-card{padding:7px}.gallery-main{height:clamp(230px,64vw,390px)}.gallery-thumb{flex-basis:92px;width:92px;height:68px}}
/* Compact responsive brand header: reserve room for the sign-in action */
.brand{flex:0 1 205px;min-width:0;display:flex;align-items:center;overflow:hidden}
.brand img{width:100%;max-width:205px;height:64px;object-fit:contain;object-position:left center}
.site-header{gap:12px;padding-left:clamp(10px,2.8vw,42px);padding-right:clamp(10px,2.8vw,42px)}
.header-actions{flex:0 0 auto;gap:7px}.header-actions .btn{padding:10px 13px;white-space:nowrap}
@media(max-width:1050px){.brand{flex-basis:150px}.brand img{max-width:150px;height:58px}.main-nav{gap:0}.main-nav a{padding:10px 11px;font-size:12px}.header-actions .btn{padding:9px 10px;font-size:11px}}
@media(max-width:760px){.site-header{height:72px;padding:6px 9px;gap:5px}.brand{flex:1 1 auto;max-width:145px;min-width:95px}.brand img{max-width:145px;height:54px;object-position:left center}.main-nav{display:none}.main-nav.open{display:flex;position:absolute;top:70px;left:8px;right:8px;z-index:40;flex-direction:column;border-radius:14px;align-items:stretch}.header-actions{gap:5px}.header-actions .btn{padding:9px 10px;font-size:10px}.language-switch select{max-width:78px;padding:7px 4px;font-size:10px}.menu-toggle{display:block;font-size:22px;padding:4px}}
/* Modern bold footer typography (Montserrat) */
.site-footer,.site-footer *{font-family:'Montserrat',sans-serif;font-weight:700}
.site-footer h3{font-weight:900}.site-footer a,.site-footer p,.site-footer .copyright{font-weight:700}
.social-links a.social-icon{width:42px;height:42px;padding:8px;overflow:hidden}
.social-links a.social-icon img{width:100%;height:100%;max-width:24px;max-height:24px;object-fit:contain;display:block}
.social-links a.social-icon svg{width:24px;height:24px;flex:0 0 24px}
.login-language{display:flex;justify-content:flex-end;margin-bottom:10px}
.login-card>img{max-width:190px;width:70%;height:70px;object-fit:contain;margin:0 auto 14px}
.login-card .btn{width:100%}
/* Admin data-action controls */
.admin-table td a,.admin-table td .btn,.admin-actions a,.admin-actions button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:8px 14px;margin:2px;background:#1683d8;color:#fff!important;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.admin-table td a[href*="view"],.admin-actions .view{background:#07113f;color:#fff!important}
.admin-table td a[href*="delete"],.admin-table td a.delete,.admin-actions .delete{background:#dc3545;color:#fff!important}
.admin-table td a[href*="edit"],.admin-actions .edit{background:#07113f;color:#fff!important}
.admin-table td a[target="_blank"]{background:#07113f;color:#fff!important}
.admin-table td form button,.admin-table td button{border:0;border-radius:999px;background:#dc3545;color:#fff;padding:8px 14px;font-weight:800;cursor:pointer}
.admin-table td{vertical-align:middle}
.admin-table{border-collapse:separate;border-spacing:0 5px}
.admin-table tr:not(:first-child){background:#fff}
.admin-table td:first-child{border-radius:10px 0 0 10px}.admin-table td:last-child{border-radius:0 10px 10px 0}
/* Editorial page and job copy: justified, consistent left/right edges */
.page-hero{text-align:center;max-width:1100px;margin:0 auto;padding:38px 22px 15px}
.page-hero h1{font-weight:900}
.page-content-editorial,.page-content-editorial p,.jobs-editorial,.jobs-editorial p,.job-card>p{text-align:justify;text-align-last:left;line-height:1.9;word-spacing:.02em}
.page-content-editorial p,.jobs-editorial p,.job-card>p{text-indent:1.1em}
.page-content-editorial img{max-width:100%;height:auto;border-radius:12px;margin:18px auto;display:block}
.page-content-editorial h2,.page-content-editorial h3{text-align:left;font-weight:900}
.jobs-hero{text-align:center}.jobs-hero>p{margin-left:auto;margin-right:auto;text-align:justify;text-align-last:left}
.jobs-list{align-items:stretch}.job-card{display:flex;flex-direction:column}.job-card>p{flex:1}

.page-tagline{font:italic 20px 'Montserrat',sans-serif;color:#a16d2d;font-weight:700}.page-keywords{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin:18px 0}.page-keywords span{background:#eaf3ee;color:#245b46;border-radius:30px;padding:8px 13px;font-size:12px;font-weight:800}.admin-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.admin-actions form{display:inline-flex;margin:0}.admin-actions button.delete{background:#dc3545;color:#fff}

@media(max-width:420px){.brand{max-width:112px;min-width:88px}.brand img{max-width:112px;height:48px}.header-actions .btn-outline{display:none}.header-actions .btn-primary{padding:8px 9px;font-size:10px}.language-switch select{max-width:65px}}

/* ==========================================================
   Haha East Africa — tablet and mobile visual refinement
   Desktop styles above remain unchanged.
   ========================================================== */
@media (max-width: 1024px) {
  :root { --mobile-bg:#f4f7f6; --mobile-card:#ffffff; --mobile-ink:#172b26; --mobile-muted:#66766f; --mobile-line:#e0e9e5; --mobile-accent:#07113f; --mobile-accent-soft:#e8f3ee; }
  body { background:var(--mobile-bg); color:var(--mobile-ink); }
  .site-header { background:rgba(255,255,255,.97); border-bottom:1px solid var(--mobile-line); box-shadow:0 4px 18px rgba(14,45,34,.06); }
  .main-nav { background:#f0f5f2; border:1px solid var(--mobile-line); box-shadow:0 12px 28px rgba(14,45,34,.10); }
  .main-nav a { color:#43574f; }
  .main-nav a:hover,.main-nav a:first-child { background:var(--mobile-accent); color:#fff; }
  .btn-primary { background:var(--mobile-accent); color:#fff; }
  .btn-outline { border-color:#d5e2dc; color:#07113f; }
  .hero { background:linear-gradient(145deg,#edf5f0 0%,#f8faf8 58%,#f1f5f2 100%); }
  .hero h1,.section-head h2,.page-hero h1 { color:#123c30; }
  .hero h1 em,.page-tagline { color:#9a7139; }
  .hero p,.section-head p { color:#60736b; }
  .search-panel,.property-card,.category-tile,.detail-gallery-card,.detail-title-card,.detail-content-card,.detail-contact-card,.job-card,.admin-card,.login-card { box-shadow:0 8px 24px rgba(20,55,42,.07); }
  .search-panel { border-color:var(--mobile-line); }
  .tabs a,.chip { background:#edf3ef; color:#4c655a; }
  .tabs a.active,.chip:hover { background:var(--mobile-accent); color:#fff; }
  .field input,.field select,.filters input,.filters select { border-color:#d9e4de; background:#fff; }
  .property-card { border-color:var(--mobile-line); }
  .property-info h3,.detail-title-card h1,.detail-content-card h2,.detail-contact-card h2 { color:#07113f; }
  .price,.detail-price { color:#145c47; }
  .eyebrow,.job-sector { color:#07113f; }
  .filters { background:#edf3ef; }
  .page-hero { background:linear-gradient(145deg,#edf5f0,#f8faf8); }
  .detail-layout-modern { gap:16px; }
  .site-footer { background:#07113f; }
  .site-footer h3 { color:#e6c98c; }
  .site-footer a,.site-footer p { color:#e0eae5; }
  .admin-body { background:#f2f6f4; }
  .sidebar { background:#07113f; }
  .admin-card { border-color:var(--mobile-line); }
  .admin-top h1 { color:#07113f; }
}

@media (min-width:681px) and (max-width:1024px) {
  .site-header { min-height:76px; height:auto; padding:9px 18px; gap:12px; }
  .brand { flex:0 1 155px; max-width:155px; }
  .brand img { max-width:155px; height:54px; }
  .header-actions { gap:7px; }
  .header-actions .btn { min-height:42px; padding:10px 12px; font-size:12px; }
  .hero { padding:38px 28px 30px; gap:25px; }
  .hero h1 { font-size:clamp(36px,5vw,52px); }
  .hero-image { height:280px; border-radius:20px 65px 20px 20px; }
  .search-panel { margin:0 18px 28px; padding:20px; }
  .section { padding:36px 22px; }
  .property-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
  .property-image { height:205px; }
  .category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
  .category-tile { height:138px; }
  .browse-layout { grid-template-columns:minmax(0,1fr) 155px; gap:16px; }
  .detail-layout-modern { grid-template-columns:minmax(0,1fr) 280px; }
  .gallery-main { height:clamp(300px,43vw,440px); }
  .detail-contact-card { position:static; }
  .footer-grid { grid-template-columns:1.5fr 1fr 1fr; gap:22px; }
  .admin-shell { grid-template-columns:205px minmax(0,1fr); }
  .admin-main { padding:20px; }
  .stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:680px) {
  html { -webkit-text-size-adjust:100%; }
  body { font-size:14px; background:#f4f7f6; }
  .site-header { height:68px; min-height:68px; padding:6px 10px; gap:7px; }
  .brand { flex:1 1 0; max-width:132px; min-width:84px; }
  .brand img { width:100%; max-width:132px; height:48px; }
  .header-actions { gap:5px; }
  .header-actions .btn { min-height:38px; padding:8px 10px; font-size:10px; border-radius:10px; }
  .header-actions .btn-primary { background:#07113f; }
  .language-switch select { max-width:72px; min-height:36px; padding:6px 4px; border-color:#d8e4de; border-radius:9px; background:#fff; font-size:10px; }
  .menu-toggle { color:#07113f; min-width:32px; min-height:36px; }
  .main-nav { top:66px; left:9px; right:9px; padding:9px; gap:3px; background:#fff; border:1px solid #e0e9e5; border-radius:14px; }
  .main-nav a { padding:12px 14px; border-radius:9px; font-size:13px; }
  .hero { display:flex; flex-direction:column; gap:17px; padding:30px 16px 25px; }
  .hero h1 { font-size:clamp(32px,9vw,42px); line-height:1.12; letter-spacing:-.8px; margin-bottom:12px; }
  .hero p { font-size:14px; line-height:1.65; margin:8px 0; }
  .hero-image { width:100%; height:210px; border-radius:17px 48px 17px 17px; }
  .ad-header { height:64px; margin:8px 10px 12px; border-radius:10px; }
  .search-panel { margin:0 10px 22px; padding:15px; border-radius:15px; }
  .tabs { gap:6px; overflow-x:auto; padding-bottom:3px; }
  .tabs a,.chip { flex:0 0 auto; padding:10px 14px; font-size:12px; }
  .search-fields { grid-template-columns:minmax(0,1fr); gap:10px; }
  .field label { font-size:11px; }
  .field input,.field select { min-height:45px; padding:11px 12px; font-size:14px; }
  .search-panel .btn { width:100%; min-height:44px; }
  .quick-locations { gap:7px; }
  .quick-locations .chip { padding:8px 11px; }
  .section { padding:27px 13px; }
  .section-head { align-items:flex-start; gap:10px; margin-bottom:17px; }
  .section-head h2 { font-size:25px; line-height:1.2; }
  .section-head p { font-size:12px; line-height:1.5; }
  .property-grid { grid-template-columns:minmax(0,1fr); gap:15px; }
  .property-card { border-radius:15px; box-shadow:0 5px 18px rgba(20,55,42,.07); }
  .property-image { height:clamp(190px,58vw,245px); }
  .property-info { padding:15px; }
  .property-info h3 { font-size:20px; line-height:1.25; }
  .location { line-height:1.5; }
  .price { font-size:20px; }
  .features { gap:8px; flex-wrap:wrap; justify-content:flex-start; font-size:11px; }
  .card-actions { gap:8px; }
  .card-actions .btn { flex:1; min-height:42px; }
  .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .category-tile { height:116px; border-radius:12px; }
  .category-tile span { left:9px; bottom:10px; font-size:12px; }
  .browse-layout { grid-template-columns:minmax(0,1fr); gap:15px; }
  .filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:12px; border-radius:12px; }
  .filters input,.filters select { min-width:0; width:100%; min-height:42px; font-size:12px; }
  .vertical-ad { position:static; width:min(100%,190px); max-width:190px; margin:0 auto; }
  .page-hero { padding:31px 16px 14px; }
  .page-hero h1 { font-size:34px; line-height:1.15; }
  .page-hero p { font-size:14px; line-height:1.7; }
  .property-detail-page { padding:12px 10px 28px; }
  .detail-gallery-card { padding:6px; margin-bottom:12px; border-radius:13px; }
  .gallery-main { height:clamp(210px,62vw,310px); border-radius:9px; }
  .gallery-heading { font-size:13px; }
  .gallery-thumbs { gap:7px; padding:2px 1px 8px; }
  .gallery-thumb { flex:0 0 82px; width:82px; height:61px; border-radius:7px; }
  .detail-layout-modern { grid-template-columns:minmax(0,1fr); gap:12px; }
  .detail-main-column { gap:12px; }
  .detail-contact-card { position:static; grid-row:auto; padding:17px; border-radius:13px; }
  .detail-title-card,.detail-content-card { padding:17px; border-radius:13px; }
  .detail-title-card h1 { font-size:24px; }
  .detail-title-card .detail-price,.detail-contact-card .detail-price { font-size:25px; }
  .detail-title-card .features span { padding:8px 10px; font-size:11px; }
  .detail-description { font-size:13px; line-height:1.75; }
  .property-facts>div { gap:10px; font-size:12px; }
  .detail-whatsapp,.detail-call { min-height:43px; display:flex; align-items:center; justify-content:center; }
  .listing-map-section { padding:15px; border-radius:13px; }
  .map-wrap iframe { height:190px; }
  .jobs-list { grid-template-columns:minmax(0,1fr); gap:12px; }
  .job-card { padding:16px; border-radius:14px; }
  .job-card h3 { font-size:21px; }
  .job-card>p { font-size:13px; line-height:1.7; }
  .jobs-hero { padding:34px 16px; }
  .jobs-hero h1 { font-size:33px; }
  .job-video-card { grid-template-columns:minmax(0,1fr); padding:12px; gap:12px; }
  .footer-grid { grid-template-columns:minmax(0,1fr); gap:18px; padding:12px 0 22px; }
  .site-footer { padding:27px 17px 18px; }
  .footer-logo { width:210px; height:72px; }
  .site-footer h3 { font-size:15px; margin:8px 0; }
  .site-footer a,.site-footer p { font-size:12px; line-height:1.7; }
  .social-links { gap:9px; padding-bottom:14px; }
  .social-links a.social-icon { width:40px; height:40px; }
  .copyright { font-size:10px; line-height:1.6; }
  .login-wrap { margin:4vh auto; padding:13px; }
  .login-card { padding:22px 18px; border-radius:16px; }
  .login-card>img { max-width:165px; height:62px; }
  .admin-shell { grid-template-columns:minmax(0,1fr); }
  .sidebar { position:relative; padding:9px; gap:5px; overflow-x:auto; flex-wrap:nowrap; }
  .sidebar img { flex:0 0 82px; width:82px; height:40px; margin:0 5px 0 0; }
  .sidebar a { flex:0 0 auto; padding:10px 11px; margin:0; border-radius:9px; font-size:11px; }
  .admin-main { padding:13px 10px; }
  .admin-top { align-items:flex-start; gap:10px; flex-wrap:wrap; }
  .admin-top h1 { font-size:20px; }
  .admin-card { padding:15px; border-radius:13px; overflow:hidden; }
  .stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .stat { min-width:0; padding:12px; }
  .stat strong { font-size:23px; overflow-wrap:anywhere; }
  .admin-form { grid-template-columns:minmax(0,1fr); gap:12px; }
  .admin-form .full { grid-column:auto; }
  .admin-form input,.admin-form select,.admin-form textarea { min-height:43px; min-width:0; }
  .admin-table { display:block; width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; white-space:nowrap; }
  .admin-table th,.admin-table td { padding:10px 9px; }
  .admin-actions { gap:4px; }
  .admin-actions a,.admin-actions button,.admin-table td a,.admin-table td button { min-height:34px; padding:7px 11px; font-size:11px; }
  .admin-gallery-preview { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .account-card { margin:18px auto; }
}

@media (max-width:380px) {
  .site-header { padding-left:7px; padding-right:7px; gap:4px; }
  .brand { max-width:105px; min-width:76px; }
  .brand img { height:43px; }
  .header-actions .btn { padding:7px 8px; font-size:9px; }
  .language-switch select { max-width:62px; font-size:9px; }
  .menu-toggle { min-width:28px; padding:2px; }
  .section-head h2 { font-size:22px; }
  .filters { grid-template-columns:minmax(0,1fr); }
  .stats { grid-template-columns:minmax(0,1fr); }
}


/* HahaEastAfrica.com brand palette restoration: navy, orange and gold only. */
:root{--green:var(--navy);--mobile-bg:#f7f8fa;--mobile-ink:#18213a;--mobile-muted:#778096;--mobile-line:#e8eaf0;--mobile-accent:var(--navy);--mobile-accent-soft:#eef0f7}
@media(max-width:1024px){
 body{background:#f7f8fa;color:var(--ink)}
 .main-nav,.tabs a,.chip{background:#f0f2f7;color:#566078}
 .main-nav a:hover,.main-nav a:first-child,.tabs a.active,.chip:hover{background:var(--navy);color:#fff}
 .btn-primary,.header-actions .btn-primary{background:var(--orange);color:#fff}
 .btn-dark{background:var(--navy);color:#fff}
 .btn-outline{border-color:#d9dce5;color:var(--navy)}
 .hero{background:linear-gradient(120deg,#f8f7f1 0%,#f5f5f3 60%,#f4f0e9 100%)}
 .hero h1,.section-head h2,.page-hero h1,.property-info h3,.detail-title-card h1,.detail-content-card h2,.detail-contact-card h2{color:var(--navy)}
 .price,.detail-price{color:var(--navy)}
 .eyebrow,.job-sector{color:var(--navy)}
 .filters,.page-hero{background:#f7f8fa}
 .site-footer{background:var(--navy)!important}
 .site-footer h3{color:var(--gold)!important}
 .site-footer a,.site-footer p{color:#e0e4f0!important}
 .sidebar{background:var(--navy)!important}
 .admin-top h1{color:var(--navy)}
}
.detail-title-card h1,.detail-content-card h2,.detail-contact-card h2,.listing-map-section h2{color:var(--navy)!important}
.detail-title-card .detail-price,.detail-contact-card .detail-price{color:var(--navy)!important}
.detail-title-card .features span{background:#f1f3f8;border-color:#e3e6ef;color:#34405f}
.detail-whatsapp{background:var(--orange)!important;color:#fff!important}
.gallery-thumb.active{border-color:var(--orange)!important;box-shadow:0 0 0 2px #f0782820!important}
.gallery-main{position:relative;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.gallery-main>img{pointer-events:none}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:#07113fcc;color:#fff;font-size:30px;line-height:1;display:grid;place-items:center;cursor:pointer;z-index:2}
.gallery-prev{left:12px}.gallery-next{right:12px}
.gallery-position{position:absolute;right:12px;bottom:12px;background:#07113fcc;color:#fff;padding:6px 10px;border-radius:20px;font-size:12px;font-weight:800}

/* Haha East Africa: card image actions and stable admin navigation */
.property-card{position:relative}.property-image-actions{position:absolute;z-index:5;top:12px;right:12px;display:flex;gap:8px}
.image-action{width:40px;height:40px;border:1px solid #ffffffaa;border-radius:50%;background:#07113feF;color:#fff;display:grid;place-items:center;font-size:22px;font-weight:800;cursor:pointer;box-shadow:0 3px 12px #0003}
.image-action:hover,.image-action.is-active{background:var(--orange);color:#fff}
.image-action:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.negotiable-pill,.non-negotiable-pill{display:inline-flex;align-items:center;margin-top:8px;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:800}
.negotiable-pill{background:#fff1e7;color:#a94b0c}.non-negotiable-pill{background:#edf0f5;color:#34405d}
.register-cta{font-weight:900;text-decoration:underline;text-underline-offset:3px;color:var(--navy)}
.admin-shell{grid-template-columns:250px minmax(0,1fr);align-items:stretch}
.admin-shell>.sidebar{position:sticky;top:0;align-self:start;width:250px;height:100vh;min-height:100vh;overflow-y:auto;overflow-x:hidden;background:#07113f!important;box-sizing:border-box}
.admin-shell>.admin-main{min-width:0;width:100%}
@media(min-width:681px){.admin-shell>.sidebar{display:block}}
@media(max-width:680px){.admin-shell{display:block}.admin-shell>.sidebar{position:sticky;top:0;z-index:30;width:100%;height:64px;min-height:64px;max-height:64px;display:flex;flex-wrap:nowrap;align-items:center;overflow-x:auto;overflow-y:hidden;padding:8px 10px;gap:5px}.admin-shell>.sidebar img{flex:0 0 82px;width:82px;height:40px;margin:0 5px 0 0}.admin-shell>.sidebar a{flex:0 0 auto;white-space:nowrap;padding:10px 11px;margin:0;font-size:11px}}


/* Haha East Africa social icon sizing and mobile language menu alignment */
.social-links .social-icon{width:42px;height:42px;min-width:42px;min-height:42px;padding:5px!important;border-radius:50%!important;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#fff}
.social-links .social-icon img{display:block;width:30px;height:30px;max-width:30px;max-height:30px;object-fit:contain}
.social-links .social-icon svg{width:25px;height:25px;display:block}
.mobile-nav-language{display:none}
@media(max-width:760px){
  .desktop-language{display:none}
  .mobile-nav-language{display:block;padding:4px 8px 10px;border-bottom:1px solid #e8ebf1;margin-bottom:5px}
  .mobile-nav-language .language-switch select{width:100%;max-width:none;padding:10px 12px;font-size:13px;border-radius:9px}
  .main-nav.open{top:72px;left:8px;right:8px;padding:10px;box-shadow:0 14px 32px #07113f20}
  .main-nav.open .mobile-nav-language{align-self:stretch}
}
/* Navy, orange and white property-detail reference layout */
.property-detail-hillstyle{max-width:1240px;background:#f4f7fb;padding:18px clamp(12px,3vw,34px) 54px}
.property-detail-hillstyle .detail-gallery-card{padding:0;border:0;background:transparent;box-shadow:none;border-radius:12px;overflow:hidden;margin-bottom:0}
.property-detail-hillstyle .gallery-main{height:clamp(270px,44vw,520px);border-radius:12px 12px 0 0;background:#e8edf4;position:relative;touch-action:pan-y}
.property-detail-hillstyle .gallery-main img{object-fit:cover}
.property-detail-hillstyle .gallery-thumbs{background:#fff;padding:9px 8px 11px;gap:8px;border-radius:0 0 12px 12px}
.property-detail-hillstyle .gallery-thumb{flex:0 0 76px;width:76px;height:58px;border:2px solid #e5eaf1;border-radius:7px;overflow:hidden;padding:0;background:#fff}
.property-detail-hillstyle .gallery-thumb.active{border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}
.property-detail-hillstyle .gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:40px;height:40px;border:0;border-radius:50%;background:#07113fcc;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.property-detail-hillstyle .gallery-prev{left:14px}.property-detail-hillstyle .gallery-next{right:14px}
.property-detail-hillstyle .gallery-position{position:absolute;right:14px;bottom:12px;background:#07113fcc;color:#fff;border-radius:20px;padding:6px 10px;font-size:11px;font-weight:800}
.detail-price-band{background:var(--navy);color:#fff;margin:0 0 18px;padding:20px clamp(18px,3vw,34px);border-radius:0 0 12px 12px}
.detail-price-band .detail-topline{margin:0 0 8px;color:#fff;flex-wrap:wrap}
.detail-price-band .detail-topline span{background:#ffffff17;color:#fff;border:1px solid #ffffff28;padding:6px 10px}
.detail-price-band .detail-topline .detail-negotiable{background:var(--orange);border-color:var(--orange)}
.detail-band-price{font-size:clamp(25px,3vw,36px);font-weight:950;letter-spacing:-.5px}
.detail-band-meta{display:flex;flex-wrap:wrap;gap:18px;margin-top:9px;color:#e2e8f3;font-size:12px;font-weight:700}
.property-detail-hillstyle .detail-layout-modern{grid-template-columns:minmax(0,1fr) 310px;gap:18px}
.property-detail-hillstyle .detail-main-column{gap:14px}
.property-detail-hillstyle .detail-title-card,.property-detail-hillstyle .detail-content-card,.property-detail-hillstyle .detail-contact-card{border:1px solid #e2e8f0;border-radius:13px;box-shadow:0 5px 18px #07113f0b;background:#fff}
.property-detail-hillstyle .detail-title-card{padding:18px 20px}
.detail-verified{display:inline-flex;background:#e9f8f2;color:#087b5b;border:1px solid #bcebd9;padding:4px 9px;border-radius:20px;font-size:10px;font-weight:900}
.property-detail-hillstyle .detail-title-card h1{color:var(--navy);font-size:clamp(21px,2.4vw,29px);margin:9px 0 7px}
.property-detail-hillstyle .detail-title-card .location{color:#69758b;margin:0;font-size:12px}
.detail-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.detail-stat{min-height:84px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 4px 14px #07113f08;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:9px}
.detail-stat>span{font-size:18px;margin-bottom:3px}.detail-stat b{font-size:16px;color:var(--navy);line-height:1.2}.detail-stat small{font-size:9px;color:#7a8497;text-transform:uppercase;letter-spacing:.5px;margin-top:4px;font-weight:800}
.property-detail-hillstyle .detail-content-card{padding:20px}
.property-detail-hillstyle .detail-content-card h2{color:var(--navy);font-size:17px}
.property-detail-hillstyle .detail-description{color:#5c6679;font-size:13px;line-height:1.8}
.property-detail-hillstyle .property-facts>div{border-color:#edf0f5;padding:11px 0}
.property-detail-hillstyle .property-facts>div span{color:#788297}.property-detail-hillstyle .property-facts>div b{color:var(--navy)}
.property-detail-hillstyle .detail-contact-card{padding:0;overflow:hidden;top:92px}
.contact-card-head{background:var(--navy);color:#fff;padding:17px 18px 16px}
.property-detail-hillstyle .contact-price-label{color:#d5dced;font-size:9px;font-weight:900;letter-spacing:1.1px}
.property-detail-hillstyle .detail-contact-card .detail-price{font-size:24px;color:#fff;margin:5px 0 8px}
.property-detail-hillstyle .contact-card-head .negotiable-pill,.property-detail-hillstyle .contact-card-head .non-negotiable-pill{display:inline-block;background:var(--orange);color:#fff;border-radius:20px;padding:5px 9px;font-size:9px;font-weight:900}
.property-detail-hillstyle .contact-card-head .non-negotiable-pill{background:#fff;color:var(--navy)}
.property-detail-hillstyle .seller-mini{padding:17px 18px 12px;margin:0;border-bottom:1px solid #edf0f5}
.property-detail-hillstyle .seller-avatar{background:var(--navy);color:#fff}
.property-detail-hillstyle .detail-whatsapp{margin:14px 18px 8px;width:calc(100% - 36px);background:var(--navy);color:#fff}
.property-detail-hillstyle .detail-call{display:flex;justify-content:center;margin:0 18px;padding:12px;border:1px solid #c9d6ea;border-radius:9px;color:var(--navy);font-weight:900;font-size:12px;background:#f7f9fc}
.property-detail-hillstyle .contact-note{margin:12px 18px;color:#7a8497;font-size:10px;line-height:1.5}
.contact-extra{margin:0 18px 17px;padding-top:12px;border-top:1px solid #edf0f5;display:flex;justify-content:space-between;gap:10px;color:#7a8497;font-size:10px}
.contact-extra b{color:var(--navy)}
@media(max-width:760px){
 .property-detail-hillstyle{padding:12px 10px 35px}
 .property-detail-hillstyle .detail-layout-modern{grid-template-columns:1fr}
 .property-detail-hillstyle .detail-contact-card{position:static;order:-1}
 .property-detail-hillstyle .gallery-main{height:clamp(230px,64vw,380px)}
 .property-detail-hillstyle .gallery-thumb{flex-basis:68px;width:68px;height:52px}
 .detail-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .detail-band-price{font-size:27px}
 .detail-band-meta{gap:8px;flex-direction:column}
}

/* HahaEastAfrica Photo Studio */
.ha-photo-editor{grid-column:1/-1;background:#f7fafc;border:1px solid #d7e1ec;border-radius:14px;padding:16px;margin:8px 0 14px;color:#102b4e}.ha-photo-editor[hidden]{display:none}.ha-editor-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.ha-editor-head strong{font-size:18px;color:#102b4e}.ha-editor-head p{margin:5px 0 12px;color:#52647a;font-size:13px}.ha-editor-tag{font-size:10px;font-weight:800;letter-spacing:.08em;color:#fff;background:#102b4e;border-radius:20px;padding:6px 9px}.ha-editor-presets{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 12px}.ha-editor-presets button{border:1px solid #173e69;background:#fff;color:#173e69;border-radius:20px;padding:7px 12px;font-weight:700;cursor:pointer}.ha-editor-presets button:hover{background:#eaf1f8}.ha-editor-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ha-compare-pane{min-width:0}.ha-compare-label{font-size:11px;font-weight:800;letter-spacing:.08em;color:#173e69;margin:0 0 6px}.ha-editor-preview{background:#e7edf3;border-radius:10px;overflow:hidden;display:flex;justify-content:center;align-items:center;min-height:150px;max-height:330px}.ha-editor-preview canvas{display:block;width:auto;max-width:100%;max-height:330px;object-fit:contain}.ha-editor-approval{margin:12px 0;padding:12px;border:1px solid #d87925;border-radius:10px;background:#fff8f0}.ha-editor-approval label{display:flex;align-items:flex-start;gap:8px;font-weight:800;color:#102b4e}.ha-editor-approval input{margin-top:3px;accent-color:#173e69}.ha-editor-approval small{display:block;margin:6px 0 0 25px;color:#52647a;font-size:12px}.ha-editor-sliders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.ha-editor-sliders label{font-size:12px;font-weight:700;color:#173e69}.ha-editor-sliders output{float:right;color:#c56b20}.ha-editor-sliders input{display:block;width:100%;accent-color:#d87925;margin-top:6px}.ha-photo-editor .upload-help{display:block;margin-top:8px;color:#52647a;font-size:12px}@media(max-width:600px){.ha-photo-editor{padding:12px}.ha-editor-comparison{grid-template-columns:1fr}.ha-editor-preview{max-height:260px}.ha-editor-sliders{grid-template-columns:1fr}.ha-editor-head{display:block}.ha-editor-tag{display:inline-block;margin-bottom:8px}}

/* Haha AI Studio */
.ha-photo-editor{background:#f7f9fc;border:1px solid #dfe5ef;border-radius:18px;padding:20px;margin:12px 0;color:#17233c}.ha-editor-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.ha-editor-head strong{font-size:21px;letter-spacing:.04em;color:#07113f}.ha-editor-head p{margin:5px 0 14px;color:#59677d}.ha-editor-tag{font-size:10px;font-weight:900;letter-spacing:.1em;background:#07113f;color:white;padding:8px 10px;border-radius:20px}.ha-studio-modes{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.ha-studio-modes button{border:1px solid #ccd4e1;background:white;border-radius:9px;padding:10px 13px;font-weight:800;color:#07113f}.ha-studio-modes button.active{background:#07113f;color:#fff}.ha-studio-mode{background:white;border:1px solid #e0e6ef;border-radius:12px;padding:14px;margin-bottom:14px}.ha-studio-mode textarea{width:100%;min-height:90px;margin:8px 0;padding:12px;border:1px solid #cbd3df;border-radius:10px}.ha-editor-sliders-wide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ha-editor-sliders label{display:block;font-weight:700;font-size:13px}.ha-editor-sliders output{float:right;color:#07113f}.ha-editor-sliders input{display:block;width:100%;margin-top:8px}.ha-before-after{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.ha-before-after>div{min-width:0;background:white;border:1px solid #dfe5ef;border-radius:12px;padding:10px}.ha-before-after b{display:block;font-size:11px;letter-spacing:.1em;margin-bottom:8px;color:#07113f}.ha-before-after canvas{display:block;width:100%;max-height:300px;object-fit:contain;background:#e9edf3;border-radius:8px}.ha-before-after button,.ha-editor-presets button{margin-top:8px;border:1px solid #ccd4e1;background:white;border-radius:8px;padding:8px 10px}.ha-compare-stage{position:relative;overflow:hidden;max-height:280px;background:#e9edf3}.ha-compare-stage img{display:block;width:100%;max-height:280px;object-fit:contain}.ha-compare-stage img+img{position:absolute;inset:0;clip-path:inset(0 50% 0 0)}.ha-compare label{display:block;font-weight:800;margin:12px 0}.ha-compare input{width:100%}.ha-approval{display:flex;gap:10px;align-items:flex-start;padding:13px;background:#fff;border:1px solid #d7deea;border-radius:10px;margin:13px 0;font-weight:800}.header-language .language-switch select{max-width:100px}.header-language{display:block;flex:0 0 auto}.detail-whatsapp,.property-detail-hillstyle .detail-whatsapp{background:#25D366!important;color:#fff!important;border-color:#25D366!important}.detail-whatsapp:hover{background:#1fbd5b!important}
@media(max-width:760px){.header-language .language-switch select{max-width:68px;padding:7px 3px;font-size:10px}.header-actions{gap:5px}.ha-photo-editor{padding:12px}.ha-editor-head strong{font-size:17px}.ha-editor-tag{font-size:8px}.ha-editor-sliders-wide{grid-template-columns:1fr}.ha-before-after{grid-template-columns:1fr}.ha-before-after canvas{max-height:240px}}

/* Haha Sky Studio — seller sky-replacement editor */
.ha-ai-note{padding:10px 12px;background:#eef6ff;border-left:3px solid #3989c9;border-radius:6px;font-size:12px;color:#31506d}
.ha-photo-editor .ha-studio-mode p{line-height:1.55}
.ha-photo-editor .ha-before-after canvas{width:100%;height:auto;max-height:340px;object-fit:contain}
.ha-photo-editor .ha-compare-stage{max-height:340px}
.ha-photo-editor .ha-compare-stage img{max-height:340px}
.ha-photo-editor [data-editor-status]{min-height:22px;font-weight:700}

/* Haha East Africa functional refresh — November 2026 */
html,body,button,input,select,textarea{font-family:"Times New Roman",Times,serif!important}
.site-footer,.site-footer *{font-family:"Times New Roman",Times,serif!important}
.trending-slider{height:330px;border-radius:26px;}
.trending-slide{inset:0;display:grid;grid-template-columns:minmax(220px,330px) minmax(0,1fr);gap:clamp(20px,4vw,46px);align-items:center;padding:22px 28px;background:#fff;color:#07113f;transform:none;}
.trending-photo{display:block;width:100%;aspect-ratio:1/1;max-height:285px;overflow:hidden;border-radius:18px;background:#e9edf4;box-shadow:0 8px 24px #07113f18;}
.trending-photo img{width:100%;height:100%;object-fit:cover;}
.trending-copy{display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-width:0;color:#07113f;}
.trending-copy strong{font:700 clamp(25px,3.3vw,39px)/1.12 "Times New Roman",Times,serif;max-width:100%;color:#07113f;}
.trending-copy>span:not(.trending-kicker){font-size:16px;color:#4d5b73;font-weight:700;}
.trending-copy .trending-kicker{color:#bd6b18;}
.trending-view{display:inline-flex!important;background:#07113f;color:#fff!important;border-radius:25px;padding:10px 17px;font-size:13px!important;}
.social-links .social-icon{width:52px;height:52px;min-width:52px;min-height:52px;padding:0!important;overflow:hidden;border-radius:50%!important;}
.social-links .social-icon img{width:120%!important;height:120%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;}
.social-links .social-icon svg{width:80%;height:80%;}
/* Language selector remains inside the header; its panel opens immediately below the header edge. */
.site-header{position:sticky;top:0;z-index:100;overflow:visible;}
.header-language{display:flex!important;align-items:center;position:static;}
.mobile-nav-language{display:none!important;}
.language-switch{position:static;display:block;}
.language-switch>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:7px;min-width:62px;padding:9px 11px;border:1px solid #dfe2e9;border-radius:10px;background:#fff;color:var(--navy);font-weight:800;cursor:pointer;user-select:none;}
.language-switch>summary::-webkit-details-marker{display:none;}
.language-options{position:absolute;top:100%;right:12px;z-index:1200;min-width:190px;padding:7px;background:#fff;border:1px solid #e2e7ef;border-radius:0 0 13px 13px;box-shadow:0 14px 30px #07113f22;}
.language-options a{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;border-radius:8px;color:#17233c;text-decoration:none;font-weight:700;}
.language-options a:hover,.language-options a.active{background:#eef3fb;color:#07113f;}
.language-options a b{color:#13834b;}
@media(max-width:760px){.header-language .language-switch>summary{min-width:48px;padding:8px 7px;font-size:11px}.language-options{right:0;min-width:180px;border-radius:0 0 12px 12px}.header-actions{position:static;}.site-header{isolation:isolate;}}
.whatsapp-float{position:fixed;right:22px;bottom:24px;z-index:9999;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;box-shadow:0 8px 25px #0003;border:3px solid #fff;font-family:Arial,sans-serif!important;}
.whatsapp-float svg{width:39px;height:39px;display:block;}
.property-video-frame{position:relative;width:100%;aspect-ratio:16/9;background:#07113f;border-radius:14px;overflow:hidden;}
.property-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.admin-grid .admin-card{min-height:128px;margin:0;border:0;box-shadow:0 8px 26px #07113f0d;background:linear-gradient(145deg,#fff,#f5f7fc);}
.admin-grid .admin-card h2{font-size:34px;margin:10px 0 0;color:#07113f;}
.admin-dashboard-welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;}
.admin-dashboard-actions,.admin-quick-links{display:flex;gap:10px;flex-wrap:wrap;}
.admin-quick-links a{padding:16px 20px;border-radius:12px;background:#f3f6fb;color:#07113f;font-weight:700;}
@media(max-width:760px){.trending-slider{height:auto;min-height:0;border-radius:18px}.trending-slide{grid-template-columns:minmax(0,1fr);gap:12px;padding:14px}.trending-photo{width:min(100%,260px);aspect-ratio:1/1;max-height:none;margin:auto}.trending-copy{padding:0 4px 8px}.trending-copy strong{font-size:25px}.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-dashboard-welcome{align-items:flex-start;flex-direction:column}.whatsapp-float{width:56px;height:56px;right:14px;bottom:16px}}
@media(min-width:761px){.trending-slide{grid-template-columns:300px minmax(0,1fr)}.trending-photo{width:285px;height:285px}}
/* Enforce Times New Roman throughout the marketplace and admin interface. */
*,*::before,*::after{font-family:"Times New Roman",Times,serif!important}

/* Word-like page content editor */
.page-word-editor{border:1px solid #d9e0eb;border-radius:14px;overflow:hidden;background:#f5f7fb;box-shadow:0 8px 24px #07113f0a;}
.page-word-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:10px;background:#fff;border-bottom:1px solid #dce3ed;}
.page-word-toolbar button,.page-word-toolbar select{min-height:36px;border:1px solid #d6deea;border-radius:7px;background:#fff;color:#17233c;padding:7px 10px;font:600 14px "Times New Roman",Times,serif;cursor:pointer;}
.page-word-toolbar button:hover{background:#edf3fc;border-color:#9eafc8;}
.page-word-toolbar button:disabled{opacity:.55;cursor:wait;}
.page-word-toolbar select{max-width:150px;}
.word-tool-divider{width:1px;height:25px;background:#dce3ed;margin:0 3px;}
.page-word-canvas{min-height:420px;max-width:100%;margin:18px auto;padding:34px 42px;background:#fff;border:1px solid #e2e7ef;border-radius:4px;box-shadow:0 4px 16px #07113f0c;color:#202a3a;font:16px/1.75 "Times New Roman",Times,serif;outline:none;overflow-wrap:anywhere;}
.page-word-canvas:focus{border-color:#9db4d7;box-shadow:0 0 0 3px #2f6fbd18;}
.page-word-canvas h1,.page-word-canvas h2,.page-word-canvas h3{line-height:1.2;margin:1.2em 0 .55em;color:#07113f;}
.page-word-canvas img{max-width:100%;height:auto;border-radius:8px;margin:12px auto;display:block;}
.page-word-canvas a{color:#1459a6;text-decoration:underline;}
.page-word-canvas blockquote{border-left:4px solid #d28a35;padding:10px 18px;margin:18px 0;background:#faf6ef;}
.page-word-status{display:flex;justify-content:space-between;gap:12px;padding:8px 12px;color:#647189;font-size:12px;background:#f8faff;border-top:1px solid #e2e7ef;}
@media(max-width:760px){.page-word-canvas{min-height:340px;margin:10px;padding:18px 16px}.page-word-toolbar{gap:5px;padding:8px}.page-word-toolbar button,.page-word-toolbar select{min-height:34px;padding:6px 8px;font-size:13px}.page-word-status{flex-direction:column;gap:3px}}

/* November 2026: larger square trending listing and clearer in-header language menu */
.trending-slider{height:auto;min-height:420px;border-radius:26px;overflow:hidden}
.trending-slide{display:grid;grid-template-columns:minmax(300px, min(42%, 440px)) minmax(0,1fr);align-items:center;gap:clamp(22px,4vw,54px);padding:24px clamp(22px,3vw,42px);background:#f3f6fa;color:#17233c;transform:none}
.trending-slide.active{transform:none}
.trending-photo{display:block;width:100%;aspect-ratio:1/1;min-width:0;overflow:hidden;border-radius:18px;background:#e4eaf2;box-shadow:0 12px 30px #07113f20}
.trending-photo img{display:block;width:100%;height:100%;object-fit:cover}
.trending-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:13px;padding:12px 8px;color:#17233c}
.trending-copy .trending-kicker{color:#a56a00}
.trending-copy strong{max-width:100%;font:700 clamp(25px,3vw,39px)/1.15 'Times New Roman',serif;color:#07113f}
.trending-copy>span:not(.trending-kicker){color:#39465b;font-size:16px}
.trending-copy .trending-view{display:inline-flex;margin-top:5px;padding:11px 17px;border-radius:9px;background:#07113f;color:#fff;font-weight:800}
.language-switch{position:relative;z-index:1300}
.header-language .language-switch>summary{min-height:42px;min-width:100px;padding:8px 11px;border:1px solid #b9c7d9;background:#fff;color:#07113f;box-shadow:0 2px 8px #07113f12}
.language-current{font-size:12px;font-weight:900;letter-spacing:.04em}
.language-current-name{font-size:13px;font-weight:700;white-space:nowrap}
.language-chevron{font-size:15px;margin-left:auto}
.language-options{top:calc(100% + 1px);right:0;left:auto;min-width:205px;border-radius:0 0 12px 12px;border-top:0;box-shadow:0 14px 28px #07113f26}
.language-options a{font-size:14px;min-height:42px}
@media(max-width:760px){
 .trending-slider{min-height:0;height:auto;border-radius:18px}
 .trending-slide{grid-template-columns:minmax(0,1fr);gap:12px;padding:14px;align-content:start}
 .trending-photo{width:min(100%,420px);aspect-ratio:1/1;margin:0 auto;border-radius:13px}
 .trending-copy{padding:5px 4px 8px;gap:8px}
 .trending-copy strong{font-size:25px}
 .trending-copy>span:not(.trending-kicker){font-size:14px}
 .header-language .language-switch>summary{min-width:88px;min-height:38px;padding:6px 8px;gap:5px}
 .language-current-name{font-size:11px}
 .language-options{position:absolute;top:calc(100% + 1px);right:0;left:auto;min-width:190px;max-width:min(82vw,240px);z-index:1500}
}
@media(min-width:761px){.trending-slider{min-height:420px}.trending-slide{min-height:420px}}
@media(max-width:760px){.trending-slider{height:560px;min-height:560px}.trending-slide{height:100%;box-sizing:border-box}.trending-photo{width:min(100%,360px);max-height:360px}}


/* Property photo fit: preserve the complete uploaded/sky-edited image without stretching or cropping the house. */
.property-image{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#e9edf4;}
.property-image>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#e9edf4;}
.gallery-main{display:flex;align-items:center;justify-content:center;background:#e7edf4;}
.gallery-main>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#e7edf4;}
.gallery-thumb img{width:100%;height:100%;object-fit:cover;object-position:center;}
.admin-gallery-preview img{width:100%;height:120px;object-fit:contain;background:#e9edf4;border-radius:8px;}

/* IMAGE-FRAME FIX (2026-11-17)
   Keep the complete uploaded photo visible in listing cards and main product/property galleries.
   Use contain instead of cover so the image is never cropped or artificially zoomed.
   Thumbnail strips may remain cropped for compact previews.
*/
.property-image img,
.property-image > img,
.trending-photo img,
.gallery-main img,
.gallery-main > img,
.property-detail-hillstyle .gallery-main img {
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  background-color: #e9edf4;
}

/* Mobile form reliability and touch targets */
.admin-form button[type="submit"], .mobile-submit { min-height:48px; touch-action:manipulation; -webkit-appearance:none; appearance:none; cursor:pointer; }
.admin-form input, .admin-form select, .admin-form textarea { font-size:16px; max-width:100%; box-sizing:border-box; }
@media(max-width:680px){.admin-form{grid-template-columns:minmax(0,1fr)!important}.admin-form .full{grid-column:1/-1}.admin-form button[type="submit"]{width:100%;min-height:50px}.whatsapp-float{right:14px;bottom:16px}.ha-ai-root{right:14px;bottom:82px}}


/* Product detail: blurred duplicate of the active photo fills the gallery backdrop. */
.property-detail-page .gallery-main{
  position:relative !important;
  isolation:isolate;
  overflow:hidden;
  background:#e8edf4 !important;
}
.property-detail-page .gallery-main .gallery-blur-background{
  position:absolute !important;
  inset:-22px !important;
  z-index:0 !important;
  width:calc(100% + 44px) !important;
  height:calc(100% + 44px) !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center !important;
  filter:blur(22px) brightness(.72) saturate(1.08) !important;
  opacity:.92;
  transform:scale(1.04) !important;
  pointer-events:none;
}
.property-detail-page .gallery-main #mainListingPhoto{
  position:relative !important;
  z-index:1 !important;
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:transparent !important;
  padding:8px;
}
.property-detail-page .gallery-main .gallery-arrow,
.property-detail-page .gallery-main .gallery-position{z-index:2 !important}


/* ==========================================================
   Animated premium footer — Haha East Africa
   ========================================================== */
.site-footer{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 12% 0%,rgba(38,119,161,.28),transparent 38%),linear-gradient(135deg,#06102d 0%,#0b2142 52%,#07132f 100%)!important;color:#edf5ff;padding-top:34px}
.site-footer:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.22;background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.55) 1px,transparent 0);background-size:28px 28px;mask-image:linear-gradient(to bottom,black,transparent 85%)}
.footer-motion-line{height:2px;position:relative;overflow:hidden;margin:0 0 28px;background:rgba(255,255,255,.1)}
.footer-motion-line span{position:absolute;top:0;left:-35%;width:35%;height:100%;background:linear-gradient(90deg,transparent,#7be4ff,#f1d7a0,transparent);animation:ha-footer-sweep 6s ease-in-out infinite}
.footer-glow-orb{position:absolute;z-index:-1;width:210px;height:210px;border-radius:50%;filter:blur(55px);opacity:.13;pointer-events:none}
.footer-glow-one{right:7%;top:10%;background:#48d8ff;animation:ha-footer-drift 12s ease-in-out infinite alternate}
.footer-glow-two{left:20%;bottom:0;background:#e8bd79;animation:ha-footer-drift 15s ease-in-out infinite alternate-reverse}
.site-footer .footer-grid{position:relative;z-index:1;gap:clamp(24px,4vw,58px);padding-bottom:25px}
.site-footer .footer-logo{max-width:230px;max-height:78px;object-fit:contain;filter:drop-shadow(0 5px 16px rgba(0,0,0,.2));transition:transform .35s ease,filter .35s ease}
.site-footer .footer-logo:hover{transform:translateY(-3px);filter:drop-shadow(0 8px 22px rgba(95,215,255,.24))}
.site-footer h3{color:#f0d8a7!important;letter-spacing:.09em;text-transform:uppercase;font-size:13px;margin:8px 0 15px}
.site-footer .footer-grid a{width:fit-content;position:relative;color:#dce9f8!important;text-decoration:none;transition:color .25s ease,transform .25s ease}
.site-footer .footer-grid a:after{content:"";position:absolute;left:0;right:100%;bottom:-4px;height:1px;background:#f0d8a7;transition:right .25s ease}
.site-footer .footer-grid a:hover{color:#fff!important;transform:translateX(4px)}
.site-footer .footer-grid a:hover:after{right:0}
.site-footer .social-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:5px 0 20px}
.site-footer .social-links a.social-icon{display:grid;place-items:center;border:1px solid rgba(222,239,255,.2);background:rgba(255,255,255,.07);backdrop-filter:blur(8px);border-radius:14px;transition:transform .28s ease,border-color .28s ease,background .28s ease;box-shadow:0 6px 20px rgba(0,0,0,.12)}
.site-footer .social-links a.social-icon:hover{transform:translateY(-5px) rotate(-3deg);border-color:rgba(240,216,167,.8);background:rgba(255,255,255,.14)}
.site-footer .social-links a.social-icon img,.site-footer .social-links a.social-icon svg{filter:drop-shadow(0 1px 2px rgba(0,0,0,.18))}
.footer-signature{display:flex;align-items:center;justify-content:center;gap:9px;color:#d7e6f7;font-size:11px;letter-spacing:.19em;text-transform:uppercase;padding:4px 12px 17px;opacity:.9}
.footer-pulse{width:7px;height:7px;display:inline-block;border-radius:50%;background:#e8c78c;box-shadow:0 0 0 0 rgba(232,199,140,.6);animation:ha-footer-pulse 2.2s ease-out infinite}
.site-footer .copyright{position:relative;text-align:center;border-top:1px solid rgba(255,255,255,.12);padding:17px 12px 19px;color:#b9cbe0!important;font-size:11px;letter-spacing:.025em}
@keyframes ha-footer-sweep{0%{left:-35%}55%,100%{left:110%}}
@keyframes ha-footer-drift{from{transform:translate3d(-12px,-8px,0) scale(.92)}to{transform:translate3d(24px,16px,0) scale(1.12)}}
@keyframes ha-footer-pulse{0%{box-shadow:0 0 0 0 rgba(232,199,140,.55)}70%,100%{box-shadow:0 0 0 8px rgba(232,199,140,0)}}
@media(max-width:680px){.site-footer{padding-top:25px}.footer-motion-line{margin-bottom:22px}.site-footer .footer-grid{gap:20px;padding-bottom:19px}.footer-signature{font-size:9px;letter-spacing:.13em}}
@media(prefers-reduced-motion:reduce){.footer-motion-line span,.footer-glow-orb,.footer-pulse{animation:none!important}.site-footer .footer-grid a,.site-footer .footer-logo,.site-footer .social-links a.social-icon{transition:none!important}}
