/* Global styles that can't be done via theme.json
---------------------------------------------------------------------------- */

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

html {
	/* Overwrite Astra theme root font-size. */
	font-size: 100% !important;
	overflow-x: hidden;
}

html:focus-within {
	scroll-behavior: smooth;
}

body:not(.has-no-blocks) .site {
	position: relative;
}

#back-to-top:focus {
	outline: none !important;
}

body:not(.has-no-blocks, .wp-admin, .block-editor-iframe__body) a:focus,
body:not(.has-no-blocks, .wp-admin, .block-editor-iframe__body) button:focus,
body.has-no-blocks header a:focus,
body.has-no-blocks footer a:focus,
body.has-no-blocks header button:focus,
body.has-no-blocks footer button:focus,
#back-to-top:focus-visible {
	outline: 2px solid var(--wp--preset--color--black) !important;
	outline-offset: 2px !important;
}

body:not(.has-no-blocks, .wp-admin, .block-editor-iframe__body)
	.has-black-background-color
	a:focus,
body:not(.has-no-blocks, .wp-admin, .block-editor-iframe__body)
	.has-black-background-color
	button:focus,
body .wp-block-cover.has-white-color a:focus,
body .wp-block-cover.has-white-color button:focus,
body.has-no-blocks header.has-black-background-color a:focus,
body.has-no-blocks footer.has-black-background-color a:focus,
body.has-no-blocks header.has-black-background-color button:focus,
body.has-no-blocks footer.has-black-background-color button:focus {
	outline: 2px solid var(--wp--preset--color--white) !important;
}

body:not(.wp-admin, .block-editor-iframe__body)
	.has-black-background-color
	.wp-block-ollie-mega-menu__menu-container
	a:focus,
body:not(.wp-admin, .block-editor-iframe__body)
	.has-black-background-color
	.wp-block-ollie-mega-menu__menu-container
	button:focus {
	outline: 2px solid var(--wp--preset--color--black) !important;
}

body:not(.wp-admin, .block-editor-iframe__body)
	.has-black-background-color
	.wp-block-ollie-mega-menu__menu-container:focus {
	outline: none !important;
}

body:not(.has-no-blocks) a:where(:not(.wp-element-button)),
body.has-no-blocks header a:where(:not(.wp-element-button)),
body.has-no-blocks footer a:where(:not(.wp-element-button)) {
	text-decoration-thickness: 1px;
	transition: text-decoration-thickness 0.3s ease;
}

body:not(.has-no-blocks) a:where(:not(.wp-element-button)):focus,
body.has-no-blocks header a:where(:not(.wp-element-button)):focus,
body.has-no-blocks footer a:where(:not(.wp-element-button)):focus {
	outline-offset: 0;
}

body:not(.has-no-blocks) a:where(:not(.wp-element-button)):hover,
body.has-no-blocks header a:where(:not(.wp-element-button)):hover,
body.has-no-blocks footer a:where(:not(.wp-element-button)):hover {
	text-decoration-thickness: 2px;
}

/* Remove line breaks on smaller screens. */
@media screen and (max-width: 960px) {
	p > br {
		display: none;
	}
}

/* Alignment
--------------------------------------------- */

body:not(.has-no-blocks, .block-editor-iframe__body)
	.wp-site-blocks
	> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: var(--wp--style--global--content-size);
	margin-left: auto !important;
	margin-right: auto !important;
}

body:not(.has-no-blocks) .wp-site-blocks > .alignwide {
	max-width: var(--wp--style--global--wide-size);
}

/* Vertical Gap
--------------------------------------------- */

.wp-site-blocks :where(.is-layout-flow) > * {
	margin-block-start: var(--wp--preset--spacing--16);
	margin-block-end: 0;
}

.wp-site-blocks :where(.is-layout-flow) > :first-child {
	margin-block-start: 0;
}

/* Colors
--------------------------------------------- */

[class*="-trn-background-color"] {
	backdrop-filter: blur(8px);
}

/* Header & Footer
--------------------------------------------- */

body.has-no-blocks header *,
body.has-no-blocks footer * {
	transition: none;
	-webkit-font-smoothing: initial;
	-moz-osx-font-smoothing: initial;
}

body.has-no-blocks footer {
	color: var(--wp--preset--color--shark);
}

body.has-no-blocks footer .wp-block-button .wp-block-button__link {
	color: var(--wp--preset--color--black);
}

body.first-block-core-cover header {
	background-color: transparent !important;
	border-bottom: none;
	left: 0;
	position: absolute;
	top: 0;
	right: 0;
	transition: background-color 0.25s ease-in-out;
	z-index: 12;
}

body.first-block-core-cover .wp-site-blocks > .wp-block-cover:first-child {
	padding-top: clamp(9.375rem, 9.375rem + ((1vw - 0.2rem) * 8.93), 15.625rem) !important;
}

body.first-block-core-cover
	header:has(.wp-block-ollie-mega-menu__toggle[aria-expanded="true"]) {
	background-color: var(--wp--preset--color--black) !important;
}

/* Language Switcher
--------------------------------------------- */

header.has-black-background-color .language-switcher a.gt_switcher-popup {
	color: var(--wp--preset--color--porcelain);
	display: block;
	height: 20px;
	width: 20px;
}

header.has-black-background-color .language-switcher a.gt_switcher-popup svg path {
	fill: currentColor;
}

.gt_white_content {
	background-color: var(--wp--preset--color--black);
	border: 1px solid var(--wp--preset--color--emerald);
	border-radius: 8px;
	box-sizing: initial;
	color: var(--wp--preset--color--white);
	display: flex;
	align-items: center;
}

.gt_white_content a.glink {
	border-bottom: 1px solid rgba(125, 125, 125, 0.5);
	color: var(--wp--preset--color--white);
	padding: 10px;
}

.gt_white_content a.glink,
.gt_white_content a.glink:hover {
	text-decoration: none;
}

.gt_white_content a.glink:hover {
	transform: none;
}

.gt_white_content a.glink:hover,
.gt_white_content a.glink.gt-current-lang {
	color: var(--wp--preset--color--emerald);
}

.gt_white_content a.glink:focus {
	outline-offset: -2px;
}

/* Forms
--------------------------------------------- */

/* Standardize form styling. */
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input:not([type="submit"]),
body:not(.has-no-blocks) :is(.editor-styles-wrapper, .wp-site-blocks) form textarea,
body:not(.has-no-blocks) :is(.editor-styles-wrapper, .wp-site-blocks) form select {
	font: inherit;
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input[type="button"],
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input[type="email"],
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input[type="search"],
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input[type="submit"],
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input[type="text"],
body:not(.has-no-blocks) :is(.editor-styles-wrapper, .wp-site-blocks) form select,
body:not(.has-no-blocks) :is(.editor-styles-wrapper, .wp-site-blocks) form textarea {
	appearance: none;
	-webkit-appearance: none;
}

body:not(.has-no-blocks) :is(.editor-styles-wrapper, .wp-site-blocks) form select {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23666C70"><path d="M5 6l5 5 5-5 2 1-7 7-7-7z"/></svg>');
	background-position: right var(--wp--preset--spacing--16) top 55%;
	background-repeat: no-repeat;
	background-size: auto 45%;
	padding-right: 3.5rem !important;
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input:not([type="submit"]),
body:not(.has-no-blocks) :is(.editor-styles-wrapper, .wp-site-blocks) form select,
body:not(.has-no-blocks) :is(.editor-styles-wrapper, .wp-site-blocks) form textarea,
body:not(.has-no-blocks)
	form
	.wp-block-post-comments-form
	input:not([type="submit"]):not([type="checkbox"]),
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	.wp-block-post-comments-form
	textarea {
	background-color: var(--wp--preset--color--white);
	border: solid 1px var(--wp--preset--color--salem);
	border-radius: 4px;
	color: var(--wp--preset--color--abbey);
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.5;
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
	width: 100%;
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input:focus-visible,
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	select:focus-visible,
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	textarea:focus-visible {
	outline-color: var(--wp--preset--color--abbey);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input[type="checkbox"],
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input[type="image"],
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input[type="radio"] {
	width: auto;
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input[type="checkbox"],
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	input[type="radio"] {
	accent-color: var(--wp--preset--color--salem);
}

body:not(.has-no-blocks) :is(.editor-styles-wrapper, .wp-site-blocks) form label {
	display: flex;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 500;
	margin-bottom: var(--wp--preset--spacing--4);
	width: 100%;
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	label:has(input[type="checkbox"]),
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	form
	label:has(input[type="radio"]) {
	font-size: var(--wp--preset--font-size--3-x-small);
	line-height: var(--wp--custom--line-height--body);
}

body:not(.has-no-blocks) :is(.editor-styles-wrapper, .wp-site-blocks) form ::placeholder {
	color: var(--wp--preset--color--nevada);
	font-size: var(--wp--preset--font-size--x-small);
}

/* Marketo forms. */
body:not(.has-no-blocks) .mktoForm {
	visibility: hidden;
}

body:not(.has-no-blocks) .mktoForm[data-styles-ready="true"] {
	visibility: visible;
}

body:not(.has-no-blocks) .mktoForm .mktoAsterix {
	display: none;
}

body:not(.has-no-blocks) .mktoForm .mktoRequiredField .mktoAsterix {
	display: block;
}

body:not(.has-no-blocks) .mktoForm {
	background-color: var(--wp--preset--color--emerald-trn);
	border: 1px solid var(--wp--preset--color--salem);
	border-radius: 8px;
	box-shadow: var(--wp--preset--shadow--large-dark);
	padding: var(--wp--preset--spacing--32);
}

body:not(.has-no-blocks) .mktoForm > * + * {
	margin-top: var(--wp--preset--spacing--20);
}

body:not(.has-no-blocks) .mktoForm > .mktoFormRow:first-of-type {
	margin-top: 0;
}

body:not(.has-no-blocks) .mktoLabel {
	gap: var(--wp--preset--spacing--4);
}

body:not(.has-no-blocks) .mktoLabel .mktoAsterix {
	color: var(--wp--preset--color--salem);
	order: 2;
}

body:not(.has-no-blocks) .mktoFieldWrap {
	position: relative;
}

body:not(.has-no-blocks) .mktoError {
	background-color: var(--wp--preset--color--white);
	bottom: -8px !important;
	left: var(--wp--preset--spacing--16);
	padding: 0 4px;
	position: absolute;
	right: unset !important;
}

body:not(.has-no-blocks) .mktoErrorMsg {
	color: #bf0000;
	font-size: var(--wp--preset--font-size--3-x-small);
}

body:not(.has-no-blocks) .mktoRadioList {
	align-items: center;
	display: flex;
	justify-content: flex-start;
}

body:not(.has-no-blocks) .mktoRadioList label,
body:not(.has-no-blocks) .mktoRadioList input[type="radio"] {
	margin: 0;
}

body:not(.has-no-blocks) .mktoRadioList > input[type="radio"] ~ input[type="radio"] {
	margin-left: var(--wp--preset--spacing--16);
}

body:not(.has-no-blocks) .mktoRadioList input[type="radio"] + label {
	font-weight: 400;
	margin-left: var(--wp--preset--spacing--8);
	width: auto;
}

body:not(.has-no-blocks) .mktoFieldWrap:has(label[for="consentFormCheckbox"]) {
	display: flex;
}

body:not(.has-no-blocks) label[for="consentFormCheckbox"] {
	font-size: var(--wp--preset--font-size--3-x-small);
	font-weight: 400;
	line-height: var(--wp--custom--line-height--body);
	margin: 0 0 0 0.75rem;
	order: 2;
}

body:not(.has-no-blocks) label[for="consentFormCheckbox"] ~ .mktoCheckboxList {
	line-height: 1;
}

body:not(.has-no-blocks) label[for="consentFormCheckbox"] ~ .mktoCheckboxList input {
	margin: 0;
}

body:not(.has-no-blocks) .mktoCaptchaDisclaimer {
	font-size: var(--wp--preset--font-size--3-x-small);
}

/* Pillar colors. */
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-atomic-tangerine-trn-background-color
	form
	input:not([type="submit"]),
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-atomic-tangerine-trn-background-color
	form
	select,
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-atomic-tangerine-trn-background-color
	form
	textarea {
	background-color: var(--wp--preset--color--atomic-tangerine-trn);
	border: solid 1px var(--wp--preset--color--atomic-tangerine);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-atomic-tangerine-trn-background-color
	form
	input[type="checkbox"],
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-atomic-tangerine-trn-background-color
	form
	input[type="radio"] {
	accent-color: var(--wp--preset--color--atomic-tangerine);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-atomic-tangerine-trn-background-color
	form
	[type="submit"] {
	background-color: var(--wp--preset--color--atomic-tangerine);
	border-color: var(--wp--preset--color--atomic-tangerine);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-atomic-tangerine-trn-background-color
	form
	[type="submit"]:hover {
	background-color: var(--wp--preset--color--dairy-cream) !important;
	border-color: var(--wp--preset--color--atomic-tangerine) !important;
}

body:not(.has-no-blocks) .has-atomic-tangerine-trn-background-color .mktoForm {
	background-color: var(--wp--preset--color--white-trn-30);
	border: 1px solid var(--wp--preset--color--atomic-tangerine);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-emerald-background-color
	form
	input:not([type="submit"]),
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-emerald-background-color
	form
	select,
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-emerald-background-color
	form
	textarea {
	background-color: var(--wp--preset--color--emerald-trn);
}

body:not(.has-no-blocks) .has-emerald-background-color .mktoForm {
	background-color: var(--wp--preset--color--white);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-malibu-trn-background-color
	form
	input:not([type="submit"]),
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-malibu-trn-background-color
	form
	select,
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-malibu-trn-background-color
	form
	textarea {
	background-color: var(--wp--preset--color--malibu-trn);
	border: solid 1px var(--wp--preset--color--malibu);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-malibu-trn-background-color
	form
	input[type="checkbox"],
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-malibu-trn-background-color
	form
	input[type="radio"] {
	accent-color: var(--wp--preset--color--malibu);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-malibu-trn-background-color
	form
	[type="submit"] {
	background-color: var(--wp--preset--color--malibu);
	border-color: var(--wp--preset--color--malibu);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-malibu-trn-background-color
	form
	[type="submit"]:hover {
	background-color: var(--wp--preset--color--french-pass) !important;
	border-color: var(--wp--preset--color--malibu) !important;
}

body:not(.has-no-blocks) .has-malibu-trn-background-color .mktoForm {
	background-color: var(--wp--preset--color--white-trn-30);
	border: 1px solid var(--wp--preset--color--malibu);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-shocking-trn-background-color
	form
	input:not([type="submit"]),
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-shocking-trn-background-color
	form
	select,
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-shocking-trn-background-color
	form
	textarea {
	background-color: var(--wp--preset--color--shocking-trn);
	border: solid 1px var(--wp--preset--color--shocking);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-shocking-trn-background-color
	form
	input[type="checkbox"],
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-shocking-trn-background-color
	form
	input[type="radio"] {
	accent-color: var(--wp--preset--color--shocking);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-shocking-trn-background-color
	form
	[type="submit"] {
	background-color: var(--wp--preset--color--shocking);
	border-color: var(--wp--preset--color--shocking);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-shocking-trn-background-color
	form
	[type="submit"]:hover {
	background-color: var(--wp--preset--color--we-peep) !important;
	border-color: var(--wp--preset--color--shocking) !important;
}

body:not(.has-no-blocks) .has-shocking-trn-background-color .mktoForm {
	background-color: var(--wp--preset--color--white-trn-30);
	border: 1px solid var(--wp--preset--color--shocking);
}

body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-emerald-trn-background-color
	form
	input:not([type="submit"]),
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-emerald-trn-background-color
	form
	select,
body:not(.has-no-blocks)
	:is(.editor-styles-wrapper, .wp-site-blocks)
	.has-emerald-trn-background-color
	form
	textarea {
	background-color: var(--wp--preset--color--emerald-trn);
}

body:not(.has-no-blocks) .has-emerald-trn-background-color .mktoForm {
	background-color: var(--wp--preset--color--white-trn-30);
}

/* Specific Marketo forms. */
@media screen and (min-width: 600px) {
	body:not(.has-no-blocks) #mktoForm_3650 > :nth-child(-n + 7) {
		float: left;
		width: calc(50% - var(--wp--preset--spacing--8));
		margin-bottom: var(--wp--preset--spacing--20);
		margin-left: var(--wp--preset--spacing--16);
		margin-top: 0;
	}

	body:not(.has-no-blocks) #mktoForm_3650 > :nth-child(2n):nth-child(-n + 7) {
		margin-left: 0;
	}

	body:not(.has-no-blocks) #mktoForm_3650 > :nth-child(8) {
		clear: both;
		float: none;
		width: 100%;
		margin-left: 0;
	}
}

/* Back-to-Top Button
--------------------------------------------- */

#back-to-top {
	background-color: var(--wp--preset--color--emerald);
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 16"><path d="m25.101 12.948-12.5-12.5-12.5 12.5 2.5 2.5 10-10 10 10z"/></svg>');
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: 20px 20px;
	border: none;
	border-radius: 4px;
	bottom: var(--wp--preset--spacing--24);
	box-shadow: var(--wp--preset--shadow--small-dark);
	cursor: pointer;
	display: none;
	height: 42px;
	opacity: 0.5;
	padding: var(--wp--preset--spacing--16);
	position: fixed;
	right: var(--wp--preset--spacing--24);
	width: 42px;
	z-index: 99;
}

#back-to-top:focus,
#back-to-top:hover {
	opacity: 1;
}

/* Utility Classes
--------------------------------------------- */

@media screen and (min-width: 960px) {
	.hide-desktop {
		display: none !important;
	}
}

@media screen and (max-width: 959px) {
	.hide-mobile {
		display: none !important;
	}
}

/* Sidebar Layout */
.sidebar-layout,
.sidebar-layout-right {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sidebar-gap, 0);
}

.sidebar-layout > :first-child {
	flex-basis: 400px;
	flex-grow: 1;
}

.sidebar-layout > :last-child {
	flex-basis: 0;
	flex-grow: 999;
	min-inline-size: 50%;
}

.sidebar-layout-right > :last-child {
	flex-basis: 520px;
	flex-grow: 1;
}

.sidebar-layout-right > :first-child {
	flex-basis: 0;
	flex-grow: 999;
	min-inline-size: 50%;
}
