/* ParkWeb (v2.6.0): community page (new layout). Ported from the approved
   98 Estates mockup. Colours come from the site's own variables (--ic-*) and
   Houzez label classes; only the layout is new. Loaded only on communities
   whose Layout field is "New layout". */

.pwm { --pwm-muted: #5d6772; --pwm-tint: #e8f0fa; --pwm-surface: var(--ic-surface, #f8f8f8); --pwm-border: var(--ic-border, #dddddd); --pwm-radius: 4px; --pwm-shadow: 0 1px 2px rgba(17,74,143,.06), 0 4px 16px rgba(17,74,143,.06); display: block; color: var(--ic-text, #222); font-size: 15px; line-height: 1.6; }
.pwm img { display: block; max-width: 100%; height: auto; }
.pwm svg.pwm-i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pwm .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pwm .btn svg.pwm-i { width: 16px; height: 16px; }

/* Age badge: same values as .pw-agency-age-badge (2.5.0) */
.pwm-age { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 4px; background: #e8f0fa; color: #114a8f; font-size: 13px; font-weight: 600; line-height: 1.5; }
.pwm-age svg.pwm-i { width: 15px; height: 15px; }
.pwm-type { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 4px; background: #fff; border: 1px solid var(--pwm-border); color: var(--pwm-muted); font-size: 13px; font-weight: 600; line-height: 1.5; }

/* Hero */
.pwm-hero { padding: 24px 0 40px; }
.pwm-crumbs { font-size: 13px; color: var(--pwm-muted); margin-bottom: 18px; }
.pwm-crumbs a { color: var(--pwm-muted); }
.pwm-crumbs span { margin: 0 6px; color: #aab3bd; }
.pwm-hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.pwm-hero-grid.pwm-no-media { grid-template-columns: 1fr; }
.pwm-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pwm h1.pwm-title { margin: 0 0 14px; line-height: 1.15; font-size: inherit; }
.pwm-title .pwm-name { display: block; font-size: 42px; font-weight: 700; color: var(--ic-text, #222); }
.pwm-title .pwm-colon { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pwm-title .pwm-tagline { display: block; margin-top: 8px; font-size: 18px; font-weight: 500; color: var(--pwm-muted); }
.pwm-address { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--pwm-muted); margin-bottom: 22px; }
.pwm-address span, .pwm-address a { display: inline-flex; align-items: center; gap: 6px; }
.pwm-address a { font-weight: 600; color: var(--ic-primary-dark, #1e73be); }
.pwm-stats { display: flex; border: 1px solid var(--pwm-border); border-radius: var(--pwm-radius); margin-bottom: 22px; background: #fff; }
.pwm-stats div { flex: 1; padding: 12px 16px; border-left: 1px solid var(--pwm-border); }
.pwm-stats div:first-child { border-left: 0; }
.pwm-stats strong { display: block; font-size: 22px; font-weight: 700; color: var(--ic-navy-dark, #114a8f); line-height: 1.25; }
.pwm-stats strong * { font-size: inherit; font-weight: inherit; color: inherit; }
.pwm-stats small { color: var(--pwm-muted); font-size: 12px; font-weight: 500; }
.pwm-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.pwm-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 430px; border-radius: var(--pwm-radius); overflow: hidden; position: relative; }
.pwm-mosaic img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.pwm-mosaic img:first-child { grid-row: span 2; }
.pwm-mosaic .pwm-all { position: absolute; right: 12px; bottom: 12px; background: #fff; color: var(--ic-text, #222); border: 0; box-shadow: var(--pwm-shadow); }
.pwm-hero-featured { height: 430px; border-radius: var(--pwm-radius); overflow: hidden; background: var(--pwm-tint); }
.pwm-hero-featured img { width: 100%; height: 100%; object-fit: cover; }

/* Section bar */
.pwm-subnav { position: sticky; top: 0; z-index: 20; background: #fff; border-top: 1px solid var(--pwm-border); border-bottom: 1px solid var(--pwm-border); }
.pwm-subnav .container { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 20px; }
.pwm-links { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.pwm-links::-webkit-scrollbar { display: none; }
.pwm-links a { color: var(--pwm-muted); font-weight: 600; font-size: 14px; white-space: nowrap; padding: 18px 0; border-bottom: 3px solid transparent; text-decoration: none; }
.pwm-links a.on, .pwm-links a:hover { color: var(--ic-navy-dark, #114a8f); border-color: var(--ic-primary, #37a3fe); }
.pwm-subcta { display: flex; gap: 8px; align-items: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility .2s; }
.pwm-subnav.stuck .pwm-subcta { opacity: 1; visibility: visible; pointer-events: auto; }
.pwm-subcta strong { font-size: 14px; margin-right: 8px; white-space: nowrap; }

/* Sections */
.pwm-block { padding: 56px 0; background: #fff; }
.pwm-alt { background: var(--pwm-surface); }
.pwm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.pwm-head h2 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; }
.pwm-head p { margin: 6px 0 0; color: var(--pwm-muted); }

/* Homes */
.pwm-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pwm-chip { border: 1px solid var(--pwm-border); background: #fff; color: var(--ic-text, #222); border-radius: 999px; padding: 8px 16px; font: 600 13px Montserrat, sans-serif; cursor: pointer; }
.pwm-chip b { color: var(--pwm-muted); font-weight: 600; margin-left: 4px; }
.pwm-chip.on { background: var(--ic-navy-dark, #114a8f); border-color: var(--ic-navy-dark, #114a8f); color: #fff; }
.pwm-chip.on b { color: #cfe0f5; }
.pwm-homes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pwm-home { background: #fff; border: 1px solid var(--pwm-border); border-radius: var(--pwm-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--pwm-shadow); }
.pwm-home[hidden], .pwm-home.pwm-out { display: none; }
.pwm-media { position: relative; aspect-ratio: 4 / 3; background: var(--pwm-tint); display: block; }
.pwm-media a { display: block; height: 100%; }
.pwm-media img { width: 100%; height: 100%; object-fit: cover; }
.pwm-labels { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px 0; flex-wrap: wrap; }
.pwm-labels .label { color: #fff; position: static; }
.pwm-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
/* Price, title and facts use the site's card classes (.item-price, .item-title, .item-amenities) */
.pwm .pwm-pricewrap { position: static; inset: auto; list-style: none; margin: 0; padding: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.pwm .pwm-pricewrap .item-price { font-size: 20px; font-weight: 700; color: var(--ic-text, #222); line-height: 1.3; }
.pwm .pwm-pricewrap .item-sub-price { font-size: 13px; font-weight: 500; color: var(--ic-text, #222); }
.pwm .pwm-htitle { margin: 6px 0 12px; font-size: 15px; font-weight: 500; line-height: 1.4; text-transform: none; }
.pwm .pwm-htitle a { color: var(--ic-text, #222); text-decoration: none; }
.pwm .pwm-htitle, .pwm .pwm-htitle a { white-space: normal; overflow: visible; text-overflow: clip; height: auto; max-height: none; -webkit-line-clamp: unset; line-clamp: none; }
.pwm .pwm-htitle { display: block; }
.pwm .pwm-htitle a { display: inline; }
.pwm .pwm-facts { list-style: none; margin: 0 0 14px; padding: 0 0 14px; display: flex; gap: 8px 16px; flex-wrap: wrap; color: var(--ic-text, #222); font-size: 14px; border-bottom: 1px solid var(--pwm-border); }
.pwm .pwm-facts li { display: inline-flex; align-items: center; gap: 4px; }
.pwm .pwm-facts img { width: 18px; height: 18px; margin-right: 4px; }
.pwm-actions { margin-top: auto; display: flex; gap: 8px; }
.pwm-actions .btn { flex: 1; }
.pwm-showall { display: flex; justify-content: center; margin-top: 28px; }

/* Self-storage units */
.pwm-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.pwm-unit { background: #fff; border: 1px solid var(--pwm-border); border-radius: var(--pwm-radius); box-shadow: var(--pwm-shadow); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.pwm-unit .pwm-size { font-size: 26px; font-weight: 700; color: var(--ic-navy-dark, #114a8f); line-height: 1.2; }
.pwm-unit .pwm-area { color: var(--pwm-muted); font-size: 13px; font-weight: 600; }
.pwm-unit .pwm-uprice { font-size: 18px; font-weight: 700; margin-top: 6px; }
.pwm-unit .pwm-uprice.pwm-ask-price { font-size: 14px; font-weight: 600; color: var(--pwm-muted); }
.pwm-unit .pwm-note { font-size: 14px; color: var(--pwm-muted); }
.pwm-unit .btn { margin-top: auto; }
.pwm-unit .pwm-unit-gap { flex: 1; min-height: 8px; }
.pwm-reserve { display: flex; justify-content: center; margin-top: 28px; }

/* RV sites */
.pwm-rv { display: flex; gap: 24px; align-items: flex-start; max-width: 860px; }
.pwm-rv .pwm-rvicon { width: 56px; height: 56px; }
.pwm-rv .pwm-rvicon svg.pwm-i { width: 26px; height: 26px; }
.pwm-rv .pwm-rvtext h2 { margin: 0 0 12px; font-size: 28px; font-weight: 700; line-height: 1.2; }
.pwm-rv .pwm-rvtext p { margin: 0 0 14px; }
.pwm-rv .pwm-rvtext > :last-child { margin-bottom: 0; }
.pwm-rv .pwm-rvbtns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* About + glance */
.pwm-about { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.pwm-about.pwm-about-card-only { grid-template-columns: 1fr; }
.pwm-text-inner > :last-child { margin-bottom: 0; }
.pwm-text-inner p { margin: 0 0 16px; }
.pwm-text.pwm-clamp .pwm-text-inner { max-height: calc(1.6em * 8); overflow: hidden; position: relative; }
.pwm-text.pwm-clamp .pwm-text-inner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em; background: linear-gradient(rgba(255,255,255,0), #fff); }
.pwm-text.pwm-clamp.open .pwm-text-inner { max-height: none; }
.pwm-text.pwm-clamp.open .pwm-text-inner::after { display: none; }
.pwm-text.open #pwmMore svg { transform: rotate(180deg); }
.pwm-link { background: none; border: 0; padding: 0; margin-top: 12px; color: var(--ic-primary-dark, #1e73be); font: 600 14px Montserrat, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pwm-glance { border: 1px solid var(--pwm-border); border-radius: var(--pwm-radius); background: #fff; box-shadow: var(--pwm-shadow); }
.pwm-glance h3 { margin: 0; padding: 18px 22px; font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--pwm-border); }
.pwm-glance ul { list-style: none; margin: 0; padding: 6px 22px; }
.pwm-glance li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--pwm-border); }
.pwm-glance li:last-child { border-bottom: 0; }
.pwm-gi { width: 38px; height: 38px; border-radius: var(--pwm-radius); background: var(--pwm-tint); color: var(--ic-navy-dark, #114a8f); display: grid; place-items: center; flex: none; }
.pwm-glance small { display: block; color: var(--pwm-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pwm-glance strong { font-size: 15px; font-weight: 600; }
.pwm-glance a { font-weight: 600; color: var(--ic-primary-dark, #1e73be); }

/* Amenities */
.pwm-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pwm-group { background: #fff; border: 1px solid var(--pwm-border); border-radius: var(--pwm-radius); overflow: hidden; }
.pwm-group img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pwm-group h3 { margin: 0; padding: 18px 20px 4px; font-size: 17px; font-weight: 700; }
.pwm-group ul { list-style: none; margin: 0; padding: 8px 20px 18px; display: grid; gap: 8px; }
.pwm-group li { display: flex; gap: 10px; align-items: flex-start; }
.pwm-group li svg.pwm-i { color: var(--ic-primary-dark, #1e73be); margin-top: 3px; width: 16px; height: 16px; }
.pwm-groups.pwm-one .pwm-group ul { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); padding-top: 18px; }

/* Photos */
.pwm-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pwm-photo { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; display: block; }
.pwm-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--pwm-radius); }
.pwm-photo .pwm-plus { position: absolute; inset: 0; display: grid; place-items: center; border-radius: var(--pwm-radius); background: rgba(10,24,44,.55); color: #fff; font-size: 20px; font-weight: 700; }
.pwm-photo:focus-visible, .pwm-sitemap:focus-visible { outline: 3px solid var(--ic-primary, #37a3fe); outline-offset: 2px; }
.pwm-sitemaps.pwm-sitemaps-only { margin-top: 0; }
.pwm-sitemaps { margin-top: 32px; }
.pwm-sitemaps h3 { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.pwm-sitemaps .pwm-sitemap { display: block; width: 100%; padding: 0; border: 1px solid var(--pwm-border); background: #fff; border-radius: var(--pwm-radius); cursor: zoom-in; max-width: 760px; }
.pwm-sitemaps .pwm-sitemap + .pwm-sitemap { margin-top: 14px; }
.pwm-sitemaps .pwm-sitemap img { width: 100%; border-radius: var(--pwm-radius); }

/* Nearby */
.pwm-nearby { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: stretch; }
.pwm-nearby.pwm-no-map { grid-template-columns: 1fr; }
.pwm-places { display: grid; gap: 12px; align-content: start; }
.pwm-place { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--pwm-border); border-radius: var(--pwm-radius); background: #fff; color: var(--ic-text, #222); text-decoration: none; }
a.pwm-place:hover { border-color: var(--ic-primary, #37a3fe); color: var(--ic-text, #222); }
.pwm-place strong { display: block; font-size: 15px; font-weight: 600; }
.pwm-place small { color: var(--pwm-muted); font-size: 13px; }
.pwm-place .pwm-ext { margin-left: auto; color: var(--pwm-muted); }
.pwm-place.pwm-home-place .pwm-gi { background: var(--ic-navy-dark, #114a8f); color: #fff; }
.pwm-place .pwm-dir { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ic-primary-dark, #1e73be); white-space: nowrap; }
.pwm-map { min-height: 360px; border-radius: var(--pwm-radius); border: 1px solid var(--pwm-border); overflow: hidden; background: #eef1ec; }

/* Close */
.pwm-band { background: var(--ic-navy-dark, #114a8f); color: #fff; padding: 56px 0; }
.pwm-band .container { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.pwm-band h2 { margin: 0 0 10px; font-size: 30px; font-weight: 700; line-height: 1.2; color: #fff; }
.pwm-band p { margin: 0; color: #d6e4f5; }
.pwm-band .pwm-bandbtns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.pwm .btn-outline-light-pwm { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.pwm .btn-outline-light-pwm:hover { background: rgba(255,255,255,.12); color: #fff; }
.pwm-review { padding: 22px 0; border-bottom: 1px solid var(--pwm-border); }
.pwm-review .container { display: flex; align-items: center; justify-content: center; gap: 12px 32px; flex-wrap: wrap; font-size: 14px; color: var(--pwm-muted); }
.pwm-review-ask, .pwm-profiles { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pwm-review a { color: var(--ic-primary-dark, #1e73be); font-weight: 600; }
.pwm-stars { color: #f5a623; display: inline-flex; gap: 2px; }
.pwm-stars svg.pwm-i { fill: #f5a623; stroke: #f5a623; width: 16px; height: 16px; }

/* Lightbox */
.pwm-overlay { position: fixed; inset: 0; background: rgba(10,24,44,.85); display: none; align-items: center; justify-content: center; z-index: 99999; padding: 20px; }
.pwm-overlay.open { display: flex; }
.pwm-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--pwm-muted); cursor: pointer; }
.pwm-lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: var(--pwm-radius); }
.pwm-lightbox .pwm-x { color: #fff; top: 16px; right: 20px; font-size: 34px; }
.pwm-lightbox .pwm-lbnav[hidden] { display: none; }
.pwm-lightbox .pwm-lbnav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.pwm-prev { left: 20px; }
.pwm-next { right: 20px; }
.pwm-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; }

.pwm-mbar { display: none; }

@media (max-width: 991px) {
	.pwm-hero-grid, .pwm-about, .pwm-nearby, .pwm-band .container { grid-template-columns: 1fr; }
	.pwm-hero-grid .pwm-media-col { order: -1; }
	.pwm-homes { grid-template-columns: repeat(2, 1fr); }
	.pwm-gallery { grid-template-columns: repeat(3, 1fr); }
	.pwm-band .pwm-bandbtns { justify-content: flex-start; }
}
@media (max-width: 640px) {
	body:has(.pwm-mbar) { padding-bottom: 72px; }
	.pwm { font-size: 14px; }
	.pwm-hero { padding-top: 0; }
	.pwm-hero > .container { padding: 0; max-width: none; }
	.pwm-hero-grid { gap: 0; }
	.pwm-crumbs { display: none; }
	.pwm-mosaic, .pwm-hero-featured { height: 260px; border-radius: 0; }
	.pwm-mosaic { grid-template-columns: 1fr; grid-template-rows: 1fr; }
	.pwm-mosaic img:not(:first-child) { display: none; }
	.pwm-copy-col { padding: 18px 16px 0; }
	.pwm-title .pwm-name { font-size: 30px; }
	.pwm-title .pwm-tagline { font-size: 15px; }
	.pwm-stats strong { font-size: 18px; }
	.pwm-stats div { padding: 10px 12px; }
	.pwm-ctas .btn { flex: 1; }
	.pwm-ctas .pwm-hide-sm { display: none; }
	.pwm-homes { grid-template-columns: 1fr; }
	.pwm-block { padding: 40px 0; }
	.pwm-head h2 { font-size: 23px; }
	.pwm-gallery { grid-template-columns: repeat(2, 1fr); }
	.pwm-units { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.pwm-unit { padding: 16px; }
	.pwm-unit .pwm-size { font-size: 22px; }
	.pwm-rv { flex-direction: column; gap: 14px; }
	.pwm-rv .pwm-rvtext h2 { font-size: 23px; }
	.pwm-subnav .container { height: 52px; }
	.pwm-links { gap: 18px; }
	.pwm-links a { font-size: 13px; }
	.pwm-subcta { display: none; }
	.pwm-band h2 { font-size: 26px; }
	.pwm-map { min-height: 260px; }
	.pwm-mbar { display: grid; grid-template-columns: repeat(var(--pwm-mbar-n, 3), 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--pwm-border); box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
	.pwm-mbar .btn { min-height: 46px; padding: 0 8px; font-size: 13px; }
}
