#bfwpf-agegate__agegate-outer.bfwpf-agegate__cover {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: 2em 1em;
	background: linear-gradient(rgb(0 0 0 / 65%), rgb(0 0 0 / 65%)),
		url("../../assets/images/stave-wall.jpg") center / cover;
	color: var(--wp--preset--color--black);
	font-family: var(--wp--preset--font-family--barlow);
	line-height: 1.5;
}

#bfwpf-agegate__agegate-outer .bfwpf-agegate-container__main {
	width: 100%;
	max-width: 560px;
	background: var(--wp--preset--color--off-white);
	box-shadow: 0 16px 48px rgb(0 0 0 / 30%);
}

#bfwpf-agegate__agegate-outer .bf-age-gate__brand {
	padding: 1.5em;
	border-bottom: 4px solid var(--wp--preset--color--accent);
	background: var(--wp--preset--color--black);
}

#bfwpf-agegate__agegate-outer .bf-age-gate__brand img {
	display: block;
	width: 325px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

#bfwpf-agegate__agegate-outer .bf-age-gate__heading {
	margin: 0;
	padding: 1em 1em 0;
	font-family: var(--wp--preset--font-family--bitter);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.2;
	text-align: center;
}

#bfwpf-agegate__agegate-outer .bfwpf-agegate-container__inner {
	padding: 0 2em 2em;
}

#bfwpf-agegate__agegate-outer .bfwpf-agegate-copy-outer {
	margin: 0.5em 0 1.5em;
	text-align: center;
}

#bfwpf-agegate__agegate-outer .bfwpf-agegate-container__inner p {
	margin: 0;
}

#bfwpf-agegate__agegate-outer .bfwpf-form-control-container,
#bfwpf-agegate__agegate-outer .bfwpf-age-gate-remember-wrapper {
	margin-bottom: 1em;
}

#bfwpf-agegate__agegate-outer .bfwpf-fieldset-legend,
#bfwpf-agegate__agegate-outer label {
	margin-bottom: 0.375em;
	font-weight: 500;
}

#bfwpf-agegate__agegate-outer .bfwpf-lda-input {
	gap: 0.5em;
}

#bfwpf-agegate__agegate-outer .bfwpf-birthdate-input-field-wrapper {
	flex: 1 1 0;
	min-width: 0;
}

#bfwpf-agegate__agegate-outer input[type="number"],
#bfwpf-agegate__agegate-outer select {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: 0.625em;
	border: 1px solid var(--wp--preset--color--text-brown);
	border-radius: 3px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--black);
	font: inherit;
}

#bfwpf-agegate__agegate-outer .age-gate-remember-label {
	display: flex;
	align-items: center;
	gap: 0.5em;
	min-height: 44px;
	font-weight: 400;
	cursor: pointer;
}

#bfwpf-agegate__agegate-outer input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--wp--preset--color--accent-dark);
}

#bfwpf-agegate__agegate-outer .bfwpf-agegate-copy-under-form {
	margin-bottom: 1.5em;
	font-size: 0.875em;
}

#bfwpf-agegate__agegate-outer .bfwpf-agegate-container__inner a {
	color: var(--wp--preset--color--accent-dark);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

#bfwpf-agegate__agegate-outer input[type="submit"] {
	width: 100%;
	min-height: 48px;
	padding: 0.75em 1.5em;
	border: 0;
	border-radius: 3px;
	background: var(--wp--preset--color--accent-dark);
	color: var(--wp--preset--color--white);
	font: inherit;
	font-weight: 500;
	cursor: pointer;
}

#bfwpf-agegate__agegate-outer input[type="submit"]:hover {
	background: var(--wp--preset--color--black);
}

#bfwpf-agegate__agegate-outer :is(input, select, a):focus-visible {
	outline: 3px solid var(--wp--preset--color--accent-dark);
	outline-offset: 3px;
}

#bfwpf-agegate__agegate-outer .bfwpf-lda-error-container {
	box-sizing: border-box;
	margin-bottom: 0.5em;
	padding: 0.75em;
	border-left: 3px solid #9b1c20;
	background: var(--wp--preset--color--white);
	color: #9b1c20;
	text-align: left;
}

#bfwpf-agegate__agegate-outer .bf-footer a:focus-visible {
	outline-color: var(--wp--preset--color--off-white);
}

@media (max-width: 480px) {
	#bfwpf-agegate__agegate-outer.bfwpf-agegate__cover {
		padding: 1em;
	}

	#bfwpf-agegate__agegate-outer .bfwpf-agegate-container__inner {
		padding: 0 1.25em 1.5em;
	}
}
