.pg { margin-block: 1.5rem 0; }
.pg [hidden], .pg-viewer [hidden] { display: none !important; }
.pg-shell { position: relative; }
.pg-layout { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; gap: .45rem; height: clamp(18rem, 37vw, 35rem); overflow: hidden; border-radius: 6px; background: var(--sand); }
.pg-tile { border: 0; padding: 0; background: transparent; cursor: pointer; display: block; position: relative; min-width: 0; min-height: 0; }
.pg-tile:first-child { grid-row: span 2; }
.pg-layout[data-count="1"] { grid-template-columns: 1fr; }
.pg-layout[data-count="2"] { grid-template-rows: 1fr; }
.pg-layout[data-count="2"] .pg-tile:first-child { grid-row: auto; }
.pg .pg-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-tile:focus-visible { outline: 3px solid white; outline-offset: -5px; z-index: 1; }
.pg .pg-all { position: absolute; bottom: 1rem; right: 1rem; color: #163b35; background: #fffefa; border: 1px solid #ffffffbd; border-radius: 4px; min-height: 44px; padding: .6rem 1rem; font-family: inherit; line-height: 1.3; font-size: .94rem; font-weight: 600; cursor: pointer; box-shadow: 0 1px 9px #0e2c2a30; }
.pg-all:focus-visible, .pg-viewer :focus-visible { outline: 3px solid #bd8b43; outline-offset: 3px; }
.pg-index { margin-top: 1rem; }
.pg-index summary { width: fit-content; cursor: pointer; font-weight: 600; }
.pg-index ol { line-height: 1.65; columns: 3 14rem; padding: .8rem 1.6rem; }
.pg-empty { padding: 1.5rem 0; }
body:has(.pg-viewer[open]) { overflow: hidden; }
.pg-viewer, .pg-viewer * { box-sizing: border-box; }
.pg-viewer { position: fixed; inset: 0; width: min(76rem, 96vw); max-width: 100vw; height: min(62rem, 94vh); height: min(62rem, 94dvh); max-height: 100dvh; padding: 0; margin: auto; border: 0; border-radius: 7px; color: #f8faf7; background: #112421; }
.pg-viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto auto; }
.pg-viewer::backdrop { background: #081715d9; }
.pg-viewer .pg-bar { padding: .75rem clamp(.8rem,2vw,1.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pg-viewer .pg-title { margin: 0; color: #f8faf7; font-family: inherit; line-height: 1.4; font-size: 1.05rem; font-weight: 600; letter-spacing: .015em; }
.pg-viewer button { font: inherit; cursor: pointer; }
.pg-viewer .pg-close { border: 1px solid #a1b3a8; padding: .42rem .85rem; border-radius: 4px; color: #f8faf7; background: transparent; min-height: 44px; font-size: .94rem; }
.pg-stage { display: grid; position: relative; min-height: 0; background: #0c1917; }
.pg-viewer .pg-large { width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: contain; grid-area: 1/1; color: white; }
.pg-step { align-self: center; justify-self: start; z-index: 1; grid-area: 1/1; display: grid; place-items: center; border: 1px solid #ffffffb0; border-radius: 50%; width: 46px; height: 46px; margin: .7rem; background: #132924dc; color: #fff; }
.pg-step[data-direction="1"] { justify-self: end; }
.pg-step span { display: block; width: .6rem; height: .6rem; border-top: 2px solid; border-right: 2px solid; transform: rotate(225deg); }
.pg-step[data-direction="1"] span { transform: rotate(45deg); }
.pg-viewer .pg-caption { color: #f2f4ed; padding: .6rem 1rem; margin: 0; text-align: center; min-height: 2.5rem; font-size: .94rem; line-height: 1.45; }
.pg-viewer .pg-rail { display: flex; align-items: center; gap: .45rem; overflow-x: auto; overscroll-behavior-x: contain; padding: .35rem 1rem .85rem; scrollbar-width: thin; }
.pg-viewer .pg-thumb { flex: none; width: 4.8rem; height: 3.3rem; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: #273a35; opacity: .7; }
.pg-viewer .pg-thumb[aria-current="true"] { border-color: #fff; opacity: 1; }
.pg-viewer .pg-thumb:hover { opacity: 1; }
.pg-viewer .pg-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 620px) {
  .pg-layout { grid-template-columns: 1fr 1fr; grid-template-rows: 1.95fr 1fr; height: clamp(18rem, 86vw, 25rem); gap: .3rem; }
  .pg-tile:first-child { grid-column: 1/-1; grid-row: auto; }
  .pg-layout[data-count="1"] { grid-template-rows: 1fr; height: clamp(14rem,60vw,22rem); }
  .pg-layout[data-count="2"] { grid-template-columns: 1fr 1fr; }
  .pg-layout[data-count="2"] .pg-tile:first-child { grid-column: auto; }
  .pg .pg-all { bottom: .55rem; right: .55rem; }
  .pg-viewer { width: 100%; height: 100vh; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .pg-step { margin: .4rem; }
  .pg-viewer .pg-rail { padding-bottom: max(.85rem, env(safe-area-inset-bottom)); }
}

.property-jumps { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.property-reviews { margin-block: 2rem; padding: clamp(1.2rem,3vw,2.25rem); background: #edf0e8; border-radius: .4rem; color: #193c38; scroll-margin-top: 6rem; }
.property-reviews h2 { margin: 0 0 .8rem; font-size: var(--type-card,1.6rem); line-height: 1.25; }
.property-reviews .review-score { margin: 0; }
.review-score strong { font-variant-numeric: tabular-nums; }
.property-reviews figure { margin: 1.2rem 0; }
.property-reviews blockquote, .property-reviews figure p { margin: 0 0 .5rem; max-width: 60ch; }
.property-reviews blockquote { font-family: var(--serif); font-size: 1.3rem; }
.property-reviews figcaption, .review-source small { font-size: .86rem; line-height: 1.5; }
.review-source { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: baseline; margin-top: 1rem; }
