.page-head { padding: clamp(3rem, 7vw, 5rem) 0 1.5rem; }
.page-head p { font-size: 1.15rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; align-items: center; }
.filters a { padding: .55rem 1.2rem; border-radius: 999px; border: 2px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 600; }
.filters a[aria-current="true"] { background: var(--ink); color: #fff; }
.filters .count { margin-left: auto; color: var(--mute); font-size: .95rem; }
.map { height: min(60vh, 480px); border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0 0; background: var(--sky); z-index: 0; }
.legend { display: flex; gap: 1.25rem; font-size: .9rem; color: var(--mute); margin: .6rem 0 0; flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .4rem; vertical-align: -1px; }
.legend .l-com::before { background: var(--red); }
.legend .l-res::before { background: var(--ink); }
.pin { border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.pin-com { background: var(--red); }
.pin-res { background: var(--ink); }
.pop { display: block; width: 200px; color: var(--ink); text-decoration: none; }
.pop img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: .4rem; }
.pop strong { display: block; }
.pop span { color: var(--mute); font-size: .85rem; }
.pgrid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 2rem 0 0; }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -16px rgba(34,38,42,.35); }
.pimg { display: block; aspect-ratio: 4 / 3; background: var(--sky-deep); }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pbody { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .2rem; }
.pbody strong { font-stretch: 112%; font-size: 1.2rem; letter-spacing: -0.01em; }
.ploc { color: var(--mute); font-size: .95rem; }
.ptag { align-self: flex-start; font-size: .8rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; margin-bottom: .35rem; }
.ptag.com { background: #f7e3e6; color: var(--red-dark); }
.ptag.res { background: var(--sky-deep); color: var(--ink); }
.empty { color: var(--mute); padding: 2rem 0; }

.phero { position: relative; min-height: 52vh; display: flex; align-items: flex-end; padding: 0; color: #fff; background: var(--ink); overflow: hidden; }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,22,24,.75), rgba(20,22,24,0) 60%); }
.phero .wrap { position: relative; z-index: 1; padding-top: 3rem; padding-bottom: 2.5rem; width: 100%; }
.phero h1 { color: #fff; margin: .2em 0 .1em; }
.phero .ploc { color: #e7e9ea; font-size: 1.1rem; margin: 0; }
.phero .back { color: #fff; display: inline-block; margin-bottom: 1rem; font-weight: 600; }
.pinfo { padding-top: 3rem; }
.pcols { display: grid; gap: 2.5rem; }
@media (min-width: 920px) { .pcols { grid-template-columns: 1fr 320px; align-items: start; } }
.lead { font-size: 1.2rem; color: var(--ink); }
.pquote { margin: 0 0 2rem; padding-left: 1.25rem; border-left: 6px solid var(--red); font-size: 1.15rem; color: var(--ink); }
.pgallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pgallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.pgallery img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; transition: transform .3s; }
.pgallery button:hover img { transform: scale(1.03); }
.minimap { height: 240px; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; z-index: 0; }
.pcta { background: var(--sky); border-radius: var(--radius); padding: 1.5rem; }
.pcta h2 { font-size: 1.4rem; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,16,17,.94); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 88vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 3rem; line-height: 1; cursor: pointer; padding: .5rem 1rem; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }
.narrow { max-width: 720px; padding-top: 5rem; padding-bottom: 5rem; }
.nav a[aria-current="page"] { color: var(--red); }
/* The lightbox's display:flex was overriding the hidden attribute, so it showed on load and the X couldn't hide it. */
[hidden] { display: none !important; }
/* Suburb pins for homes */
.pin-group { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .8rem; line-height: 1; }
.pop .pop-list { list-style: none; padding: 0; margin: .5rem 0 0; max-height: 220px; overflow: auto; }
.pop .pop-list a { display: flex; gap: .5rem; align-items: center; color: var(--ink); text-decoration: none; padding: .25rem 0; }
.pop .pop-list a:hover span { color: var(--red); text-decoration: underline; }
.pop .pop-list img { width: 48px; height: 36px; object-fit: cover; border-radius: 4px; margin: 0; flex: none; }
div.pop > span { display: block; color: var(--mute); font-size: .85rem; }
.map-note { color: var(--mute); font-size: .95rem; margin: .5rem 0 0; }