:root {
	--stop-page-padding: clamp(0.75rem, 2vw, 1.5rem);
}

body.stop-page {
	background: #f3f6fb;
}

main.stop-page-main {
	max-width: none;
	width: 100%;
	min-height: 100vh;
	margin: 0;
	padding: var(--stop-page-padding);
}

.stop-overview {
	display: grid;
	grid-template-columns: minmax(18rem, 28rem) minmax(18rem, 1fr);
	gap: 1rem;
	align-items: stretch;
	margin-bottom: 1rem;
}

.stop-overview--compact {
	margin-bottom: var(--stop-page-padding);
}

.stop-overview__details,
.stop-overview__map {
	background: #ffffff;
	border: 1px solid #d7ddea;
	border-radius: 0.75rem;
	box-shadow: 0 14px 36px rgba(20, 34, 58, 0.08);
}

.stop-overview__details {
	padding: clamp(1rem, 2vw, 1.5rem);
}

.stop-overview__details h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 4vw, 3rem);
}

.stop-overview__details h3 {
	margin: 1rem 0 0.5rem;
}

.stop-meta {
	color: #30415f;
}

.stop-overview__map {
	position: relative;
	min-height: 16rem;
	overflow: hidden;
}

.stop-map {
	width: 100%;
	height: 100%;
	min-height: 16rem;
}

.map-fullscreen-toggle {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 500;
	border: 0;
	border-radius: 999px;
	background: rgba(17, 32, 58, 0.9);
	color: #ffffff;
	padding: 0.6rem 0.9rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

#departureBody {
	width: 100%;
	max-width: 100%;
	min-height: calc(100vh - (var(--stop-page-padding) * 2));
	overflow: auto;
}

.departureBoard {
	width: 100%;
	max-width: none;
	margin-top: 0;
	background: #ffffff;
	box-shadow: 0 14px 36px rgba(20, 34, 58, 0.08);
}

@media (max-width: 900px) {
	.stop-overview {
		grid-template-columns: 1fr;
	}

	.stop-overview__map,
	.stop-map {
		min-height: 14rem;
	}
}
