@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;1,400&display=swap');
:root{--ink:#1a3c59;--deep:#142d43;--paper:#f4f3ee;--white:#fffefa;--gold:#e1bc82;--muted:#526373;--line:#ced5d7;--serif:"Libre Baskerville",Georgia,serif;font-family:"DM Sans",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-size:16px;scroll-behavior:smooth}
*,*::before,*::after{box-sizing:border-box}body{margin:0}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}a{color:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #ad6a26;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}h2{font-size:clamp(1.65rem,3vw,2.6rem);letter-spacing:-.045em}.wrap{width:min(1184px,calc(100% - 64px));margin:auto}.announcement{height:38px;display:flex;align-items:center;justify-content:center;gap:12px;background:var(--deep);color:#f3ead7;font-size:.8rem;letter-spacing:.09em}.announcement span{height:4px;width:4px;transform:rotate(45deg);background:var(--gold)}.header-inner{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;text-transform:uppercase;line-height:1;font-size:1.24rem;letter-spacing:.075em;font-weight:700}.brand small{font-size:.73rem;letter-spacing:.29em}.mark{position:relative;display:block;width:34px;height:34px;transform:rotate(45deg);border:1px solid #8b744f}.mark b,.mark i{position:absolute;display:block;border:1px solid var(--ink)}.mark b{inset:5px}.mark i{inset:12px;background:#a68148;border:none}.header-inner nav{display:flex;align-items:center;gap:24px;font-size:.91rem}.header-inner nav a{text-decoration:none}.header-inner nav a:hover,.hero-copy a:hover{text-decoration:underline}.outline{border:1px solid #829189;color:var(--ink);background:transparent;padding:9px 13px;border-radius:2px}.outline:hover,.outline[aria-pressed=true]{background:#e4eadf}.outline span{margin-left:5px;font-weight:700}
.hero{background: #243e58;position:relative;color:var(--white);isolation:isolate}.hero::before{position:absolute;inset:0;z-index:-1;content:"";background:linear-gradient(90deg,#0c253cf0 0%,#13344ed5 30%,#17384f55 67%,#15334930),url('./hero.jpg') center 56%/cover}.hero-inner{display:grid;grid-template-columns:1.25fr .8fr;gap:clamp(30px,7vw,94px);min-height:540px;align-items:center;padding:55px 0}.kicker{text-transform:uppercase;font-style:normal;font-size:.78rem;font-weight:700;letter-spacing:.16em}.hero-copy .kicker{color:#f0d3a1;display:flex;align-items:center;gap:11px}.hero-copy .kicker::before{content:"";width:25px;height:1px;background:var(--gold)}.hero h1{font-size:clamp(3rem,5.5vw,5.1rem);letter-spacing:-.07em;line-height:1.09;margin:21px 0 20px}.hero h1 em{color:#ecd2a1}.hero-copy>p:not(.kicker){max-width:465px;line-height:1.7;color:#f6f4e9;font-size:1.06rem}.hero-copy a{display:inline-block;margin-top:22px;text-underline-offset:5px;font-size:.93rem}.search-panel{padding:27px;background:var(--white);color:var(--ink);border:1px solid #d6cbb7;box-shadow:0 12px 40px #0e262a42;border-radius:3px}.search-panel h2{font-size:clamp(1.4rem,2vw,1.8rem);margin-bottom:19px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:13px}label{display:grid;gap:6px;font-size:.88rem;font-weight:700;min-width:0}select{width:100%;min-width:0;appearance:none;border:1px solid #adb7aa;color:var(--ink);background:linear-gradient(45deg,transparent 50%,#355148 50%) calc(100% - 16px) 54%/5px 5px no-repeat,linear-gradient(135deg,#355148 50%,transparent 50%) calc(100% - 11px) 54%/5px 5px no-repeat,var(--white);padding:11px 25px 11px 11px;border-radius:2px;font-weight:500}.primary{width:100%;border:1px solid var(--ink);background:var(--ink);color:white;font-weight:700;padding:13px;margin-top:17px;border-radius:2px}.primary:hover{background:#264f70}.form-note{font-size:.82rem;margin-top:10px;color:var(--muted)}
.inventory{padding:55px 0 64px;scroll-margin-top:14px}.inventory-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:24px}.inventory-head h2{margin:8px 0 8px}.inventory-head .kicker,.buying .kicker{color:#6c572e}.inventory-head p:not(.kicker){color:var(--muted);font-size:.92rem}.result-actions{display:flex;gap:15px;align-items:end}.text-button{border:0;background:none;color:var(--ink);text-decoration:underline;text-underline-offset:4px;padding:8px 0;font-weight:700;white-space:nowrap}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{padding:18px 19px 13px;border:1px solid var(--line);border-top:3px solid #7990a1;border-radius:3px;background:var(--white);display:flex;flex-direction:column}.card-top,.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.card-city{color:#6c572e;line-height:1.3}.save{font-size:.78rem;padding:5px 8px}.card h3{font-size:1.25rem;line-height:1.35;margin:11px 0 3px;overflow-wrap:anywhere}.card-location,.card-source{font-size:.82rem;color:var(--muted)}.card-price{font-size:1.52rem;font-weight:700;margin-top:10px}.card-specs{color:var(--muted);font-size:.9rem;margin:4px 0 14px}.card-bottom{border-top:1px solid #dce1d6;margin-top:auto;padding-top:5px}.card-bottom button{font-size:.87rem}.empty{padding:24px;background:var(--white);border:1px solid var(--line);grid-column:1/-1;color:var(--muted)}.pager{text-align:center;margin-top:23px}.buying{background:#e8edf0;border-block:1px solid var(--line);padding:42px 0}.buying-inner{display:grid;grid-template-columns:1fr 1fr;gap:55px}.buying h2{margin:8px 0 14px}.buying p,.buying li{line-height:1.65}.buying h3{font-size:1.4rem}.buying ul{padding-left:18px;margin-bottom:0}.buying li+li{margin-top:7px}footer{background:var(--deep);color:#f4ecda;padding:28px 0}.footer-inner{display:flex;gap:18px;justify-content:space-between}.footer-inner p{font-size:.83rem}dialog{color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:4px;width:min(540px,calc(100% - 28px));padding:0}dialog::backdrop{background:#0e2925ba}.dialog-content{padding:26px}.close{float:right;margin-left:12px}.dialog-content h2{font-size:1.63rem;line-height:1.35;margin:11px 0}.dialog-content dl{display:grid;grid-template-columns:auto 1fr;gap:8px 18px}.dialog-content dt{font-weight:700}.dialog-content dd{margin:0;overflow-wrap:anywhere}
@media(max-width:900px){.hero-inner{gap:32px;min-height:485px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.wrap{width:calc(100% - 34px)}.header-inner{min-height:72px}.header-inner nav{gap:10px}.header-inner nav>a{display:none}.brand{font-size:1.05rem}.mark{width:26px;height:26px}.mark i{inset:9px}.hero-inner{grid-template-columns:1fr;gap:25px;padding:37px 0 28px}.hero::before{background-position:60% center}.hero h1{font-size:3.25rem}.search-panel{padding:19px}.inventory{padding:34px 0}.inventory-head{display:grid;gap:12px}.result-actions{justify-content:space-between}.cards,.buying-inner{grid-template-columns:1fr}.buying-inner{gap:24px}.footer-inner{display:grid;gap:8px}}@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}

.listing-cover{margin:-18px -19px 12px;background:#e9ede3;min-height:34px;overflow:hidden}.listing-cover img{width:100%;aspect-ratio:16/10;display:block;object-fit:cover}.photo-unavailable{font-size:.78rem;color:var(--muted);padding:9px 18px}.listing-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0;background:#e9ede3}.listing-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}.listing-gallery img:first-child{grid-column:1/-1}.listing-gallery .photo-unavailable{grid-column:1/-1}.guide-photo{margin:0;align-self:center}.guide-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:3px}.guide-photo figcaption{margin-top:7px;color:var(--muted);font-size:.8rem}.preparation{margin-top:24px}

.stage{margin-top:13px}.markets{display:flex;gap:9px;flex-wrap:wrap;margin:-4px 0 22px}.markets button{font-size:.85rem;background:#fffefa}.markets button:hover{background:#e5ecf0}.search-panel .form-note{line-height:1.45}

[hidden]{display:none!important}
.skip-link{position:absolute;left:20px;top:10px;z-index:10;background:var(--white);padding:10px;transform:translateY(-190%)}
.skip-link:focus{transform:none}
.brokerage-masthead{display:flex;flex-wrap:wrap;gap:6px 18px;padding-bottom:14px;font-size:.9rem}
.brokerage-footer{background:#f2f1e9;color:#183f36;padding:0}
.brokerage-footer-grid{border-top:1px solid #d3d8cb;display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:28px 0 38px}
.brokerage-wordmark{font-size:1.55rem;letter-spacing:.05em;font-weight:700;text-transform:uppercase;text-decoration:none;display:inline-block;margin-bottom:8px}
.brokerage-footer address{font-style:normal;margin:6px 0 12px}.brokerage-footer a{text-underline-offset:3px}
.policy-main{max-width:850px;padding:36px 0 52px}.policy-main h1{font-size:clamp(2rem,5vw,3.3rem);margin:14px 0}
.policy-main section{margin-top:26px}.policy-main h2{font-size:1.45rem;margin:0 0 8px}.policy-main p+p{margin-top:10px}
.idx-disclosures{border:1px solid var(--line);background:var(--white);padding:16px;margin-top:24px;font-size:1rem}
.idx-mark{max-width:180px;min-width:95px;min-height:35px;object-fit:contain}
.card-source{font-size:.9375rem;color:var(--ink)}.dialog-content .idx-mark{display:block;margin:8px 0}
@media(max-width:700px){.brokerage-footer-grid{grid-template-columns:1fr}.brokerage-masthead{font-size:.875rem}}

.hero-image-note{position:absolute;bottom:8px;right:12px;color:#fff;background:#182623c9;padding:4px 8px;font-size:.78rem;border-radius:2px}

.community-directory { padding-block: 3.5rem; }
.community-intro { max-width: 48rem; margin-bottom: 2rem; }
.community-intro h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.05; margin: .5rem 0 1rem; }
.community-controls { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(14rem, 2fr); gap: 1rem; max-width: 43rem; }
.community-controls input { width: 100%; padding: .65rem .75rem; min-height: 2.75rem; border: 1px solid currentColor; border-radius: .25rem; font: inherit; }
.community-controls[hidden], .community-card[hidden] { display: none; }
.community-card { display: flex; flex-direction: column; padding: 1.4rem; }
.community-card h2 { margin: .35rem 0 .5rem; font-size: 1.55rem; line-height: 1.2; }
.community-card .community-builders { font-weight: 600; }
.community-card > a { align-self: start; margin: auto 0 0; padding-top: .5rem; }
.community-tour { margin-top: 3rem; max-width: 42rem; }
@media (max-width: 38rem) { .community-controls { grid-template-columns: 1fr; } }

.idx-disclosures .idx-mark{width:auto;height:auto;max-width:120px;max-height:48px;min-width:0;min-height:0}

.market-lookup { margin-bottom: 10px; }
.market-lookup input {
  min-width: 0;
  width: 100%;
  border: 1px solid #adb7aa;
  border-radius: 2px;
  font: inherit;
  font-weight: 500;
  padding: 11px;
  color: var(--ink);
  background: var(--white, #fffefa);
}
.market-lookup input:focus-visible { outline: 3px solid #ad6a26; outline-offset: 3px; }
.market-status { color: var(--muted); font-size: .875rem; }
.market-status:not(:empty) { margin-top: 8px; }
.field-guide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white, #fffefa);
}
.field-guide .kicker { color: var(--muted); }
.field-guide h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 7px 0; }
.field-guide p:not(.kicker) { max-width: 61ch; line-height: 1.55; }
.field-guide a { text-underline-offset: 4px; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 12px; }
.guide-actions .outline { text-decoration: none; }
.guide-video { display: grid; place-items: center; background: #e8edf0; min-height: 84px; }
.southwest-city { max-width: 22rem; margin-bottom: 16px; }
.markets [data-market] { font-weight: 700; }
.markets button[aria-pressed=true] { background: #e4eadf; }
.field-guide iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.field-guide:has(.guide-video:not([hidden])) { grid-template-columns: 1fr minmax(200px, .85fr); }
@media (max-width: 680px) {
  .field-guide, .field-guide:has(.guide-video:not([hidden])) { grid-template-columns: 1fr; gap: 14px; }
}

.hero-buyer-link { margin-left: 16px; }
.listing-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 16px; }
.view-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.listing-visit-link { background: var(--ink); color: white; border-color: var(--ink); text-decoration: none; font-weight: 700; }
.listing-visit-link:hover { background: #264f70; }
.view-controls button { min-width: 72px; }
#map-panel { margin-bottom: 20px; }
#map-status { color: var(--muted); margin-bottom: 8px; }
#listing-map { height: clamp(360px, 63vh, 620px); border: 1px solid var(--line); background: #e8edf0; z-index: 0; }
.map-mode-hidden { display: none; }
.leaflet-marker-icon.property-pin { background: var(--ink); border: 2px solid white; border-radius: 50%; color: white; display: grid; place-items: center; box-shadow: 0 1px 4px #0006; }
.property-pin:not(.property-pin-group):not(.property-pin-price)::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: white; }
.leaflet-marker-icon.property-pin-group { background: #a36b25; font-weight: 700; }
.leaflet-marker-icon.property-pin-price { border-radius: 999px; font: 700 13px/1 "DM Sans", system-ui, sans-serif; white-space: nowrap; }
.map-popup { width: min(215px, calc(100vw - 116px)); max-height: min(270px, 52vh); overflow: auto; }
.map-popup-card + .map-popup-card { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.map-popup-card .listing-cover { margin: 0; min-height: 0; border-radius: 3px; }
.map-popup-card .listing-cover img { aspect-ratio: 16 / 9; }
.map-popup-card .photo-unavailable { margin: 0; padding: 6px 8px; }
.map-popup-card button { display: block; white-space: normal; text-align: left; }
.map-popup-card p:not(.photo-unavailable) { margin: 0; }
.buyer-intake { background: #e8edf0; border-top: 1px solid var(--line); padding: clamp(36px, 6vw, 76px) 0; }
.buyer-intake-inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.buyer-intro .kicker { color: #6c572e; }
.buyer-intro h2 { margin: 9px 0 18px; }
.buyer-intro p:not(.kicker) { line-height: 1.65; margin-bottom: 12px; }
.buyer-form { display: grid; gap: 14px; padding: clamp(16px, 3vw, 30px); background: var(--white); border: 1px solid var(--line); }
.buyer-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.buyer-form input:not([type=checkbox]), .buyer-form textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid #adb7aa; border-radius: 2px; color: var(--ink); background: var(--white); font: inherit; font-weight: 400; }
.buyer-form textarea { resize: vertical; }
.buyer-check { display: grid; grid-template-columns: auto 1fr; gap: 9px; line-height: 1.4; font-weight: 500; align-items: start; }
.buyer-check input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--ink); }
.buyer-terms-note, .buyer-required { font-size: .875rem; color: var(--muted); }
.buyer-form .primary { margin: 0; }
.buyer-form .primary:disabled { opacity: .7; }
.buyer-form #buyer-status:empty { display: none; }
.buyer-detail-link { display: inline-block; white-space: normal; }
@media (max-width: 760px) { .buyer-intake-inner { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .buyer-form-grid { grid-template-columns: 1fr; } .hero-buyer-link { margin-left: 0; display: block !important; } }

.inventory-head { align-items: start; }
.result-actions { display: grid; grid-template-columns: repeat(2, minmax(7.5rem, 1fr)) minmax(10rem, 1.25fr); gap: 8px 12px; }
.results-secondary { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: end; align-items: center; gap: 8px 16px; }
.results-secondary .text-button { padding: 4px 0; }
@media (max-width: 840px) {
  .inventory-head { display: grid; }
  .result-actions { max-width: 36rem; }
  .results-secondary { justify-content: start; }
}
@media (max-width: 490px) {
  .result-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-actions > label:last-of-type { grid-column: 1 / -1; }
}

.map-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-bottom: 10px; }
.map-toolbar #map-status { margin: 0; }

/* Map and MLS results share a row on wide screens. */
#map-panel.map-listings {
  --map-browse-height: clamp(450px, 58vh, 580px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 18px;
  align-items: stretch;
}
#map-panel[hidden] { display: none; }
#cards[hidden] { display: none; }
.listing-map-card, .map-results-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.map-column-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 15px 16px;
  min-height: 85px;
}
.map-column-head h3 { margin: 0 0 4px; font-size: clamp(1.4rem, 2.25vw, 2rem); line-height: 1.12; scroll-margin-top: 12px; }
.map-column-head p { margin: 0; color: var(--muted); font-size: .89rem; }
.map-column-head button { flex: 0 0 auto; font-size: .88rem; }
.listing-map-card #listing-map { height: var(--map-browse-height); flex: 1 0 var(--map-browse-height); border: 0; border-top: 1px solid var(--line); }
.map-results {
  height: calc(var(--map-browse-height) - 54px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  padding: 0 12px 7px 14px;
}
.map-results-footer { min-height: 54px; padding: 7px 14px; }
.map-results-footer button { min-height: 40px; }
.map-result-card.card {
  display: grid;
  grid-template-columns: minmax(68px, 30%) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
  margin: 0 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.map-result-card .listing-cover { margin: 0; min-height: 96px; position: relative; }
.map-result-card .listing-cover img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.map-result-card .photo-unavailable { padding: 9px 6px; }
.map-result-content { min-width: 0; padding: 9px 10px; }
.map-result-content .card-price { margin: 0 0 4px; line-height: 1.15; font-size: 1.08rem; }
.map-result-content h3 { margin: 3px 0; font: 700 .96rem/1.23 "DM Sans", system-ui, sans-serif; overflow-wrap: anywhere; }
.map-result-content .card-top { margin: 0; gap: 5px; }
.map-result-content .card-city { font-size: .71rem; letter-spacing: .05em; }
.map-result-content .save { font-size: .77rem; padding: 3px 6px; min-height: 25px; }
.map-result-content .card-location, .map-result-content .card-specs { font-size: .82rem; margin: 2px 0; }
.map-result-content .card-bottom { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 5px; padding-top: 4px; }
.map-result-content .card-source { font-size: .77rem; overflow-wrap: anywhere; }
.map-result-content .details { font-size: .87rem; }
@media (max-width: 760px) {
  #map-panel.map-listings { grid-template-columns: minmax(0, 1fr); gap: 12px; --map-browse-height: 390px; }
  .listing-map-card #listing-map { height: clamp(285px, 48vh, 390px); flex-basis: auto; }
  .map-column-head { min-height: 0; }
}
@media (max-width: 420px) {
  .map-column-head { flex-wrap: wrap; }
}

/* Keep the map and listing panel prominent on the homepage. */
#listings.inventory { padding-top: clamp(18px, 3vw, 38px); }
#map-panel.map-listings { margin-bottom: clamp(24px, 3.5vw, 44px); }
.full-listing-grid > summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.full-listing-grid[open] > summary { margin-bottom: 12px; }

.listing-showcase { margin-bottom: clamp(30px, 5vw, 60px); }
.listing-showcase h2 { margin: 0 0 18px; }
@media (min-width: 1050px) {
  .listing-showcase .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Listing details */
#detail { width: min(1120px,calc(100% - 24px)); }
#detail-body h2 { font: 400 clamp(2rem,5vw,4rem)/1.1 Georgia,serif; overflow-wrap:anywhere; margin:.6rem 0 1.25rem; }
.detail-page-columns { display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,290px);gap:1.5rem;margin:1.5rem 0; }
.detail-page-columns aside { align-self:start;background:#f8f7f0;border:1px solid #d9d9cf;padding:1.1rem; }
.detail-page-columns aside strong { font:400 2rem Georgia,serif; }
.detail-photo-grid { position:relative;display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:6px;height:clamp(220px,38vw,490px);margin:0; }
.detail-photo-grid[data-photos="0"] { height:auto; }
.detail-photo-grid[data-photos="1"] { grid-template-columns:1fr; }
.detail-photo-grid:is([data-photos="2"],[data-photos="3"]) { grid-template-columns:2fr 1fr; }
.detail-photo-grid[data-photos="2"] > button:nth-child(2) { grid-row:span 2; }
.detail-photo-grid > button { min-width:0;min-height:0;border:0;padding:0;background:#eeece3;cursor:zoom-in; }
.detail-photo-grid > button:first-child { grid-row:span 2; }
.detail-photo-grid > button img { width:100%;height:100%;object-fit:cover; }
.detail-photo-grid .detail-photo-open { position:absolute;bottom:.7rem;right:.7rem;padding:.6rem .85rem;background:white; }
.detail-photo-viewer { width:min(960px,calc(100% - 24px)); }
.detail-photo-viewer div { display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;padding:.7rem; }
.detail-photo-viewer img { display:block;width:100%;height:min(68vh,640px);background:#192625;object-fit:contain; }
@media(max-width:670px) {
 .detail-page-columns { grid-template-columns:1fr; }
 .detail-page-columns aside { grid-row:1; }
 .detail-photo-grid { grid-template-columns:1fr!important; }
 .detail-photo-grid > button:not(:first-child):not(.detail-photo-open) { display:none; }
}
