/* Variables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body {
	--color-text-body: rgb(26, 26, 26);
	--color-text-muted: rgb(102, 102, 102);
	--color-primary: rgb(17, 66, 179);
	--color-primary-light: rgb(41, 92, 212);
	--color-lightblue: rgb(60, 156, 194);
	--padding-content: 5rem;
}

/* 900px */
@media (max-width: 56.25em) {

	body {
		--padding-content: 3rem;
	}

}


/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.btn,
.wp-block-button__link {
	display: inline-block;
	padding: 0.65rem 1.5rem;
	margin: 0.25rem 0;
	background-color: var(--color-primary);
	border-radius: 0.375rem;
	font-size: 1em;
	font-weight: 600;
	color: rgb(255, 255, 255);
	text-align: center;
	text-decoration: none;
	transition: 0.2s ease background-color;
}

.btn:focus,
.btn:hover,
.wp-block-button__link:focus,
.wp-block-button__link:hover {
	background-color: var(--color-primary-light);
}


/* WP Blocks
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.wp-block-column > :first-child {
	margin-top: 0;
}

.wp-block-separator {
	margin: 1.5rem 0;
}
.wp-block-image figure.alignright,
.wp-block-image figure.alignleft {
	max-width: calc(50% - 1.5em);
}

.wp-block-image figure.alignright {
	margin-left: 1.5em;
}

.wp-block-image figure.alignleft {
	margin-right: 1.5em;
}

figcaption {
	font-size: 0.833em;
	font-style: italic;
	color: var(--color-text-muted);
}


/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.grid {
	--cols: 2;
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	gap: 1.5em;
}


/* Structure
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.wrapper,
.wrapper-medium,
.wrapper-narrow {
	max-width: 100%;
	padding-inline: 2rem;
	margin: 0 auto;
}

.wrapper [class*="wrapper"] {
	padding: 0;
}

.wrapper {
	width: 64rem;
}

.wrapper-medium {
	width: 50rem;
}

.wrapper-narrow {
	width: 40rem;
}

main.index {
	padding: var(--padding-content) 0;
}

#page-content {
	padding: calc(var(--padding-content) - 1rem) 0 var(--padding-content);
}

/* 600px */
@media (max-width: 37.5em) {

	.wrapper,
	.wrapper-medium {
		padding-inline: 1.5rem;
	}

}


/* Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	position: sticky;
	top: 0;
	z-index: 10;
	padding: 0.5rem 1.5rem;
	background-color: rgb(255, 255, 255);
	border-bottom: 1px solid rgb(221, 221, 221);
	font-size: 0.9rem;
}

#header.is-scrolled {
	box-shadow: 0 1em 2em rgb(0, 0, 0, 0.1);
}

	#header > div {
		display: flex;
		align-items: center;
		gap: 1.2rem;
	}

	#header .logo {
		width: 3em;
		transition: 0.2s ease all;
	}

	#header.is-scrolled .logo {
		width: 2.5em;
	}

	#header a {
		font-weight: 600;
		color: var(--color-text-body);
		text-decoration: none;
	}

	#header a:hover {
		color: var(--color-primary);
	}

	#header .lang {
		padding: 0;
		margin: 0;
		list-style: none;
		text-transform: uppercase;
	}

#header-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em 1em;
	padding: 0;
	margin: 0;
	list-style: none;
}

#header-nav li {
	margin: 0;
}

	#header-nav li a {
		display: block;
	}


/* Mobile Nav
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 56.25em) {

	.js-nav-open {
		overflow: hidden;
	}

	#header [class^="mobile-nav"] {
		width: 2rem;
		height: 2rem;
		display: block;
		position: relative;
		-webkit-mask-image: var(--icon);
		mask-image: var(--icon);
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-size: cover;
		mask-size: cover;
	}

	#header [class^="mobile-nav"]::before {
		content: "";
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		transform: scale(125%);
	}

	#header-nav > .mobile-nav-close::before {
		display: none;
	}

	#header .mobile-nav-open {
		--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18M3 6h18M3 18h18'/%3E%3C/svg%3E");
		background-color: var(--color-text-body);
	}

	#header-nav > div > .mobile-nav-close {
		--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
		position: absolute;
		top: 2rem;
		right: 2rem;
		background-color: rgb(255, 255, 255);
	}
	
	#header-nav {
		width: 100vw;
		height: 0;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 11;
		opacity: 0;
		overflow: hidden;
		transition: 0.7s ease opacity;
	}

		#header-nav > div {
			width: 20rem;
			max-width: 100%;
			height: 100%;
			position: fixed;
			top: 0;
			left: -100%;
			z-index: 1;
			padding: 6rem 2rem 2rem;
			background-color: var(--color-lightblue);
			overflow-y: auto;
			transition: 0.7s ease left;
		}

		#header-nav ul {
			flex-direction: column;
			gap: 0.75em;
			font-size: 1.2rem;
		}

			#header-nav ul a {
				color: rgb(255, 255, 255);
			}

			#header-nav ul a:hover {
				color: var(--color-text-body);
			}

	#header-nav:target,
	.js-nav-open #header-nav {
		height: 100%;
		opacity: 1;
	}

		:is(#header-nav:target, .js-nav-open #header-nav) > .mobile-nav-close {
			content: "";
			width: 100vw;
			height: 100%;
			position: fixed;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
			z-index: -1;
			background-color: rgba(0, 0, 0, 0.2);
			cursor: default;
		}

		:is(#header-nav:target, .js-nav-open #header-nav) > div {
			left: 0;
		}
	
}


/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#footer {
	width: 100%;
	padding: var(--padding-content) 0 calc(var(--padding-content) / 2);
	background: url(../images/bg_footer.svg) right bottom / 55% no-repeat rgb(67, 75, 93);
	font-size: 0.9rem;
	color: rgb(255, 255, 255);
}

	#footer a {
		color: rgb(255, 255, 255);
		text-decoration: none;
	}

	#footer ul {
		padding: 0;
		list-style: none;
	}

	#footer .title {
		opacity: 40%;
	}

	#footer address {
		margin-bottom: 0;
		font-style: normal;
	}

	#footer .logo {
		display: flex;
		align-items: center;
	}

	#footer .top {
		display: grid;
		grid-template-columns: 2fr 1fr 1fr;
		gap: 1.2rem;
	}

	#footer .bottom {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1.2rem;
		margin-top: var(--padding-content);
	}

/* 600px */
@media (max-width: 37.5em) {

	#footer .top {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	#footer .bottom {
		flex-direction: column;
		text-align: center;
	}

	#footer .logo img {
		max-width: 20rem;
		margin: 0 auto;
	}

}


/* Banner
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#banner {
	width: 100%;
	position: relative;
	padding: var(--padding-content) 0 calc(var(--padding-content) + 1.5rem);
	background-color: var(--color-lightblue);
	overflow: hidden;
	color: #fff;
	text-align: center;
}

#banner.index {
	padding: 0;
	text-align: left;
}

	#banner::after {
		content: "";
		width: 100%;
		min-width: 25rem;
		height: 2.5rem;
		position: absolute;
		bottom: -1px;
		left: 50%;
		z-index: 1;
		background-image: url("data:image/svg+xml,%3Csvg class='border' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' clip-rule='evenodd' viewBox='0 0 1440 54' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M1058.866 53.67H0V26.999s377.55-60.006 720 0c114.149 20.003 232.199 26.67 338.866 26.67zM1440 26.999v26.67h-381.134C1272.199 53.67 1440 27 1440 27z'/%3E%3C/svg%3E");
		background-size: 100% 100%;
		transform: translateX(-50%);
		pointer-events: none;
	}

	#banner .splide {
		width: 100%;
		height: 100%;
		font-size: 1.25rem;
		color: #fff;
	}

		#banner .splide__track {
			height: 100%;
		}

		#banner .splide .splide__list {
			min-height: max(25rem, 40vh);
			flex-direction: row;
			align-items: stretch !important;
			gap: 0;
			list-style: none;
		}

		#banner .splide__slide {
			display: flex;
			justify-content: center;
			align-items: center;
			padding: var(--padding-content) 0 calc(var(--padding-content) + 2.5rem);
			background-position: center;
			background-size: cover;
			background-repeat: no-repeat;
		}

		#banner .splide__slide:not(.is-active) {
			height: 0 !important;
		}

		#banner .splide .txt-flow {
			font-style: italic;
			filter: drop-shadow(-0.1em 0.1em 1px rgb(0, 0, 0, 20%));
		}

		#banner .splide .font-xl {
			font-weight: 700;
		}

			#banner .splide .font-xl span {
				background-color: #FB9C84;
				background-image: linear-gradient(to right, #FB9C84 0%, #ADCAFF 100%);
				background-size: 100%;
				font-weight: 700;
				-webkit-background-clip: text;
				-moz-background-clip: text;
				-webkit-text-fill-color: transparent;
				-moz-text-fill-color: transparent;
			}


/* Home
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.home-btns {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.2rem;
	position: relative;
	z-index: 2;
	margin-top: -9.5%;
}

	.home-btns a {
		height: 7.5rem;
		display: flex;
		align-items: end;
		position: relative;
		top: 0;
		padding: 1.5rem 1rem;
		background: url(../images/bg_leaf.svg) right bottom / auto 90% no-repeat;
		background-color: rgb(71, 160, 223);
		border: 2px solid rgb(0, 0, 0, 30%);
		border-radius: 1rem;
		font-size: clamp(1.2rem, 3vw, 1.6rem);
		font-style: italic;
		font-weight: 700;
		color: rgb(255, 255, 255);
		line-height: 1.2;
		text-decoration: none;
		text-shadow: -0.1em 0.1em 1px rgb(0, 0, 0, 20%);
		transition: 0.2s ease all;
	}

	.home-btns .bg-blue {
		background-color: rgb(71, 160, 223);
	}

	.home-btns .bg-red {
		background-color: rgb(249, 80, 34);
	}

	.home-btns .bg-green {
		background-color: rgb(165, 207, 31);
	}

	.home-btns a:hover,
	.home-btns a:focus {
		top: -0.25em;
	}

/* 600px */
@media (max-width: 37.5em) {

	.home-btns {
		grid-template-columns: 1fr;
		gap: 0.5rem;
		margin-top: -4rem;
	}

	.home-btns a {
		height: 5.5rem;
	}

}


/* FAQ
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#faq {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

	#faq details {
		width: 100%;
		border: 1px solid #ccc;
		border-radius: 0.35em;
	}

	#faq details:hover {
		border-color: var(--color-primary);
	}

	#faq summary {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1em;
		position: relative;
		padding: 1em;
		margin-bottom: 0;
		font-weight: 600;
		cursor: pointer;
		transition: 0.3s ease margin-bottom;
	}

	#faq summary::after {
		content: "";
		width: 1.5em;
		height: 1.5em;
		flex: 0 0 auto;
		background: center / cover no-repeat;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(26,26,26,1)'%3E%3Cpath d='M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z'%3E%3C/path%3E%3C/svg%3E");
	}

	#faq .entry-content {
		padding: 0.5em 1em 1.5em;
	}

	#faq details:open {
		border-color: var(--color-primary);
	}

	#faq details:open summary::after {
		transform: rotate(180deg);
	}

	#faq details:open summary {
		margin-bottom: 0.5rem;
	}


/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#custom-form .forminator-custom-form {
	margin-top: 2rem;
}

#custom-form .forminator-row:not(:last-child) {
	margin-bottom: 1.5rem;
}

#custom-form.forminator-row-last {
	margin-bottom: 0 !important;
}

#custom-form .forminator-label,
#custom-form .forminator-error-message {
	font-size: 0.833rem !important;
}

#custom-form .forminator-label {
	margin-bottom: 0.25em;
	font-weight: 600;
}

#custom-form .forminator-error-message {
	padding: 0.25em 0.75em;
}

#custom-form .forminator-input,
#custom-form .forminator-textarea {
	padding: 0.5em;
	border-color: #ccc;
	font-size: 1rem !important;
}

#custom-form .forminator-datepicker {
	padding-left: 2em;
}

#custom-form .select2-selection__rendered {
	padding: 0.5em;
	font-size: 1em !important;
	line-height: 1.3em !important;
}

#custom-form .forminator-icon-calendar {
	font-size: 1em;
}

#custom-form .forminator-textarea {
	min-height: 15rem !important;
}

#custom-form .forminator-input:focus-visible,
#custom-form .forminator-textarea:focus-visible {
	border-color: var(--color-primary);
}

#custom-form .forminator-button {
	display: inline-block;
	padding: 0.65em 1.5em;
	background-color: rgb(255, 255, 255);
	border: 1px solid var(--color-primary);
	border-radius: 0.375em;
	font-size: 0.833em !important;
	font-weight: 600 !important;
	color: var(--color-primary);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

#custom-form .forminator-button-upload {
	width: auto !important;
	margin: 0 0.5em 0 0 !important;
}

#custom-form .forminator-button:focus,
#custom-form .forminator-button:hover {
	background-color: rgb(240, 240, 240);
	box-shadow: none;
}

#custom-form .forminator-button-submit {
	background-color: var(--color-primary);
	color: rgb(255, 255, 255);
}

#custom-form .forminator-button-submit:focus,
#custom-form .forminator-button-submit:hover {
	background-color: var(--color-primary-light);
}

/* 768px */
@media (max-width: 48em) {

	#custom-form .forminator-button {
		width: 100%;
	}

}


/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* 1800px */
@media (max-width: 112.5em) {}


/* 1200px */
@media (max-width: 75em) {}


/* 900px */
@media (max-width: 56.25em) {}


/* 600px */
@media (max-width: 37.5em) {}