/* Bluefox Hírlevél – signup form. Colours/radii come from :root --vbn-* (printed from the settings). */

.vbn-form {
	--vbn-gap: 12px;
	box-sizing: border-box;
	max-width: 100%;
	color: var(--vbn-text, #0a0a0a);
	font-family: inherit;
	font-size: inherit; /* the site's own text size; everything below scales from it */
	line-height: 1.6;
	text-align: left;
}

.vbn-form *,
.vbn-form *::before,
.vbn-form *::after {
	box-sizing: inherit;
}

.vbn-form__heading {
	margin: 0 0 8px;
	font-size: 1.375em;
	font-weight: 700;
	line-height: 1.3;
	color: var(--vbn-primary, #006633);
}

.vbn-form__intro {
	margin: 0 0 16px;
	color: var(--vbn-text, #0a0a0a);
}

.vbn-form .vbn-form__form {
	margin: 0;
	padding: 0;
	border: 0;
}

.vbn-form__fields {
	display: flex;
	flex-direction: column;
	gap: var(--vbn-gap);
}

.vbn-form--inline .vbn-form__fields {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
}

.vbn-form--inline .vbn-form__fields > .vbn-field {
	flex: 1 1 200px;
	min-width: 0;
}

.vbn-form--inline .vbn-field--checkboxes {
	flex-basis: 100%;
}

/* Fields */

.vbn-form .vbn-field {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.vbn-form .vbn-field__label {
	display: block;
	margin: 0 0 4px;
	padding: 0;
	font-size: 0.875em;
	font-weight: 600;
	color: var(--vbn-text, #0a0a0a);
}

.vbn-form .vbn-req {
	color: var(--vbn-accent, #ff6600);
}

.vbn-form input.vbn-field__input,
.vbn-form select.vbn-field__input {
	display: block;
	width: 100%;
	height: auto;
	min-height: calc(1.5em + 18px);
	margin: 0;
	padding: 8px 12px;
	font-family: inherit;
	font-size: 1em;
	line-height: 1.5;
	color: var(--vbn-text, #0a0a0a);
	background: var(--vbn-background, #ffffff);
	border: 1px solid var(--vbn-border, #d3ced2);
	border-radius: var(--vbn-radius-input, 4px);
	box-shadow: none;
	outline: none;
	appearance: auto;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vbn-form input.vbn-field__input:focus,
.vbn-form select.vbn-field__input:focus {
	border-color: var(--vbn-accent, #ff6600);
	box-shadow: 0 0 5px var(--vbn-accent, #ff6600);
}

.vbn-form .vbn-field__input[aria-invalid="true"] {
	border-color: var(--vbn-error, #b32d2e);
}

.vbn-form .vbn-field__options {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
}

.vbn-form .vbn-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 0.875em;
	font-weight: 400;
	cursor: pointer;
}

/* Consent */

.vbn-form .vbn-field--consent {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 8px;
	align-items: start;
	margin-top: var(--vbn-gap);
}

.vbn-form .vbn-field--consent .vbn-field__error {
	grid-column: 2;
}

.vbn-form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--vbn-primary, #006633);
	cursor: pointer;
}

.vbn-form .vbn-check input[type="checkbox"] {
	margin-top: 0;
}

.vbn-form input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--vbn-accent, #ff6600);
	outline-offset: 2px;
}

.vbn-form .vbn-field__consent-label {
	margin: 0;
	font-size: 0.8125em;
	font-weight: 400;
	line-height: 1.5;
	color: var(--vbn-muted, #666666);
	cursor: pointer;
}

.vbn-form .vbn-field__consent-label a {
	color: var(--vbn-primary, #006633);
	text-decoration: underline;
}

/* Errors */

.vbn-form .vbn-field__error {
	margin: 4px 0 0;
	font-size: 0.875em;
	line-height: 1.4;
	color: var(--vbn-error, #b32d2e);
}

/* Button */

.vbn-form button.vbn-form__submit {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: var(--vbn-gap) 0 0;
	padding: 16px 24px;
	font-family: inherit;
	font-size: 0.8125em;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--vbn-button-text, #ffffff);
	background: var(--vbn-primary, #006633);
	border: 1px solid var(--vbn-primary, #006633);
	border-radius: var(--vbn-radius-button, 5px);
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.vbn-form--inline button.vbn-form__submit {
	width: auto;
	min-width: 200px;
}

.vbn-form button.vbn-form__submit:hover {
	background: var(--vbn-primary-hover, #0a703d);
	border-color: var(--vbn-primary-hover, #0a703d);
}

.vbn-form button.vbn-form__submit:focus-visible {
	outline: 2px solid var(--vbn-accent, #ff6600);
	outline-offset: 2px;
}

.vbn-form button.vbn-form__submit[disabled] {
	cursor: wait;
	opacity: 0.75;
}

.vbn-form button.vbn-form__submit[aria-busy="true"]::before {
	content: "";
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: vbn-spin 0.7s linear infinite;
}

@keyframes vbn-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Offer + status */

.vbn-form__offer {
	margin: 10px 0 0;
	font-size: 0.8125em;
	line-height: 1.5;
	color: var(--vbn-muted, #666666);
}

/* Kept in the DOM (not display:none) so screen readers announce updates. */
/* The hidden attribute always wins inside our blocks (variant rules may set display). */
.vbn-form [hidden],
.vbn-promo [hidden] {
	display: none !important;
}

.vbn-form .vbn-form__status:empty {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.vbn-form .vbn-form__status {
	margin: 12px 0 0;
	padding: 12px 14px;
	font-size: 0.9375em;
	line-height: 1.5;
	border-left: 4px solid var(--vbn-error, #b32d2e);
	background: #fbeaea;
	outline: none;
}

.vbn-form .vbn-form__status.is-success {
	border-left-color: var(--vbn-success, #006633);
	background: #e8f3ec;
	color: var(--vbn-text, #0a0a0a);
}

.vbn-form.is-done .vbn-form__fields,
.vbn-form.is-done .vbn-field--consent,
.vbn-form.is-done .vbn-form__submit,
.vbn-form.is-done .vbn-form__offer {
	display: none;
}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields). */

.vbn-form .vbn-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.vbn-form *,
	.vbn-form *::before {
		animation: none !important;
		transition: none !important;
	}
}


/* =====================================================================
   Signature motif: an electric-fence wire between two posts, with the
   coupon hanging from it as a yellow "warning plate". One spark runs
   along the wire when the block is first seen (.is-live, set by JS).
   ===================================================================== */

.vbn-form,
.vbn-promo {
	--vbn-plate: #ffd21f;
	--vbn-plate-ink: #0a0a0a;
	--vbn-wire-a: var(--vbn-accent, #ff6600);
	--vbn-wire-b: #ffffff;
	--vbn-wire-c: #3a3a3a;
}

.vbn-fence {
	position: absolute;
	top: 18px;
	right: 14px;
	left: 14px;
	display: flex;
	align-items: center;
	height: 14px;
	pointer-events: none;
}

.vbn-fence__post {
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	background: var(--vbn-primary, #006633);
	border: 3px solid var(--vbn-background, #ffffff);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.vbn-fence__wire {
	position: relative;
	flex: 1 1 auto;
	height: 4px;
	margin: 0 -1px;
	/* Braided polywire: orange / white / dark strands. */
	background: repeating-linear-gradient(135deg, var(--vbn-wire-a) 0 4px, var(--vbn-wire-b) 4px 6px, var(--vbn-wire-c) 6px 7px);
	border-radius: 2px;
}

.vbn-fence__spark {
	position: absolute;
	top: 50%;
	left: 0;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border-radius: 50%;
	background: radial-gradient(circle, #fffbe0 0 22%, var(--vbn-plate) 40%, rgba(255, 210, 31, 0) 70%);
	opacity: 0;
}

.is-live > .vbn-fence .vbn-fence__spark {
	animation: vbn-spark 1.3s cubic-bezier(0.45, 0, 0.25, 1) 0.2s 2 both;
}

@keyframes vbn-spark {
	0% {
		left: 0;
		opacity: 0;
	}

	12%,
	88% {
		opacity: 1;
	}

	100% {
		left: calc(100% - 16px);
		opacity: 0;
	}
}

/* The plate: yellow/black like a real electric-fence warning sign, hanging on two clips. */
.vbn-plate {
	position: absolute;
	top: 27px;
	right: 34px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 92px;
	padding: 8px 12px 7px;
	line-height: 1;
	color: var(--vbn-plate-ink);
	background: var(--vbn-plate);
	border: 2px solid var(--vbn-plate-ink);
	border-radius: 6px;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
	transform: rotate(-5deg);
	transform-origin: 50% -10px;
}

.vbn-plate::before,
.vbn-plate::after {
	content: "";
	position: absolute;
	top: -10px;
	width: 2px;
	height: 10px;
	background: var(--vbn-wire-c);
}

.vbn-plate::before {
	left: 22%;
}

.vbn-plate::after {
	right: 22%;
}

.vbn-plate__bolt {
	display: block;
	margin-bottom: 2px;
}

.vbn-plate__value {
	font-size: 27px;
	font-weight: 700;
	letter-spacing: -0.5px;
	white-space: nowrap;
}

.vbn-plate__label {
	margin-top: 3px;
	font-size: 13px;
	font-weight: 700;
}

/* ---------- Benefits ---------- */

.vbn-form .vbn-form__benefits {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.vbn-form .vbn-form__benefits li {
	position: relative;
	margin: 0 0 6px;
	padding: 0 0 0 28px;
	font-size: 0.9375em;
	line-height: 1.5;
}

.vbn-form .vbn-form__benefits li::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--vbn-primary, #006633) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.vbn-form .vbn-form__header {
	margin-bottom: 12px;
}

/* ---------- Variant: card ---------- */

.vbn-form--card,
.vbn-form--banner {
	position: relative;
	padding: 56px 24px 24px;
	border-radius: 14px;
}

.vbn-form--card {
	background: var(--vbn-card, #f2f7f4);
	border: 1px solid rgba(0, 102, 51, 0.14);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 14px 32px -18px rgba(0, 51, 25, 0.45);
}

.vbn-form--card .vbn-form__heading,
.vbn-form--banner .vbn-form__heading {
	font-size: 1.625em;
	line-height: 1.2;
}

/* Keep the heading clear of the hanging plate. */
.vbn-form--has-plate.vbn-form--card .vbn-form__headings,
.vbn-form--has-plate.vbn-form--banner .vbn-form__headings {
	padding-right: 120px;
}

/* ---------- Variant: banner (full colour band) ---------- */

.vbn-form--banner {
	--vbn-wire-b: rgba(255, 255, 255, 0.85);
	color: #ffffff;
	background: var(--vbn-primary, #006633);
	box-shadow: 0 18px 36px -20px rgba(0, 51, 25, 0.7);
}

.vbn-form--banner .vbn-fence__post {
	background: #ffffff;
	border-color: var(--vbn-primary, #006633);
}

.vbn-form--banner .vbn-form__heading,
.vbn-form--banner .vbn-form__intro,
.vbn-form--banner .vbn-form__benefits li,
.vbn-form--banner .vbn-field__label,
.vbn-form--banner .vbn-check,
.vbn-form--banner .vbn-req {
	color: #ffffff;
}

.vbn-form--banner .vbn-form__benefits li::before {
	background-color: rgba(255, 255, 255, 0.22);
}

.vbn-form--banner .vbn-field__consent-label,
.vbn-form--banner .vbn-form__offer {
	color: rgba(255, 255, 255, 0.92);
}

.vbn-form--banner .vbn-field__consent-label a {
	color: #ffffff;
}

.vbn-form--banner .vbn-field__error {
	display: inline-block;
	padding: 2px 6px;
	color: var(--vbn-error, #b32d2e);
	background: #ffffff;
	border-radius: 3px;
}

.vbn-form--banner button.vbn-form__submit {
	color: var(--vbn-primary, #006633);
	background: #ffffff;
	border-color: #ffffff;
}

.vbn-form--banner button.vbn-form__submit:hover {
	color: var(--vbn-primary, #006633);
	background: var(--vbn-plate);
	border-color: var(--vbn-plate);
}

.vbn-form--banner button.vbn-form__submit:focus-visible {
	outline-color: var(--vbn-plate);
}

.vbn-form--banner .vbn-form__status,
.vbn-form--banner .vbn-form__status.is-success {
	color: var(--vbn-text, #0a0a0a);
}

/* =====================================================================
   [vbn_promo] - slim teaser strip
   ===================================================================== */

.vbn-promo {
	position: relative;
	box-sizing: border-box;
	padding: 44px 20px 18px;
	font-family: inherit;
	color: var(--vbn-text, #0a0a0a);
	background: var(--vbn-card, #f2f7f4);
	border: 1px solid rgba(0, 102, 51, 0.14);
	border-radius: 14px;
}

.vbn-promo *,
.vbn-promo *::before,
.vbn-promo *::after {
	box-sizing: border-box;
}

.vbn-promo--dark {
	--vbn-wire-b: rgba(255, 255, 255, 0.85);
	color: #ffffff;
	background: var(--vbn-primary, #006633);
	border-color: transparent;
}

.vbn-promo--dark > .vbn-fence .vbn-fence__post {
	background: #ffffff;
	border-color: var(--vbn-primary, #006633);
}

.vbn-promo__body {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px 20px;
}

/* In the strip the plate sits in the flow, still hanging from the wire. */
.vbn-promo__body > .vbn-plate {
	position: relative;
	top: auto;
	right: auto;
	flex: 0 0 auto;
	min-width: 78px;
	margin-top: -8px;
	padding: 6px 10px 5px;
}

.vbn-promo__body > .vbn-plate .vbn-plate__value {
	font-size: 22px;
}

.vbn-promo__copy {
	min-width: 0;
}

.vbn-promo .vbn-promo__heading {
	margin: 0;
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1.25;
	color: var(--vbn-primary, #006633);
}

.vbn-promo--dark .vbn-promo__heading {
	color: #ffffff;
}

.vbn-promo .vbn-promo__text {
	margin: 4px 0 0;
	font-size: 0.9375em;
	line-height: 1.5;
	color: inherit;
	opacity: 0.85;
}

.vbn-promo button.vbn-promo__open {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 14px 24px;
	font-family: inherit;
	font-size: 0.8125em;
	font-weight: 700;
	/* Uppercase has no descenders: a line-height of 1 keeps the caps optically centred. */
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--vbn-button-text, #ffffff);
	background: var(--vbn-primary, #006633);
	border: 0;
	border-radius: var(--vbn-radius-button, 5px);
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.vbn-promo button.vbn-promo__open:hover {
	background: var(--vbn-primary-hover, #0a703d);
}

.vbn-promo button.vbn-promo__open:active {
	transform: translateY(1px);
}

.vbn-promo--dark button.vbn-promo__open {
	color: var(--vbn-primary, #006633);
	background: #ffffff;
}

.vbn-promo--dark button.vbn-promo__open:hover {
	color: var(--vbn-primary, #006633);
	background: var(--vbn-plate);
}

.vbn-promo button.vbn-promo__open:focus-visible {
	outline: 3px solid var(--vbn-accent, #ff6600);
	outline-offset: 3px;
}

.vbn-promo--dark button.vbn-promo__open:focus-visible {
	outline-color: var(--vbn-plate);
}

/* =====================================================================
   [vbn_promo style="bar"] - one-line strip for the top of the page
   ===================================================================== */

.vbn-promo--bar {
	--vbn-wire-b: rgba(255, 255, 255, 0.85);
	padding: 10px 16px 16px;
	color: #ffffff;
	background: var(--vbn-primary, #006633);
	border: 0;
	border-radius: 0;
}

/* corners="round": a rounded box that sits among content cards (e.g. on the product page). */
.vbn-promo--bar.vbn-promo--round {
	border-radius: 12px;
}

/* The wire runs along the bottom edge of the bar. */
.vbn-promo--bar > .vbn-fence {
	top: auto;
	bottom: 4px;
	height: 8px;
}

.vbn-promo--bar > .vbn-fence .vbn-fence__post {
	width: 8px;
	height: 8px;
	background: #ffffff;
	border-width: 2px;
	border-color: var(--vbn-primary, #006633);
}

.vbn-promo--bar .vbn-promo__body {
	max-width: 1200px;
	margin: 0 auto;
	gap: 8px 16px;
}

/* Small inline plate: bolt + value + label on one row. */
.vbn-promo--bar .vbn-promo__body > .vbn-plate {
	flex-direction: row;
	gap: 4px;
	min-width: 0;
	margin-top: 0;
	padding: 3px 8px;
	border-width: 1.5px;
	border-radius: 4px;
	box-shadow: none;
	transform: rotate(-3deg);
}

.vbn-promo--bar .vbn-promo__body > .vbn-plate::before,
.vbn-promo--bar .vbn-promo__body > .vbn-plate::after {
	display: none;
}

.vbn-promo--bar .vbn-plate__bolt {
	width: 14px;
	height: 14px;
	margin: 0;
}

.vbn-promo--bar .vbn-promo__body > .vbn-plate .vbn-plate__value {
	font-size: 16px;
}

.vbn-promo--bar .vbn-plate__label {
	margin: 0;
	font-size: 12px;
}

.vbn-promo--bar .vbn-promo__heading {
	font-family: inherit;
	font-size: 1em;
	color: #ffffff;
}

.vbn-promo--bar .vbn-promo__text {
	display: inline;
	margin: 0 0 0 6px;
	font-size: 0.9375em;
}

.vbn-promo--bar .vbn-promo__heading,
.vbn-promo--bar .vbn-promo__copy {
	display: inline;
}

.vbn-promo--bar button.vbn-promo__open {
	min-height: 36px;
	padding: 9px 16px;
	font-size: 0.75em;
	color: var(--vbn-primary, #006633);
	background: #ffffff;
}

.vbn-promo--bar button.vbn-promo__open:hover {
	color: var(--vbn-primary, #006633);
	background: var(--vbn-plate);
}

.vbn-promo--bar button.vbn-promo__open:focus-visible {
	outline-color: var(--vbn-plate);
}

@media (max-width: 720px) {
	/* On phones the bar keeps only the plate, the heading and the button. */
	.vbn-promo--bar .vbn-promo__text {
		display: none;
	}

	.vbn-promo--bar .vbn-promo__heading {
		font-size: 0.875em;
	}
}

@media (max-width: 520px) {
	.vbn-promo--bar .vbn-promo__body {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.vbn-promo--bar button.vbn-promo__open {
		grid-column: auto;
		width: auto;
	}
}

/* =====================================================================
   Dialog (promo teaser and automatic popup)
   ===================================================================== */

.vbn-dialog {
	width: min(560px, calc(100vw - 24px));
	max-width: none;
	max-height: calc(100vh - 24px);
	margin: auto;
	padding: 0;
	overflow: auto;
	/* The dialog lives inside the teaser: reset what the (dark) teaser sets. */
	color: var(--vbn-text, #0a0a0a);
	font-family: inherit;
	background: transparent;
	border: 0;
	overscroll-behavior: contain;
}

.vbn-dialog::backdrop {
	background: rgba(0, 26, 13, 0.62);
}

.vbn-dialog[open] {
	animation: vbn-dialog-in 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Keep the open modal centred whatever the theme does to its ancestors' children
   (e.g. `.entry-content > * > :last-child { margin-bottom: 0 }` pushed it to the bottom). */
dialog.vbn-dialog[open]:not(.is-inline) {
	position: fixed !important;
	inset: 0 !important;
	margin: auto !important;
	max-width: none !important;
}

@keyframes vbn-dialog-in {
	from {
		opacity: 0;
		transform: translateY(14px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.vbn-dialog .vbn-form {
	margin: 0;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.vbn-dialog .vbn-form--plain {
	padding: 48px 24px 24px;
	background: var(--vbn-background, #ffffff);
	border-radius: 14px;
}

.vbn-dialog button.vbn-dialog__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	color: var(--vbn-text, #0a0a0a);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 50%;
	cursor: pointer;
}

.vbn-dialog button.vbn-dialog__close:focus-visible {
	outline: 3px solid var(--vbn-accent, #ff6600);
	outline-offset: 2px;
}

/* In the dialog the close button takes the top-right corner, so the plate moves left of it. */
.vbn-dialog .vbn-plate {
	right: 64px;
}

/* Automatic popup: width presets, viewport-safe height; the backdrop colour is printed inline from the settings. */
.vbn-dialog--popup {
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
}

.vbn-dialog--sm {
	width: min(420px, calc(100vw - 24px));
}

.vbn-dialog--md {
	width: min(520px, calc(100vw - 24px));
}

.vbn-dialog--lg {
	width: min(640px, calc(100vw - 24px));
}

/* Programmatic focus on the dialog box itself (touch screens): no ring, the next Tab goes to the first control. */
.vbn-dialog:focus {
	outline: none;
}

.vbn-dialog--static[open] {
	animation: none;
}

/* Inline fallback when <dialog> isn't supported. */
.vbn-dialog.is-inline {
	position: static;
	display: block;
	width: auto;
	margin-top: 16px;
}

/* Themes sometimes decorate headings (e.g. a dash via ::before) - not inside the form. */
.vbn-form .vbn-form__heading::before,
.vbn-form .vbn-form__heading::after {
	content: none;
	display: none;
}

/* ---------- Small screens ---------- */

@media (max-width: 520px) {
	.vbn-form--card,
	.vbn-form--banner {
		padding: 52px 16px 20px;
	}

	.vbn-form--card .vbn-form__heading,
	.vbn-form--banner .vbn-form__heading {
		font-size: 1.375em;
	}

	.vbn-plate {
		right: 22px;
		min-width: 76px;
		padding: 6px 9px 5px;
	}

	.vbn-plate__value {
		font-size: 22px;
	}

	.vbn-form--has-plate.vbn-form--card .vbn-form__headings,
	.vbn-form--has-plate.vbn-form--banner .vbn-form__headings {
		padding-right: 92px;
	}

	.vbn-dialog .vbn-plate {
		right: 60px;
	}

	/* In a phone-sized dialog the plate sits next to the close button, so the heading goes below it instead. */
	.vbn-dialog .vbn-form--has-plate.vbn-form--card,
	.vbn-dialog .vbn-form--has-plate.vbn-form--banner {
		padding-top: 104px;
	}

	.vbn-dialog .vbn-form--has-plate.vbn-form--card .vbn-form__headings,
	.vbn-dialog .vbn-form--has-plate.vbn-form--banner .vbn-form__headings {
		padding-right: 0;
	}

	.vbn-promo__body {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.vbn-promo button.vbn-promo__open {
		grid-column: 1 / -1;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vbn-fence__spark,
	.vbn-dialog[open] {
		animation: none !important;
	}
}

/* Lock page scroll while the dialog is open. */
html.vbn-dialog-open {
	overflow: hidden;
}

/* =====================================================================
   [vbn_preferences] - subscription preferences page
   ===================================================================== */

.vbn-prefs {
	box-sizing: border-box;
	max-width: 640px;
	font-family: inherit;
	color: var(--vbn-text, #0a0a0a);
}

.vbn-prefs *,
.vbn-prefs *::before,
.vbn-prefs *::after {
	box-sizing: border-box;
}

.vbn-prefs .vbn-prefs__title {
	margin: 0 0 12px;
	color: var(--vbn-primary, #006633);
}

.vbn-prefs__intro p,
.vbn-prefs__email,
.vbn-prefs__status {
	margin: 0 0 12px;
	line-height: 1.6;
}

.vbn-prefs__status {
	font-weight: 700;
}

.vbn-prefs .vbn-prefs__notice {
	margin: 0 0 16px;
	padding: 12px 16px;
	line-height: 1.5;
	border-radius: 8px;
	border-left: 4px solid var(--vbn-primary, #006633);
	background: var(--vbn-card, #f2f7f4);
}

.vbn-prefs .vbn-prefs__notice--error {
	border-left-color: #b42318;
	background: #fdf0ef;
}

.vbn-prefs__form {
	margin: 0 0 16px;
}

.vbn-prefs__pause {
	padding: 16px;
	background: var(--vbn-card, #f2f7f4);
	border: 1px solid rgba(0, 102, 51, 0.14);
	border-radius: 12px;
}

.vbn-prefs__pause fieldset {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
}

.vbn-prefs__pause legend {
	margin: 0 0 8px;
	padding: 0;
	font-weight: 700;
}

.vbn-prefs__option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin: 0 20px 0 0;
	cursor: pointer;
}

.vbn-prefs__option input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--vbn-primary, #006633);
}

.vbn-prefs button.vbn-prefs__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 14px 24px;
	font-family: inherit;
	font-size: 0.8125em;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: var(--vbn-radius-button, 5px);
	cursor: pointer;
}

.vbn-prefs button.vbn-prefs__button--primary {
	color: var(--vbn-button-text, #ffffff);
	background: var(--vbn-primary, #006633);
	border: 2px solid var(--vbn-primary, #006633);
}

.vbn-prefs button.vbn-prefs__button--primary:hover {
	background: var(--vbn-primary-hover, #0a703d);
	border-color: var(--vbn-primary-hover, #0a703d);
}

.vbn-prefs button.vbn-prefs__button--secondary {
	color: var(--vbn-primary, #006633);
	background: #ffffff;
	border: 2px solid var(--vbn-primary, #006633);
}

.vbn-prefs button.vbn-prefs__button--secondary:hover {
	background: var(--vbn-card, #f2f7f4);
}

.vbn-prefs button.vbn-prefs__button:focus-visible,
.vbn-prefs__option input:focus-visible {
	outline: 3px solid var(--vbn-accent, #ff6600);
	outline-offset: 3px;
}
