.city-time-costs {
	position: relative;
	padding: clamp(6rem, 10vw, 10rem) 0;
	overflow: clip;
	background: #f1f2f4;
	color: #1f2933;
}

.city-time-costs__shell {
	width: min(calc(100% - (2 * var(--ldh-gutter))), 1280px);
	margin-inline: auto;
}

.city-time-costs__header {
	max-width: 64rem;
	margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.city-time-costs__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0 0 1.25rem;
	color: #8e6d36;
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.city-time-costs__eyebrow::before {
	width: 2.5rem;
	height: 1px;
	background: currentColor;
	content: "";
}

.city-time-costs__header h2 {
	max-width: 15ch;
	margin: 0;
	font-family: var(--ldh-serif);
	font-size: clamp(2.6rem, 4.4vw, 5rem);
	font-weight: 400;
	letter-spacing: -0.062em;
	line-height: 0.94;
	text-wrap: balance;
}

.city-time-costs__copy {
	max-width: 48rem;
	margin-top: clamp(1.75rem, 3vw, 2.75rem);
	color: rgba(31, 41, 51, 0.68);
	font-size: clamp(0.97rem, 0.92rem + 0.16vw, 1.08rem);
	line-height: 1.8;
}

.city-time-costs__copy > :first-child,
.city-time-costs__note > :first-child {
	margin-top: 0;
}

.city-time-costs__copy > :last-child,
.city-time-costs__note > :last-child {
	margin-bottom: 0;
}

.city-time-costs__table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.city-time-costs__table {
	width: 100%;
	min-width: 38rem;
	border-collapse: collapse;
	table-layout: fixed;
}

.city-time-costs__table th,
.city-time-costs__table td {
	width: 50%;
	padding: clamp(1rem, 2vw, 1.6rem) clamp(0.5rem, 1.6vw, 1.25rem);
	border: 0;
	border-bottom: 1px solid rgba(31, 41, 51, 0.22);
	text-align: left;
	vertical-align: top;
}

.city-time-costs__table th {
	border-bottom: 2px solid #1f2933;
	color: #1f2933;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.city-time-costs__table td {
	color: rgba(31, 41, 51, 0.72);
	font-size: clamp(0.92rem, 0.88rem + 0.12vw, 1rem);
	line-height: 1.6;
}

.city-time-costs__table td:first-child {
	color: #1f2933;
	font-weight: 600;
}

.city-time-costs__note {
	max-width: 60rem;
	margin-top: 1.25rem;
	color: rgba(31, 41, 51, 0.52);
	font-size: 0.76rem;
	line-height: 1.65;
}

@media (max-width: 580px) {
	.city-time-costs {
		padding: 4.75rem 0 5.5rem;
	}

	.city-time-costs__shell {
		width: calc(100% - 2rem);
	}

	.city-time-costs__header {
		margin-bottom: 2.75rem;
	}

	.city-time-costs__header h2 {
		max-width: 100%;
	}

	.city-time-costs__copy {
		margin-top: 1.5rem;
		font-size: 0.96rem;
		line-height: 1.7;
	}

	.city-time-costs__table-wrap {
		overflow-x: visible;
	}

	.city-time-costs__table {
		min-width: 0;
		table-layout: fixed;
	}

	.city-time-costs__table th,
	.city-time-costs__table td {
		width: auto;
		padding: 1rem 0.35rem;
		overflow-wrap: anywhere;
	}

	.city-time-costs__table th:first-child,
	.city-time-costs__table td:first-child {
		width: 42%;
		padding-right: 0.75rem;
	}

	.city-time-costs__table th:last-child,
	.city-time-costs__table td:last-child {
		width: 58%;
		padding-left: 0.75rem;
	}

	.city-time-costs__table th {
		font-size: 0.62rem;
		letter-spacing: 0.09em;
		line-height: 1.35;
	}

	.city-time-costs__table td {
		font-size: 0.88rem;
		line-height: 1.5;
	}

	.city-time-costs__note {
		margin-top: 1rem;
		font-size: 0.72rem;
	}
}
