/* Lumera v6 «Sunset» — district page (round 7 §3). Loaded after style.css; only .page-district and the d* blocks.
   The milk palette, the serif / sans pair and the round-6 photo → milk blend come from style.css. */

.page-district main > section + section { border-top: 0; }
.page-district .dobj, .page-district .dnear, .page-district .dgal { border-top: 1px solid var(--milk-line); }
.page-district .dh + .dab { border-top: 0; }
/* the request block runs into the footer (equal milk-2 tones): no line, the photo fades out at its foot instead */
.page-district.dreq-last .ftr { border-top: 0; }

/* ── 1 · First screen: the photo melts into the milk (left, under the header, at its foot) ─────────────────── */
.dh { position: relative; isolation: isolate; display: flex; min-height: clamp(600px, 92svh, 940px); padding: calc(var(--hdr-h) + 2px) 5vw clamp(26px, 3vw, 44px) var(--pad); background: var(--milk); overflow: hidden; }
/* The photo melts into the milk through ONE elliptical mask anchored at the right edge (round 9c, critique #2): no two
   linear fades crossing, so there is no straight seam and no «pasted window» on a flat sky. The fade is an eased
   (smoothstep) curve from 64 % of the ellipse to its edge: about 21 vw on the text side, and also under the header and
   at the foot, so the opaque core sits where round 9 had it (from ≈ 63 vw). */
.dh__ph { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 58vw; margin: 0; background: transparent;
  --m: radial-gradient(100% 49% at 100% 49%, #000 64%, rgba(0, 0, 0, .972) 67.6%, rgba(0, 0, 0, .896) 71.2%, rgba(0, 0, 0, .784) 74.8%, rgba(0, 0, 0, .648) 78.4%, rgba(0, 0, 0, .5) 82%, rgba(0, 0, 0, .352) 85.6%, rgba(0, 0, 0, .216) 89.2%, rgba(0, 0, 0, .104) 92.8%, rgba(0, 0, 0, .028) 96.4%, transparent 100%);
  -webkit-mask-image: var(--m); mask-image: var(--m); }
/* round 9: district photos in their own vivid, natural colour (the client: «яркие и сочные»). No grade, no tint: this
   overrides the site-wide `.ph img` sunset filter. The only softening is local: the mask and the milk veil where the
   photo meets the text. */
.dh__ph img, .dgal__t img, .dnear__ph img { filter: none; }
.dh__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* per-photo framing (re-check P2): the Ката hero's lower third is rooftops; a gentle zoom toward the top keeps the sea,
   Koh Pu and the beach in frame. Keyed to the file, not the district, so a photo the client changes is never cropped
   by accident. (A CMS focal point read by district.js would be the general fix.) */
.dh__ph img[src*="/kata-r9-2"] { transform: scale(1.28); transform-origin: 62% 12%; }
/* a milk veil only inside the fade (the soft local gradient where the photo meets the text), so a dusk shot passes
   through light tones, not a grey haze. Same ellipse, but it starts later than the mask and eases in, so no two slopes
   break on one line; the core of the photo is untouched */
.dh__ph::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(100% 49% at 100% 49%, rgba(239, 232, 222, 0) 68%, rgba(239, 232, 222, .03) 72%, rgba(239, 232, 222, .1) 77%, rgba(239, 232, 222, .2) 82%, rgba(239, 232, 222, .31) 87%, rgba(239, 232, 222, .41) 92%, rgba(239, 232, 222, .48) 96%, rgba(239, 232, 222, .5) 100%); }
.dh__in { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dh__crumbs { padding-top: clamp(4px, .6vw, 10px); }
.dh__crumbs ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 13px; letter-spacing: .02em; color: var(--milk-k); }
.dh__crumbs li + li::before { content: '/'; margin: 0 10px; opacity: .55; }
.dh__crumbs a { transition: color .25s; }
.dh__crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.dh__crumbs [aria-current] { color: var(--ink-2); }
.dh__main { margin: auto 0; padding: clamp(28px, 4.4vh, 60px) 0; max-width: min(40vw, 620px); }
.dh__h { font: 400 clamp(58px, 7.6vw, 120px)/.95 var(--serif); font-stretch: 87.5%; letter-spacing: -.02em; color: var(--ink); overflow-wrap: anywhere; }
.dh__h--long { font-size: clamp(46px, 5.7vw, 90px); }
.dh__tag { margin-top: clamp(14px, 1.5vw, 24px); font: 400 clamp(20px, 1.75vw, 27px)/1.3 var(--serif); font-stretch: 87.5%; color: var(--ink); text-wrap: balance; }
.dh__a { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; margin-top: clamp(26px, 2.8vw, 42px); }
.dh__a .btn { min-height: clamp(52px, 4.2vw, 60px); padding: 0 30px; }
/* the quiet row of facts, on milk under the photo's foot */
.dh__facts { display: flex; flex-wrap: wrap; align-items: flex-start; row-gap: 18px; padding-top: clamp(18px, 1.7vw, 24px); border-top: 1px solid var(--milk-line); }
/* round 9d (re-check N1): the row, and so its hairline, is only as wide as the facts. The line never runs on across
   the photo's faded foot */
@media (min-width: 761px) { .dh__facts { align-self: flex-start; width: max-content; max-width: min(100%, 56vw); } }
@media (max-width: 1100px) and (min-width: 761px) { .dh__facts { max-width: min(100%, 64vw); } } /* the three facts stay on one row */
.dh__facts > div { min-width: 0; padding: 0 clamp(22px, 2.8vw, 46px); border-left: 1px solid var(--milk-line); }
.dh__facts > div:first-child { padding-left: 0; border-left: 0; }
.dh__facts dt { font: 600 10.5px/1.2 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--milk-k); }
.dh__facts dd { margin-top: 9px; font: 500 clamp(15px, 1.15vw, 17px)/1.3 var(--sans); color: var(--ink); }
.dh__fa { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(31, 27, 23, .3); text-underline-offset: 5px; transition: text-decoration-color .25s; }
.dh__fa:hover { text-decoration-color: currentColor; }
.dh__dot { margin: 0 9px; color: var(--taupe-2); }
/* «Фото района · N» over the sky */
.dh__photos { position: absolute; z-index: 2; top: calc(var(--hdr-h) + clamp(36px, 6vw, 96px)); right: 5vw; display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 15px; border-radius: 18px;
  background: rgba(248, 244, 238, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--milk-line);
  font: 500 12.5px/1 var(--sans); letter-spacing: .06em; color: var(--ink); transition: background-color .3s; }
.dh__photos .i { width: 15px; height: 15px; }
.dh__photos:hover { background: var(--milk-hi); }
.dh__photos:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.dh--nophoto .dh__main { max-width: 760px; }
/* a district with no photo yet (Кейп Яму in round 9): a shorter first screen and a calm milk tile, never a dark box */
.dh--nophoto { min-height: clamp(460px, 64svh, 680px); }
.dnear__ph:empty { background: linear-gradient(150deg, var(--milk-hi), var(--milk-2)); box-shadow: inset 0 0 0 1px var(--milk-line); }

/* loading: the first screen's own shape */
.dh--loading .dh__ph--skel { position: absolute; top: 0; right: 0; bottom: 0; width: 58vw; background: linear-gradient(90deg, var(--milk), var(--milk-2) 22%); opacity: .7; }
.dh-skel { display: block; }
.dh-skel--c { width: 210px; height: 12px; margin-top: 6px; }
.dh-skel--h { width: min(380px, 70%); height: clamp(58px, 7vw, 104px); }
.dh-skel--b { width: 250px; height: clamp(52px, 4.2vw, 60px); margin-top: clamp(26px, 2.8vw, 42px); }
.dh-skel--l { width: min(440px, 90%); height: 14px; margin-top: 18px; }
.dh-skel--s { width: min(300px, 60%); margin-top: 12px; }

/* ── Section heads shared by the blocks below ────────────────────────────────────────────────────────── */
.dsec__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px 40px; }
.dsec__h { margin-top: clamp(12px, 1.2vw, 18px); font: 420 clamp(32px, 3.3vw, 50px)/1.06 var(--serif); font-stretch: 87.5%; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.page-district .eyebrow--sm { color: var(--milk-k); }

/* ── 2 · About: the detailed text, «Особенности», «Кому подходит» beside the island ───────────────────── */
.dab { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); gap: clamp(40px, 6.4vw, 120px); align-items: start; padding: clamp(56px, 6vw, 104px) 5vw clamp(64px, 7vw, 116px) var(--pad); background: var(--milk); }
.dab__prose { max-width: 39em; margin-top: clamp(22px, 2.2vw, 34px); font-size: clamp(15.5px, 1.12vw, 17px); line-height: 1.76; color: var(--ink-2); }
.dab__prose p + p { margin-top: 1em; }
.dab__lead { font: 400 clamp(20px, 1.62vw, 25px)/1.46 var(--serif); font-stretch: 87.5%; color: var(--ink); }
/* the three highlights as one quiet row; «Кому подходит» as one taupe line */
.dab__hl ol { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0 clamp(20px, 2.4vw, 40px); margin-top: clamp(32px, 3.2vw, 48px); }
.dab__hl li { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--milk-line); font-size: 14.5px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.dab__n { font: 400 16px/1 var(--serif); font-stretch: 87.5%; color: var(--taupe); font-variant-numeric: tabular-nums; }
.dab__for { margin-top: clamp(22px, 2.2vw, 32px); font-size: 14.5px; line-height: 1.55; color: var(--milk-k); }
.dab__for span { color: var(--ink-2); font-weight: 500; }
.dab__map { position: sticky; top: calc(var(--hdr-h) + 20px); }
.dmap { margin: 0; }
.dmap__box { padding: clamp(18px, 1.8vw, 28px) clamp(10px, 1.2vw, 18px) 6px; border-radius: 6px; background: var(--milk); box-shadow: inset 0 0 0 1px var(--milk-line); }
.dmap .isle__svg--prop .mk.is-active text, .dmap .isle__svg--prop .mk--near text { stroke: rgba(239, 232, 222, .85); }
.dmap__box .isle__svg { width: 100%; height: auto; aspect-ratio: 552 / 836; max-width: 430px; max-height: min(66vh, 620px); margin: 0 auto; }
.dmap__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.dmap__k { font: 600 10.5px/1.3 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--milk-k); }
.dmap__near a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(31, 27, 23, .3); text-underline-offset: 4px; }
.dmap__near a:hover { text-decoration-color: currentColor; }

/* ── 3 · Gallery (only when the CMS has more photos) ─────────────────────────────────────────────────── */
.dgal { padding: clamp(56px, 6vw, 100px) 5vw clamp(56px, 6vw, 100px) var(--pad); background: var(--milk); }
.dgal__grid { display: grid; gap: clamp(10px, 1.1vw, 16px); margin-top: clamp(24px, 2.6vw, 38px); }
.dgal__t { position: relative; display: block; width: 100%; height: 100%; border-radius: 6px; overflow: hidden; cursor: zoom-in; background: var(--milk-2); box-shadow: 0 16px 34px -26px rgba(60, 40, 20, .35); }
.dgal__t img { transition: transform 1.4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .dgal__t:hover img { transform: scale(1.025); } }
.dgal__t:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
/* one more photo: the heading beside it, not a full-width band */
.dgal--one { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 2.22fr); align-items: end; gap: clamp(28px, 4vw, 72px); }
.dgal--one .dsec__head { flex-direction: column; align-items: flex-start; padding-bottom: 6px; }
.dgal--one .dgal__grid { margin-top: 0; }
.dgal__grid--1 .dgal__t { aspect-ratio: 16 / 9; }
.dgal__grid--2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); height: clamp(300px, 34vw, 540px); }
.dgal__grid--3 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: repeat(2, clamp(170px, 17.5vw, 270px)); }
.dgal__grid--3 .dgal__t:first-child { grid-row: span 2; }
.dgal__grid--4 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, clamp(170px, 17.5vw, 270px)); }
.dgal__grid--4 .dgal__t:first-child { grid-row: span 2; }
.dgal__grid--4 .dgal__t:nth-child(4) { grid-column: span 2; }

/* ── 4 · Objects in the district ─────────────────────────────────────────────────────────────────────── */
.dobj { padding: clamp(56px, 6vw, 104px) 5vw clamp(56px, 6vw, 96px) var(--pad); background: var(--milk); }
.dobj__deal { flex: none; display: flex; gap: 2px; padding: 3px; border-radius: 5px; background: var(--milk-hi); box-shadow: inset 0 0 0 1px var(--milk-line); }
.dobj__deal [role="radio"] { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 clamp(16px, 1.5vw, 22px); border-radius: 3px; font: 600 12px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--ink); white-space: nowrap; transition: background-color .3s var(--ease), color .3s; }
.dobj__deal [role="radio"][aria-checked="true"] { background: var(--ink); color: var(--cream); }
.dobj__deal [role="radio"]:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .dobj__deal [role="radio"][aria-checked="false"]:hover { background: rgba(31, 27, 23, .06); } }
.dobj__n { font-weight: 500; letter-spacing: .04em; opacity: .62; font-variant-numeric: tabular-nums; }
.dobj .pcards--grid { margin-top: clamp(26px, 2.8vw, 40px); }
.dobj__grid.is-swap .pcard { animation: dIn .5s var(--ease) both; }
@keyframes dIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dobj__grid.is-swap .pcard { animation: none; } }
.page-district .dobj .dobj__all { margin: clamp(26px, 2.8vw, 42px) 0 0; }
.dobj__alt { font: 500 14px/1 var(--sans); color: var(--ink-2); padding: 8px 0; text-decoration: underline; text-decoration-color: rgba(31, 27, 23, .3); text-underline-offset: 5px; }
.dobj__alt:hover { color: var(--ink); text-decoration-color: currentColor; }
.dobj .note { padding: 28px 0 0; }

/* ── 5 · Other districts ─────────────────────────────────────────────────────────────────────────────── */
.dnear { padding: clamp(56px, 6vw, 104px) 5vw clamp(56px, 6vw, 100px) var(--pad); background: var(--milk); }
.dnear__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 26px); margin-top: clamp(26px, 2.8vw, 40px); }
.dnear__t { display: block; }
.dnear__ph { display: block; aspect-ratio: 4 / 3; border-radius: 6px; box-shadow: 0 16px 34px -26px rgba(60, 40, 20, .35); }
.dnear__ph img { transition: transform 1.4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .dnear__t:hover .dnear__ph img { transform: scale(1.035); } .dnear__t:hover .dnear__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; } }
.dnear__t:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; border-radius: 6px; }
.dnear__name { display: block; margin-top: 16px; font: 420 clamp(22px, 1.85vw, 29px)/1.1 var(--serif); font-stretch: 87.5%; color: var(--ink); }
.dnear__tag { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--milk-k); }
.dnear__all { display: flex; align-items: baseline; gap: 10px 30px; margin-top: clamp(40px, 3.8vw, 58px); padding-top: 22px; border-top: 1px solid var(--milk-line); }
.dnear__k { flex: none; font: 600 10.5px/1.6 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--milk-k); }
.dnear__all ul { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.dnear__all a { transition: color .25s; }
.dnear__all a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.dnear__all [aria-current] { color: var(--ink); font-weight: 600; }

/* ── 6 · Request block (the round-6 req6, on the page's left edge like the object page) ───────────────── */
@media (min-width: 1181px) { .dreq.req6 { grid-template-columns: var(--pad) minmax(0, 35.6vw) 4.4vw minmax(0, 18vw) 1fr; } }
@media (max-width: 1180px) and (min-width: 1024px) { .dreq.req6 { grid-template-columns: var(--pad) minmax(0, 35vw) 3vw minmax(0, 20vw) 1fr; } }
@media (max-width: 1023px) and (min-width: 761px) { .dreq.req6 { grid-template-columns: var(--pad) minmax(0, 52vw) 1fr; } }
.dreq.req6 { --fs-h: clamp(34px, 3.3vw, 48px); }
.dreq__none { margin-top: clamp(12px, 1.2vw, 18px); font-size: 14.5px; line-height: 1.5; color: var(--milk-k); }
@media (min-width: 761px) {
  .dreq-last .dreq .req6__ph {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .05) 1.6vw, rgba(0, 0, 0, .22) 4vw, rgba(0, 0, 0, .52) 7vw, rgba(0, 0, 0, .82) 10vw, #000 13vw), linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, .55) 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .05) 1.6vw, rgba(0, 0, 0, .22) 4vw, rgba(0, 0, 0, .52) 7vw, rgba(0, 0, 0, .82) 10vw, #000 13vw), linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, .55) 86%, transparent 100%);
    mask-composite: intersect;
  }
}
@media (max-width: 760px) {
  .dreq-last .dreq .req6__ph {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .06) 5vw, rgba(0, 0, 0, .3) 14vw, rgba(0, 0, 0, .7) 26vw, #000 36vw, #000 72%, rgba(0, 0, 0, .5) 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .06) 5vw, rgba(0, 0, 0, .3) 14vw, rgba(0, 0, 0, .7) 26vw, #000 36vw, #000 72%, rgba(0, 0, 0, .5) 88%, transparent 100%);
  }
}

/* ── Not found ───────────────────────────────────────────────────────────────────────────────────────── */
.dnf__list { margin-top: clamp(40px, 4vw, 60px); padding-top: 22px; border-top: 1px solid var(--milk-line); }
.dnf__k { font: 600 10.5px/1.2 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--milk-k); }
.dnf__list ul { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.dnf__list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ── Tablet ──────────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) and (min-width: 761px) {
  .dh__ph { width: 56vw; }
  .dh__main { max-width: 42vw; }
  .dh__h { font-size: clamp(54px, 7.4vw, 80px); }
  .dh__h--long { font-size: clamp(44px, 5.6vw, 62px); }
  .dh__facts > div { padding: 0 clamp(16px, 2.2vw, 26px); }
  .dab { grid-template-columns: minmax(0, 1fr) minmax(260px, .78fr); gap: 44px; }
}
@media (max-width: 899px) and (min-width: 761px) { .dnear__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; } }

/* ── Phone: the photo on top with a vertical blend, then the text, the facts, the map ────────────────── */
@media (max-width: 760px) {
  .dh { flex-direction: column; min-height: 0; padding: 0 var(--pad) 30px; }
  /* phone: the same eased curve, vertical only (in under the header, out at the foot into the text) */
  .dh__ph { position: relative; order: -1; width: auto; height: calc(var(--hdr-h) + 92vw); margin: 0 calc(-1 * var(--pad));
    --m: linear-gradient(180deg, transparent 0, transparent calc(var(--hdr-h) * .5), rgba(0, 0, 0, .1) calc(var(--hdr-h) + 2vw), rgba(0, 0, 0, .32) calc(var(--hdr-h) + 6vw), rgba(0, 0, 0, .62) calc(var(--hdr-h) + 10vw), rgba(0, 0, 0, .88) calc(var(--hdr-h) + 14vw), #000 calc(var(--hdr-h) + 18vw), #000 62%, rgba(0, 0, 0, .972) 65.8%, rgba(0, 0, 0, .896) 69.6%, rgba(0, 0, 0, .784) 73.4%, rgba(0, 0, 0, .648) 77.2%, rgba(0, 0, 0, .5) 81%, rgba(0, 0, 0, .352) 84.8%, rgba(0, 0, 0, .216) 88.6%, rgba(0, 0, 0, .104) 92.4%, rgba(0, 0, 0, .028) 96.2%, transparent 100%);
    -webkit-mask-image: var(--m); mask-image: var(--m); }
  .dh__ph img { object-position: 50% 38%; }
  .dh__ph::after { background: linear-gradient(0deg, rgba(239, 232, 222, .5) 0, rgba(239, 232, 222, .42) 5%, rgba(239, 232, 222, .27) 11%, rgba(239, 232, 222, .12) 17%, rgba(239, 232, 222, .03) 23%, rgba(239, 232, 222, 0) 28%); }
  .dh--nophoto { padding-top: calc(var(--hdr-h) + 20px); }
  .dh__in { margin-top: -8vw; }
  .dh--nophoto .dh__in { margin-top: 0; }
  .dh__main { max-width: none; margin: 0; padding: 18px 0 0; }
  .dh__h { font-size: clamp(46px, 14.4vw, 64px); }
  .dh__h--long { font-size: clamp(38px, 11.2vw, 50px); }
  .dh__tag { font-size: 20px; }
  .dh__a .btn { flex: 1 1 100%; justify-content: space-between; }
  .dh__facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 18px; margin-top: 32px; }
  .dh__facts > div { padding: 0; border: 0; }
  .dh__facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .dh__photos { top: calc(var(--hdr-h) + 92vw - 30vw); right: 14px; height: 34px; }
  .dh--loading .dh__ph--skel { position: absolute; width: 100%; height: calc(var(--hdr-h) + 92vw); bottom: auto; background: linear-gradient(180deg, var(--milk), var(--milk-2) 40%, var(--milk)); }
  .dh--loading .dh__in { margin-top: calc(var(--hdr-h) + 80vw); }

  .dab { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 44px var(--pad) 56px; }
  .dab__hl ol { grid-template-columns: minmax(0, 1fr); }
  .dab__hl li { flex-direction: row; align-items: baseline; gap: 14px; padding: 12px 0; }
  .dab__hl li:last-child { border-bottom: 1px solid var(--milk-line); }
  .dab__map { position: static; }
  .dmap__box .isle__svg { max-width: 330px; max-height: none; }

  .dgal, .dobj, .dnear { padding: 52px var(--pad) 56px; }
  .dgal--one { display: block; }
  .dgal--one .dgal__grid { margin-top: 24px; }
  .dgal__grid--1 .dgal__t { aspect-ratio: 4 / 3; }
  .dgal__grid--2, .dgal__grid--3, .dgal__grid--4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; height: auto; }
  .dgal__grid--2 .dgal__t, .dgal__grid--3 .dgal__t, .dgal__grid--4 .dgal__t { aspect-ratio: 1; grid-row: auto; grid-column: auto; }
  .dgal__grid .dgal__t:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .dobj .dsec__head { align-items: stretch; }
  .dobj__deal { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .dobj__deal [role="radio"] { padding: 0 10px; }
  .page-district .dobj .dobj__all { flex-direction: column; align-items: stretch; margin-top: 22px; }
  .dobj__alt { align-self: center; }

  .dnear__row { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); margin: 26px calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 8px; scrollbar-width: none; }
  .dnear__row::-webkit-scrollbar { display: none; }
  .dnear__row > li { scroll-snap-align: start; }
  .dnear__all { flex-direction: column; gap: 12px; }
}
