.vw-header-area {
	margin-bottom: 0 !important;
}

.vw-footer {
	margin-top: 0 !important;
}

.sv-map-page {
	max-width: none;
	margin: 0;
	padding: 18px 18px 28px;
	background: #f6efe1;
}

.sv-map-shell {
	display: grid;
	gap: 16px;
	max-width: 1440px;
	margin: 0 auto;
}

.sv-map-controls {
	position: relative;
	z-index: 20;
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(170px, .75fr) auto;
	align-items: stretch;
	width: min(820px, 100%);
	margin: 0 auto;
	border: 1px solid #d9c7aa;
	border-radius: 8px;
	background: #fffdf8;
	box-shadow: 0 18px 42px rgba(68, 54, 30, .16);
}

.sv-map-filter-pill,
.sv-map-search-button {
	min-height: 64px;
	border: 0;
	border-radius: 0;
	font: inherit;
	cursor: pointer;
}

.sv-map-filter-pill {
	display: grid;
	gap: 3px;
	padding: 12px 28px;
	text-align: left;
	background: transparent;
	border-right: 1px solid #e1d5c3;
	color: #2d2d2d;
}

.sv-map-filter-pill:first-of-type {
	border-radius: 8px 0 0 8px;
}

.sv-map-filter-pill[aria-expanded="true"] {
	background: #fff8eb;
	box-shadow: inset 0 0 0 2px #d85f32;
}

.sv-map-filter-pill span {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #776f63;
}

.sv-map-filter-pill strong {
	overflow: hidden;
	color: #24211d;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sv-map-search-button {
	padding: 0 28px;
	border-radius: 0 8px 8px 0;
	background: #d85f32;
	color: #fff;
	font-weight: 800;
}

.sv-map-search-button:hover {
	background: #bd4c25;
}

.sv-map-popover {
	position: absolute;
	top: calc(100% + 12px);
	z-index: 1300;
	width: min(560px, calc(100vw - 36px));
	padding: 16px;
	border: 1px solid #d6c8b1;
	border-radius: 8px;
	background: #fffdf8;
	box-shadow: 0 22px 54px rgba(44, 36, 24, .22);
}

.sv-map-popover-where {
	left: 0;
}

.sv-map-popover-when {
	left: 30%;
	max-width: 460px;
}

.sv-map-location-search {
	display: block;
	margin: 0 0 12px;
}

.sv-map-location-search span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.sv-map-location-search input {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 2px solid #e0b643;
	border-radius: 8px;
	background: #fff;
	font-size: 18px;
}

.sv-map-location-options {
	display: grid;
	max-height: 430px;
	overflow: auto;
}

.sv-map-location-options button {
	display: grid;
	grid-template-columns: 30px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 12px 6px;
	border: 0;
	border-bottom: 1px solid #eee4d5;
	background: transparent;
	color: #2d2d2d;
	text-align: left;
	cursor: pointer;
}

.sv-map-location-options button:hover,
.sv-map-location-options button.is-active {
	background: #fff5df;
}

.sv-map-location-icon {
	font-size: 22px;
	color: #907b58;
}

.sv-map-location-copy strong,
.sv-map-location-copy small,
.sv-map-location-count {
	display: block;
}

.sv-map-location-copy strong {
	color: #24211d;
	font-size: 18px;
}

.sv-map-location-copy small,
.sv-map-location-count {
	color: #766d61;
	font-size: 14px;
}

.sv-map-popover p {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #776f63;
}

.sv-map-location-help {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	color: #776f63;
}

.sv-map-location-empty {
	padding: 18px 14px;
	border: 1px dashed #d6c8b1;
	border-radius: 8px;
	color: #776f63;
	font-weight: 700;
	text-align: center;
}

.sv-map-when-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.sv-map-when-options button {
	appearance: none;
	min-height: 46px;
	border: 1px solid #d7c9b4;
	border-radius: 8px;
	background: #fff;
	color: #24211d !important;
	-webkit-text-fill-color: #24211d;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.sv-map-when-options button:hover,
.sv-map-when-options button.is-active {
	border-color: #d85f32;
	background: #d85f32;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.sv-map-workspace {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(360px, 43%) minmax(0, 1fr);
	height: clamp(560px, calc(100vh - 190px), 820px);
	min-height: 0;
	border: 1px solid #decfb7;
	border-radius: 8px;
	overflow: hidden;
	background: #fffdf8;
	box-shadow: 0 18px 42px rgba(68, 54, 30, .12);
}

.sv-map-results {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	min-height: 0;
	border-right: 1px solid #decfb7;
	background: #fff8eb;
}

.sv-map-results-header {
	display: flex;
	gap: 16px;
	justify-content: space-between;
	align-items: end;
	padding: 24px;
	border-bottom: 1px solid #eadcc5;
}

.sv-map-kicker {
	margin: 0 0 5px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #a65131;
}

.sv-map-results-header h1 {
	margin: 0;
	font-size: 36px;
	line-height: 1.05;
	color: #2d2d2d;
}

.sv-map-status {
	flex: 0 0 auto;
	min-height: 22px;
	font-size: 14px;
	font-weight: 700;
	color: #776f63;
}

.sv-map-canvas {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-height: 0;
	background: #ece7de;
}

.sv-map-canvas .leaflet-pane,
.sv-map-canvas .leaflet-top,
.sv-map-canvas .leaflet-bottom {
	z-index: 1;
}

.sv-map-canvas .leaflet-control {
	z-index: 2;
}

.sv-map-list {
	display: grid;
	align-content: start;
	gap: 14px;
	min-height: 0;
	padding: 18px 18px 26px;
	overflow: auto;
}

.sv-map-date-heading {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin: 8px 4px 0;
	color: #2d2d2d;
}

.sv-map-date-heading span {
	font-size: 24px;
	font-weight: 900;
	text-transform: uppercase;
}

.sv-map-date-heading small {
	color: #776f63;
	font-weight: 800;
}

.sv-map-event-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 16px;
	padding: 14px;
	border: 1px solid #eadcc5;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(68, 54, 30, .08);
}

.sv-map-event-card:hover {
	border-color: #d85f32;
}

.sv-map-card-media {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: #e4dac7;
	aspect-ratio: 1 / 1;
}

.sv-map-card-art {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sv-map-card-art-fallback {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #e7b55b, #55865b);
	color: #fff;
	font-size: 34px;
	font-weight: 900;
}

.sv-map-type {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 6px 8px;
	background: #55865b;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
}

.sv-map-type-social {
	background: #b84b42;
}

.sv-map-type-lesson-social,
.sv-map-type-festival {
	background: #3f7194;
}

.sv-map-card-body {
	display: grid;
	align-content: center;
	gap: 7px;
	min-width: 0;
}

.sv-map-card-body strong {
	font-size: 20px;
	line-height: 1.12;
	color: #303030;
}

.sv-map-card-body span {
	color: #68625a;
	font-size: 15px;
	font-weight: 650;
}

.sv-map-empty {
	padding: 28px;
	border: 1px dashed #d6c8b1;
	border-radius: 8px;
	color: #776f63;
	text-align: center;
}

.leaflet-popup-content-wrapper {
	border-radius: 8px;
	padding: 0;
	overflow: hidden;
}

.leaflet-popup-content {
	margin: 0;
}

.sv-map-popup {
	width: 300px;
	background: #fffdf8;
	color: #2d2d2d;
}

.sv-map-popup-hero {
	position: relative;
	height: 132px;
	background: #e4dac7;
}

.sv-map-popup-hero img,
.sv-map-popup-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sv-map-popup-fallback {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #e7b55b, #55865b);
	color: #fff;
	font-size: 42px;
	font-weight: 900;
}

.sv-map-popup-hero span {
	position: absolute;
	left: 12px;
	bottom: 10px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(44, 44, 44, .84);
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.sv-map-popup-body {
	display: grid;
	gap: 9px;
	padding: 14px;
}

.sv-map-popup h2 {
	margin: 0;
	font-size: 19px;
	line-height: 1.12;
}

.sv-map-popup p {
	margin: 0;
	color: #68625a;
	font-size: 13px;
}

.sv-map-popup-meta {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	padding: 10px;
	border-radius: 8px;
	background: #f5ecd9;
	font-size: 13px;
}

.sv-map-popup small {
	color: #776f63;
	font-weight: 700;
}

.sv-map-popup a {
	display: block;
	padding: 11px 12px;
	border-radius: 8px;
	background: #d85f32;
	color: #fff;
	font-weight: 900;
	text-align: center;
	text-decoration: none;
}

@media (max-width: 900px) {
	.sv-map-page {
		padding: 12px;
	}

	.sv-map-controls {
		grid-template-columns: 1fr 1fr;
	}

	.sv-map-search-button {
		grid-column: 1 / -1;
		border-radius: 0 0 8px 8px;
	}

	.sv-map-filter-pill:nth-of-type(2) {
		border-right: 0;
	}

	.sv-map-workspace {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 0;
	}

	.sv-map-results {
		order: 2;
		border-right: 0;
	}

	.sv-map-canvas {
		order: 1;
		height: auto;
		min-height: 54vh;
	}

	.sv-map-list {
		overflow: visible;
	}
}

@media (max-width: 560px) {
	.sv-map-controls {
		width: 100%;
	}

	.sv-map-filter-pill {
		padding: 10px 14px;
	}

	.sv-map-filter-pill strong {
		font-size: 18px;
	}

	.sv-map-results-header {
		display: grid;
		padding: 18px;
	}

	.sv-map-results-header h1 {
		font-size: 30px;
	}

	.sv-map-event-card {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 12px;
		padding: 12px;
	}

	.sv-map-card-body strong {
		font-size: 17px;
	}

	.sv-map-card-body span {
		font-size: 14px;
	}
}
