.aw-location-module {
	display: grid;
	gap: 1.5rem;
}

.aw-location-heading {
	margin: 0;
}

.aw-location-map-shell {
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 1rem;
	overflow: hidden;
	background: #f7f5ef;
}

.aw-location-consent {
	display: grid;
	gap: 1rem;
	justify-items: start;
	padding: 1.5rem;
}

.aw-location-consent p {
	margin: 0;
	max-width: 60ch;
}

.aw-location-load-map,
.aw-location-show-on-map {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 0.7rem 1rem;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	background: #157b7d;
	color: #fff;
}

.aw-location-load-map:disabled {
	cursor: wait;
	opacity: 0.65;
}

.aw-location-map-canvas {
	width: 100%;
	min-height: 260px;
}

.aw-location-map-error {
	color: #7a2f2f;
}

.aw-location-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: 1rem;
}

.aw-location-card {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 1.15rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0.9rem;
	background: #fff;
}

.aw-location-card h3,
.aw-location-card p,
.aw-location-card address,
.aw-location-note p {
	margin: 0;
}

.aw-location-card address {
	font-style: normal;
}

.aw-location-card a {
	overflow-wrap: anywhere;
}

.aw-location-show-on-map {
	align-self: flex-start;
	margin-top: auto;
	background: transparent;
	color: currentColor;
	border: 1px solid currentColor;
}

.aw-location-popup {
	display: grid;
	gap: 0.35rem;
	min-width: 12rem;
}

.aw-location-popup a {
	display: block;
}

@media (max-width: 640px) {
	.aw-location-consent,
	.aw-location-card {
		padding: 1rem;
	}

	.aw-location-map-canvas {
		min-height: 320px;
	}
}
