.listing-page .wrap {max-width: 1160px; padding-block: 28px 64px}
.listing-page-nav {margin-bottom: 18px; font-size: .9rem; font-weight: 700}
.listing-page-nav a {color: #735020}
.listing-composition {
  display:grid; grid-template-columns:minmax(0, 2.15fr) minmax(260px, 1fr);
  align-items:start; gap:clamp(16px,2.8vw,34px);
}
.listing-imagery {min-width:0}
.listing-page-head {border-top:2px solid #ad803a; padding:22px 2px 12px; min-width:0}
.listing-page-head h1 {font-family:var(--serif); font-size:clamp(1.44rem,2.4vw,2.1rem); line-height:1.18; margin:0; color:#201c17; overflow-wrap:anywhere}
.listing-place {margin:0 0 7px; color:#795323; font-size:.83rem; font-weight:700}
.listing-page-head .detail-price {margin:22px 0 12px; font-size:clamp(1.6rem,3vw,2.35rem); line-height:1.12}
.listing-continue {display:flex; justify-content:center; width:100%; text-align:center}
.listing-utilities {display:flex; align-items:center; gap:19px; margin-top:12px}
.listing-utilities button {background:none; border:0; color:#614a27; padding:6px 0; font:inherit; font-size:.88rem; font-weight:650; cursor:pointer}
.listing-utilities button:hover {text-decoration:underline; text-underline-offset:3px}
.listing-save.is-saved {color:#814413}
#listing-share-panel {display:grid; gap:6px; margin-top:9px; padding:10px; border:1px solid #e7dfd2; border-radius:10px; background:#fffdf8}
#listing-share-panel[hidden] {display:none}
#listing-share-panel label {font-size:.8rem;font-weight:700}
#listing-share-panel div {display:flex;flex-wrap:wrap;gap:8px}
#listing-share-panel input {flex:1 1 8rem; min-width:0; background:#fff; padding:8px; border:1px solid #b9ad9b; border-radius:8px;font:inherit;font-size:.8rem}
#listing-share-panel .btn {white-space:nowrap}
#listing-page-status {padding: clamp(20px,5vw,48px); border: 1px solid #e7dfd2; border-radius: 16px; background:#fff}
#listing-page-status h1 {font-size:clamp(1.5rem,3vw,2.1rem);margin:0 0 8px}
#listing-page-status p {margin-bottom:16px}
.listing-page .property-gallery {isolation:isolate; border-radius:16px; overflow:hidden; max-height:none}
.listing-page .gallery-primary,.listing-page .gallery-main {height:clamp(260px,36vw,510px); object-fit:cover; background:#ede8df}
.listing-page .gallery-controls {top:calc(clamp(260px,36vw,510px) / 2 - 19px)}
.listing-page .gallery-thumbs {justify-content:flex-start; gap:8px; padding:12px}
.listing-page .gallery-thumb {height:68px; max-width:100px}
.listing-page .detail-inside {max-width:none; padding:22px 0 0}
.listing-page .related-card {text-decoration:none}
.al-card-title:hover,.listing-page-nav a:hover {text-decoration:underline}
.alj-map-teaser {grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,5vw,62px); padding:42px 0 76px}
.alj-map-art {margin:0; min-height:0; border-radius:22px; border:1px solid #c9d8d8; background:#dce9eb; box-shadow:0 16px 42px #162b3212}
.alj-map-art::before,.alj-map-art::after {content:none}
.alj-map-art img {width:100%; height:auto; display:block}
.alj-map-art figcaption {padding:8px 14px; background:#f1f5f4; color:#42575c; font-size:.69rem; text-align:right}
.alj-map-art figcaption a {color:inherit}
.alj-map-copy .btn {margin-top:13px}
#map-motion {position:absolute; inset:0; pointer-events:none}
#atlas-hazard-tiles {position:absolute; inset:0; z-index:2; pointer-events:none}
.atlas-hazard-tile {position:absolute; width:256px; height:256px; max-width:none; opacity:.83; pointer-events:none}
.atlas-map-hazard-control {
  display:grid; grid-template-columns:auto minmax(165px,215px) 1fr; align-items:center; gap:10px 16px;
  padding:12px 16px; background:#fffdf8; border:1px solid #e2d8c8; border-radius:12px; margin:12px 0;
}
.atlas-map-hazard-control label {font-weight:750; color:#2a241d; font-size:.9rem}
.atlas-map-hazard-control select {margin:0; padding:8px 10px; border:1px solid #b8ab96; border-left:4px solid var(--hazard-accent,#b8ab96); border-radius:8px; font:inherit}
.atlas-map-hazard-control .hazard-portal {grid-column:3; grid-row:1; justify-self:end}
#atlas-hazard-details {grid-column:1/-1; display:grid; gap:6px}
#atlas-hazard-details[hidden],.hazard-links [hidden],.hazard-swatches[hidden] {display:none}
#atlas-hazard-details p {margin:0; color:#524c44; font-size:.8rem}
#atlas-hazard-loading:empty {display:none}
.atlas-map-hazard-control a {font-size:.78rem; color:#64491e; text-decoration:underline; text-underline-offset:2px}
.hazard-links {display:flex; flex-wrap:wrap; gap:6px 14px}
.hazard-swatches {display:flex; flex-wrap:wrap; gap:6px 14px; padding:0; margin:2px 0; list-style:none; font-size:.76rem}
.hazard-swatches li {display:flex; gap:5px; align-items:center}
.hazard-swatch {width:.85rem; height:.85rem; border-radius:3px; border:1px solid #40393866}
@media(max-width:760px){
  .listing-composition,.alj-map-teaser {grid-template-columns:1fr}
  .listing-page-head {padding-top:14px}
  .listing-page-head .detail-price {margin-top:13px}
  .alj-map-teaser {gap:24px;padding-bottom:54px}
  .alj-map-art {max-width:520px}
  .atlas-map-hazard-control {grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
  .atlas-map-hazard-control .hazard-portal {grid-column:1/-1;grid-row:auto;justify-self:start}
}
