/* area.css: the area page (/areas/<slug>). Loads after property.css (cards, crumbs, buttons). Phone first. */
.ap{max-width:var(--maxw);margin:0 auto;padding:12px var(--gutter) 24px}
.ap-top{margin:0 0 12px}
.ap h2{margin:0 0 8px;font:600 20px/1.25 var(--ff-ui);letter-spacing:-.012em}
.ap h3{margin:18px 0 10px;font:600 15px/1.3 var(--ff-ui);color:var(--text-2);letter-spacing:.01em}
.ap-sub{margin:0 0 12px;font:400 14px/1.45 var(--ff-ui);color:var(--muted)}
.ap-empty{margin:0;padding:12px 14px;border-radius:12px;background:var(--soft);font:400 14.5px/1.45 var(--ff-ui);color:var(--text-2)}
.ap-empty a{color:var(--ink);font-weight:500;border-bottom:1px solid rgba(26,26,32,.25)}

.ap-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.ap-main>*+*{margin-top:28px}
.ap-side>*+*{margin-top:18px}
@media (min-width:900px){
  .ap-grid{grid-template-columns:minmax(0,1fr) 340px;gap:48px}
  .ap-main>*+*{margin-top:36px}
  .ap-side{position:sticky;top:calc(var(--tb) + 20px);align-self:start}
}

/* head: region, name, counts */
.ap-kicker{margin:0;font:500 13px/1 var(--ff-ui);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.ap-kicker a{color:var(--text-2);text-transform:none;letter-spacing:0;font-size:13.5px;border-bottom:1px solid rgba(26,26,32,.25)}
.ap-head h1{margin:6px 0 0;font:500 36px/1.05 var(--ff-display);letter-spacing:-.025em;font-variation-settings:"opsz" 144,"SOFT" 0}
.ap-alt{margin:4px 0 0;font:400 15px/1.3 var(--ff-ui);color:var(--turq)}
.ap-counts{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
/* three pills of one make: the icon, the number and its words on one baseline, the same room on both sides */
.ap-count{display:inline-flex;align-items:center;gap:0 8px;height:44px;padding:0 16px 0 12px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px rgba(26,26,32,.14);font:400 14.5px/1 var(--ff-ui);color:var(--text-2);white-space:nowrap}
.ap-count .tx{display:inline-flex;align-items:baseline;gap:0 6px}
.ap-count b{font:600 17px/1 var(--ff-ui);color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.ap-count .apg{width:20px;height:20px;flex:none;filter:drop-shadow(0 1px 1px rgba(120,0,16,.28))}
@media (hover:hover){.ap-count:hover{box-shadow:0 0 0 1px rgba(26,26,32,.14),0 3px 8px -2px rgba(20,30,50,.22),0 12px 26px -12px rgba(20,30,50,.32);transform:translateY(-1px)}}
.ap-parts{margin:12px 0 0;font:400 14px/1.5 var(--ff-ui);color:var(--muted)}
.ap-parts a{color:var(--text-2);border-bottom:1px solid rgba(26,26,32,.2)}
@media (min-width:900px){.ap-head h1{font-size:46px}}

/* the Places photo and blurb */
.ap-photo{margin:20px calc(-1 * var(--gutter)) 0;position:relative}
.ap-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:var(--soft-2)}
.ap-photo figcaption{margin:6px var(--gutter) 0;font:400 12px/1.4 var(--ff-ui);color:var(--muted)}
.ap-photo figcaption a{border-bottom:1px solid rgba(26,26,32,.2)}
.ap-blurb{margin:12px 0 0!important;font:400 17px/1.55 var(--ff-ui);color:#2C2C34}
.ap-blurb a{display:inline-block;margin-left:4px;color:var(--ink);font-weight:500;border-bottom:1px solid rgba(26,26,32,.3)}
@media (min-width:900px){.ap-photo{margin:22px 0 0;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px rgba(26,26,32,.05),0 1px 2px rgba(20,30,50,.06),0 24px 48px -28px rgba(20,30,60,.35)}.ap-photo figcaption{margin:0;padding:8px 14px 10px;background:#fff}}

/* typical prices */
.ap-typs{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:700px){.ap-typs{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
.ap-tp{padding:4px 16px 8px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px var(--hair),0 8px 20px -14px rgba(20,30,50,.3)}
.ap-tp h3{margin:12px 0 6px}
.ap-tp table{width:100%;border-collapse:collapse;font:400 14.5px/1.35 var(--ff-ui)}
.ap-tp th,.ap-tp td{padding:8px 0;border-top:1px solid var(--hair);text-align:left;vertical-align:baseline}
.ap-tp thead th{border-top:0;padding-top:4px;font:500 12px/1 var(--ff-ui);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.ap-tp tbody th{font-weight:500;color:var(--ink)}
.ap-tp td{font-variant-numeric:tabular-nums}
.ap-tp td:nth-child(2){font-weight:600}
.ap-tp th:last-child,.ap-tp td:last-child{text-align:right;color:var(--muted);font-weight:400;width:5.5em}
.ap-few{font-weight:400;color:var(--muted);font-size:13px}

/* the best places: ranked rows, no photos */
.ap-rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--hair)}
.ap-row{display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 0;border-bottom:1px solid var(--hair)}
.ap-rn{flex:none;width:22px;height:22px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font:700 12px/1 var(--ff-ui);font-variant-numeric:tabular-nums}
.ap-gy{flex:none;width:38px;height:38px;border-radius:50%;background:var(--soft);color:var(--c,#44444C);display:grid;place-items:center;box-shadow:0 0 0 1px var(--hair)}
.ap-gy svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ap-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ap-nm{font:600 15px/1.3 var(--ff-ui);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.ap-meta{display:flex;flex-wrap:wrap;gap:0 10px;font:400 13px/1.4 var(--ff-ui);color:var(--muted);font-variant-numeric:tabular-nums}
.ap-mp{white-space:nowrap}
.ap-meta b{font-weight:600;color:var(--ink)}
.ap-meta .ic.st{width:13px;height:13px;fill:#E8A317;stroke:none;vertical-align:-2px;margin-right:2px}
.ap-gm{flex:none;display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 10px 0 11px;border-radius:999px;background:#fff;color:var(--ink);font:600 13px/1 var(--ff-ui);box-shadow:0 0 0 1px rgba(26,26,32,.14);white-space:nowrap}
.ap-gm .ic{width:13px;height:13px;stroke-width:2}
@media (hover:hover){.ap-gm:hover{background:var(--soft)}}

/* newest homes */
.ap-more{margin:14px 0 0;text-align:center}
.ap-more .btn .ic{width:18px;height:18px;opacity:.7}

/* nearby */
.ap-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.ap-chips a{display:inline-flex;align-items:center;height:36px;padding:0 13px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px rgba(26,26,32,.14);font:500 14px/1 var(--ff-ui);color:var(--ink)}
@media (hover:hover){.ap-chips a:hover{background:var(--soft)}}

/* the small static map */
.ap-map{position:relative;width:100%;aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:var(--sea);box-shadow:0 0 0 1px var(--hair)}
.ap-map .maplibregl-canvas{outline:none}
.ap-map .maplibregl-canvas-container{cursor:default}
.ap-map-off{position:absolute;inset:0;display:grid;place-items:center;margin:0;font:500 14px/1.4 var(--ff-ui);color:var(--turq)}
.ap-map.on .ap-map-off{display:none}
.ap-mapnote{margin:8px 0 0;font:400 13.5px/1.4 var(--ff-ui);color:var(--muted);text-align:center}
.ap-mapnote a{color:var(--text-2);border-bottom:1px solid rgba(26,26,32,.2)}
.ap-pin{width:14px;height:14px;border-radius:50%;background:var(--red);box-shadow:0 0 0 3px #fff,0 2px 8px rgba(20,30,50,.4)}
.ap-pt{width:22px;height:22px;border-radius:50%;background:#fff;color:var(--red);display:grid;place-items:center;font:700 11px/1 var(--ff-ui);box-shadow:0 0 0 1.5px var(--red),0 2px 6px rgba(20,30,50,.3)}
@media (min-width:900px){.ap-map{aspect-ratio:1/1}}

@media print{
  .ap-mapsec,.ap-more,.ap-top,.hc-heart{display:none!important}
  .ap-grid{display:block}
}
