.map-hero {
	padding-top: clamp(3rem, 6vw, 6rem);
}

.map-hero h1 {
	margin: 0;
	font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-size: clamp(1.75rem, 6.5vw, 5rem);
	font-weight: 500;
	letter-spacing: -.06em;
	line-height: 1.14;
	word-break: keep-all;
}

.map-hero > p:not(.eyebrow) {
	max-width: var(--tlp-prose);
	margin: 1.5rem 0 0;
	color: var(--tlp-muted);
}

.map-section {
	padding-top: clamp(2rem, 4.5vw, 4.5rem);
	padding-bottom: clamp(3.5rem, 7vw, 7rem);
}

.map-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.map-filters__field {
	width: min(100%, 15rem);
}

.map-filters label {
	display: block;
	margin-bottom: .4rem;
	font-size: var(--tlp-size-sm);
	font-weight: 600;
}

.map-filters select {
	width: 100%;
	min-height: 48px;
	padding: .65rem .75rem;
	border: 1px solid var(--tlp-line);
	border-radius: var(--tlp-radius);
	background: var(--tlp-surface);
	color: var(--tlp-text);
}

.map-filters__clear {
	margin-bottom: 0;
}

.map-count,
.map-attribution {
	color: var(--tlp-muted);
	font-size: .85rem;
}

.map-count {
	margin: 0 0 .75rem;
}

.map-filter-message {
	margin: 0 0 .75rem;
	color: var(--tlp-muted);
	font-size: .9rem;
}

.map-section #tlp-map {
	width: 100%;
	height: 560px;
	border: 1px solid var(--tlp-line);
	background: var(--tlp-surface);
}

.map-section #tlp-map.is-map-unavailable {
	display: grid;
	place-items: center;
	padding: 1.5rem;
}

.map-attribution {
	margin-top: .75rem;
}

.map-spots {
	padding-top: clamp(3.5rem, 7vw, 6rem);
	padding-bottom: clamp(4.5rem, 9vw, 8rem);
	border-top: 1px solid var(--tlp-line);
}

.map-spots > h2 {
	max-width: 36rem;
	margin: 0;
	font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 500;
	letter-spacing: -.045em;
	line-height: 1.3;
}

.map-spots__title-line {
	display: block;
	white-space: nowrap;
}

.map-spots__description,
.map-spots__count,
.map-spots__empty {
	margin: 1rem 0 0;
	color: var(--tlp-muted);
}

.map-spots__count {
	font-size: var(--tlp-size-sm);
}

.map-spots__empty {
	padding: 1.25rem;
	border: 1px solid var(--tlp-line);
	background: var(--tlp-surface);
}

.map-spots__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.map-spot-card {
	min-width: 0;
	padding: 1.2rem;
	border: 1px solid var(--tlp-line);
	background: var(--tlp-surface);
}

.map-spot-card h3 {
	margin: 0;
	font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: -.025em;
	line-height: 1.35;
}

.map-spot-card h3 a {
	text-decoration: none;
}

.map-spot-card h3 a:hover {
	color: var(--tlp-accent-dark);
	text-decoration: underline;
}

.map-spot-card__meta {
	margin: .7rem 0 0;
	color: var(--tlp-muted);
	font-size: .76rem;
	line-height: 1.45;
}

.map-spot-card__link {
	min-height: 36px;
	margin-top: .85rem;
	font-size: .82rem;
}

.map-spots__all-link {
	margin: 1.5rem 0 0;
}

@media (max-width: 1100px) {
	.map-spots__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.tlp-map-popup {
	max-width: 220px;
}

.tlp-map-popup__title,
.tlp-map-popup__meta,
.tlp-map-popup__link {
	display: block;
}

.tlp-map-popup__title {
	font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	line-height: 1.5;
}

.tlp-map-popup__meta {
	margin: .35rem 0 .6rem;
	color: var(--tlp-muted);
	font-size: .8rem;
}

.tlp-map-popup__link {
	color: var(--tlp-accent);
	font-size: .9rem;
	font-weight: 600;
}

@media (max-width: 900px) {
	.map-section #tlp-map {
		height: 480px;
	}
}

@media (max-width: 600px) {
	.map-filters {
		display: grid;
		gap: .9rem;
	}

	.map-filters__field,
	.map-filters__clear {
		width: 100%;
	}

	.map-section #tlp-map {
		height: 380px;
	}

	.tlp-map-popup {
		max-width: min(220px, calc(100vw - 100px));
	}

	.map-spots {
		padding-top: 3.5rem;
		padding-bottom: 4rem;
	}

	.map-spots__title-line {
		display: inline-block;
	}

	.map-spots__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
