/* 0.15.12 redesign: /search/: map, filters, sort, region browser. Brand tokens come from theme.json (var(--wp--preset--color--*)). */
/* Owner: search agent. Markup: dockandloon-core/includes/class-dl-search-ui.php; behaviour: assets/js/search-ui.js. */

/* ------------------------------------------------------------------ */
/* Toolbar: Filters button, quick chips, Sort, List / Map              */
/* ------------------------------------------------------------------ */
.dl-ftool { margin: 0; }
.dl-ftool__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dl-fbtn, .dl-fchip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
	border: 1px solid var(--dl-line); border-radius: 999px; background: #fff;
	font: inherit; font-size: 15px; font-weight: 600; color: var(--dl-navy); text-decoration: none; cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.dl-fbtn { list-style: none; border-color: var(--dl-navy); }
.dl-fbtn::-webkit-details-marker { display: none; }
.dl-fbtn:hover, .dl-fchip:hover { border-color: var(--dl-navy); box-shadow: 0 1px 0 rgba(28, 43, 69, .08); }
.dl-fbtn.is-on, .dl-fchip.is-on { background: var(--dl-navy); border-color: var(--dl-navy); color: #fff; }
.dl-fbtn:focus-visible, .dl-fchip:focus-visible, .dl-fsort select:focus-visible, .dl-ftool__clear:focus-visible {
	outline: 3px solid var(--dl-lake); outline-offset: 2px;
}
.dl-fquick { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-fchip { font-weight: 500; padding: 0 14px; }
.dl-ftool__clear { font-size: 14px; font-weight: 600; color: var(--dl-lake); text-underline-offset: 3px; }
.dl-fsort { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dl-fsort label { font-size: 14px; font-weight: 600; color: var(--dl-navy); }
.dl-fsort select {
	min-height: 44px; padding: 0 38px 0 14px; border: 1px solid var(--dl-line); border-radius: 12px;
	font: inherit; font-size: 15px; color: var(--dl-navy); background: #fff;
}
.dl-fsort__go { min-height: 44px; padding: 0 14px; border: 1px solid var(--dl-navy); border-radius: 12px; background: #fff; color: var(--dl-navy); font: inherit; font-weight: 600; }
.dl-ftool .dl-viewtoggle { display: none; } /* Desktop shows list and map side by side. */
.dl-results[data-dl-view="map"] .dl-results__list > .dl-ftool.dl-ftool { display: block; }

/* The panel: without JavaScript a panel under the button; with
   JavaScript (.is-drawer) a side drawer, or a bottom sheet on phones. */
.dl-fpanel { position: relative; }
.dl-fpanel__sheet {
	position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: min(440px, 92vw);
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dl-line); border-radius: 20px;
	box-shadow: 0 24px 60px rgba(28, 43, 69, .18); color: var(--dl-navy);
}
.dl-fpanel.is-drawer[open] .dl-fpanel__sheet {
	position: fixed; z-index: 1001; top: 0; right: 0; left: auto; bottom: 0; width: min(460px, 100vw);
	border-radius: 24px 0 0 24px; border: 0; animation: dl-drawer-in .22s ease-out;
}
.dl-fpanel__backdrop { display: none; }
.dl-fpanel.is-drawer[open] .dl-fpanel__backdrop { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(28, 43, 69, .45); }
@keyframes dl-drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dl-fpanel.is-drawer[open] .dl-fpanel__sheet { animation: none; } }
html.dl-noscroll { overflow: hidden; }

.dl-fpanel__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 16px; border-bottom: 1px solid var(--dl-line); }
.dl-fpanel__title { margin: 0; font-family: var(--dl-serif); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--dl-navy); }
.dl-fpanel__close {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 1px solid var(--dl-line); border-radius: 50%; background: #fff; color: var(--dl-navy); font-size: 24px; line-height: 1; cursor: pointer;
}
.dl-fpanel:not(.is-drawer) .dl-fpanel__close { display: none; } /* Without JavaScript the Filters button closes it. */
.dl-fpanel__close:focus-visible { outline: 3px solid var(--dl-lake); outline-offset: 2px; }
.dl-fpanel__body { flex: 1 1 auto; overflow-y: auto; padding: 4px 24px 8px; overscroll-behavior: contain; }
.dl-fpanel:not(.is-drawer) .dl-fpanel__body { max-height: 60vh; }
.dl-fpanel__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 24px; border-top: 1px solid var(--dl-line); background: #fff; border-radius: 0 0 0 24px;
}
.dl-fpanel__clear { font-weight: 600; color: var(--dl-navy); text-underline-offset: 3px; }
.dl-fpanel__foot .dl-btn { min-height: 48px; padding: 0 24px; }

.dl-fgrp { margin: 0; padding: 20px 0; border: 0; border-bottom: 1px solid var(--dl-line); min-width: 0; }
.dl-fgrp:last-child { border-bottom: 0; }
.dl-fgrp__h { float: left; width: 100%; padding: 0; margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--dl-navy); }
.dl-fgrp__h + * { clear: both; } /* float trick: removes the extra gap browsers leave under a fieldset legend */
.dl-ffield { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dl-muted); }
.dl-ffield select {
	min-height: 48px; padding: 0 14px; border: 1px solid var(--dl-line); border-radius: 12px; background: #fff;
	font: inherit; font-size: 15px; font-weight: 500; color: var(--dl-navy);
}
.dl-ffield select:focus-visible, .dl-fchk input:focus-visible + span, .dl-fseg input:focus-visible + span { outline: 3px solid var(--dl-lake); outline-offset: 2px; }
.dl-fprice { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; }
.dl-fprice__dash { padding-bottom: 14px; color: var(--dl-muted); }
.dl-fnote { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--dl-muted); }

/* Bedrooms: one row of segments (real radio buttons). */
.dl-fseg { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.dl-fseg label { position: relative; }
.dl-fseg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dl-fseg span {
	display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--dl-line);
	border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--dl-navy); cursor: pointer; background: #fff;
}
.dl-fseg input:checked + span { background: var(--dl-navy); border-color: var(--dl-navy); color: #fff; }

/* Amenity and Snapshot boxes: two columns of real checkboxes. */
.dl-fchks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.dl-fchk { display: block; cursor: pointer; }
.dl-fchk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dl-fchk span {
	position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; padding-left: 32px;
	font-size: 15px; color: var(--dl-navy); line-height: 1.3;
}
.dl-fchk span::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px;
	border: 1.5px solid #7D8BA0; border-radius: 6px; background: #fff;
}
.dl-fchk input:checked + span::before { background: var(--dl-navy); border-color: var(--dl-navy); }
.dl-fchk input:checked + span::after {
	content: ""; position: absolute; left: 7px; top: 50%; width: 6px; height: 11px; margin-top: -7px;
	border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.dl-fchk svg { flex: 0 0 auto; color: var(--dl-lake); }

/* ------------------------------------------------------------------ */
/* Results page with the map                                           */
/* ------------------------------------------------------------------ */
.dl-results .dl-results__head + .dl-ftool { margin-top: -8px; }
.dl-results--none { width: var(--dl-wrap-wide); }
.dl-results--none > .dl-ftool { margin: 4px 0 18px; }
.dl-results--none .dl-nolistings {
	display: block; padding: 14px 18px; border-radius: 14px;
	background: var(--dl-mist); font-size: 15px; line-height: 1.5; color: var(--dl-navy);
}
/* The panel fills the first grid row; the map inside it is sticky, so it
   stops at the end of the results and never covers "Search by region". */
.dl-results .dl-mappanel { position: static; align-self: stretch; display: block; height: auto; min-height: 0; padding: 0; background: none; text-align: left; overflow: visible; border-radius: 0; }
.dl-mappanel > .dl-map { position: sticky; top: 100px; background: #E4EEF6; border: 1px solid var(--dl-line); border-radius: 24px; overflow: hidden; }
.dl-results > .dl-rb { grid-column: 1 / -1; margin-top: 16px; }

/* ------------------------------------------------------------------ */
/* Map                                                                 */
/* ------------------------------------------------------------------ */
.dl-map { margin: 0; position: relative; }
.dl-map--wide { margin: 24px 0 8px; border-radius: 24px; overflow: hidden; background: #E4EEF6; border: 1px solid var(--dl-line); }
.dl-map__frame { position: relative; width: 100%; container-type: inline-size; }
.dl-map__base { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dl-map__other { fill: #F4F6F8; stroke: #CBD6E1; stroke-width: 1; }
.dl-map__land { fill: #FFFFFF; stroke: #9DB3C7; stroke-width: 1.2; stroke-linejoin: round; }
.dl-map__water { fill: #E4EEF6; stroke: #B7CCDD; stroke-width: .8; }
.dl-map__pins { position: absolute; inset: 0; }
.dl-map__pins[hidden] { display: none; }

/* Lake dots: small, lake blue; the name shows on hover (search-ui.js). */
.dl-map__lake {
	position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
	background: var(--dl-lake); border: 1.5px solid #fff; opacity: .78; transition: transform .12s ease, opacity .12s ease;
}
.dl-map__lake:hover { transform: scale(1.5); opacity: 1; z-index: 3; }
.dl-map__tip {
	position: absolute; z-index: 6; transform: translate(-50%, calc(-100% - 10px)); padding: 5px 10px; border-radius: 8px;
	background: var(--dl-navy); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; pointer-events: none;
}

/* Region pins: numbered navy dots; the list beside the map names them. */
.dl-map__region {
	position: absolute; z-index: 4; width: 24px; height: 24px; transform: translate(-50%, -50%);
	display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
	background: var(--dl-navy); color: #fff; border: 2px solid #fff; box-sizing: border-box;
	box-shadow: 0 2px 6px rgba(28, 43, 69, .35); font-size: 12px; font-weight: 700; text-decoration: none;
	transition: transform .12s ease, background-color .12s ease;
}
.dl-map__region:hover, .dl-map__region.is-hl { transform: translate(-50%, -50%) scale(1.25); background: var(--dl-lake); z-index: 6; }
.dl-map__edge {
	position: absolute; left: 8px; z-index: 4; padding: 5px 10px; border-radius: 8px; background: #fff;
	border: 1px solid var(--dl-line); font-size: 12.5px; font-weight: 600; color: var(--dl-navy); text-decoration: none;
}
.dl-map__edge:focus-visible { outline: 3px solid var(--dl-lake); outline-offset: 2px; }

/* Cottage pins: one per area, the number of cottages shown. */
.dl-map__cot {
	position: absolute; z-index: 5; min-width: 30px; height: 30px; padding: 0 8px; transform: translate(-50%, -50%);
	display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
	background: var(--dl-navy); color: #fff; border: 2px solid var(--dl-sun); font-size: 14px; font-weight: 700; text-decoration: none;
	box-shadow: 0 3px 10px rgba(28, 43, 69, .35); box-sizing: border-box;
}
.dl-map__cot:hover { background: var(--dl-navy-2); }
.dl-map__cot:focus-visible { outline: 3px solid var(--dl-lake); outline-offset: 2px; }

/* Small maps (phones): smaller dots. */
@container (max-width: 520px) {
	.dl-map__region { width: 20px; height: 20px; font-size: 11px; }
	.dl-map__lake { width: 8px; height: 8px; margin: -4px 0 0 -4px; }
}

/* Side panel: heading (wide map), numbered region list, layer switches, note. */
.dl-map__side { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 18px; background: #fff; border-top: 1px solid var(--dl-line); }
.dl-map__h { margin: 0; font-family: var(--dl-serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--dl-navy); }
.dl-map__stats { margin: -4px 0 0; font-size: 15px; color: var(--dl-muted); }
.dl-map__legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; }
.dl-map__legend a {
	display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 6px; border-radius: 10px;
	font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--dl-navy); text-decoration: none;
}
.dl-map__legend a:hover { background: var(--dl-mist); }
.dl-map__legend a:focus-visible { outline: 3px solid var(--dl-lake); outline-offset: 1px; }
.dl-map__num {
	flex: 0 0 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
	background: var(--dl-navy); color: #fff; font-size: 12px; font-weight: 700;
}
.dl-map--wide { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); }
.dl-map--wide .dl-map__frame { max-width: none; margin: 0; align-self: center; }
.dl-map--wide .dl-map__side { border-top: 0; border-left: 1px solid var(--dl-line); padding: 28px; justify-content: center; }
.dl-map--wide .dl-map__legend { grid-template-columns: 1fr; }
.dl-map--wide .dl-map__legend a { min-height: 34px; }
.dl-map--wide { background: #E4EEF6; }
.dl-map__cap { margin: 0; font-size: 13px; line-height: 1.45; color: var(--dl-muted); }
.dl-map__layers { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-map__layers[hidden] { display: none; }
.dl-map__layers button {
	display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border: 1px solid var(--dl-line);
	border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--dl-navy); cursor: pointer;
}
.dl-map__layers button[aria-pressed="false"] { color: var(--dl-muted); background: var(--dl-mist); }
.dl-map__layers button[aria-pressed="false"] .dl-map__key { opacity: .35; }
.dl-map__layers button:focus-visible { outline: 3px solid var(--dl-lake); outline-offset: 2px; }
.dl-map__key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dl-map__key--region { background: var(--dl-navy); }
.dl-map__key--lake { background: var(--dl-lake); }
.dl-map__key--cot { background: var(--dl-navy); box-shadow: 0 0 0 2px var(--dl-sun); }

/* ------------------------------------------------------------------ */
/* Search by region                                                    */
/* ------------------------------------------------------------------ */
.dl-rb { margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--dl-line); grid-column: 1 / -1; }
.dl-rb__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 20px; }
.dl-rb__title { margin: 0 0 6px; font-family: var(--dl-serif); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.08; color: var(--dl-navy); }
.dl-rb__sub { margin: 0; font-size: 16px; color: var(--dl-muted); }
.dl-rb__find { flex: 0 1 400px; }
.dl-rb__find[hidden] { display: none; }
.dl-rb__find label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--dl-navy); }
.dl-rb__findbox { position: relative; display: flex; align-items: center; }
.dl-rb__findbox svg { position: absolute; left: 14px; color: var(--dl-lake); pointer-events: none; }
.dl-rb__findbox input {
	width: 100%; min-height: 50px; padding: 0 16px 0 42px; border: 1px solid #B9C6D3; border-radius: 14px;
	font: inherit; font-size: 16px; color: var(--dl-navy); background: #fff;
}
.dl-rb__findbox input:focus-visible { outline: 3px solid var(--dl-lake); outline-offset: 1px; border-color: var(--dl-lake); }
.dl-rb__status { min-height: 1.2em; margin: 6px 0 0; font-size: 13px; color: var(--dl-muted); }

.dl-rb__tabs { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--dl-line); }
.dl-rb__tab {
	min-height: 44px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; background: none;
	font: inherit; font-size: 15px; font-weight: 600; color: var(--dl-muted); cursor: pointer;
}
.dl-rb__tab[aria-selected="true"] { color: var(--dl-navy); border-bottom-color: var(--dl-navy); }
.dl-rb__tab:focus-visible { outline: 3px solid var(--dl-lake); outline-offset: -3px; }
.dl-rb__prov {
	display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
	background: var(--dl-mist); font-size: 14px; font-weight: 600; color: var(--dl-navy);
}

.dl-rb__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dl-rb__card {
	position: relative; display: flex; flex-direction: column; border: 1px solid var(--dl-line); border-radius: 20px;
	background: #fff; overflow: hidden; transition: box-shadow .18s ease, transform .18s ease;
}
.dl-rb__card[hidden] { display: none; }
.dl-rb__card:hover { box-shadow: 0 14px 34px rgba(28, 43, 69, .12); }
.dl-rb__media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1C2B45 0%, #44708F 100%); overflow: hidden; }
.dl-rb__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dl-rb__body { flex: 1 1 auto; padding: 16px 18px 14px; }
.dl-rb__name { margin: 0 0 4px; font-family: var(--dl-serif); font-weight: 400; font-size: 22px; line-height: 1.15; }
.dl-rb__name a { color: var(--dl-navy); text-decoration: none; }
.dl-rb__name a::after { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 16 / 9; } /* The photo opens the region too. */
.dl-rb__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dl-rb__name a:focus-visible { outline: 3px solid var(--dl-lake); outline-offset: 2px; border-radius: 4px; }
.dl-rb__count { margin: 0 0 12px; font-size: 14px; color: var(--dl-muted); }

.dl-rb__areas { border-top: 1px solid var(--dl-line); }
.dl-rb__areas summary {
	display: flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; cursor: pointer;
	font-size: 15px; font-weight: 600; color: var(--dl-navy);
}
.dl-rb__areas summary::-webkit-details-marker { display: none; }
.dl-rb__areas summary svg { margin-left: auto; transition: transform .15s ease; }
.dl-rb__areas[open] summary svg { transform: rotate(180deg); }
.dl-rb__areas summary:focus-visible { outline: 3px solid var(--dl-lake); outline-offset: 2px; border-radius: 6px; }
.dl-rb__n { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--dl-mist); font-size: 12px; }
.dl-rb__areas ul, .dl-rb__lakes { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dl-rb__areas a, .dl-rb__lakes a {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--dl-line); border-radius: 999px;
	font-size: 14px; color: var(--dl-lake); text-decoration: none; background: #fff;
}
.dl-rb__areas a:hover, .dl-rb__lakes a:hover { border-color: var(--dl-lake); }
.dl-rb__areas a:focus-visible, .dl-rb__lakes a:focus-visible { outline: 3px solid var(--dl-lake); outline-offset: 2px; }
.dl-rb__areas li.is-match a { background: var(--dl-navy); border-color: var(--dl-navy); color: #fff; }
.dl-rb__lakes[hidden], .dl-rb__lakes li[hidden] { display: none; }
.dl-rb__lakes::before { content: "Lakes"; flex: 0 0 100%; font-size: 13px; font-weight: 600; color: var(--dl-muted); }
.dl-rb__credit { margin: 0; padding: 0 18px 12px; font-size: 11.5px; line-height: 1.4; color: var(--dl-muted); }
.dl-rb__credit a { color: var(--dl-muted); }
.dl-rb__none { margin: 8px 0 0; padding: 18px; border-radius: 14px; background: var(--dl-mist); color: var(--dl-navy); }
.dl-rb__none[hidden] { display: none; }
.dl-rb__more { margin: 24px 0 0; font-weight: 600; }
.dl-rb__more a { color: var(--dl-lake); text-underline-offset: 3px; }

@media (max-width: 1080px) {
	.dl-rb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.dl-ftool__row { gap: 8px; }
	.dl-fquick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1 1 100%; order: 3; padding-bottom: 2px; }
	.dl-fquick::-webkit-scrollbar { display: none; }
	.dl-fchip { flex: 0 0 auto; }
	.dl-fsort { margin-left: auto; }
	.dl-fsort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.dl-fsort select { max-width: 190px; }
	.dl-ftool .dl-viewtoggle { display: inline-flex; }
	.dl-fpanel.is-drawer[open] .dl-fpanel__sheet { top: auto; height: 92dvh; width: 100vw; border-radius: 24px 24px 0 0; animation-name: dl-sheet-up; }
	.dl-fpanel__foot { border-radius: 0; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
	.dl-fchks { grid-template-columns: 1fr; }
	.dl-results.dl-results[data-dl-view="map"] .dl-mappanel { display: block; height: auto; }
	.dl-mappanel > .dl-map { position: static; }
	.dl-map--wide { margin: 16px 0 4px; border-radius: 18px; grid-template-columns: 1fr; }
	.dl-map--wide .dl-map__side { border-left: 0; border-top: 1px solid var(--dl-line); padding: 18px; }
	.dl-map--wide .dl-map__legend { grid-template-columns: 1fr 1fr; }
	.dl-map__h { font-size: 24px; }
	.dl-map__legend a { min-height: 44px; font-size: 13.5px; }
	.dl-rb { margin-top: 28px; padding-top: 24px; }
	.dl-rb__find { flex: 1 1 100%; }
	/* Phones: compact cards (photo left, text right) so 12 regions stay a short scroll. */
	.dl-rb__grid { grid-template-columns: 1fr; gap: 12px; }
	.dl-rb__card { display: grid; grid-template-columns: 96px minmax(0, 1fr); border-radius: 16px; }
	.dl-rb__media { aspect-ratio: auto; height: 100%; min-height: 96px; grid-row: 1 / span 2; }
	.dl-rb__body { padding: 12px 14px 8px; }
	.dl-rb__name { font-size: 20px; }
	.dl-rb__name a::after { inset: 0; aspect-ratio: auto; height: 96px; width: 96px; }
	.dl-rb__count { margin-bottom: 6px; font-size: 13.5px; }
	.dl-rb__credit { grid-column: 2; padding: 0 14px 10px; font-size: 11px; }
}
@keyframes dl-sheet-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Sponsored row on /search/?where=...: grid items may not grow past the
   column on phones once the photo loads (sideways scroll seen at 390 px). */
.dl-results .dl-spon .dl-grid > * { min-width: 0; }

/* 0.15.30-dev: "Explore the map" button laid over the SVG map (the 3D map
   loads only after this tap; see dockandloon-core assets/js/map3d.js).
   Navy button, white text (12.9:1); hidden until the script shows it. */
.dl-map__explore { position: absolute; right: 12px; bottom: 12px; z-index: 3; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--dl-navy); color: #fff; font: 600 15px/1 var(--dl-sans); cursor: pointer; box-shadow: 0 6px 18px rgba(28,43,69,.28); }
.dl-map__explore[hidden] { display: none; }
.dl-map__explore:hover { background: #26395A; }
.dl-map__explore:focus-visible { outline: 3px solid var(--dl-lake); outline-offset: 3px; }
.dl-map__explore-ico { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8CB3D0 0 35%, #44708F 36% 70%, #F2C14E 71%); }
.dl-map__frame[hidden] { display: none; }
@media (max-width: 720px) { .dl-map__explore { min-height: 40px; padding: 0 14px; font-size: 14px; bottom: 8px; right: 8px; } }
.dl-map__note { margin: 8px 14px; font-size: 14px; color: var(--dl-muted); }
