/* Age verification pop-up. Hidden unless the head script marks the page as pending. */

.of-age-gate {
	display: none;
}

html.of-age-gate-pending,
html.of-age-gate-pending body {
	overflow: hidden;
}

html.of-age-gate-pending .of-age-gate {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 28, 46, 0.92);
	overflow-y: auto;
}

.of-age-gate__panel {
	box-sizing: border-box;
	width: 100%;
	max-width: 440px;
	margin: auto;
	padding: 40px 32px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	text-align: center;
	color: #333;
}

.of-age-gate__logo img {
	display: block;
	width: auto;
	max-width: 180px;
	max-height: 80px;
	height: auto;
	margin: 0 auto 24px;
}

.of-age-gate__title {
	margin: 0 0 12px;
	font-size: 26px;
	line-height: 1.25;
	color: #003a60;
}

.of-age-gate__text {
	margin: 0 0 28px;
	font-size: 16px;
	line-height: 1.5;
}

.of-age-gate__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.of-age-gate__btn {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 20px;
	border: 2px solid #003a60;
	border-radius: 99px;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.of-age-gate__btn--yes {
	background: #003a60;
	color: #fff;
}

.of-age-gate__btn--yes:hover {
	background: #00507f;
	border-color: #00507f;
}

.of-age-gate__btn--no {
	background: #fff;
	color: #003a60;
}

.of-age-gate__btn--no:hover {
	background: #f0f4f7;
}

.of-age-gate__btn:focus-visible {
	outline: 3px solid #eebe16;
	outline-offset: 3px;
}

.of-age-gate__denied {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: #003a60;
}

.of-age-gate__denied[hidden] {
	display: none;
}

@media (max-width: 480px) {
	.of-age-gate__panel {
		padding: 32px 20px;
	}

	.of-age-gate__title {
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.of-age-gate__btn {
		transition: none;
	}
}
