/* Google Maps embed (Custom HTML): auto-wrapped by inc/location-map-embed.php */

.entry-content .wp-block-html:has(.sk-location-map),
.entry-content .wp-block-html:has(iframe[src*="google.com/maps/embed"]),
.block-editor-block-list__block .wp-block-html:has(iframe[src*="google.com/maps/embed"]) {
	background: transparent;
	margin-block: 0;
	padding: 0;
	width: 100%;
}

.sk-location-map {
	position: relative;
	width: 100%;
	margin-inline: auto;
	border: none;
	border-radius: 8px;
	overflow: hidden;
	line-height: 0;
	background-color: var(--wp--preset--color--sk-cream, #f5ede0);
}

/* Google Share → Embed: Small (400×300), Medium (600×450), Large (800×600). */
.sk-location-map--small {
	max-width: 400px;
	height: 300px;
}

.sk-location-map--medium {
	max-width: 600px;
	height: 450px;
}

.sk-location-map--large {
	max-width: min(800px, 100%);
	height: 600px;
}

.sk-location-map__embed,
.sk-location-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	pointer-events: none;
}
