/*
 * Atrophy Live — the Age Gate plugin, styled like the site's age verification design:
 * logo, question, the adults-only note and two buttons in a hairline frame on the darkest green.
 * Colours and fonts come from the site's Elementor variables; the values after each comma are fallbacks.
 */

.age-gate__wrapper {
	--al-gate-text: var(--color-text, #eef3ef);
	--al-gate-line: var(--color-divider, rgba(238, 243, 239, 0.14));
	--al-gate-accent: var(--color-accent, #4fd1a1);
	font-family: var(--font-body, Archivo), sans-serif;
}

.age-gate__wrapper .age-gate {
	width: calc(100% - 48px) !important;
	max-width: 540px !important;
	padding: 48px 40px !important;
	background: transparent !important;
	border: 1px solid var(--al-gate-line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--al-gate-text) !important;
	text-align: center !important;
}

.age-gate__wrapper .age-gate__form {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 20px !important;
}

.age-gate__wrapper .age-gate__heading {
	margin: 0 !important;
}

.age-gate__wrapper .age-gate__heading-title--logo {
	display: block !important;
	width: 220px !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 auto !important;
}

.age-gate__wrapper .age-gate__headline {
	max-width: 406px !important;
	margin: 0 auto !important;
	font-family: var(--font-heading-expanded, 'Encode Sans Expanded'), sans-serif !important;
	font-size: clamp(28px, 6vw, 40px) !important;
	font-weight: 700 !important;
	line-height: 1.12 !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
	color: var(--al-gate-text) !important;
}

.age-gate__wrapper .age-gate__subheadline {
	margin: 0 !important;
	font-size: 14px !important;
	line-height: 1.55 !important;
	color: color-mix(in srgb, var(--color-text, #eef3ef) 72%, transparent) !important;
}

/* The question is already the headline; keep the button group's label for screen readers only. */
.age-gate__wrapper .age-gate__challenge {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.age-gate__wrapper .age-gate__fields {
	margin: 8px 0 0 !important;
}

.age-gate__wrapper .age-gate__buttons {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 12px !important;
}

.age-gate__wrapper .age-gate__submit {
	display: inline-flex !important;
	justify-content: center !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 12px 28px !important;
	border: 1px solid var(--al-gate-line) !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--al-gate-text) !important;
	font-family: var(--font-heading, Archivo), sans-serif !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: background-color 0.18s ease, border-color 0.18s ease !important;
}

.age-gate__wrapper .age-gate__submit--no:hover,
.age-gate__wrapper .age-gate__submit--no:focus-visible {
	background: rgba(238, 243, 239, 0.07) !important;
	color: var(--al-gate-text) !important;
}

.age-gate__wrapper .age-gate__submit--yes {
	background: var(--al-gate-accent) !important;
	border-color: var(--al-gate-accent) !important;
	color: var(--color-bg, #0b1411) !important;
}

.age-gate__wrapper .age-gate__submit--yes:hover,
.age-gate__wrapper .age-gate__submit--yes:focus-visible {
	background: var(--color-accent-600, #7fe0bb) !important;
	border-color: var(--color-accent-600, #7fe0bb) !important;
	color: var(--color-bg, #0b1411) !important;
}

.age-gate__wrapper .age-gate__submit:focus-visible {
	outline: 2px solid var(--al-gate-accent) !important;
	outline-offset: 2px !important;
}

.age-gate__wrapper .age-gate__remember-wrapper {
	margin: 0 !important;
}

.age-gate__wrapper .age-gate__remember {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 13px !important;
	color: color-mix(in srgb, var(--color-text, #eef3ef) 70%, transparent) !important;
	cursor: pointer !important;
}

.age-gate__wrapper .age-gate__remember-field {
	accent-color: var(--al-gate-accent);
}

.age-gate__wrapper .age-gate__errors,
.age-gate__wrapper .age-gate__error {
	font-size: 13px !important;
	color: #ffb4a8 !important;
}

.age-gate__wrapper .age-gate__loader {
	color: var(--al-gate-accent) !important;
}

@media (max-width: 767px) {
	.age-gate__wrapper .age-gate {
		padding: 36px 22px !important;
	}
}
