.wp-block-wnypress-western-new-york-map.wnypress-wny-map {
	position: relative;
	width: 100%;
	min-height: var(--wnypress-map-height, 300px);
	overflow: hidden;
	background: #eef2f4;
}

.wnypress-wny-map__canvas,
.wnypress-wny-map__notice,
.wnypress-wny-map__editor-preview {
	width: 100%;
	height: var(--wnypress-map-height, 300px);
	min-height: 220px;
}

.wnypress-wny-map__notice {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 2rem;
	border: 1px dashed #9ca3af;
	color: #4b5563;
	text-align: center;
	background: #f8fafc;
}

.wnypress-wny-map--editor {
	border: 1px solid #d7dde3;
}

.wnypress-wny-map--editor .components-notice {
	position: absolute;
	z-index: 4;
	top: 12px;
	left: 12px;
	right: 12px;
	margin: 0;
}

.wnypress-wny-map__editor-preview {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(145deg, rgba(186, 230, 253, .75) 0 24%, transparent 24% 100%),
		linear-gradient(12deg, rgba(186, 230, 253, .72) 0 18%, transparent 18% 100%),
		#eef6e9;
}

.wnypress-wny-map__editor-preview::before,
.wnypress-wny-map__editor-preview::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(16deg, transparent 48%, rgba(100,116,139,.22) 49%, rgba(100,116,139,.22) 50%, transparent 51%),
		linear-gradient(96deg, transparent 48%, rgba(100,116,139,.14) 49%, rgba(100,116,139,.14) 50%, transparent 51%);
	background-size: 180px 100px, 220px 140px;
	opacity: .7;
}

.wnypress-wny-map__editor-region {
	position: absolute;
	z-index: 2;
	left: 28%;
	top: 24%;
	width: 50%;
	height: 55%;
	background: rgba(245, 158, 11, .22);
	border: 2px solid #d97706;
	clip-path: polygon(4% 5%, 100% 0, 96% 75%, 74% 100%, 8% 92%, 0 50%);
}

.wnypress-wny-map__editor-lake,
.wnypress-wny-map__editor-city,
.wnypress-wny-map__editor-title {
	position: absolute;
	z-index: 3;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wnypress-wny-map__editor-lake {
	font-size: 12px;
	font-style: italic;
	color: #2563a7;
}

.wnypress-wny-map__editor-lake--ontario {
	top: 8%;
	left: 53%;
}

.wnypress-wny-map__editor-lake--erie {
	left: 8%;
	bottom: 20%;
}

.wnypress-wny-map__editor-city {
	font-size: 12px;
	font-weight: 600;
	color: #111827;
}

.wnypress-wny-map__editor-city::before {
	content: '';
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 5px;
	border-radius: 50%;
	background: currentColor;
}

.wnypress-wny-map__editor-city--buffalo {
	left: 31%;
	top: 52%;
}

.wnypress-wny-map__editor-city--niagara {
	left: 30%;
	top: 30%;
}

.wnypress-wny-map__editor-city--rochester {
	left: 66%;
	top: 33%;
}

.wnypress-wny-map__editor-title {
	left: 50%;
	bottom: 13%;
	transform: translateX(-50%);
	padding: 5px 9px;
	background: rgba(255,255,255,.9);
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

@media (max-width: 600px) {
	.wnypress-wny-map__editor-city--rochester {
		left: 61%;
	}
}
