.property-hero {
    background: linear-gradient(90deg,#122742ec,#1227428c 57%,#12274238),url("../images/coast.jpg") center 53% / cover;
    padding-block: clamp(3.5rem,8vw,7rem);
    color: #fff;
}
.property-hero h1 { color: #fff; font-size: clamp(3.1rem,8vw,7rem); line-height: .98; margin-bottom: 1.1rem; }
.property-hero h1 em, .property-hero .eyebrow { color: #f5dba4; }
.property-hero p:not(.eyebrow) { color: #fff; max-width: 29rem; margin-bottom: 1.45rem; }
.property-results { background: var(--sand); }
.property-search { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)) auto; gap: .8rem; align-items: end; background: #fff; padding: 1rem; border: 1px solid var(--line); border-radius: .7rem; }
.property-search label { font-size: .8rem; font-weight: 700; margin-bottom: .35rem; }
.property-search .btn { min-height: 38px; }
.property-result-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; margin: 2.5rem 0 1rem; }
.property-result-heading h2, .property-result-heading p { margin: 0; }
.property-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.property-card { min-width: 0; background: #fff; overflow: hidden; border: 1px solid var(--line); border-radius: .7rem; box-shadow: 0 10px 25px #21324f0a; }
.property-card-photo { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.property-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.property-pill { position: absolute; top: .8rem; left: .8rem; background: #fff; color: var(--teal); border-radius: .35rem; padding: .25rem .5rem; font-size: .72rem; font-weight: 700; }
.property-card-copy { padding: 1.2rem; }
.property-card-copy h3 { font-size: 1.45rem; overflow-wrap: anywhere; }
.property-card-copy h3 a { color: var(--ink); }
.property-price, .property-detail-price { color: var(--teal); font-size: 1.55rem; font-weight: 750; margin-bottom: .35rem; }
.property-quick-facts { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.property-quick-facts li { padding: .25rem .48rem; background: var(--mist); border-radius: .3rem; font-size: .78rem; }
.property-pages, .property-status-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.property-pages a { border: 1px solid var(--line); padding: .35rem .65rem; border-radius: .3rem; }
.property-pages a[aria-current="page"] { background: var(--teal); color: #fff; }
.property-detail-hero { background: var(--sand); padding-block: clamp(2rem,6vw,4.5rem); }
.property-detail-hero nav { margin-bottom: 1rem; font-size: .85rem; }
.property-detail-hero h1 { font-size: clamp(2.5rem,6vw,5rem); line-height: 1.05; overflow-wrap: anywhere; }
.property-inline-note { color: var(--teal); font-weight: 700; }
.property-detail-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: clamp(1.5rem,5vw,4rem); align-items: start; }
.property-paragraphs { white-space: pre-wrap; overflow-wrap: anywhere; }
.property-gallery, .property-demo-photo { margin-bottom: 2.25rem; }
.property-demo-photo { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: .75rem; }
.property-facts { background: var(--mist); padding: 1.3rem; border-radius: .65rem; }
.property-facts h2 { font-size: 1.5rem; }
.property-facts dl { margin: 0; }
.property-facts dl div { display: flex; gap: .75rem; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.property-facts dl div:last-child { border: 0; }
.property-facts dd { margin: 0; }
.property-enquiry-section { background: var(--sand); scroll-margin-top: 100px; }
.property-honeypot { position: absolute; left: -10000px; }
.property-edit-photos { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: .75rem; }
.property-edit-photos label { display: grid; gap: .3rem; width: 120px; }
.property-edit-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: .3rem; }
@media (max-width: 991.98px) {
    .property-search, .property-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 575.98px) {
    .property-grid, .property-detail-grid { grid-template-columns: minmax(0,1fr); }
    .property-hero { background-image: linear-gradient(90deg,#122742e8,#1227428c),url("../images/coast.jpg"); }
}
#property-results { scroll-margin-top: 110px; }
.property-agent-card {
    display: flex; align-items: center; flex-wrap: wrap; gap: .9rem;
    background: #fff; border: 1px solid var(--line); border-radius: .65rem;
    padding: 1rem; margin-bottom: 1rem;
}
.property-agent-avatar { width: 72px; height: auto; object-fit: contain; border-radius: 0; }
.property-agent-text { flex: 1 1 150px; min-width: 0; overflow-wrap: anywhere; }
.property-agent-text h3 { margin: 0 0 .2rem; font-size: 1.3rem; }
.property-agent-text p { margin: 0 0 .2rem; }
.property-agent-label { color: var(--teal); font-size: .75rem; font-weight: 700; }
.property-agent-logo { width: 110px; height: 62px; object-fit: contain; }
.property-photo-gallery { margin-bottom: 2.5rem; }
.property-photo-main { display: block; position: relative; background: #14243c; border-radius: .7rem; overflow: hidden; cursor: zoom-in; }
.property-photo-main > img { display: block; width: 100%; height: clamp(260px, 48vw, 580px); object-fit: contain; }
.property-photo-main > span { position: absolute; bottom: 1rem; right: 1rem; padding: .5rem .85rem; border-radius: .4rem; background: #10223beb; color: #fff; font-size: .85rem; }
.property-photo-main [data-photo-count] { margin-left: .65rem; }
.property-photo-thumbnails { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .65rem; margin-top: .75rem; }
.property-photo-thumbnails a { display: block; border: 3px solid transparent; border-radius: .4rem; overflow: hidden; opacity: .75; }
.property-photo-thumbnails a[aria-current="true"] { border-color: var(--teal); opacity: 1; }
.property-photo-thumbnails a:hover, .property-photo-thumbnails a:focus-visible { opacity: 1; outline: 2px solid var(--teal); outline-offset: 2px; }
.property-photo-thumbnails img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.property-photo-lightbox { box-sizing: border-box; inset: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; padding: 1rem; background: #0c1525; color: #fff; }
.property-photo-lightbox::backdrop { background: #0c1525; }
.property-lightbox-toolbar { height: 48px; display: flex; justify-content: space-between; align-items: center; }
.property-photo-lightbox button { background: #ffffff18; color: #fff; border: 1px solid #ffffff50; border-radius: 50%; width: 44px; height: 44px; font-size: 2rem; line-height: 1; }
.property-photo-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.property-photo-lightbox button[hidden] { display: none; }
.property-lightbox-stage { height: calc(100% - 48px); display: flex; align-items: center; justify-content: center; gap: .75rem; }
.property-lightbox-stage button { flex: 0 0 44px; }
.property-lightbox-stage img { display: block; max-width: calc(100% - 112px); max-height: 100%; object-fit: contain; }
@media (max-width: 575.98px) {
    .property-photo-thumbnails {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - .5rem) / 2);
        gap: .5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: .5rem;
    }
    .property-photo-thumbnails a { scroll-snap-align: start; }
    .property-photo-main > span { right: .5rem; bottom: .5rem; font-size: .75rem; }
    .property-photo-lightbox { padding: .5rem; }
    .property-lightbox-stage { gap: .25rem; }
    .property-lightbox-stage button { flex-basis: 34px; width: 34px; }
    .property-lightbox-stage img { max-width: calc(100% - 76px); }
}