:root {
	--nav-height: 300px;
	--screen-padding: 24px;
	--screen-side-padding: 4vw;
	--footer-height: 40px;
	--gradient-height: 200px;
}

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

#wpadminbar {
	display: none;
}

.wp-block-template-part {
	margin-top: 0 !important;
}

html {
	margin-top: 0 !important;

	font-size: 16px;
	scroll-behavior: smooth;
	background: var(--wp--preset--color--dark-green);
}

.entry-content {
	margin-top: 0;
}

.entry-content > .wp-block-ari-plus-glass-container,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-group {
	padding: 0 var(--screen-side-padding);
	margin-top: 0;
}

/* header {
	z-index: 100;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	background-color: rgba(253, 249, 239, 0.8);
	backdrop-filter: blur(8px);
	padding: 0 var(--screen-side-padding);
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
} */

footer {
	padding: 0 var(--screen-side-padding);
}

/* ===================================
   Typography
   =================================== */

p {
	margin: 0 0 1em 0;
}

a {
	text-decoration: none;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--wp--preset--color--warm-gold);
}

.top-gradient-translated::before {
	content: '';
	position: absolute;
	top: calc(-1 * var(--gradient-height));
	height: var(--gradient-height);
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, #022b22 0%, rgba(2, 43, 34, 0) 100%);
}

.top-gradient::before,
.top-gradient-dark::before {
	content: '';
	position: absolute;
	top: 0;
	height: var(--gradient-height);
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	background: linear-gradient(to bottom, var(--wp--preset--color--forrest-green) 0%, rgba(2, 43, 34, 0) 100%);
	background: linear-gradient(to bottom, #000606 0%, rgba(2, 43, 34, 0) 100%);
}

.top-gradient-dark::before {
	background: linear-gradient(to bottom, #000606 0%, rgba(2, 43, 34, 0) 100%);
}

.top-gradient.wp-block-cover::before {
	z-index: 5;
}

.top-gradient.wp-block-cover > * {
	z-index: 10;
}

.top-gradient.wp-block-cover .wp-block-cover__image-background,
.top-gradient.wp-block-cover .wp-block-cover__background {
	z-index: 0;
}

.bottom-gradient::after,
.bottom-gradient-dark::after {
	content: '';
	position: absolute;
	height: var(--gradient-height);
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, #022b22 0%, rgba(2, 43, 34, 0) 100%);
	background: linear-gradient(to top, #000606 0%, rgba(2, 43, 34, 0) 100%);
}

.bottom-gradient-dark::after {
	background: linear-gradient(to top, #000606 0%, rgba(2, 43, 34, 0) 100%);
}

.wp-block.editor-column {
	flex-direction: column;
}

.full-width {
	margin: 0 -4vw;
}

.approach-cover {
	align-items: flex-start !important;
	padding-top: 2rem;
}

.approach {
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	height: calc(100vh - 10rem);

	gap: 1px;
	padding: 1px;
	box-sizing: border-box;
	position: relative;
	height: fit-content;
}

.approach::after {
	content: '';
	position: absolute;
	top: 1px;
	right: -99%;
	width: 100%;
	bottom: 0;
	border-top: 1px solid #fff;
	z-index: 1;
}

.approach > * {
	background: #061814a3;
	box-sizing: border-box;

	/* Only draw right and bottom borders by default */
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

/* Left edge */
.approach > *:nth-child(2n + 1) {
	border-left: 1px solid #fff;
}

/* Top edge */
.approach > *:nth-child(-n + 2) {
	border-top: 1px solid #fff;
}

.stretch {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

.wp-block-spacer.is-style-green,
.wp-block-spacer.is-style-dark-green {
	position: relative;
	margin-block-start: 0px;
}

.wp-block-spacer.is-style-green {
	background: var(--wp--preset--color--forrest-green);
}

.wp-block-spacer.is-style-dark-green {
	background: var(--wp--preset--color--dark-green);
}

.wp-block-spacer.top-gradient {
	min-height: var(--gradient-height) !important;
}

.align-child-vertically {
	display: flex;
	align-items: center;
	margin: 0 !important;
	margin-top: 0 !important;
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:active {
	color: var(--wp--preset--color--warm-gold);
}

.max-width-800 {
	max-width: 800px !important;
}

.has-p-big-font-size {
	line-height: 1.5 !important;
}

.lh-1 {
	line-height: 1 !important;
}

.entry-content > .wp-block-columns,
.entry-content > .wp-block-group {
	padding: var(--screen-padding) var(--screen-side-padding);
	padding: 5rem var(--screen-side-padding);
	margin-top: 0;
}
.entry-content > .wp-block-cover {
	padding: 0 var(--screen-side-padding);
	margin-top: 0;
}

.wp-block-group.is-style-screen-height {
	min-height: calc(100vh - 85px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.wp-block-group.with-bg {
	background-image: url('../img/background_beige.svg');
	background-size: cover;
}

.wp-block-image.is-style-column-right {
	height: calc(100% + 8rem);
	margin-top: -4rem;
	margin-bottom: -4rem;
	margin-right: -4rem;
}

.wp-block-image.is-style-column-right img {
	height: 100%;
	object-fit: cover;
	border-bottom-right-radius: 16px;
	border-top-right-radius: 16px;
}

.wp-block-separator.is-style-short {
	max-width: 100px;
	height: 3px;
	margin-bottom: 3rem;
}

.wp-block-image.is-style-rounded img {
	box-shadow:
		0 20px 25px -5px rgb(0 0 0 / 0.1),
		0 8px 10px -6px rgb(0 0 0 / 0.1);
	border-radius: 16px;
}

.wp-block-columns.is-style-rounded {
	border-radius: 16px;
	padding: 4rem;
}

@media (max-width: 1400px) {
	.partners > .wp-block-group {
		padding: 1.5rem;
	}
}

@media (max-width: 1350px) {
	.partners > .wp-block-group {
		padding: 1rem;
	}
}

@media (max-width: 1280px) {
	.partners img {
		height: 55px;
		max-width: 100px;
	}
}

@media (max-width: 1170px) {
	.partners > .wp-block-group {
		padding: 15px;
	}
	.partners > .wp-block-group > .wp-block-group {
		gap: 15px;
	}

	.partners img {
		height: auto;
		min-height: 55px;
		max-width: 90px;
	}
}

@media (max-width: 782px) {
	header {
		height: 90px;
		background: black;
	}

	:root {
		--wp--preset--font-size--heading-1: 2rem;
		--wp--preset--font-size--heading-2: 2rem;
		--wp--preset--font-size--heading-3: 1.4rem;
		--wp--preset--font-size--heading-4: 1.2rem;
		--wp--preset--font-size--p-big: 1.2rem;
		--wp--preset--font-size--medium: 1rem;
		--wp--preset--font-size--x-large: 4rem;
		--wp--preset--font-size--button: 0.9rem;
	}

	.entry-content > .wp-block-group {
		padding: 0 var(--screen-side-padding);
	}
	.wp-block-columns.is-style-rounded {
		padding: 1.5rem;
	}

	.wp-block-image.is-style-column-right {
		height: calc(100% + 1.5rem);
		margin-top: 0;
		margin-left: -1.5rem;
		margin-right: -1.5rem;
		margin-bottom: -1.5rem;
	}

	.wp-block-image.is-style-column-right img {
		border-bottom-right-radius: 16px;
		border-bottom-left-radius: 16px;
		border-top-right-radius: 0;
	}

	.approach {
		display: flex !important;
		flex-direction: column;
		margin-top: 0 !important;
		padding-bottom: 1rem;
	}

	.approach > :nth-child(2n + 1) {
		border-left: none;
	}

	.approach > * {
		border-right: none;
		border-left: none;
		border-top: 1px solid #fff;
		border-bottom: none;
	}

	.approach > *:last-child {
		border-bottom: 1px solid #fff;
	}

	.mobile-column-reverse {
		flex-direction: column-reverse;
	}

	.full-width {
		padding: 2rem var(--screen-side-padding) !important;
	}

	.wp-block-torgal-plus-image-container.alignright {
		float: none !important;
		margin-inline-start: 0 !important;
	}
}

@media (max-width: 700px) {
	.has-gigantic-font-size {
		font-size: 2.5rem !important;
	}
}

/* ===================================
   Component Styles
   =================================== */

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	font-family: var(--wp--preset--font-family--label);
	font-size: var(--wp--preset--font-size--label-sm);
	font-weight: 600;
	letter-spacing: var(--wp--preset--letter-spacing--label-sm);
	text-decoration: none;
	border: none;
	border-radius: var(--wp--preset--border-radius--default);
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-primary {
	background-color: var(--wp--preset--color--primary-container);
	color: var(--wp--preset--color--on-primary-container);
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--on-primary);
}

.btn-secondary {
	background-color: transparent;
	color: var(--wp--preset--color--primary-container);
	border: 1px solid var(--wp--preset--color--primary-container);
}

.btn-secondary:hover,
.btn-secondary:focus {
	background-color: var(--wp--preset--color--primary-container);
	color: var(--wp--preset--color--on-primary-container);
}

/* Input Fields */
input[type='text'],
input[type='email'],
input[type='password'],
input[type='search'],
textarea,
select {
	width: 100%;
	padding: 0.75rem 1rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--body-md);
	color: var(--wp--preset--color--on-surface);
	background-color: rgba(65, 82, 68, 0.05);
	border: 1px solid var(--wp--preset--color--outline-variant);
	border-radius: var(--wp--preset--border-radius--default);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary-container);
	border-width: 2px;
}
