/* =========================================================================
   Map view — Figma 204:468 desktop · 323:2573 mobile
   ========================================================================= */

.u-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/*
 * Upcoming tax sales — desktop fidelity pass for Figma frame 204:468.
 * Kept page-scoped so the shared header remains responsive everywhere else.
 */

@media (min-width: 1201px) {
	.page-id-39 .site-nav {
		display: block !important;
	}
}

@media (min-width: 1360px) {
	.page-id-39 .site-header__inner {
		display: grid;
		grid-template-columns: 132px minmax(0, 1fr) auto;
		column-gap: 48px;
		min-height: 76px;
	}

	.page-id-39 .site-header__logo,
	.page-id-39 .site-header__logo img,
	.page-id-39 .site-header__logo .custom-logo,
	.page-id-39 .site-header__logo-img {
		width: 132px;
		height: 36px;
		object-fit: contain;
	}

	.page-id-39 .site-nav {
		display: block !important;
		justify-self: center;
		margin: 0;
	}

	.page-id-39 .site-nav__menu {
		gap: 32px;
	}

	.page-id-39 .site-header__actions {
		gap: 12px;
	}

	.page-id-39 .site-header__search {
		width: 42px;
		height: 42px;
	}

	.page-id-39 .page.u-container {
		max-width: none;
		padding-inline: 0;
	}

	.page-id-39 .mapview {
		--mapview-aside: 480px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) 437px 48px;
		grid-template-rows: 169px 72px 780px;
		gap: 0;
		width: 100%;
		padding: 0;
	}

	.page-id-39 .mapview__head {
		grid-column: 1 / -1;
		grid-row: 1;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		width: 100%;
		height: 169px;
		max-width: none;
		padding: 32px 48px;
		box-sizing: border-box;
		background: #fafaf6;
	}

	.page-id-39 .mapview__crumb {
		flex: 0 0 18px;
		font-size: 12px;
		line-height: 18px;
	}

	.page-id-39 .mapview__title {
		flex: 0 0 47px;
		height: 47px;
		margin: 0;
		font-size: 47px;
		font-weight: 500;
		line-height: 1;
		letter-spacing: -1.41px;
	}

	.page-id-39 .mapview__sub {
		flex: 0 0 24px;
		font-size: 16px;
		line-height: 24px;
		color: #5c544a;
	}

	.page-id-39 .mapview__search {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
		margin-bottom: 32px;
		display: flex;
		align-items: center;
		height: 69px;
		padding: 12px;
		border-color: #d8d1c2;
		border-radius: 10px;
		box-shadow: 0 4px 12px -2px rgba(26, 24, 22, 0.06), 0 1px 2px rgba(26, 24, 22, 0.05);
		overflow: visible;
	}

	.page-id-39 .mapview__search-field,
	.page-id-39 .mapview__search-input {
		height: 43px;
	}

	.page-id-39 .mapview__search-btn {
		height: 45px;
		padding-inline: 24px;
		border-radius: 8px;
	}

	.page-id-39 .mapview__toolbar {
		grid-column: 1 / -1;
		grid-row: 2;
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
		width: 100%;
		height: 72px;
		padding: 12px 48px;
		box-sizing: border-box;
		border-top: 1px solid #e7e2d7;
		border-bottom: 1px solid #e7e2d7;
		background: #fff;
	}

	.page-id-39 .mapview__filters,
	.page-id-39 .mapview__controls {
		flex-wrap: nowrap;
		gap: 12px;
	}

	.page-id-39 .mapview__pill {
		height: 48px;
		padding: 0 12px 0 16px;
		border-color: #d8d1c2;
		border-radius: 8px;
		font-size: 16px;
		font-weight: 400;
	}

	.page-id-39 .mapview__pill.is-active {
		border-width: 1.5px;
	}

	.page-id-39 .mapview__pill--sort {
		min-width: 183px;
		border: 1px solid #d8d1c2;
		background: #fff;
		color: #1a1816;
	}

	.page-id-39 .mapview__toggle {
		height: 37px;
		padding: 0;
		border-color: #d8d1c2;
		border-radius: 8px;
		overflow: hidden;
	}

	.page-id-39 .mapview__toggle-btn {
		height: 37px;
		padding-inline: 16px;
		border-radius: 0;
		font-size: 16px;
		font-weight: 400;
	}

	.page-id-39 .mapview__body,
	.page-id-39 .mapview__body[data-view="map"] {
		grid-column: 1 / -1;
		grid-row: 3;
		display: grid;
		grid-template-columns: 480px minmax(0, 1fr);
		gap: 0;
		width: 100%;
		height: 780px;
		min-height: 780px;
		border: 0;
		border-radius: 0;
		overflow: hidden;
	}

	.page-id-39 .mapview__aside {
		min-height: 780px;
		max-height: 780px;
		padding-left: 48px;
		box-sizing: border-box;
		border-right: 1px solid #e7e2d7;
		overflow: hidden;
	}

	.page-id-39 .mapview__aside-head {
		flex: 0 0 51px;
		height: 51px;
		padding: 16px;
		box-sizing: border-box;
	}

	.page-id-39 .mapview__aside-count {
		font-size: 16px;
		line-height: 19px;
	}

	.page-id-39 .mapview__cards {
		flex: 0 0 600px;
		display: block;
		height: 600px;
		padding: 0;
		overflow: hidden;
	}

	.page-id-39 .mapview-card {
		display: grid;
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 14px;
		height: 120px;
		padding: 16px;
		box-sizing: border-box;
		border: 0;
		border-bottom: 1px solid #e7e2d7;
		border-radius: 0;
		overflow: hidden;
	}

	.page-id-39 .mapview-card:nth-child(n + 6) {
		display: none;
	}

	.page-id-39 .mapview-card:hover,
	.page-id-39 .mapview-card:focus-visible,
	.page-id-39 .mapview-card.is-active {
		border-color: #e7e2d7;
		background: #fafaf6;
	}

	.page-id-39 .mapview-card__media {
		width: 88px;
		height: 88px;
		border-radius: 8px;
	}

	.page-id-39 .mapview-card__body {
		gap: 3px;
		padding-right: 24px;
		overflow: hidden;
	}

	.page-id-39 .mapview-card__title {
		font-size: 16px;
		line-height: 19px;
	}

	.page-id-39 .mapview-card__loc,
	.page-id-39 .mapview-card__assessed,
	.page-id-39 .mapview-card__when {
		font-family: var(--font-sans);
		font-size: 12px;
		font-weight: 400;
		line-height: 18px;
	}

	.page-id-39 .mapview-card__price {
		margin: 0;
		font-size: 16px;
		font-weight: 500;
		line-height: 18px;
		color: #1a1816;
	}

	.page-id-39 .mapview-card__when {
		margin: 0;
	}

	.page-id-39 .mapview__pager {
		flex: 0 0 72px;
		height: 72px;
		padding: 16px 12px;
		box-sizing: border-box;
		border-top: 0;
	}

	.page-id-39 .mapview__page {
		height: 40px;
		min-width: 40px;
		border-radius: 8px;
		font-size: 16px;
	}

	.page-id-39 .mapview__map-panel {
		height: 780px;
		min-height: 780px;
	}

	.page-id-39 .mapview__map-tools {
		top: 20px;
		left: 16px;
		right: 48px;
	}

	.page-id-39 .mapview__tool {
		height: 39px;
		border-radius: 999px;
		font-size: 16px;
	}

	.page-id-39 .mapview__tool--draw {
		height: 38px;
		border-radius: 8px;
		font-size: 12px;
		font-weight: 400;
	}

	.page-id-39 .site-footer {
		margin-top: 0;
	}
}

/* Escape page prose column */
.page:has(.mapview) .page__head { display: none; }
.page:has(.mapview) .page__content,
.page:has(.mapview) .prose {
	max-width: none;
	margin: 0;
	color: inherit;
	line-height: inherit;
}
.page:has(.mapview) .prose > * + * { margin-top: 0; }
.page:has(.mapview) .prose .mapview a { text-decoration: none; }

.mapview {
	--mv-red: #a03038;
	--mv-red-hover: #882830;
	--mv-ink: #1a1816;
	--mv-muted: #6e665a;
	--mv-soft: #5c544a;
	--mv-line: #e7e2d7;
	--mv-cream: #faf7f1;
	--mapview-aside: 38%;
	display: grid;
	gap: 20px;
	width: 100%;
	padding: 12px 0 56px;
	color: var(--mv-ink);
}

/* Head */
.mapview__head { display: grid; gap: 8px; max-width: 760px; }
.mapview__crumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	color: var(--mv-muted);
}
.mapview__crumb a { color: var(--mv-muted); text-decoration: none; }
.mapview__crumb a:hover { color: var(--mv-red); }
.mapview__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2rem, 3vw, 2.75rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.08;
	color: var(--mv-ink);
}
.mapview__sub {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--mv-muted);
}

/* Search — single bordered field + button (Figma) */
.mapview__search {
	display: flex;
	align-items: stretch;
	gap: 0;
	border: 1px solid var(--mv-line);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}
.mapview__search-field {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
}
.mapview__search-icon {
	position: absolute;
	left: 16px;
	color: var(--mv-muted);
	pointer-events: none;
}
.mapview__search-input {
	width: 100%;
	height: 52px;
	padding: 0 16px 0 44px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 1rem;
	color: var(--mv-ink);
	border-radius: 0;
	box-shadow: none;
}
.mapview__search-input::placeholder { color: #9a958a; }
.mapview__search-input:focus { outline: none; }
.mapview__search:focus-within {
	border-color: var(--mv-red);
	box-shadow: 0 0 0 3px rgba(160, 48, 56, 0.12);
}
.mapview__search-btn {
	flex-shrink: 0;
	height: 52px;
	padding: 0 28px;
	border: 0;
	border-left: 1px solid transparent;
	border-radius: 0;
	background: var(--mv-red);
	color: #fff7f0;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}
.mapview__search-btn:hover { background: var(--mv-red-hover); }

/* Toolbar */
.mapview__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
}
.mapview__filters,
.mapview__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.mapview__filter { position: relative; }
.mapview__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--mv-line);
	border-radius: 999px;
	background: #fff;
	color: var(--mv-ink);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
}
.mapview__pill::after {
	content: "";
	width: 7px; height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: 0.5;
}
/* Figma active chips: maroon outline + text, not pink fill */
.mapview__pill.is-active {
	border-color: var(--mv-red);
	background: #fff;
	color: var(--mv-red);
}
.mapview__pill--sort {
	border-color: transparent;
	background: transparent;
	padding-inline: 8px;
	color: var(--mv-soft);
}
.mapview__pill--sort:hover { background: var(--mv-cream); }

.mapview__menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 40;
	min-width: 200px;
	max-height: 280px;
	overflow: auto;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--mv-line);
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(26, 24, 22, 0.12);
}
.mapview__filter[data-ots-mapview-filter="sort"] .mapview__menu {
	left: auto; right: 0;
}
.mapview__menu [role="option"] {
	padding: 9px 12px;
	border-radius: 7px;
	font-size: 0.875rem;
	cursor: pointer;
}
.mapview__menu [role="option"]:hover { background: var(--mv-cream); }
.mapview__menu [role="option"].is-selected {
	color: var(--mv-red);
	font-weight: 600;
}

.mapview__toggle {
	display: inline-flex;
	padding: 3px;
	border: 1px solid var(--mv-line);
	border-radius: 999px;
	background: #fff;
}
.mapview__toggle-btn {
	height: 32px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--mv-soft);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}
.mapview__toggle-btn.is-active {
	background: var(--mv-red);
	color: #fff7f0;
}

/* Body split ~38 / 62 */
.mapview__body { display: grid; gap: 0; min-height: 720px; }
.mapview__body[data-view="map"] {
	grid-template-columns: minmax(320px, var(--mapview-aside)) minmax(0, 1fr);
	border: 1px solid var(--mv-line);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}
.mapview__body[data-view="list"] {
	grid-template-columns: 1fr;
	border: 0;
	min-height: 0;
}
.mapview__body[data-view="list"] .mapview__aside,
.mapview__body[data-view="list"] .mapview__map-panel { display: none; }

.mapview__aside {
	display: flex;
	flex-direction: column;
	min-height: 720px;
	max-height: min(80vh, 900px);
	border-right: 1px solid var(--mv-line);
	background: #fff;
}
.mapview__aside-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--mv-line);
}
.mapview__aside-count {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--mv-ink);
}
.mapview__aside-sort {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--mv-muted);
}
.mapview__cards {
	flex: 1;
	overflow: auto;
	padding: 8px;
	display: grid;
	gap: 2px;
	align-content: start;
}
.mapview__empty {
	margin: 0;
	padding: 40px 20px;
	text-align: center;
	color: var(--mv-muted);
	font-size: 0.875rem;
}

/* Compact cards */
.mapview-card {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 12px;
	padding: 12px;
	border: 1px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease;
}
.mapview-card:hover,
.mapview-card:focus-visible,
.mapview-card.is-active {
	border-color: var(--mv-line);
	background: var(--mv-cream);
	outline: none;
}
.mapview-card__media {
	position: relative;
	width: 92px;
	height: 92px;
	border-radius: 10px;
	overflow: hidden;
	background: #e8e7db;
}
.mapview-card__media img {
	width: 100%; height: 100%;
	object-fit: cover; display: block;
}
.mapview-card__media--lock,
.mapview-card__media--empty {
	display: grid;
	place-items: center;
	color: var(--mv-muted);
}
.mapview-card__media--lock { background: #f4f1f1; }
.mapview-card__lock { display: grid; place-items: center; color: var(--mv-muted); }
.mapview-card__badge {
	position: absolute;
	top: 8px; left: 8px;
	z-index: 1;
	display: inline-flex;
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--mv-red);
	color: #fff7f0;
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1;
}
.mapview-card__badge--members { background: var(--mv-ink); }
.mapview-card__body {
	position: relative;
	display: grid;
	gap: 3px;
	min-width: 0;
	align-content: start;
	padding-right: 28px;
}
.mapview-card__heart {
	position: absolute;
	top: 0; right: 0;
	display: grid;
	place-items: center;
	width: 28px; height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--mv-muted);
	cursor: pointer;
}
.mapview-card__heart:hover { color: var(--mv-red); }
.mapview-card__title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--mv-ink);
}
.mapview-card__title a { color: inherit; text-decoration: none; }
.mapview-card__title a:hover { color: var(--mv-red); }
.mapview-card__loc {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--mv-muted);
}
.mapview-card__price {
	margin: 4px 0 0;
	font-family: var(--font-mono);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--mv-red);
}
.mapview-card__assessed {
	margin: 0;
	font-size: 0.75rem;
	color: var(--mv-muted);
}
.mapview-card__when {
	margin: 4px 0 0;
	font-size: 0.75rem;
	line-height: 1.4;
	color: var(--mv-soft);
}

/* Pager — active as maroon circle */
.mapview__pager {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	padding: 14px 12px;
	border-top: 1px solid var(--mv-line);
}
.mapview__page {
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border: 1px solid var(--mv-line);
	border-radius: 999px;
	background: #fff;
	color: var(--mv-ink);
	font: inherit;
	font-size: 0.875rem;
	cursor: pointer;
}
.mapview__page:disabled { opacity: 0.35; cursor: default; }
.mapview__page.is-current,
.mapview__page:hover:not(:disabled) {
	background: var(--mv-red);
	border-color: var(--mv-red);
	color: #fff7f0;
}
.mapview__page-gap {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	color: var(--mv-muted);
}

/* Map panel */
.mapview__map-panel {
	position: relative;
	min-height: 720px;
	background: #e8e7db;
}
.mapview__map-panel .ots-map--view {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: 0;
}
.ots-map--view .leaflet-tile-pane {
	filter: sepia(0.22) saturate(0.5) hue-rotate(8deg) brightness(1.04) contrast(0.94);
}
.ots-map--view.is-drawing,
.ots-map--view.is-drawing .leaflet-container { cursor: crosshair !important; }

/* Map-view pins — Figma 204:468: red price pills, black when selected */
.ots-map--view .ots-pin {
	background: var(--mv-red);
	color: #fff7f0;
	border: 2px solid #fff;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(26, 24, 22, 0.18);
}
.ots-map--view .leaflet-marker-icon:hover .ots-pin,
.ots-map--view .ots-pin:hover { background: var(--mv-red-hover); }
.ots-map--view .ots-pin.is-selected {
	background: #201d18;
}
.ots-map--view .leaflet-marker-icon:hover .ots-pin.is-selected,
.ots-map--view .ots-pin.is-selected:hover { background: #201d18; }
.ots-map--view .ots-cluster {
	background: var(--mv-red);
	border: 3px solid #fff;
	width: 40px; height: 40px;
	font-family: var(--font-mono);
	font-weight: 600;
}

.mapview__map-tools {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 16px;
	z-index: 500;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	pointer-events: none;
}
.mapview__map-tools .mapview__tool { pointer-events: auto; }
.mapview__tool {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--mv-line);
	border-radius: 999px;
	background: #fff;
	color: var(--mv-ink);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	box-shadow: 0 4px 14px rgba(26, 24, 22, 0.1);
	cursor: pointer;
}
.mapview__tool--draw {
	position: absolute;
	right: 0;
	top: 0;
}
.mapview__tool.is-active,
.mapview__tool[aria-pressed="true"] {
	background: var(--mv-red);
	border-color: var(--mv-red);
	color: #fff7f0;
}
.mapview__map-panel .leaflet-bottom.leaflet-right {
	bottom: 16px;
	right: 12px;
}
.mapview__map-panel .leaflet-control-zoom {
	border: 0 !important;
	margin: 0 !important;
	box-shadow: 0 4px 14px rgba(26, 24, 22, 0.12);
	border-radius: 10px;
	overflow: hidden;
}
.mapview__map-panel .leaflet-control-zoom a {
	width: 38px !important;
	height: 38px !important;
	line-height: 38px !important;
	font-size: 18px !important;
	color: var(--mv-ink) !important;
	background: #fff !important;
}

/* Map popup — Figma card tooltip */
.mapview__map-panel .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: 12px;
	box-shadow: 0 12px 34px rgba(26, 24, 22, 0.16);
	overflow: hidden;
}
.mapview__map-panel .leaflet-popup-content {
	margin: 0;
	min-width: 220px;
}
.mapview__map-panel .leaflet-popup-tip { background: #fff; }
.mapview-popup {
	display: grid;
	gap: 4px;
	padding: 14px 16px 16px;
}
.mapview-popup__badge {
	justify-self: start;
	display: inline-flex;
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--mv-red);
	color: #fff7f0;
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 2px;
}
.mapview-popup__loc {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--mv-muted);
}
.mapview-popup__title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--mv-ink);
}
.mapview-popup__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: baseline;
	font-size: 0.8125rem;
	color: var(--mv-soft);
}
.mapview-popup__meta em {
	font-style: normal;
	font-family: var(--font-mono);
	font-weight: 600;
	color: var(--mv-red);
}
.mapview-popup__link {
	margin-top: 4px;
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--mv-red);
}

/* List grid */
.mapview__grid-wrap { width: 100%; }
.mapview__grid {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}
.mapview__grid .pcard { max-width: none; width: 100%; }

/* ---- Mobile 323:2573 ---------------------------------------------------- */
@media (max-width: 960px) {
	.mapview { gap: 16px; padding-bottom: 36px; }
	.mapview__title { font-size: 1.75rem; }
	.mapview__filters {
		width: 100%;
		overflow-x: auto;
		flex-wrap: nowrap;
		scrollbar-width: none;
	}
	.mapview__filters::-webkit-scrollbar { display: none; }
	.mapview__controls {
		width: 100%;
		justify-content: space-between;
	}
	.mapview__body[data-view="map"] {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.mapview__aside {
		order: 2;
		max-height: none;
		min-height: 0;
		border-right: 0;
		border-top: 1px solid var(--mv-line);
	}
	.mapview__map-panel {
		order: 1;
		min-height: 340px;
		height: 340px;
	}
	.mapview__tool--draw { position: static; }
	.mapview__map-tools {
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 8px;
	}

	.mapview-card {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 0 0 18px;
		border: 0;
		border-bottom: 1px solid var(--mv-line);
		border-radius: 0;
	}
	.mapview-card:hover,
	.mapview-card:focus-visible,
	.mapview-card.is-active {
		border-color: transparent;
		border-bottom-color: var(--mv-line);
		background: transparent;
	}
	.mapview-card__media {
		width: 100%;
		height: 210px;
		border-radius: 12px;
	}
	.mapview-card__body { padding-right: 32px; }
	.mapview-card__title { font-size: 1.0625rem; }
	.mapview__grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
	.mapview__search {
		flex-direction: column;
		border: 0;
		background: transparent;
		overflow: visible;
		gap: 10px;
	}
	.mapview__search-field {
		border: 1px solid var(--mv-line);
		border-radius: 10px;
		background: #fff;
	}
	.mapview__search:focus-within { box-shadow: none; }
	.mapview__search-field:focus-within {
		border-color: var(--mv-red);
		box-shadow: 0 0 0 3px rgba(160, 48, 56, 0.12);
	}
	.mapview__search-btn {
		width: 100%;
		height: 48px;
		border-radius: 8px;
	}
	.mapview__map-panel {
		height: 280px;
		min-height: 280px;
	}
}
