/* Phase 365 marketplace homepage. Loaded only on "/" (when home365 is on). Brand: teal #0f766e family, dark green, amber accent. */
.h5{--g1:#0b5953;--g2:#08403c;--g3:#064e3b;--am:#FFB82E;--rad:14px;color:var(--ink);background:var(--bg)}
.h5 *{box-sizing:border-box}
.h5-in{max-width:1480px;margin:0 auto;padding:0 20px}
.h5 svg.i{width:1em;height:1em;flex:none}
.h5-sec{padding:14px 0 0}.h5-last{padding-bottom:28px}
.h5-hd{display:flex;align-items:center;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.h5-hd h2{font-size:1.08rem;margin:0;display:flex;align-items:center;gap:8px;line-height:1.2}
.h5-hd h2 small{font-weight:500;color:var(--muted)}
.h5-ic{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--brand-l);color:var(--brand);font-size:1rem}
.h5-more{margin-left:auto;font-size:.86rem;font-weight:700;color:var(--brand);display:inline-flex;align-items:center;gap:4px}
.h5-more svg{font-size:.9em}
.h5-empty{margin:0;padding:18px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:.92rem;background:var(--card)}
.h5-pan{background:var(--card);border:1px solid var(--line);border-radius:var(--rad);padding:14px;min-width:0}
.h5-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.h5-two2{grid-template-columns:1.25fr 1fr}.h5-two3{grid-template-columns:1fr 1fr}
.h5-bt{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 14px;border-radius:9px;background:var(--brand);color:var(--ls-on-brand);font-weight:700;font-size:.84rem;border:0;cursor:pointer;white-space:nowrap}
.h5-bt:hover{background:var(--brand-d);color:#fff}.h5-bt.light{background:var(--ls-surface);color:var(--g1)}.h5-bt.light:hover{background:var(--brand-l)}

/* ---------- header skin (homepage only, desktop) ---------- */
@media (min-width:761px){
body:has(.h5) .site-header .hdr-bar{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"logo help right" "nav nav nav";height:auto;gap:0 18px;align-items:center}
body:has(.h5) .site-header .logo{grid-area:logo;padding:10px 0}
body:has(.h5) .h5-help{display:inline-flex;grid-area:help;align-items:center;gap:6px;justify-self:end;font-weight:600;font-size:.88rem;color:var(--ink-2)}
body:has(.h5) .h5-help svg{width:1.1em;height:1.1em}
body:has(.h5) .site-header .nav-right{grid-area:right;margin:0}
body:has(.h5) .geo-chip .nm{display:inline;font-size:.84rem}
body:has(.h5) .nav-right .btn.accent.hide-m,body:has(.h5) .nav-right a.btn.ghost[href^="/login?next"]{display:none}
body:has(.h5) .main-nav{grid-area:nav;border-top:1px solid var(--line);margin:0;padding:2px 0;flex:none;width:100%}
body:has(.h5) .main-nav>a,body:has(.h5) .main-nav .nv>a{font-size:.9rem;padding:10px 12px;display:inline-flex;align-items:center;gap:4px;border-radius:8px}
body:has(.h5) .main-nav svg.i{width:12px;height:12px}
body:has(.h5) .main-nav a.h5-list{display:inline-flex;margin-left:auto;background:var(--accent-d,var(--ls-warning));background:var(--am);color:var(--ls-on-accent);font-weight:800;border-radius:10px;padding:8px 16px}
body:has(.h5) .main-nav a.h5-list:hover{filter:brightness(.95);color:#1f1300}
.main-nav .nv{position:relative;display:inline-flex}
.main-nav .nv-sub{position:absolute;top:100%;left:0;min-width:210px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 32px rgba(8,64,60,.16);padding:6px;z-index:60}
.main-nav .nv:hover .nv-sub,.main-nav .nv:focus-within .nv-sub{display:block}
.main-nav .nv-sub a{display:block;padding:9px 12px;border-radius:8px;white-space:nowrap;font-size:.88rem;color:var(--ink-2);font-weight:600}
.main-nav .nv-sub a:hover{background:var(--brand-l);color:var(--brand)}
}
@media (max-width:760px){body:has(.h5) .main-nav .nv{display:contents}body:has(.h5) .main-nav a.h5-list{display:block;color:var(--accent-d);font-weight:700}body:has(.h5) .main-nav svg.i{display:none}}

/* ---------- hero ---------- */
.h5-hero{position:relative;color:#fff;background:linear-gradient(120deg,var(--g2),var(--g1) 55%,#0f766e);isolation:isolate;padding:44px 0 0}
.h5-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,rgba(6,60,52,.9) 0%,rgba(8,64,60,.66) 36%,rgba(8,64,60,.2) 68%,rgba(8,64,60,.1) 100%),linear-gradient(0deg,rgba(6,60,52,.55),rgba(6,60,52,0) 32%);pointer-events:none}
.h5-hg{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:28px;align-items:center;padding-bottom:26px}
.h5-pill{display:inline-block;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);font-weight:700;font-size:.8rem;letter-spacing:.02em}
.h5-hl h1{font-size:clamp(1.8rem,3.6vw,3rem);line-height:1.1;margin:14px 0 14px;font-weight:800;letter-spacing:-.02em;text-wrap:balance;color:#fff}
.h5-hl h1 em{font-style:normal;color:var(--am)}
.h5-cats{margin:0;font-size:.98rem;line-height:1.7;color:rgba(255,255,255,.9)}
.h5-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.h5-acts a{display:flex;gap:10px;align-items:center;padding:14px;border-radius:12px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#fff;backdrop-filter:blur(6px);min-height:72px}
.h5-acts a:hover{background:rgba(255,255,255,.2);color:#fff}
.h5-acts svg{font-size:1.5rem;color:var(--am)}
.h5-acts b{display:block;font-size:.95rem}.h5-acts small{display:block;font-size:.76rem;opacity:.85;line-height:1.3;margin-top:2px}
.h5-sp{max-width:1240px;margin:0 auto -34px;padding:0 20px;position:relative;z-index:2}
.h5-tabs{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;padding:0}
.h5-tabs::-webkit-scrollbar{display:none}
.h5-tabs button{display:inline-flex;align-items:center;gap:6px;border:0;background:rgba(255,255,255,.88);color:var(--g1);font:700 .88rem var(--font);padding:11px 18px;border-radius:12px 12px 0 0;cursor:pointer;white-space:nowrap;min-height:44px}
.h5-tabs button.on{background:var(--card);color:var(--brand)}
.h5-sf{display:grid;grid-template-columns:1.5fr 1fr 1fr auto;gap:10px;background:var(--card);padding:14px;border-radius:0 14px 14px 14px;box-shadow:0 14px 36px rgba(0,0,0,.2);color:var(--ink)}
.h5-f{position:relative;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:0 12px;min-height:48px;background:var(--bg);color:var(--muted);min-width:0}
.h5-f input,.h5-f select{border:0;background:none;outline:0;width:100%;min-width:0;font:600 .92rem var(--font);color:var(--ink);padding:12px 0}
.h5-f:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-l)}
.h5-pr summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;width:100%;font-weight:600;font-size:.92rem;color:var(--ink);min-height:46px}
.h5-pr summary::-webkit-details-marker{display:none}
.h5-pop{position:absolute;left:0;right:0;top:calc(100% + 6px);background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;gap:8px;box-shadow:0 14px 30px rgba(0,0,0,.18);z-index:5}
.h5-pop label{display:grid;gap:4px;font-size:.8rem;font-weight:700;color:var(--muted)}
.h5-pop input{border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit;color:var(--ink);background:var(--bg)}
.h5-go{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;background:var(--am);color:#1f1300;font:800 .95rem var(--font);padding:0 24px;min-height:48px;cursor:pointer;white-space:nowrap}
.h5-go:hover{filter:brightness(.95)}

/* ---------- category strip ---------- */
.h5-strip{padding-top:52px;background:var(--bg)}
.h5-cs{display:grid;grid-template-columns:repeat(12,1fr);gap:8px;background:var(--card);border:1px solid var(--line);border-radius:var(--rad);padding:12px 8px}
.h5-cs a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;border-radius:10px;color:var(--ink);font-weight:600;font-size:.78rem;text-align:center;line-height:1.2}
.h5 .h5-cs a svg.i{width:36px;height:36px;padding:8px;border-radius:50%;background:var(--brand-l);color:var(--brand)}
.h5-cs a:hover{background:var(--brand-l);color:var(--brand)}

/* ---------- banners ---------- */
.h5-ban{padding-top:14px}
.h5-b3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.h5-b{position:relative;display:flex;align-items:flex-end;min-height:170px;border-radius:var(--rad);overflow:hidden;color:#fff;padding:20px;background:var(--bi,none) center/cover,linear-gradient(120deg,var(--g2),var(--g1))}
.h5-b::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,60,52,.92),rgba(8,64,60,.55))}
.h5-b.b1{background-image:var(--bi,none),linear-gradient(120deg,#0b5953,var(--ls-brand))}
.h5-b.b3{background-image:var(--bi,none),linear-gradient(120deg,#064e3b,#0f766e)}
.h5-b span{position:relative;display:grid;gap:6px;max-width:80%}
.h5-b small{color:var(--am);font-weight:800;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}
.h5-b b{font-size:1.25rem;line-height:1.15}.h5-b em{font-style:normal;font-size:.86rem;opacity:.92;line-height:1.4}
.h5-b i{font-style:normal;display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:.86rem;color:var(--am);margin-top:4px}
.h5-b:hover{color:#fff}

/* ---------- featured cards ---------- */
.h5-ft{display:flex;gap:6px;flex-wrap:wrap}
.h5-ft button{border:1px solid var(--line);background:var(--card);color:var(--ink-2);font:700 .82rem var(--font);padding:7px 14px;border-radius:999px;cursor:pointer;min-height:34px}
.h5-ft button.on{background:var(--brand);border-color:var(--brand);color:var(--ls-on-brand)}
.h5-fw{position:relative}
.h5-tr{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 5*12px)/6);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px}
.h5-tr::-webkit-scrollbar{display:none}
.h5-card{position:relative;scroll-snap-align:start;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:box-shadow .15s,transform .15s}
.h5-card:hover{box-shadow:0 8px 22px rgba(8,64,60,.14);transform:translateY(-2px)}
.h5-cm{display:block;position:relative;aspect-ratio:4/3;background:var(--brand-l);overflow:hidden}
.h5-cm img{width:100%;height:100%;object-fit:cover}
.h5-tag{position:absolute;top:8px;left:8px;background:var(--g1);color:#fff;font-size:.68rem;font-weight:800;padding:3px 8px;border-radius:6px;letter-spacing:.02em}
.h5-tag.rent{background:#0f766e}.h5-tag.land{background:#92400e}
.h5-tag.vf{top:auto;bottom:8px;background:var(--ls-success-tint);color:var(--ls-success);display:inline-flex;gap:3px;align-items:center}
.h5-tag.ng{top:auto;bottom:8px;background:var(--ls-warning-tint);color:var(--ls-accent-ink)}
.h5-fav{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;border:0;background:rgba(255,255,255,.95);color:var(--ls-text-2);display:grid;place-items:center;cursor:pointer;z-index:2}
.h5-fav.on{color:#e11d48}.h5-fav svg{width:16px;height:16px}
.h5-cb{display:grid;gap:3px;padding:10px 10px 12px;color:inherit}
.h5-pr{font-size:1rem;color:var(--g1)}.h5-pr small{font-weight:500;color:var(--muted);font-size:.72rem}
.h5-tt{font-size:.84rem;font-weight:700;color:var(--ink);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3;min-height:2.6em}
.h5-lc{display:flex;gap:4px;align-items:center;font-size:.76rem;color:var(--muted)}
.h5-lc svg{width:12px;height:12px;color:var(--brand)}
.h5-st{display:flex;gap:10px;flex-wrap:wrap;font-size:.76rem;color:var(--ink-2);margin-top:3px}
.h5-st span{display:inline-flex;gap:4px;align-items:center}.h5-st svg{width:13px;height:13px;color:var(--muted)}
.h5-ar{position:absolute;top:38%;width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:var(--card);box-shadow:0 4px 12px rgba(0,0,0,.15);display:grid;place-items:center;cursor:pointer;z-index:3;color:var(--g1)}
.h5-ar.prev{left:-12px;transform:rotate(180deg)}.h5-ar.next{right:-12px}

/* ---------- wanted + agents ---------- */
.h5-wl{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.h5-wl li{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:10px}
.h5-wl b{font-size:.88rem;display:block;color:var(--ink)}.h5-wl small{display:block;color:var(--muted);font-size:.78rem}
.h5-wl time{font-size:.74rem;color:var(--muted);white-space:nowrap}
.h5-wk{font-size:.7rem;font-weight:800;padding:4px 9px;border-radius:6px;background:var(--brand-l);color:var(--brand);white-space:nowrap}
.h5-wk.buy{background:var(--ls-warning-tint);color:var(--ls-accent-ink)}.h5-wk.com{background:#e0f2f1;color:#134e4a}
.h5-ag{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.h5-ac{display:grid;justify-items:center;gap:2px;text-align:center;padding:12px 8px;border:1px solid var(--line);border-radius:12px;color:inherit;min-width:0}
.h5-ac:hover{box-shadow:0 6px 18px rgba(8,64,60,.12)}
.h5-ap{position:relative;width:72px;height:72px;border-radius:50%;background:var(--brand-l);display:grid;place-items:center;margin-bottom:6px}
.h5-ap img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.h5-ap i{font:800 1.6rem var(--font);color:var(--brand);font-style:normal}
.h5-ap em{position:absolute;bottom:-6px;font-style:normal;font-size:.62rem;font-weight:800;background:var(--ls-success-tint);color:var(--ls-success);padding:2px 6px;border-radius:999px;display:inline-flex;gap:2px;align-items:center;white-space:nowrap}
.h5-ac b{font-size:.84rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}
.h5-ac small{font-size:.74rem;color:var(--muted)}.h5-ac small.rt{color:var(--ls-accent-ink);display:inline-flex;gap:3px;align-items:center}

/* ---------- estates + locations ---------- */
.h5-es{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.h5-ec{display:grid;gap:3px;color:inherit;min-width:0}
.h5-ec img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px;background:var(--brand-l)}
.h5-ec b{font-size:.86rem;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h5-ec small{font-size:.76rem;color:var(--muted)}.h5-ec span{font-size:.8rem;color:var(--ink-2)}.h5-ec span b{color:var(--g1);display:inline;margin:0}
.h5-lo{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.h5-lo a{display:grid;gap:2px;text-align:center;color:inherit;min-width:0}
.h5-li{display:block;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,var(--g1),var(--ls-brand))}
.h5-li img{width:100%;height:100%;object-fit:cover}
.h5-lo b{font-size:.84rem;margin-top:4px}.h5-lo small{font-size:.74rem;color:var(--muted)}

/* ---------- services + tools ---------- */
.h5-sv{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.h5-sv a{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;color:var(--ink);font-weight:700;font-size:.86rem;min-height:64px}
.h5-sv a span,.h5-tl a span{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--brand-l);color:var(--brand);flex:none;font-size:1.2rem}
.h5-sv a:hover,.h5-tl a:hover{border-color:var(--brand);background:var(--brand-l)}
.h5-tl{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.h5-tl a{display:grid;justify-items:center;gap:6px;text-align:center;padding:12px 6px;border:1px solid var(--line);border-radius:12px;color:var(--ink);font-weight:700;font-size:.8rem;line-height:1.2}
.h5-tl a em{font-style:normal;font-size:.64rem;font-weight:800;color:var(--ls-accent-ink);background:var(--ls-warning-tint);padding:1px 6px;border-radius:999px}

/* ---------- app + map promos ---------- */
.h5-app,.h5-map{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:var(--rad);padding:22px;color:#fff;overflow:hidden;min-height:170px;background:var(--bi,none) center/cover,linear-gradient(120deg,var(--g2),var(--g1))}
.h5-map{background:var(--bi,none) center/cover,linear-gradient(120deg,#0f766e,var(--ls-brand))}
.h5-app h3,.h5-map h3{margin:0 0 6px;font-size:1.2rem;color:#fff}.h5-app p,.h5-map p{margin:0 0 12px;font-size:.88rem;opacity:.92}
.h5-store{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.h5-soon{display:inline-flex;gap:6px;align-items:center;min-height:36px;padding:0 12px;border-radius:9px;border:1px dashed rgba(255,255,255,.55);font-size:.82rem;font-weight:700}
.h5-soon em{font-style:normal;color:var(--am)}
.h5-phone{flex:none;width:96px;height:150px;border-radius:18px;border:4px solid #0b1f1d;background:var(--ls-surface);display:grid;place-items:center;box-shadow:0 10px 24px rgba(0,0,0,.3)}
.h5-phone i{display:grid;justify-items:center;gap:6px;font-style:normal}.h5-phone u{text-decoration:none;font-weight:800;font-size:.62rem;color:var(--g1)}
.h5-mp{flex:none;width:min(220px,40%);border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.25)}

/* ---------- footer ---------- */
.h5-foot{background:#08403c;color:rgba(255,255,255,.82);padding:40px 0 0;font-size:.9rem}
.h5-foot a{color:rgba(255,255,255,.82)}.h5-foot a:hover{color:#fff}
.h5-fg{display:grid;grid-template-columns:1.5fr repeat(4,1fr) 1.4fr;gap:24px}
.h5-fg h4{margin:0 0 10px;color:#fff;font-size:.92rem}
.h5-fg a{display:block;padding:4px 0}
.h5-fg p{margin:10px 0;line-height:1.6;max-width:320px}
.h5-fl{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:800;font-size:1.15rem}
.h5-fl .mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--ls-brand);color:var(--ls-on-brand)}
.h5-soc{display:flex;gap:8px;flex-wrap:wrap}.h5-soc a{display:inline-block;padding:6px 10px;border:1px solid rgba(255,255,255,.3);border-radius:8px;font-size:.78rem}
.h5-nl form{display:flex;gap:6px;margin-top:6px}
.h5-nl input[type=email]{flex:1;min-width:0;border:0;border-radius:9px;padding:11px 12px;font:inherit;background:var(--ls-surface);color:var(--ls-text)}
.h5-nl button{border:0;border-radius:9px;background:var(--am);color:#1f1300;font-weight:800;padding:0 14px;cursor:pointer;min-height:44px}
.h5-nl .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.h5-nl .msg{margin:8px 0 0;font-size:.82rem;color:#a7f3d0}.h5-nl .msg.err{color:#fecaca}
.h5-fb{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:28px;padding:16px 0 20px;border-top:1px solid rgba(255,255,255,.16);font-size:.82rem}
.h5-fb select{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:8px;padding:8px 10px;font:inherit;min-height:38px}
.h5-fb select option{color:var(--ls-text)}
.h5-fs{display:flex;gap:10px;flex-wrap:wrap;align-items:center}

/* ---------- tablet ---------- */
@media (max-width:1100px){
.h5-hg{grid-template-columns:1fr}
.h5-cs{grid-template-columns:repeat(6,1fr)}
.h5-tr{grid-auto-columns:calc((100% - 3*12px)/4)}
.h5-two,.h5-two2,.h5-two3{grid-template-columns:1fr}
.h5-fg{grid-template-columns:repeat(3,1fr)}.h5-fg>:first-child,.h5-nl{grid-column:1/-1}
.h5-b3{grid-template-columns:repeat(3,1fr)}.h5-b b{font-size:1.05rem}
.h5-sf{grid-template-columns:1fr 1fr}.h5-go{grid-column:1/-1}
}
/* ---------- mobile ---------- */
@media (max-width:640px){
.h5-in,.h5-sp{padding-left:14px;padding-right:14px}
.h5-hero{padding-top:26px}
.h5-hl h1{font-size:1.6rem}
.h5-acts{grid-template-columns:1fr 1fr;gap:8px}.h5-acts a{padding:10px;min-height:64px;flex-direction:column;align-items:flex-start;gap:4px}.h5-acts small{display:none}
.h5-sf{grid-template-columns:1fr;padding:12px}
.h5-strip{padding-top:46px}
.h5-cs{display:flex;overflow-x:auto;gap:4px;scrollbar-width:none;padding:10px 6px}.h5-cs::-webkit-scrollbar{display:none}
.h5-cs a{flex:0 0 76px}
.h5-b3{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;scrollbar-width:none;margin:0 -14px;padding:0 14px}
.h5-b3::-webkit-scrollbar{display:none}
.h5-b{flex:0 0 84%;scroll-snap-align:center;min-height:150px}
.h5-tr{grid-auto-flow:row;grid-auto-columns:unset;grid-template-columns:1fr 1fr;overflow:visible}
.h5-tr .h5-card:nth-child(n+9){display:none}
.h5-ar{display:none}
.h5-hd{gap:8px}.h5-ft{order:3;width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.h5-ft button{flex:none}
.h5-wl li{grid-template-columns:1fr auto;grid-template-areas:"k t" "d d" "b b"}
.h5-wl li>.h5-wk{grid-area:k;justify-self:start}.h5-wl li>div{grid-area:d}.h5-wl li>time{grid-area:t}.h5-wl li>.h5-bt{grid-area:b}
.h5-ag{grid-template-columns:1fr 1fr}
.h5-es{grid-template-columns:1fr 1fr}.h5-es .h5-ec:nth-child(3){display:none}
.h5-lo{display:flex;overflow-x:auto;gap:10px;scrollbar-width:none}.h5-lo a{flex:0 0 92px}
.h5-sv{grid-template-columns:1fr 1fr}.h5-tl{grid-template-columns:1fr 1fr 1fr}
.h5-app,.h5-map{flex-direction:column;align-items:flex-start;padding:18px}.h5-phone{display:none}.h5-mp{width:100%}
.h5-fg{grid-template-columns:1fr 1fr}.h5-foot{padding-bottom:64px}
.h5-fb{padding-bottom:12px}
}
@media (prefers-reduced-motion:reduce){.h5-card{transition:none}.h5-card:hover{transform:none}}

.h5-hl h1 .ui-hi{display:none}
.h5 .h5-ap em svg.i,.h5 .h5-tag svg.i{width:10px;height:10px}
.h5 .h5-sv a span svg.i,.h5 .h5-tl a span svg.i{width:1.2rem;height:1.2rem}
.h5 .h5-acts svg.i{width:1.6rem;height:1.6rem}
.h5 .h5-ic svg.i{width:1rem;height:1rem}
.h5 .h5-card svg.i{width:13px;height:13px}.h5 .h5-fav svg.i{width:16px;height:16px}
.h5{overflow-x:clip}
.h5-foot .h5-nl button{background:#FFB82E;color:#1f1300;font-weight:800}
.h5-foot .h5-fb label{color:rgba(255,255,255,.82);display:inline-flex;gap:8px;align-items:center}

/* phone bottom navigation: centre Create button */
.bottom-nav .bn-create{color:var(--brand,#0f766e)}.bottom-nav .bn-create svg{background:var(--brand,#0f766e);color:#fff;border-radius:50%;padding:4px;width:30px;height:30px;margin-top:-6px}
/* mobile header: keep the logo from being squeezed by the longer button labels */
@media (max-width:760px){body:has(.h5) .site-header .logo{flex:0 0 auto;min-width:34px}body:has(.h5) .nav-right a.btn.ghost[href="/login"]{display:none}}
@media (max-width:420px){body:has(.h5) .lang-dd{display:none}}

/* ---------- phase 370: Latest Listings (two rows) + aligned advert band ---------- */
.h5-lg{display:flex;flex-direction:column;gap:14px}
.h5-lr{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.h5-lr .h5-card{scroll-snap-align:none}
.h5-adband{display:block}.h5-adband .adslot{margin:0 auto;width:100%}
.h5-adsec{padding-top:0}
/* ---- phase 371: advert spots. Fixed-ratio media boxes reserve their space (no layout shift); empty spots are never rendered. ---- */
.h5-ad{position:relative;margin:0;display:grid;grid-template-columns:minmax(0,1fr);border:1px solid var(--ls-border);border-radius:14px;overflow:hidden;background:#fff;isolation:isolate;box-shadow:0 1px 2px rgba(8,64,60,.06)}
.h5-adm{position:relative;grid-area:1/1;background:linear-gradient(135deg,var(--ls-brand-deep),var(--ls-brand));overflow:hidden}
.h5-adm img.x,.h5-adlink,.h5-adlink img,.h5-av{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.h5-adl{position:absolute;z-index:3;top:10px;left:10px;background:var(--ls-accent);color:#1c1204;font-size:.66rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:3px 9px;border-radius:6px;pointer-events:none}
.h5-ado{grid-area:1/1;align-self:end;position:relative;z-index:2;display:flex;align-items:center;gap:12px;padding:14px 16px 46px;background:linear-gradient(0deg,rgba(8,64,60,.82),rgba(8,64,60,0));color:#fff;pointer-events:none}
.is-image .h5-ado{padding-bottom:14px}
.h5-ado a{pointer-events:auto}
.h5-adg{width:42px;height:42px;border-radius:10px;background:#fff;object-fit:contain;padding:3px;flex:none}
.h5-adt{display:flex;flex-direction:column;min-width:0;flex:1}
.h5-adt small{font-size:.74rem;opacity:.9;font-weight:600}
.h5-adt b{font-size:clamp(1rem,2.2vw,1.7rem);line-height:1.15;text-wrap:balance;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.h5-adc{flex:none;display:inline-flex;align-items:center;gap:6px;background:var(--ls-accent);color:#1c1204;font-weight:800;font-size:.85rem;padding:9px 14px;border-radius:9px;text-decoration:none;min-height:40px}
.h5-adc svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.h5-adc:hover{filter:brightness(.96)}
/* video chrome */
.h5-abig{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:var(--ls-brand-deep);display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.28)}
.h5-abig svg{width:28px;height:28px;fill:currentColor;margin-left:3px}
.is-playing .h5-abig{opacity:0;pointer-events:none}
.h5-avc{position:absolute;z-index:4;left:0;right:0;bottom:0;display:flex;align-items:center;gap:8px;padding:6px 10px;background:linear-gradient(0deg,rgba(0,0,0,.6),rgba(0,0,0,0));color:#fff}
.h5-avc button{background:none;border:0;color:#fff;width:34px;height:34px;display:grid;place-items:center;cursor:pointer;border-radius:8px}
.h5-avc button:hover{background:rgba(255,255,255,.18)}
.h5-avc svg{width:20px;height:20px;fill:currentColor}
.h5-avc .x{stroke:currentColor;stroke-width:2;fill:none}
.h5-aprog{flex:1;height:6px;background:rgba(255,255,255,.3);border-radius:99px;cursor:pointer;position:relative;overflow:hidden}
.h5-aprog i{position:absolute;inset:0 auto 0 0;width:0;background:var(--ls-accent)}
.h5-avc .i-z,.is-playing .h5-avc .i-p{display:none}.is-playing .h5-avc .i-z{display:block}
.h5-avc .i-u{display:none}.is-unmuted .h5-avc .i-u{display:block}.is-unmuted .h5-avc .i-m{display:none}
.h5-ad button:focus-visible,.h5-ad a:focus-visible{outline:3px solid var(--ls-accent);outline-offset:-3px}
/* sizes (desktop): billboard 3:1, in-feed 4.5:1, bottom 6:1; A and B are equal 16:7 */
.h5-ad-top .h5-adm{aspect-ratio:3/1}.h5-ad-mid .h5-adm{aspect-ratio:9/2}.h5-ad-bottom .h5-adm{aspect-ratio:6/1}
.h5-ad-top .h5-adt b{font-size:clamp(1.3rem,3vw,2.4rem)}
.h5-ad-mid .h5-ado,.h5-ad-bottom .h5-ado{padding-bottom:40px}
.h5-adpair{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.h5-adpair.one{grid-template-columns:1fr}
.h5-ad-a .h5-adm,.h5-ad-b .h5-adm{aspect-ratio:16/7}.h5-adpair.one .h5-adm{aspect-ratio:4/1}
.h5-ad-a .h5-abig,.h5-ad-b .h5-abig,.h5-ad-bottom .h5-abig,.h5-ad-mid .h5-abig{width:50px;height:50px}
.h5-ad-bottom .h5-aprog,.h5-ad-a .h5-aprog,.h5-ad-b .h5-aprog{display:none}.h5-ad-bottom .h5-avc,.h5-ad-a .h5-avc,.h5-ad-b .h5-avc{justify-content:flex-end}
.h5-dots{display:none}
@media (max-width:1100px){.h5-lr{grid-template-columns:repeat(4,minmax(0,1fr))}.h5-lr .h5-card:nth-child(n+5){display:none}}
@media (max-width:640px){.h5-lr{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media (max-width:1100px){.h5-ad-top .h5-adm{aspect-ratio:21/9}.h5-ad-mid .h5-adm{aspect-ratio:3/1}.h5-ad-bottom .h5-adm{aspect-ratio:4/1}.h5-ad-a .h5-adm,.h5-ad-b .h5-adm{aspect-ratio:16/9}}
@media (max-width:640px){
 .h5-ad-top .h5-adm,.h5-ad-mid .h5-adm,.h5-ad-bottom .h5-adm{aspect-ratio:16/9}
 /* phones: text sits under the video (as in the design), not over it */
 .h5-ad-top,.h5-ad-mid,.h5-ad-bottom{grid-template-rows:auto auto}
 .h5-ad-top .h5-ado,.h5-ad-mid .h5-ado,.h5-ad-bottom .h5-ado{grid-area:2/1;align-self:auto;background:#fff;color:var(--ls-text);padding:10px 12px;pointer-events:auto}
 .h5-ad-top .h5-adt b,.h5-ad-mid .h5-adt b,.h5-ad-bottom .h5-adt b{text-shadow:none;font-size:1rem;color:var(--ls-text)}.h5-ad-top .h5-adt small,.h5-ad-mid .h5-adt small,.h5-ad-bottom .h5-adt small{display:none}
 .h5-ad-top .h5-adc,.h5-ad-mid .h5-adc,.h5-ad-bottom .h5-adc{background:var(--ls-brand);color:#fff}
 .h5-adpair,.h5-adpair.one{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;scrollbar-width:none;margin:0 -14px;padding:0 14px}
 .h5-adpair::-webkit-scrollbar{display:none}
 .h5-adpair{scroll-padding:0 14px}.h5-adpair>.h5-ad{flex:0 0 calc(100vw - 28px);scroll-snap-align:start}
 .h5-ad-a .h5-adm,.h5-ad-b .h5-adm,.h5-adpair.one .h5-adm{aspect-ratio:16/9}
 .h5-ad-a .h5-adt b,.h5-ad-b .h5-adt b{font-size:1rem}.h5-ad-a .h5-ado,.h5-ad-b .h5-ado{padding:10px 12px 40px}
 .h5-dots{display:flex;justify-content:center;gap:6px;margin-top:8px}.h5-dots i{width:7px;height:7px;border-radius:50%;background:var(--ls-border-strong)}.h5-dots i.on{background:var(--ls-brand)}
}
@media (prefers-reduced-motion:reduce){.h5-abig{transition:none}}

/* ---------- phase 374: hero slideshow (brand message, separate from paid adverts) ---------- */
.h5-hs{position:absolute;inset:0;z-index:-2;overflow:hidden}
.h5-sl{position:absolute;inset:0;opacity:0;transition:opacity .8s ease}
.h5-sl.on{opacity:1}
.h5-sl img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--op,50% 50%)}
.h5-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.h5-txw{display:grid;margin-top:14px;min-height:0}
.h5-tx{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .8s ease,visibility 0s linear .8s}
.h5-tx.on{opacity:1;visibility:visible;transition-delay:0s}
.h5-sh{margin:0 0 12px;font-size:clamp(1.8rem,3.6vw,3rem);line-height:1.1;font-weight:800;letter-spacing:-.02em;text-wrap:balance;color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.28)}
.h5-sh em{font-style:normal;color:var(--am)}
.h5-sd{margin:0 0 18px;max-width:34em;font-size:1.02rem;line-height:1.55;color:rgba(255,255,255,.95);text-shadow:0 1px 8px rgba(0,0,0,.3)}
.h5-cta{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 20px;border-radius:12px;border:1.5px solid rgba(255,255,255,.75);background:rgba(15,118,110,.9);color:#fff;font-weight:800;font-size:.95rem;text-decoration:none}
.h5-cta:hover{background:var(--brand);color:#fff}
.h5-cta svg{font-size:1rem}
.h5-sc{display:flex;align-items:center;gap:10px;margin-top:18px}
.h5-sb{display:grid;width:44px;height:44px;border-radius:50%;border:1.5px solid rgba(255,255,255,.7);background:rgba(8,64,60,.55);color:#fff;place-items:center;cursor:pointer}
.h5-dots{display:flex;gap:0}
.h5-dots button{width:30px;height:30px;border:0;background:none;display:grid;place-items:center;cursor:pointer;padding:0}
.h5-dots i{display:block;width:12px;height:12px;border-radius:50%;background:#fff;opacity:.9;transition:background .3s,transform .3s}
.h5-dots button[aria-current=true] i{background:var(--am);transform:scale(1.15)}
.h5-sp2{width:36px;height:36px;border-radius:50%;border:1.5px solid rgba(255,255,255,.55);background:rgba(8,64,60,.45);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.h5-sp2 svg{width:16px;height:16px;fill:currentColor}.h5-sp2 .i-p{display:none}.h5-sp2[aria-pressed=true] .i-z{display:none}.h5-sp2[aria-pressed=true] .i-p{display:block}
.h5-sb:hover,.h5-sp2:hover{background:rgba(8,64,60,.85)}
.h5-sb svg{font-size:1.3rem}
.h5-hero button:focus-visible,.h5-hero .h5-cta:focus-visible{outline:3px solid var(--am);outline-offset:2px}
@media (max-width:640px){
 .h5-hero::after{background:linear-gradient(180deg,rgba(6,60,52,.88) 0%,rgba(8,64,60,.6) 48%,rgba(8,64,60,.3) 70%,rgba(6,60,52,.72) 100%)}
 .h5-sh{font-size:1.65rem}.h5-sd{font-size:.95rem;margin-bottom:14px}
 .h5-sb{display:grid}
 .h5-acts{grid-template-columns:repeat(4,1fr)}.h5-acts a{align-items:center;text-align:center;font-size:.72rem;padding:10px 4px}.h5-acts b{font-size:.74rem;line-height:1.2}.h5-acts svg{font-size:1.4rem}
}
@media (prefers-reduced-motion:reduce){.h5-sl,.h5-tx,.h5-dots i{transition:none}}

.h5-hero .h5-acts a{background:rgba(8,64,60,.58);border-color:rgba(255,255,255,.28)}.h5-hero .h5-acts a:hover{background:rgba(8,64,60,.78)}

/* hero placeholders: a tiny blurred copy of each photo shows instantly, so there is never a flash of plain green before the picture */
.h5-hero{background:#0d1a19}
.h5-sl{background-size:cover;background-position:var(--op,50% 50%)}
.h5-sl[data-n="1"]{background-image:url(data:image/webp;base64,UklGRhgBAABXRUJQVlA4IAwBAACQBgCdASogABIAPu1oqk8ppiOiMBgIATAdiWwArDLiKSZqhvAuJ+mlwsDFqtPdmHS/MAq5TUrWhVObBjMAAP7xEorv/xZPl1qFsAWP3D4wbGc4SZPnHcC2npTKz5UCUD3lQH5w5qSxfsSvl69lJgYIn/617wZdq4xvHWNyOrwT9Yr8ARcSi4/kh+y2UgahRV5pLFXfWs7DGbBssSxR/uEPRUOkBwcxm6jylo+Ayj5byx4UKDlwYRFIUuvEsP+11O4TrIhPOHY+0Ve2zwqQoPFzilmWv7kOehHqt8Tm7cZsiqGEO6Wrm4Q/IHw8A+gagLKCS2cLcogjchpXJCRtsYRmvf4HkP1zUxf4AAAA)}
.h5-sl[data-n="2"]{background-image:url(data:image/webp;base64,UklGRgIBAABXRUJQVlA4IPYAAAAQBgCdASogABIAPu1or1AppaQiqAqpMB2JbACdMxL+5SKBR5J+l039Wn0OXR0Q0PoNIa6E6LuZouAA/vDLHdCNzehQh+T2hyhPn4foA0ufNowDclt9HMNzBXX77yDb2HI5mBBkPnCTfq08pRsvnKg4w9UDfvPVpUGGF6z2+uC0p+UHfzTWMBFwaVnlrCgTlEBEMQrqjLJoqAfVngTlaOB8WHpzNhFk8pGaoqSNrurhzIaQ28wmZYE3bfQsohjR0EfZk/O7yieRGcmYAzolJgq8pPr2icMHveVpTmpbCHoekPCmDJajGyHRGKELDznTYPVp42JdAAA=)}
.h5-sl[data-n="3"]{background-image:url(data:image/webp;base64,UklGRhYBAABXRUJQVlA4IAoBAABwBgCdASogABIAPu1gqE2ppaOiMAgBMB2JZACdMoSBAGNXge+dCGb6ipOpomD7HMYK0KzqJxv//BnuVMgA/txziN313CyoDfIOQuZ5PwsFBOQlRoS34tLI6erXl5j20m1Qt6Clc18xUvmkMc5gotfMTyOl19W3ekqxUKQ3jNPZtTgBEIRIWA00FBzaHVa2S0U0mTr2H93fIPrnUdpQcF8MFsnkFG7dKOzqBAtWCVev99Xj2ydjJ8jSXFdq6nEdElul7ghw3mk7+iOGtTYtRQjEQ/sB2jLxrakH5BmokQTyDCVrMJhKSPTEmbzG1inEtp/yqP1WWJBObbRCuICutTvwOiXXteI+hvgAAA==)}
.h5-sl[data-n="4"]{background-image:url(data:image/webp;base64,UklGRtIAAABXRUJQVlA4IMYAAADQBQCdASogABIAPu1oqU+ppiOiKA1RMB2JagC1F8Fs/y7BF9GCr23ifB43ijNV0Ue2geauNopkAP71dAerWkWIMMfB/LwhQBiyp+ZYXTdIV9ft6FdbfZSEBbPhyyjeWEynUUInW4BIa8sIAbDDNP0TeVZVVsJL3laIOXVkKwAhvsMW7rEGzBAZ5iKFzuLStzCuZxKlW2xpDADLIyYMm53Xu0GBysxuBR132diRiE46sa8Duv66QWaCmBHaOy4MmUCRUDTAAAA=)}
@media (max-width:700px){.h5-sl[data-n="1"]{background-image:url(data:image/webp;base64,UklGRiABAABXRUJQVlA4IBQBAABwBwCdASoUABkAPu1qrFEppaQiqAqpMB2JbACdMzOLG16gTOBGxLfYUoKoCKJCF3Y/R8/R0Z1SKfZrTzKGpcRgXu7HQAD+y+yqRNffQEDjIhM6xoAQ1ndOZ7NsPwgkSPtiSGyAiSFcAts/6EwY4ncOTH5Cc3Inxk/jqbfntepDD6bZQmcbTwiIiPZVSp8VQ3eKlE0k5FZJ/Jg7+NV18mujoiD/2YL+CsysGmWNQzHTqp2hCOKoNIVzH8xnl8Z2gdEf+trM8qwaP2ZLBG4ZG7OBlqXg+cjs2JDuFhSiUfjykBSoXMHNeP9kFcXiNmk7/T70DDbMmffhfwUWizAKSjiFDzhVOHcm9MUWEL0SFHQgjw6AAAA=)}.h5-sl[data-n="2"]{background-image:url(data:image/webp;base64,UklGRhYBAABXRUJQVlA4IAoBAAAQBgCdASoUABkAPu1oqk+ppaOiKA1RMB2JbACdMoMrkKNzzothglU7AY6dawSLNqZpxebvvJyX6kAA/svoE5IElHFmw1MjvLSB71xO+UOLuHw/IsLEa4+QkHkn2VQVsUCcmw1UXRdznva5I/sBQHzpcHPWOmS2p+hSQvx0sfYTb93p1JJQEJaqdwBzikZ/zIk1zDIsjv7aD0hL64euAYaH7KfLrIECE/9WGFmP6wfgTuhZKkDzHBsdeWIyofCDr5R07Gjfy+g+8wplJ3Ti5KzB0rYJJy1wlute+33hliPDvEJeSkO7k6vJivFPmxOk1iXbYPBqiUQSrYx7fdGJhULvNiY0WoqFxKAAAA==)}.h5-sl[data-n="3"]{background-image:url(data:image/webp;base64,UklGRvIAAABXRUJQVlA4IOYAAACwBQCdASoUABkAPu1sqlGppaOiqAqpMB2JZgCdMw8GeAvlFgtCGx3lB/EQsJxF++BG/pxQVAAA4mvEuHryI5RNnS5YqzRTSqcdowjqpsF/3wFfPs0QNqaEsBGq9ob6V0o+JUxMxmJqUiDEG6dhnn2tP5XiKy5CCmKed3Uxf8RYvUt00XXo/IvOe+Wcx0U9vfkzQthawGf9VotOJHs76lL01hCbRWsYpCHThlOJupkcqG8szCQwKhLDzsKNQxD1z9t/OxhJRJPAExRs6QiqdTTUk2zZUpcscmyC/i5bEr3+BgM++AAAAA==)}.h5-sl[data-n="4"]{background-image:url(data:image/webp;base64,UklGRggBAABXRUJQVlA4IPwAAAAwBgCdASoUABkAPu1qqFAppiOiqA1RMB2JbACdMoR1cNS1t0yHlSIVUhMJQ4IJedcQr/a0s5+HAq2AAPAr/BBfs7zVky2RZdDU7rI/mtHSScLRRcKTH9WvZ0nplSB8z6DR3r7hlhgQHGtA4Z3CDw0VlUZRIk8tBGRrX3rlljWwhOHZrqcAXfaSzUi9EbmcVasl9e3eKgifzXVX1PPPLPBg1Fn3HKkx7CSV8qFHP/d8hmJx9+dYrQlTx+UnnY5STpVFuyiUBH9TPkhmpHLA3SHmGrAEy0pz9LfQPacpheRyAmJ5HFy635de8W2tT1A6PxJfbpSKD9obL75QAAA=)}}

.no-snd [data-act=mute]{display:none}.is-house .h5-adl{background:var(--ls-brand);color:#fff}
/* phase377: built-in 16:9 promo videos get a taller frame so headlines are not cropped */
.h5-ad-mid.is-house .h5-adm{aspect-ratio:16/6}
.h5-ad-top.is-house .h5-adm{aspect-ratio:16/6}
@media (max-width:1100px){.h5-ad-mid.is-house .h5-adm,.h5-ad-top.is-house .h5-adm{aspect-ratio:16/8}}
@media (max-width:640px){.h5-ad-mid.is-house .h5-adm,.h5-ad-top.is-house .h5-adm{aspect-ratio:16/9}}
/* phase377b: the middle advert sits inside the Latest Listings grid, the width of two cards and the height of one */
.h5-lr .h5-ad.h5-ad-mid{grid-column:span 2;margin:0;height:100%;grid-template-rows:1fr;min-width:0}
.h5-lr .h5-ad.h5-ad-mid .h5-adm{aspect-ratio:auto;height:100%;min-height:220px;border-radius:12px}
.h5-lr .h5-ad.is-house .h5-av{object-fit:contain;background:#f7faf9}
.h5-lr .h5-ad-mid .h5-adt b{font-size:.95rem;line-height:1.2}.h5-lr .h5-ad-mid .h5-adt small{display:none}
.h5-lr .h5-ad-mid .h5-ado{gap:8px;padding:10px 12px}
@media (max-width:1100px){.h5-lr.h5-lrx .h5-card:nth-child(n+4){display:none}.h5-lr .h5-ad.h5-ad-mid .h5-adm{min-height:200px}}
@media (max-width:640px){
 .h5-lr.h5-lrx .h5-card:nth-child(n+4){display:block}
 .h5-lr.h5-lrx .h5-card:nth-child(n+6){display:none}
 .h5-lr .h5-ad.h5-ad-mid{height:auto;grid-template-rows:auto auto}
 .h5-lr .h5-ad.h5-ad-mid .h5-adm{aspect-ratio:16/9;height:auto;min-height:0}
}
@media (min-width:641px){.h5-lr .h5-ad-mid .h5-adt,.h5-lr .h5-ad-mid .h5-aprog{display:none}.h5-lr .h5-ad-mid .h5-ado{justify-content:flex-end}.h5-lr .h5-ad-mid .h5-avc{margin-right:auto}}
/* phase379: compact top banner: video on the left at a fixed short height, headline + button on the right */
@media (min-width:641px){
 .h5-ad-top.is-image .h5-adm{aspect-ratio:auto;height:clamp(150px,17vw,220px)}
 .h5-ad-top.is-video{grid-template-columns:auto minmax(0,1fr);grid-template-rows:clamp(150px,17vw,220px);background:linear-gradient(135deg,var(--ls-brand-deep),var(--ls-brand));border-radius:14px;overflow:hidden}
 .h5-ad-top.is-video .h5-adm{aspect-ratio:16/9;height:100%;width:auto;min-width:0;border-radius:0}
 .h5-ad-top.is-video .h5-ado{grid-area:1/2;align-self:stretch;background:none;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;padding:16px clamp(16px,2.4vw,32px);pointer-events:auto}
 .h5-ad-top.is-video .h5-adt{flex:none}
 .h5-ad-top.is-video .h5-adt small{font-size:.8rem}
 .h5-ad-top.is-video .h5-adt b{font-size:clamp(1.05rem,1.9vw,1.7rem);text-shadow:none}
 .h5-ad-top.is-video .h5-aprog{display:block}
}
/* phase381: adverts have no player controls or play buttons; only the write-up and button show. Videos are always muted. */
.h5-abig,.h5-avc,.rf-ctl{display:none!important}
.h5-ado,.h5-ad-mid .h5-ado,.h5-ad-bottom .h5-ado{padding-bottom:14px}
.h5-lr .h5-ad-mid .h5-adt,.h5-lr .h5-ad-mid .h5-aprog{display:none}
/* phase382: video adverts carry only the Landlordspaces logo, as a solid corner tile that covers any caption the video has there */
.h5-adlogo{position:absolute;z-index:3;top:0;left:0;width:clamp(48px,5.4vw,68px);aspect-ratio:1;display:grid;place-items:center;background:var(--ls-brand);color:#fff;border-radius:0 0 16px 0;pointer-events:none;box-shadow:2px 2px 10px rgba(0,0,0,.18)}
.h5-adlogo svg{width:62%;height:62%;display:block}
.h5-ads{left:auto;right:10px}
.is-video .h5-adl.h5-ads{background:rgba(255,255,255,.92);color:#1c1204}
@media (max-width:640px){.h5-lr .h5-ad-mid .h5-adt{display:flex}}
/* phase383: logo only, the building sketch on its own with no badge behind it */
.h5-adlogo{top:10px;left:10px;width:clamp(30px,3.2vw,42px);background:none;box-shadow:none;border-radius:0;color:var(--ls-brand);filter:drop-shadow(0 0 3px rgba(255,255,255,.95)) drop-shadow(0 1px 2px rgba(0,0,0,.25))}
.h5-adlogo svg{width:100%;height:100%}
.h5-adlogo{filter:none;width:clamp(34px,3.6vw,48px);aspect-ratio:392/336}

/* ---------- phase403: "Find your next property on the map" ---------- */
.h6-sec{padding-top:26px}
.h6-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:34px;align-items:center;background:linear-gradient(120deg,#fff 0,#f4faf8 60%,#eef7f4);border:1px solid var(--line);border-radius:26px;padding:34px 34px 34px 44px;box-shadow:0 10px 34px rgba(2,40,34,.07);transition:box-shadow .2s,transform .2s;overflow:hidden}
.h6-card:hover{box-shadow:0 16px 44px rgba(2,40,34,.12);transform:translateY(-1px)}
.h6-stretch{position:absolute;inset:0;z-index:1;border-radius:inherit}
.h6-txt{position:relative;z-index:2;pointer-events:none}.h6-txt a{pointer-events:auto}
.h6-label{display:inline-flex;gap:7px;align-items:center;background:#e2f3ee;color:#0b6b5f;border-radius:99px;padding:7px 15px;font-size:.76rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.h6-label svg{width:15px;height:15px}
.h6-txt h2{margin:16px 0 12px;font-size:clamp(1.8rem,3.2vw,2.6rem);line-height:1.12;letter-spacing:-.02em;color:#10302c}.h6-txt h2 em{font-style:normal;color:var(--ls-brand,#0f766e);display:block}
.h6-txt p{margin:0 0 22px;color:var(--muted);font-size:1rem;line-height:1.6;max-width:30em}
.h6-cta{display:inline-flex;gap:10px;align-items:center;background:var(--ls-brand,#0f766e);color:#fff!important;font-weight:800;padding:15px 24px;border-radius:14px;box-shadow:0 10px 24px rgba(15,118,110,.3);transition:background .15s,transform .15s}.h6-cta:hover{background:var(--ls-brand-deep,#02453c);transform:translateY(-1px)}.h6-cta svg{width:18px;height:18px}
.h6-txt .h6-note{margin:18px 0 0;font-size:.88rem;max-width:30em}
.h6-map{position:relative;z-index:0;height:340px;border-radius:20px;overflow:hidden;background:#e7f2ee;border:1px solid var(--line);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),0 6px 20px rgba(2,40,34,.08);pointer-events:none}
.h6-map .leaflet-control-container,.h6-map .map-state{display:none!important}
.h6-pin{position:absolute;left:0;top:0;transform:translate(-50%,-100%);width:30px;height:30px;border-radius:50% 50% 50% 0;rotate:-45deg;background:var(--ls-brand,#0f766e);border:2px solid #fff;box-shadow:0 3px 8px rgba(0,0,0,.3)}
.h6-pin:after{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}
.h6-count{position:absolute;right:14px;top:14px;z-index:800;display:flex;gap:11px;align-items:center;background:#fff;border-radius:16px;padding:10px 16px 10px 10px;box-shadow:0 8px 22px rgba(0,0,0,.16)}
.h6-count i{width:38px;height:38px;border-radius:50%;background:var(--ls-brand,#0f766e);color:#fff;display:grid;place-items:center}.h6-count svg{width:19px;height:19px}.h6-count b{display:block;font-size:1.15rem;line-height:1.1}.h6-count span{font-size:.76rem;color:var(--muted)}
.h6-pcard{position:absolute;left:14px;bottom:14px;z-index:800;width:210px;background:#fff;border-radius:16px;padding:8px 8px 11px;box-shadow:0 10px 28px rgba(0,0,0,.22);display:grid;gap:3px}
.h6-pimg{position:relative;height:96px;border-radius:11px;overflow:hidden;background:#dfeee8;margin-bottom:6px}.h6-pimg img{width:100%;height:100%;object-fit:cover;display:block}
.h6-pimg span{position:absolute;left:7px;top:7px;background:var(--ls-brand,#0f766e);color:#fff;font-size:.68rem;font-weight:800;padding:3px 9px;border-radius:7px}
.h6-pcard b{font-size:.88rem;line-height:1.25;padding:0 4px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.h6-pcard small{display:flex;gap:4px;align-items:center;color:var(--muted);font-size:.74rem;padding:0 4px}.h6-pcard small svg{width:12px;height:12px}
.h6-pcard strong{font-size:1rem;padding:0 4px;color:var(--ls-brand-deep,#02453c)}.h6-pcard strong small{display:inline;padding:0;font-weight:600}
@media (max-width:900px){.h6-card{grid-template-columns:1fr;gap:22px;padding:24px 18px}.h6-map{height:300px}.h6-cta{width:100%;justify-content:center}}
@media (max-width:480px){.h6-pcard{width:170px}.h6-pimg{height:74px}}
@media (prefers-reduced-motion:reduce){.h6-card,.h6-cta{transition:none}.h6-card:hover{transform:none}}
/* phase404: the map card shares the row with the app card again, so it is compact */
.h5-two3 .h6-card{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:18px;padding:22px 22px 22px 26px;border-radius:var(--rad,20px);height:100%}
.h5-two3 .h6-label{font-size:.66rem;padding:5px 11px}
.h5-two3 .h6-txt h2{font-size:clamp(1.25rem,1.9vw,1.65rem);margin:11px 0 8px}
.h5-two3 .h6-txt p{font-size:.84rem;margin-bottom:14px;line-height:1.5}
.h5-two3 .h6-txt .h6-note{display:none}
.h5-two3 .h6-cta{padding:11px 16px;font-size:.86rem;border-radius:11px;gap:8px}.h5-two3 .h6-cta svg{width:16px;height:16px}
.h5-two3 .h6-map{height:100%;min-height:230px;border-radius:16px}
.h5-two3 .h6-count{right:8px;top:8px;padding:6px 11px 6px 6px;border-radius:12px;gap:8px}.h5-two3 .h6-count i{width:28px;height:28px}.h5-two3 .h6-count svg{width:14px;height:14px}.h5-two3 .h6-count b{font-size:.95rem}.h5-two3 .h6-count span{font-size:.66rem}
.h5-two3 .h6-pcard{width:128px;left:8px;bottom:8px;padding:5px 5px 8px;border-radius:12px}.h5-two3 .h6-pimg{height:56px;margin-bottom:3px}.h5-two3 .h6-pcard b{font-size:.74rem}.h5-two3 .h6-pcard small{font-size:.64rem}.h5-two3 .h6-pcard strong{font-size:.82rem}.h5-two3 .h6-pimg span{font-size:.6rem;padding:2px 7px}
@media (max-width:900px){.h5-two3 .h6-card{grid-template-columns:1fr;height:auto}.h5-two3 .h6-map{height:260px}.h5-two3 .h6-txt .h6-note{display:block}.h5-two3 .h6-pcard{width:150px}}
/* phase 495 */
.h5-ar.off{visibility:hidden;pointer-events:none}
.h5-two:has(> .h5-pan:only-child){grid-template-columns:1fr}
@media (min-width:901px){body:has(#h5Hero) .gd-fab{bottom:calc(24px + env(safe-area-inset-bottom))!important}}

/* phase 499: relocation banner: text on the left, the film filling the right, blended into the brand green */
.h5-ad-top.is-video.h5-reloc{grid-template-columns:minmax(300px,40%) minmax(0,1fr);grid-template-rows:clamp(250px,26vw,370px)}
.h5-ad-top.is-video.h5-reloc .h5-ado{grid-area:1/1;padding:24px clamp(20px,3vw,48px);gap:16px}
.h5-ad-top.is-video.h5-reloc .h5-adm{grid-area:1/2;aspect-ratio:auto;width:100%;height:100%}
.h5-ad-top.is-video.h5-reloc .h5-adm::after{content:"";position:absolute;inset:0 auto 0 0;width:22%;background:linear-gradient(90deg,var(--ls-brand-deep,#0b4f4a),rgba(11,79,74,0));pointer-events:none;z-index:1}
.h5-ad-top.is-video.h5-reloc .h5-av{object-fit:cover;object-position:50% 50%}
.h5-ad-top.is-video.h5-reloc .h5-adt b{font-size:clamp(1.5rem,2.6vw,2.5rem);line-height:1.1}
.h5-ad-top.is-video.h5-reloc .h5-adt small{font-size:.92rem;font-weight:700;opacity:.92}
.h5-adsub{display:block;margin-top:8px;font-size:clamp(.92rem,1.1vw,1.08rem);line-height:1.45;color:rgba(255,255,255,.88);max-width:34ch}
.h5-ad-top.h5-reloc .h5-aprog,.h5-ad-top.h5-reloc .h5-adplay{display:none!important}
@media (max-width:760px){
  .h5-ad-top.is-video.h5-reloc{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}
  .h5-ad-top.is-video.h5-reloc .h5-ado{grid-area:1/1;padding:20px 18px 16px}
  .h5-ad-top.is-video.h5-reloc .h5-adm{grid-area:2/1;aspect-ratio:16/9;height:auto}
  .h5-ad-top.is-video.h5-reloc .h5-adm::after{inset:0 0 auto 0;width:auto;height:18%;background:linear-gradient(180deg,var(--ls-brand-deep,#0b4f4a),rgba(11,79,74,0))}
}
.h5-ad-top.is-video.h5-reloc{background:#0a3f3b;border-color:#0a3f3b}
.h5-ad-top.is-video.h5-reloc .h5-adm{background:#0a3f3b}
.h5-ad-top.is-video.h5-reloc .h5-adm::after{width:26%;background:linear-gradient(90deg,#0a3f3b 0%,rgba(10,63,59,.6) 45%,rgba(10,63,59,0) 100%)}
@media (max-width:760px){
  .h5-ad-top.is-video.h5-reloc .h5-ado{background:none;color:#fff;flex-direction:column;align-items:flex-start;gap:14px}
  .h5-ad-top.is-video.h5-reloc .h5-adt small{display:block;color:#f5b301;font-size:.8rem;letter-spacing:.3px}
  .h5-ad-top.is-video.h5-reloc .h5-adt b{color:#fff;font-size:1.55rem;line-height:1.15}
  .h5-ad-top.is-video.h5-reloc .h5-adc{background:var(--ls-accent,#f5b301);color:#1c1204}
  .h5-ad-top.is-video.h5-reloc .h5-adm::after{background:linear-gradient(180deg,#0a3f3b,rgba(10,63,59,0))}
}
.h5-ad-top.is-video.h5-reloc .h5-adm::after{width:9%;background:linear-gradient(90deg,#0a3f3b 0%,rgba(10,63,59,0) 100%)}
@media (max-width:760px){.h5-ad-top.is-video.h5-reloc .h5-adm::after{width:auto;height:12%}}
/* phase 499b: slimmer relocation banner, the same height as the promo cards above it; the film is a whole 16:9 picture on the right */
.h5-ad-top.is-video.h5-reloc{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:170px}
.h5-ad-top.is-video.h5-reloc .h5-adm{grid-area:1/2;height:170px;width:auto;aspect-ratio:16/9}
.h5-ad-top.is-video.h5-reloc .h5-adm::after{width:14%}
.h5-ad-top.is-video.h5-reloc .h5-ado{flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding:18px clamp(18px,2.6vw,40px)}
.h5-ad-top.is-video.h5-reloc .h5-adt{flex:1 1 auto;min-width:0}
.h5-ad-top.is-video.h5-reloc .h5-adt b{font-size:clamp(1.35rem,2.1vw,2rem)}
.h5-ad-top.is-video.h5-reloc .h5-adsub{max-width:46ch;margin-top:6px;font-size:clamp(.88rem,1vw,1rem)}
.h5-ad-top.is-video.h5-reloc .h5-adc{flex:none}
@media (max-width:1100px){.h5-ad-top.is-video.h5-reloc .h5-ado{flex-direction:column;align-items:flex-start;justify-content:center;gap:10px}.h5-ad-top.is-video.h5-reloc .h5-adsub{display:none}}
@media (max-width:760px){
  .h5-ad-top.is-video.h5-reloc{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}
  .h5-ad-top.is-video.h5-reloc .h5-ado{flex-direction:column;align-items:flex-start;gap:12px}
  .h5-ad-top.is-video.h5-reloc .h5-adsub{display:block}
  .h5-ad-top.is-video.h5-reloc .h5-adm{grid-area:2/1;width:100%;height:auto;aspect-ratio:16/9}
}
.h5-adsec:has(.h5-reloc){margin-top:14px}
/* phase 499c: text left, film in the middle, Request Relocation on the right */
@media (min-width:761px){
  .h5-ad-top.is-video.h5-reloc{grid-template-columns:minmax(0,1fr) auto minmax(220px,.6fr);align-items:center}
  .h5-ad-top.is-video.h5-reloc .h5-ado{display:contents}
  .h5-ad-top.is-video.h5-reloc .h5-adt{grid-area:1/1;align-self:center;padding:16px 28px 16px clamp(20px,2.8vw,44px);position:relative;z-index:2}
  .h5-ad-top.is-video.h5-reloc .h5-adm{grid-area:1/2}
  .h5-ad-top.is-video.h5-reloc .h5-adc{grid-area:1/3;justify-self:center;align-self:center;position:relative;z-index:2;pointer-events:auto}
  .h5-ad-top.is-video.h5-reloc .h5-adm::after{width:16%}
  .h5-ad-top.is-video.h5-reloc .h5-adm::before{content:"";position:absolute;inset:0 0 0 auto;width:16%;background:linear-gradient(270deg,#0a3f3b 0%,rgba(10,63,59,0) 100%);pointer-events:none;z-index:1}
}
/* phase 499d: relocation film as the first Featured Properties card, the same size as a promo card */
.h5-relcard{grid-column:span 2;align-self:start;height:170px;min-height:170px;margin:0;border:0;border-radius:var(--rad,14px);overflow:hidden;background:#0a3f3b;position:relative;scroll-snap-align:start;display:block}
.h5-relcard .h5-adm{position:absolute;inset:0;aspect-ratio:auto;height:100%;border-radius:0}
.h5-relcard .h5-av{object-fit:cover;object-position:50% 50%}
.h5-relcard-link{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:12px;text-decoration:none;color:#fff;background:linear-gradient(0deg,rgba(6,40,37,.55) 0%,rgba(6,40,37,0) 42%)}
.h5-relcard-tag{font-size:.72rem;font-weight:800;letter-spacing:.3px;background:rgba(10,63,59,.82);padding:4px 10px;border-radius:999px}
.h5-relcard-cta{align-self:flex-end;display:inline-flex;align-items:center;gap:6px;background:var(--ls-accent,#f5b301);color:#1c1204;font-weight:800;font-size:.82rem;padding:8px 12px;border-radius:9px;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.h5-relcard-cta svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.h5-relcard-link:hover .h5-relcard-cta,.h5-relcard-link:focus-visible .h5-relcard-cta{filter:brightness(1.05);transform:translateY(-1px)}
.h5-relcard-link:focus-visible{outline:3px solid var(--ls-accent,#f5b301);outline-offset:-3px}
@media (max-width:760px){.h5-relcard{grid-column:1/-1;height:auto;min-height:0;aspect-ratio:16/9}}
/* phase 499d: keep the relocation card the exact size of a promo card at every width */
.h5-relcard-cta{font-size:.76rem;padding:6px 10px}
@media (max-width:1100px) and (min-width:641px){.h5-tr{grid-auto-columns:calc((100% - 2*12px)/3)}.h5-relcard{grid-column:span 1;height:170px;aspect-ratio:auto}}
@media (max-width:640px){.h5-relcard{grid-column:1/-1;height:161px;min-height:0;aspect-ratio:auto}}
/* phase 499e: the relocation card is as tall as the property cards beside it */
.h5-relcard{align-self:stretch;height:auto;min-height:170px}
.h5-relcard .h5-av{object-position:60% 50%}
.h5-relcard-link{padding:14px}
@media (max-width:1100px) and (min-width:641px){.h5-relcard{grid-column:span 1;height:auto;align-self:stretch}}
@media (max-width:640px){.h5-relcard{grid-column:1/-1;height:auto;aspect-ratio:16/9;align-self:start}}
@media (max-width:1100px) and (min-width:641px){.h5-tr{grid-auto-columns:calc((100% - 3*12px)/4)}.h5-relcard{grid-column:span 2}}
.h5-relcard .h5-av{object-position:72% 50%}@media (max-width:640px){.h5-relcard .h5-av{object-position:50% 50%}}
/* phase 499i: never show the photo description text while the hero photo is still arriving */
.h5-sl img{color:transparent;font-size:0}
/* phase 499j: no blurred previews. A clean brand background shows until the photo is fully loaded, then the photo appears sharp */
.h5-hero{background:linear-gradient(120deg,#0b4f4a 0%,#0f766e 55%,#0b5953 100%)}
.h5-sl[data-n]{background-image:none!important}
.h5-sl img{opacity:0;transition:opacity .2s ease;animation:h5Show 0s 4s forwards}
.h5-sl img.ld{opacity:1;animation:none}
@keyframes h5Show{to{opacity:1}}
@media (prefers-reduced-motion:reduce){.h5-sl img{transition:none}}
/* phase 499k: no coloured placeholder behind the hero photo; the page waits for the photo instead */
.h5-hero{background:#0d1a19}
.h5-sl img{transition:none}
/* phase 499m: the hero photo shows the moment it is available (from the saved copy it is instant); nothing is hidden while the page loads */
.h5-sl img{opacity:1;animation:none}
/* phase 505: multi-platform download banner (same slot and size as the old .h5-app) */
.ab{position:relative;display:flex;flex-direction:column;gap:12px;border-radius:var(--rad,14px);padding:20px 22px;min-height:170px;overflow:hidden;border:1px solid var(--line,#e3e9e8);background:radial-gradient(120% 140% at 100% 0,#dff3ee 0,rgba(223,243,238,0) 55%),linear-gradient(120deg,#fff 0,#f6fbf9 70%,#eef7f4);color:var(--ink,#0f172a)}
[data-theme=dark] .ab{background:linear-gradient(120deg,#0f1f1d,#0b1615);border-color:rgba(255,255,255,.08);color:#e8eef0}
.ab-top{display:flex;gap:16px;align-items:center;justify-content:space-between;min-width:0}
.ab-copy{min-width:0;flex:1}
.ab-logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:1rem;letter-spacing:-.01em;margin-bottom:8px;color:var(--g1,#0b5953)}
[data-theme=dark] .ab-logo{color:#7fd6c8}
.ab-logo img{width:30px;height:30px;border-radius:8px;flex:none}
.ab h3{margin:0 0 4px;font-size:1.28rem;line-height:1.2;color:inherit;text-wrap:balance}
.ab p{margin:0;font-size:.86rem;line-height:1.45;color:var(--muted,#5b6b72);max-width:36ch}
.ab-dev{position:relative;width:236px;height:132px;flex:none}
.ab-lap{position:absolute;left:0;top:2px;width:200px}
.ab-scr{border:5px solid #1f2933;border-bottom-width:6px;border-radius:8px 8px 2px 2px;overflow:hidden;background:#e8eef0;aspect-ratio:16/10;box-shadow:0 10px 24px rgba(2,40,34,.18)}
.ab-scr img{display:block;width:100%;height:100%;object-fit:cover}
.ab-base{height:7px;margin:0 -12px;border-radius:0 0 8px 8px;background:linear-gradient(#d9dee2,#aeb6bd)}
.ab-ph{position:absolute;right:0;bottom:0;width:56px;aspect-ratio:9/19.5;border:3px solid #1f2933;border-radius:11px;overflow:hidden;background:#e8eef0;box-shadow:0 10px 22px rgba(2,40,34,.25)}
.ab-ph img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.ab-btns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ab-b{display:flex;align-items:center;gap:8px;min-height:46px;padding:6px 10px;border-radius:11px;text-decoration:none;line-height:1.1;border:1px solid transparent;transition:transform .15s ease,box-shadow .15s ease;min-width:0}
.ab-b svg{flex:none}
.ab-b span{display:flex;flex-direction:column;min-width:0}
.ab-b small{font-size:.64rem;font-weight:600;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ab-b b{font-size:.92rem;font-weight:800;white-space:nowrap}
a.ab-b:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(2,40,34,.16)}
a.ab-b:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.ab-and{background:#1f8f4e;color:#fff}.ab-ios{background:#111;color:#fff}.ab-win{background:#0067b8;color:#fff}.ab-mac{background:#f1f3f4;color:#111;border-color:#d7dbdf}
.ab-off{background:transparent;color:var(--muted,#5b6b72);border:1px dashed #c3ccd0;cursor:default}
.ab-off small{color:#b45309;opacity:1;font-weight:700}
.ab-you{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--brand,#0f766e)}
.ab-ben{display:flex;gap:6px 18px;flex-wrap:wrap;margin:0;padding:0;list-style:none;font-size:.78rem;font-weight:600;color:var(--muted,#5b6b72)}
.ab-ben li{display:flex;align-items:center;gap:6px}.ab-ben svg{color:var(--brand,#0f766e)}
@media (max-width:1100px) and (min-width:901px){.ab-dev{display:none}.ab-btns{grid-template-columns:1fr 1fr}}
@media (max-width:900px){.ab-btns{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:640px){
  .ab{padding:16px}
  .ab-top{flex-direction:column;align-items:stretch;gap:12px}
  .ab h3{font-size:1.12rem}.ab p{max-width:none}
  .ab-dev{width:220px;height:118px;margin:0 auto}.ab-lap{width:180px}.ab-ph{width:50px}
  .ab-btns{grid-template-columns:1fr 1fr}
  .ab-b{min-height:48px}
  .ab-desk{min-height:40px;padding:4px 10px}.ab-desk b{font-size:.84rem}
  .ab-ben{justify-content:center;gap:6px 12px;font-size:.74rem}
}

/* phase 507: city landmark photos credit line */
.h5-credit{margin:8px 2px 0;font-size:.72rem;color:#64748b;text-align:right}.h5-credit a{color:inherit;text-decoration:underline}

/* phase 514: the three audience cards (tenants, landlords, developers) */
.h5-pcs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.h5-pc{--c:#0f766e;--bg:#ecfdf5;--bd:#bbf7d0;--ey:#047857;--glow:#a7f3d0;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:22px;border-radius:18px;background:var(--bg);border:1px solid var(--bd);color:#0f172a;text-decoration:none;min-width:0;transition:transform .15s,box-shadow .15s}
.h5-pc:hover{transform:translateY(-2px);box-shadow:0 14px 30px -18px rgba(15,23,42,.35);color:#0f172a}
.h5-pc.pc-l{--c:#ea580c;--bg:#fff7ed;--bd:#fed7aa;--ey:#c2410c;--glow:#fdba74}
.h5-pc.pc-d{--c:#2563eb;--bg:#eff6ff;--bd:#bfdbfe;--ey:#1d4ed8;--glow:#93c5fd}
.h5-pc>*{position:relative;z-index:1}
.h5-pc-ey{display:inline-flex;align-items:center;gap:9px;font-size:.74rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--ey)}
.h5-pc-ic{width:34px;height:34px;border-radius:10px;background:var(--c);color:#fff;display:grid;place-items:center;flex:none}.h5-pc-ic svg{width:18px;height:18px}
.h5-pc-t{font-size:1.3rem;line-height:1.2;letter-spacing:-.02em;margin-top:4px}
.h5-pc-d{font-size:.9rem;line-height:1.5;color:#475569;max-width:36ch}
.h5-pc-l{list-style:none;margin:2px 0 12px;padding:0;display:grid;gap:5px;font-size:.84rem;color:#334155}
.h5-pc-l li{display:flex;gap:6px;align-items:center}.h5-pc-l svg{width:15px;height:15px;color:var(--c);flex:none}
.h5-pc-go{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding:10px 16px;border-radius:11px;background:var(--c);color:#fff;font-weight:800;font-size:.9rem}.h5-pc-go svg{width:16px;height:16px}
.h5-pc-art{position:absolute!important;z-index:0!important;right:-40px;bottom:-50px;width:160px;height:160px;border-radius:50%;background:radial-gradient(circle at 35% 35%,var(--glow),transparent 70%);opacity:.75;pointer-events:none}
.h5-pc-img{position:absolute!important;right:16px;top:16px;width:64px;height:64px;border-radius:14px;object-fit:cover;box-shadow:0 6px 16px -8px rgba(15,23,42,.4)}
.h5-pc:has(.h5-pc-img) .h5-pc-t,.h5-pc:has(.h5-pc-img) .h5-pc-ey{padding-right:70px}
.h5-pc:focus-visible{outline:3px solid var(--c);outline-offset:3px}
@media (max-width:980px){.h5-pcs{grid-template-columns:minmax(0,1fr)}.h5-pc{padding:18px}.h5-pc-l{display:none}.h5-pc-t{font-size:1.15rem}}
[data-theme=dark] .h5-pc{--bg:#0f1f1c;--bd:#1e3a34;color:#e2e8f0}[data-theme=dark] .h5-pc.pc-l{--bg:#24170e;--bd:#4a2a12}[data-theme=dark] .h5-pc.pc-d{--bg:#0e1a2d;--bd:#1e3a5f}
[data-theme=dark] .h5-pc-d,[data-theme=dark] .h5-pc-l{color:#cbd5e1}[data-theme=dark] .h5-pc:hover{color:#e2e8f0}

/* ---------- phase 520: slideshow progress bars (no arrows or pause button) and a search row that fits every tab ---------- */
.h5-sc{margin-top:22px;gap:0}
.h5-sc .h5-prog{display:flex;gap:6px;align-items:center}
.h5-sc .h5-prog button{width:auto;height:28px;padding:0;display:flex;align-items:center}
.h5-sc .h5-prog i{position:relative;display:block;width:22px;height:4px;border-radius:4px;background:rgba(255,255,255,.45);overflow:hidden;opacity:1;transform:none!important;transition:width .4s ease,background .3s}
.h5-sc .h5-prog button:hover i{background:rgba(255,255,255,.75)}
.h5-sc .h5-prog button[aria-current=true] i{width:56px;background:rgba(255,255,255,.35)}
.h5-sc .h5-prog button[aria-current=true] i::after{content:"";position:absolute;inset:0;width:0;background:var(--am);border-radius:4px;animation:h5fill 20s linear forwards}
.h5-held .h5-sc .h5-prog button[aria-current=true] i::after{animation-play-state:paused}
@keyframes h5fill{to{width:100%}}
@media (prefers-reduced-motion:reduce){.h5-sc .h5-prog button[aria-current=true] i::after{animation:none;width:100%}}
@media (max-width:640px){.h5-sc{justify-content:flex-start;margin-top:14px}.h5-sc .h5-prog{display:flex}}
/* the search row: location gets the most room; fields the tab does not use leave no gap; the button always sits at the end */
.h5-sf{display:flex!important;flex-wrap:wrap;align-items:stretch}
.h5-sf>.h5-f{flex:1 1 180px}
.h5-sf>.h5-f:first-child{flex:2.2 1 280px}
.h5-sf>.h5-f[hidden]{display:none!important}
.h5-sf>.h5-go{flex:0 0 auto;margin-left:auto;min-width:210px}
.h5-sp[data-mode=agents] .h5-sf>.h5-f:first-child,.h5-sp[data-mode=proj] .h5-sf>.h5-f:first-child{flex-grow:6}
.h5-f input::placeholder{color:#7b8a87;font-weight:500}
.h5-sp .ps-note{display:none!important}
@media (max-width:900px){.h5-sf>.h5-f:first-child{flex-basis:100%}.h5-sf>.h5-go{flex:1 1 100%;min-width:0}}
@media (max-width:520px){.h5-sf>.h5-f{flex-basis:100%}}
.h5-sp[data-mode=agents] .h5-sf>.h5-f:first-child>svg{display:none}
.h5-sc .h5-prog button[aria-current=true] i{background:rgba(255,255,255,.55)}
