/*
 * Emergency page, Last-Minute Travel (boards 04 EmergencyPage, 05 EmergencyMobile).
 * Phone first; two-column hero from 1100 px.
 */

/* ---------- Hero: checker and (desktop) example result ---------- */
/* Spacing under the breadcrumb: 10 px on phones, 20 px on larger screens (updated boards, October 19). */
.em-hero {
	padding-block: 10px 32px;
}

.em-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.em-hero h1 {
	line-height: 1.1;
}

.em-hero__lead {
	font-size: 16px;
	line-height: 1.5;
	color: var(--c-body);
}

.em-hero .checker {
	margin-top: 6px;
}

.em-hero__results {
	margin-top: 4px;
}

.em-hero__example {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 24px;
}

.em-hero__label {
	scroll-margin-top: 24px; /* The checker scrolls here when the results show (checker.js). */
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-muted);
}

@media (min-width: 768px) {
	.em-hero {
		padding-top: 20px;
	}

	.em-hero__lead {
		font-size: 18px;
		line-height: 1.55;
	}
}

@media (min-width: 1100px) {
	.em-hero {
		padding-block: 20px 64px;
	}

	.em-hero__inner {
		display: grid;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: 48px;
		align-items: stretch;
	}

	.em-hero__copy {
		gap: 18px;
	}

	.em-hero h1 {
		line-height: 1.06;
		letter-spacing: -0.025em;
	}

	.em-hero .checker {
		flex: 1;
		margin-top: 0;
	}

	.em-hero__example {
		margin-top: 0;
	}
}

/* ---------- Three ways to get a passport fast ---------- */
.three-ways {
	padding-block: 32px;
}

.three-ways__inner,
.three-ways__head {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.three-ways h2 {
	font-size: 26px;
	line-height: 1.15;
}

.three-ways__lead {
	font-size: 18px;
	line-height: 1.55;
	color: var(--c-body);
}

.three-ways__list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.way {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 18px;
}

.way.is-ours {
	border: 2px solid var(--c-teal);
}

.way__badge {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--c-teal);
	color: var(--c-white);
	font-size: 11px;
	font-weight: 700;
}

.way__title {
	font-size: 18px;
	line-height: normal;
	letter-spacing: 0;
}

.way__rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.way__row {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.way__row dt {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-teal);
}

.way__row dd {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--c-body);
}

@media (min-width: 768px) {
	.three-ways {
		padding-block: 72px;
	}

	.three-ways__inner {
		gap: 32px;
	}

	.three-ways__head {
		gap: 8px;
		max-width: 860px;
	}

	.three-ways h2 {
		font-size: 38px;
		line-height: 1.12;
	}

	.way {
		gap: 14px;
		padding: 26px;
		border-radius: 22px;
	}

	.way__badge {
		font-size: 12px;
	}

	.way__title {
		font-size: 20px;
	}

	.way__rows {
		gap: 14px;
	}

	.way__row dt {
		font-size: 12px;
	}

	.way__row dd {
		font-size: 15px;
		line-height: 1.5;
	}
}

@media (min-width: 1100px) {
	.three-ways__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}
}
