/*
 * Sijainti, "Löydät meidät Vantaalta" (patterns/map.php): address with the
 * map pin, static map image linked to Google Maps.
 */

.kt-map .kt-map__columns {
	margin-block: 0;
}

.kt-map__intro > * {
	margin-block: 0;
}

.kt-map .kt-map__heading {
	margin-block-start: var(--wp--preset--spacing--30);
	line-height: 1.1;
}

.kt-map .kt-map__address {
	position: relative;
	margin-block-start: var(--wp--preset--spacing--60);
	padding-inline-start: 4rem;
	line-height: 1.45;
}

/* Red map pin, a fixed functional icon. */
.kt-map__address::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0.5rem;
	width: 2.25rem;
	height: 3.2rem;
	background-color: var(--wp--preset--color--red);
	mask: url(../images/map-pin.svg) center / contain no-repeat;
	transform: translateY(-50%);
}

.kt-map__address a {
	color: inherit;
	text-decoration: none;
}

.kt-map__address a:hover,
.kt-map__address a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.kt-map .kt-map__image {
	margin: 0;
}

.kt-map__image img {
	display: block;
	width: 100%;
	height: auto;
}

.kt-map__image a:focus-visible {
	display: block;
	outline: 2px solid var(--wp--preset--color--near-black);
	outline-offset: 4px;
}
