.development-location-block {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: 1fr 1fr;
	width: 100%;

	@media(width <= 886px) {
		grid-template-columns: 1fr;
	}

	.development-location-map {
		background-color: var(--wp--preset--color--light-grey);
		border-radius: 8px;
		min-height: 360px;
		overflow: hidden;
		position: relative;
		width: 100%;

		/* Once development-location-block.js swaps in the live Google Map,
		   its own canvas fills this element and this placeholder is emptied
		   out — see $map.empty() in that script. */
		.development-location-map-placeholder {
			align-items: center;
			display: flex;
			flex-direction: column;
			gap: 12px;
			height: 100%;
			justify-content: center;
			left: 0;
			position: absolute;
			top: 0;
			width: 100%;
		}

		.placeholder-pin {
			background-color: transparent;
			border: 2px solid var(--wp--preset--color--green);
			border-radius: 50% 50% 50% 0;
			display: block;
			height: 32px;
			transform: rotate(-45deg);
			width: 32px;

			&::after {
				background-color: var(--wp--preset--color--green);
				border-radius: 50%;
				content: "";
				display: block;
				height: 10px;
				left: 50%;
				position: absolute;
				top: 50%;
				transform: translate(-50%, -50%);
				width: 10px;
			}
		}

		.placeholder-label {
			color: var(--wp--preset--color--dark-green);
			font-weight: 700;
		}
	}

	.development-location-content {

		> *:first-child {
			margin-block-start: 0 !important;
			margin-top: 0 !important;
		}

		> *:not(.development-location-distances) {
			max-width: 280px;
		}

		p.has-small-font-size {
			color: var(--wp--preset--color--green);
			letter-spacing: 0.08em;
			text-transform: uppercase;
		}

		p:not(.has-small-font-size) {
			font-size: 16px;
		}

		h2.has-medium-font-size {
			font-size: 30px !important;
		}

		.development-location-description {
			color: var(--wp--preset--color--dark-grey);
			margin: 36px 0 0;
		}

		.development-location-distances {
			display: flex;
			flex-direction: column;
			margin: 36px 0 0;

			.development-location-distance-item {
				align-items: center;
				display: flex;
				gap: 12px;
				padding: 12px 0;

				&:not(:last-child) {
					border-bottom: 1px solid var(--wp--preset--color--light-grey);
				}

				&:first-child {
					padding-top: 0;
				}

				&:last-child {
					padding-bottom: 0;
				}

				.icon-wrapper {
					background-color: color-mix(in srgb, var(--wp--preset--color--green) 10%, transparent);
					border-radius: 50%;
					display: grid;
					flex-shrink: 0;
					height: 32px;
					place-content: center;
					width: 32px;

					.icon-svg {
						/* Recolours the uploaded SVG by using it as a mask over a solid
						   fill, since an <img>'s own colours can't be overridden with CSS. */
						background-color: var(--wp--preset--color--green);
						display: inline-block;
						height: 16px;
						width: 16px;
						-webkit-mask-image: var(--dl-icon-mask);
						mask-image: var(--dl-icon-mask);
						-webkit-mask-position: center;
						mask-position: center;
						-webkit-mask-repeat: no-repeat;
						mask-repeat: no-repeat;
						-webkit-mask-size: contain;
						mask-size: contain;
					}
				}

				.distance-text {
					margin: 0;
					font-size: 14px;
				}
			}
		}
	}
}
