/* Theme style */

@media (max-width: 670px) {
	:root {
		--wp--custom--header-height--top: 70px;
	}
}

/* ==========================================================================
Base styles
========================================================================== */

body {
	background-color: var(--wp--preset--color--neutral-3);
}

main {
    margin-top: calc(var(--wp--custom--header-height--total) + 40px);
}

/* Headings
========================================================================== */

:where(.has-primary-background-color) :is(.wp-block-heading, p, a, li) {
	color: var(--wp--preset--color--primary);
}

.has-heading-display-font-family {
	line-height: 1.25;
	margin-bottom: 0.5em;
}

.has-heading-font-family {
	font-weight: 500;
}

/* Paragraphs
========================================================================== */

.is-style-tag {
	background-color: var(--wp--preset--color--primary);
	border-radius: 50px;
	line-height: 1;
	max-width: fit-content;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 500;
	padding: var(--wp--preset--spacing--tiny) var(--wp--preset--spacing--s);
	margin-bottom: var(--wp--preset--spacing--m);
}

strong {
	font-weight: 500;
}

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

.safe-svg-cover ~ .has-xl-font-size {
	margin-top: var(--wp--preset--spacing--xs);
}

.is-style-tag ~ .wp-block-heading {
	margin-top: 0;
}

.safe-svg-cover ~ .wp-block-heading {
	margin-top: var(--wp--preset--spacing--xs);
}

/* Three and four column grid */
.qt-section :is(.grid-col-3, .grid-col-4) .wp-block-image + .wp-block-heading {
	margin-top: var(--wp--preset--spacing--l);
	margin-bottom: var(--wp--preset--spacing--xs);
}

/* Links
========================================================================== */

/* Lists
========================================================================== */

/* Buttons
========================================================================== */

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--style--block-gap);
	margin-top: var(--wp--preset--spacing--l);
}

.wp-block-buttons .wp-block-button__link {
	display: flex;
	align-items: center;
	font-family: var(--wp--preset--font-family--button);
	font-size: var(--wp--preset--font-size--s);
}

/* Primary button (core) */
.wp-block-button:not(.is-style-button-secondary, .is-style-outline, .is-style-button-text) {
	background: var(--wp--preset--color--primary-dark);
	color: #fff;
	align-items: center;
	justify-content: center;
	line-height: 0;
	/* margin-right: var(--wp--preset--spacing--s); */
}

.wp-block-button:not(.is-style-button-secondary, .is-style-outline, .is-style-button-text) :hover {
	color: #fff;
    background-color: var(--wp--preset--color--primary);
    opacity: 1;
}

/* Secondary button */
.is-style-button-secondary .wp-block-button__link {
	background-color: #fff;
	color: var(--wp--preset--color--primary);
	padding: var(--wp--preset--spacing--s) var(--wp--preset--spacing--m);
}

/* Outline button (core) */
.is-style-outline .wp-block-button__link {
	background-color: transparent;
	border: 1.5px solid #fff;
	color: inherit;
	line-height: 1;
	font-size: var(--wp--preset--font-size--s);
	font-weight: 500;
	max-width: fit-content;
	padding: var(--wp--preset--spacing--s) var(--wp--preset--spacing--m);
}

.is-style-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--primary-dark);
	color: #fff;
	opacity: 1;
}

/* Outline secondary button */

/* Text button */
/* .is-style-button-text .wp-block-button__link {
	text-decoration: none;
}

.is-style-button-text .wp-block-button__link::after {
	content: url(../images/icon-arrow-primary.svg);
	margin-left: var(--wp--preset--spacing--s);
}

.has-primary-background-color .is-style-button-text .wp-block-button__link::after {
	content: url(../images/icon-arrow-teal.svg);
} */

/* Button on background */

/* Button on background inverted */

/* Inputs
========================================================================== */

/* Label */
label {
	font-size: var(--wp--preset--font-size--s);
}

/* Input fields */

/* Select */

/* Checkbox & radio button */

/* Focus and active statements */

/* Acceptance */

/* Submit */
[type="submit"] {
	padding: var(--wp--preset--spacing--s) var(--wp--preset--spacing--m);
	border-radius: 10px;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--button);
	font-size: var(--wp--preset--font-size--xs);
}

/* Contact form 7
========================================================================== */

.acceptance [type="checkbox"] {
	border-color: var(--wp--preset--color--black);
}

.wpcf7-radio label,
.wpcf7-checkbox label,
.wpcf7-acceptance label {
	align-items: flex-start;
}

.wpcf7-form-control-wrap:has(.wpcf7-checkbox) {
    margin-top: 0.75em;
}

.submit [type="submit"] {
	width: 100%;
	min-height: 65px;
}

/* Media
========================================================================== */

/* Images */
.wp-block-image,
picture {
	/* border-radius: 10px; */
}

.wp-block-image .aligncenter,
.wp-block-image .alignleft,
.wp-block-image .alignright,
.wp-block-image.aligncenter,
.wp-block-image.alignleft,
.wp-block-image.alignright {
	display: block;
}

/* Video */

/* Iframe & embedded */

/* Files */
.wp-block-file:not(.wp-element-button) {
	font-size: inherit;
}

.wp-block-file:not(:last-child) {
	margin-bottom: var(--wp--preset--spacing--s);
}

/* ==========================================================================
Layout
========================================================================== */

/* Paddings and margins
========================================================================== */

.qt-section__inner.has-background,
.qt-container.has-background {
	padding: var(--wp--preset--spacing--m);
	border-radius: 20px;
}

/* Max widths
========================================================================== */

/* Grids
========================================================================== */

.grid-col-1 {
	grid-gap: calc(3 * var(--wp--style--block-gap));
}

.grid-col-2:not(.has-background) {
	grid-gap: calc(2 * var(--wp--style--block-gap));
}

@media (max-width: 768px) {
	.grid-col-1 {
		grid-gap: calc(2 * var(--wp--style--block-gap));
	}

	.grid-col-2 {
		grid-gap: var(--wp--style--block-gap);
	}
}

/* ==========================================================================
Announcement bar
========================================================================== */

/* ==========================================================================
Top bar
========================================================================== */

/* ==========================================================================
Header
========================================================================== */

.is-style-header-top .qt-container:has(.mega-menu:not(.mega-menu-mobile)) {
    display: flex;
    align-items: center;
    gap: var(--wp--style--block-gap);
    justify-content: flex-end;
}

.is-style-header-top .grid {
	gap: 0;
}

header .menu {
	grid-gap: 10px;
}

header .menu .menu-item a,
header .menu .menu-item span {
	font-weight: 500;
	font-size: var(--wp--preset--font-size--s);
	padding: 5px 15px 5px 15px;
}

header .menu > .menu-item.menu-item-has-children > :is(a, span) {
	padding: 5px 5px 5px 15px;
}

header .menu > .menu-item > a:hover,
header .menu > .menu-item > span:hover,
header .menu > .menu-item.is-open > :is(a, span) {
	text-decoration: underline;
	opacity: 1;
}

@media (min-width: 1201px) {
	header .menu .menu-item > :is(a, span) + .sub-menu {
		top: 100%;
		box-shadow: none;
	}

	header .menu > .menu-item > :is(a, span) {
		display: inline-block;
		height: auto;
	}

	header .menu > .menu-item > :is(a, span) img {
		vertical-align: middle;
	}

	.mega-menu .mega-menu-item-parent .chevron {
		margin-left: var(--wp--preset--spacing--xxs);
	}
}

@media (max-width: 670px) {
    .is-style-header-top .grid {
        grid-template-columns: auto 1fr auto;
        grid-gap: var(--wp--preset--spacing--s);
    }
}

/* Desktop menu
========================================================================== */

/* Site logo */

/* Header button */
@media (max-width: 768px) {
    header .wp-block-buttons {
        display: inline-block;
    }
}

@media (max-width: 420px) {
    header .wp-block-buttons {
        display: none;
    }
}

/* Language switcher */

/* Hamburger icon
========================================================================== */

/* User toolbar
========================================================================== */

@media (max-width: 980px) {
	.qt-container:has(.hamburger) .wp-block-buttons {
		margin-right: var(--wp--preset--spacing--s);
	}
}

/* Search bar
========================================================================== */

/* ==========================================================================
Footer
========================================================================== */

.is-style-footer-top .wp-block-site-logo {
	margin-bottom: var(--wp--preset--spacing--l);
}

.is-style-footer-top .grid {
	grid-template-columns: 2fr 1fr 1fr;
}

.is-style-footer-top p,
.is-style-footer-top a {
	color: #fff;
}


.is-style-footer-bottom .qt-section__inner {
    border-top: 1px solid rgb(204 236 241 / 25%);
    padding-top: var(--wp--preset--spacing--l);
	grid-gap: var(--wp--style--block-gap);
}

.is-style-footer-bottom .wp-block-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    display: flex;
    flex-direction: row;
    gap: calc(2 * var(--wp--style--block-gap));
    justify-content: flex-end;
    font-size: var(--wp--preset--font-size--xs);
}

footer .wp-block-list:has(img) {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
	gap: var(--wp--preset--spacing--s);
	margin-top: var(--wp--preset--spacing--l);
}

footer .wp-block-list:has(img) li {
	margin: 0;
	padding: 0;
}

footer .wp-block-list img {
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: 5px;
}

footer .wpml-language-switcher-block::before {
	filter: brightness(0) saturate(100%) invert(94%) sepia(8%) saturate(571%) hue-rotate(142deg) brightness(97%) contrast(95%);
}

@media screen and (max-width: 670px) {
	.is-style-footer-top .grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-gap: calc(2 * var(--wp--style--block-gap));
	}
	
	.is-style-footer-top .qt-container:has(.wp-block-site-logo) {
		grid-column: 1/-1;
	}
	
	.is-style-footer-bottom .wp-block-list {
		justify-content: flex-start;
	}
	
}

@media screen and (max-width: 480px) {
    .is-style-footer-top .grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Navigation
========================================================================== */

.footer-heading,
.is-style-footer-heading {
	font-size: var(--wp--preset--font-size--s);
	font-weight: 700;
	opacity: 1;
	margin-bottom: 1.5em;
}

.footer-menu .menu {
    display: block;
    line-height: 2.25;
	margin-top: 1em;
}

.footer-menu .menu-item a {
	font-size: var(--wp--preset--font-size--xs);
	text-decoration: none;
}

.footer-menu .menu-item a:hover {
	text-decoration: underline;	
}

/* ==========================================================================
Utility classes
========================================================================== */

/* ==========================================================================
Components and modules
========================================================================== */

/* Breadcrumbs
========================================================================== */

/* Pagination
========================================================================== */

/* Current, hover */
:is(.wp-block-query-pagination, .pagination) .page-numbers.current,
:is(.wp-block-query-pagination, .pagination) .page-numbers:hover {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

/* Prev, next */
.pagination .page-numbers,
.wp-block-query-pagination .page-numbers {
	background-color: var(--wp--preset--color--neutral-3);
	border: 1px solid transparent;
	border-radius: 15px;
}

.pagination .page-numbers path {
	fill: var(--wp--preset--color--primary);
}

.pagination .page-numbers:hover path {
	fill: var(--wp--preset--color--primary);
}

.pagination .page-numbers:is(.prev, .next):hover {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

.wp-block-query-pagination .wp-block-query-pagination-previous,
.wp-block-query-pagination .wp-block-query-pagination-next,
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	background-color: var(--wp--preset--color--neutral-3);
	color: var(--wp--preset--color--black);
	border-radius: 15px;
}

/* Accordion
========================================================================== */

.qt-accordion .grid {
	gap: var(--wp--style--block-gap);
}

.accordion-item {
    box-shadow: none;
    border: 0;
    padding: var(--wp--preset--spacing--xxs);
    background-color: var(--wp--preset--color--neutral-2);
}

/* Accordion heading */
.accordion-item__heading .wp-block-heading {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	margin-bottom: 0;
}

/* Accordion content */
.accordion-item__content {
	background-color: var(--wp--preset--color--neutral-3);
}
/* Accordion icon */

/* Tabs
========================================================================== */

/* Splide slider
========================================================================== */

.splide .splide__arrow {
	background-color: var(--wp--preset--color--primary);
	border-radius: 10px;
}

.splide__arrow:hover:not(:disabled) {
    opacity: 0.6;
    background-color: var(--wp--preset--color--primary);
}

.splide__track .splide__slide {
	margin: 0;
	padding: 0;
}

/* Slider header */

/* ==========================================================================
Styles for pages, sections, blocks and others.
========================================================================== */

/* Page: Search results 
========================================================================== */

/* Section: Hero
========================================================================== */

.is-style-hero .wp-block-cover {
	padding: var(--wp--preset--spacing--xxl) var(--wp--preset--spacing--m);
	height: 100vh;
	max-height: 700px;
	align-items: center;
}

.is-style-hero .wp-block-cover .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 8.07%, rgba(0, 0, 0, 0) 99.76%);
	opacity: 1 !important;
}

.is-style-hero .wp-block-cover .grid {
	grid-template-columns: 7fr 5fr;
	grid-gap: calc(3 * var(--wp--style--block-gap));
}

.is-style-hero .wp-block-button__link {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}
.is-style-hero .wp-block-button:not(.is-style-button-secondary, .is-style-outline) .wp-block-button__link::before {
	background-color: var(--wp--preset--color--primary);
	content: url("../images/icon-arrow-teal.svg");
}

.is-style-hero .wp-block-cover .qt-container:nth-child(1) {
	grid-area: 1/1/3/2;
	align-self: center;
}

.is-style-hero .qt-container[style="background-color:#FEE454"] .is-style-tag {
	background-color: var(--wp--preset--color--neutral-3);
}

.is-style-hero .wp-block-cover .qt-container {
	height: max-content;
	max-width: fit-content;
}

.is-style-hero .qt-container:has(a) {
	cursor: pointer;
}

.is-style-hero .qt-container:has(a) a {
    text-decoration: none;
}

@media (max-width: 768px) {
	.is-style-hero .wp-block-cover .grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.is-style-hero .wp-block-cover {
		align-items: flex-end;
	}

	.is-style-hero .wp-block-cover .qt-container.has-background {
		display: none;
	}
}

/* Section: Subhero
========================================================================== */

/* Section: Stacked boxes
========================================================================== */

.is-style-text-column:first-child {
	padding-left: 0;
}

/* Section - KPI values
========================================================================== */
.is-style-kpi .grid:not(.grid.grid-col-1) {
	grid-gap: var(--wp--preset--spacing--l);
}

/* Section - Intro with button
========================================================================== */
.is-style-intro-with-button {
	display: grid;
	grid-template-columns: minmax(0, var(--wp--custom--maxwidth--s)) 1fr;
	grid-column-gap: var(--wp--style--block-gap);
}

.is-style-intro-with-button p {
	grid-column: 1;
}

.is-style-intro-with-button .wp-block-buttons {
	margin: 0;
	display: flex;
	align-content: flex-end;
	justify-content: flex-end;
}

@media (max-width: 768px) {
	.is-style-intro-with-button {
		grid-template-columns: minmax(0, 1fr);
	}

	.is-style-intro-with-button .wp-block-buttons {
		margin-top: var(--wp--preset--spacing--l);
		justify-content: flex-start;
	}
}

/* Section - Boxes with aspect ratio
========================================================================== */

[class*="is-style-boxes-"] .qt-container > a {
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

[class*="is-style-boxes-"] .qt-container {
	padding: 0;
}
[class*="is-style-boxes-"] .qt-container > a {
	padding: var(--wp--preset--spacing--m);
}

[class*="is-style-boxes-"] p:last-of-type {
	margin-top: auto;
}

@media (max-width: 768px) {
	[class*="is-style-boxes-"] .grid-col-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	[class*="is-style-boxes-"] .qt-container > a {
		aspect-ratio: 1/1 !important;
	}
}

@media (max-width: 670px) {
	[class*="is-style-boxes-"] .grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Boxes with portrait cards */
.is-style-boxes-portrait .qt-container > a {
	aspect-ratio: 2/3;
}

/* Boxes with landscape cards */
.is-style-boxes-landscape .qt-container > a {
	aspect-ratio: 16/9;
}

/* Boxes with square cards */
.is-style-boxes-square .qt-container > a {
	aspect-ratio: 1/1;
}

/* TEMP */
.is-style-boxes-portrait .qt-container > a,
.is-style-boxes-square .qt-container > a,
.is-style-boxes-landscape .qt-container > a {
	aspect-ratio: unset;
}

/* Slider - Logos
========================================================================== */

/* Archive: Category
========================================================================== */

/* Category - Publikationer */
@media (min-width: 511px) {
	.category-publikationer .articles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Page: Articles
========================================================================== */

.articles.grid,
.latest-articles.grid {
	grid-gap: var(--wp--style--block-gap);
}

/* Filter buttons */
.articles__filter-buttons {
	margin-bottom: calc(2 * var(--wp--style--block-gap));
	margin-top: 0;
	align-items: center;
}

.articles__filter-buttons::before {
	content: "Filtrera:";
	font-weight: 500;
	font-size: var(--wp--preset--font-size--m);
}

.articles__filter-buttons .wp-block-button__link:is(.active, :hover) {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

/* Card */
.card--article {
	background-color: var(--wp--preset--color--primary);
	border-radius: 15px;
	padding: var(--wp--preset--spacing--m);
}

.card--article .card__image {
	aspect-ratio: var(--wp--custom--aspect-ratio--square);
	border-radius: 15px;
	position: relative;
}

.card--article .card__image .is-style-tag {
	position: absolute;
	top: 20px;
	left: 20px;
}

.card--article .card__image-img {
	height: 100%;
}

.card--article .card__title {
	margin-bottom: 0;
	line-height: 1.15;
	font-weight: 500;
}

/* Single: Article
========================================================================== */

.single .wp-block-post-title {
	margin-bottom: 0;
}

/* Post meta */
.single .post-meta:has(.post-meta__categories) {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--l);
}

.single .post-meta:has(.post-meta__date) {
	margin-top: 0;
}

.single .post-meta__categories {
	display: flex;
	gap: var(--wp--style--block-gap);
	margin: 0;
}

.single .post-meta__categories::before {
	display: none;
}

.single .post-meta__category .is-style-tag {
	text-decoration: none;
	font-weight: 500;
	color: var(--wp--preset--color--primary);
}

.single .post-meta__date {
	margin-top: var(--wp--preset--spacing--l);
	color: initial;
}

/* Featured image */
.single .wp-block-post-featured-image img {
	aspect-ratio: var(--wp--custom--aspect-ratio--landscape-wide);
	border-radius: 20px;
}

/* Page: Publications
========================================================================== */

/* .card--publication .card__image {
	aspect-ratio: var(--wp--custom--aspect-ratio--square);
}

.card--publication .card__image-img {
	height: 100%;
} */

/* Single: Publication
========================================================================== */

/* Section: Employees
========================================================================== */

.card--employee {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-template-rows: auto 1fr;
	grid-gap: calc(1.5 * var(--wp--style--block-gap));
	align-items: flex-start;
}

.card--employee .card__image-img {
	aspect-ratio: var(--wp--custom--aspect-ratio--square);
}

.card--employee .card__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.card--employee .card__content [class*="card__"] {
	margin-bottom: 0;
}

.card--employee .is-style-tag {
	background-color: transparent;
	border: 1.5px solid var(--wp--preset--color--primary);
	color: inherit;
}

.card--employee .card__name {
	margin-bottom: 0.5em !important;
	font-weight: 500;
}

.card--employee .card__phone::before {
	content: "T:";
	font-weight: 600;
}

.card--employee .card__email::before {
	content: "E:";
	font-weight: 600;
}

.card--employee .card__description {
	font-size: var(--wp--preset--font-size--xs);
	grid-column: 1/-1;
}

@media screen and (max-width: 670px) {
	.card--employee {
		grid-gap: var(--wp--style--block-gap);
	}
}

/* Section: Testimonial slider
========================================================================== */

.testimonials *::-webkit-scrollbar {
	display: none;
}

.testimonials {
	padding-right: 0;
	-ms-overflow-style: none;
    scrollbar-width: none;
	overflow-x: hidden;
}

.testimonials .qt-section__inner {
	display: grid;
	grid-gap: var(--wp--style--block-gap) 0;
	max-width: none;
    grid-template-columns: 1fr calc(var(--wp--custom--maxwidth--default) + var(--wp--preset--spacing--m)) 1fr;
}

.testimonials .qt-container {
	grid-column: 2 / -1;
	position: relative;
	left: var(--wp--preset--spacing--s);
}

.slider-testimonials {
    grid-column: 2 / -1;
    grid-gap: 0;
    left: calc(-1 * var(--wp--preset--spacing--s));
    /* width: calc(100% + var(--wp--preset--spacing--s)); */
    position: relative;
}

.slider-testimonials .splide__list {
	display: flex;
	gap: 0;
}

.slider-testimonials .splide__arrows {
	width: 100px;
    position: relative;
    left: var(--wp--preset--spacing--2);
    top: unset;
    margin-top: calc(3 * var(--wp--style--block-gap));
}

.slider-testimonials .splide__arrow--prev {
	left: 0;
}

@media (max-width: 1104px) {
	.testimonials .qt-section__inner {
		grid-template-columns: minmax(0, 1fr);
	}
	
	.testimonials .qt-container {
		grid-column: 1;
	}
}

/* Testimonial card */
.card--testimonial {
	padding: var(--wp--preset--spacing--m);
	border-radius: 20px;
	display: grid;
    grid-template-columns: 1fr 3fr;
	grid-gap: var(--wp--preset--spacing--m) var(--wp--preset--spacing--l);
}

.card--testimonial .is-style-tag {
	margin-bottom: 0;
}

.card--testimonial .card__content {
	grid-column: 2/3;
}

.card--testimonial .card__author {
    flex-direction: column;
    align-items: flex-start;
	margin-bottom: var(--wp--preset--spacing--m);
}

.card--testimonial .card__author-name {
    font-weight: 500;
    color: inherit;
}

.card--testimonial .card__author-subheadline {
    opacity: 1;
}

.card--testimonial .card__content {
	font-size: var(--wp--preset--font-size--xs);
}

.card--testimonial .card__quotatation {
	padding: var(--wp--preset--spacing--m);
}

@media (max-width: 670px) {
	.card--testimonial {
		grid-template-columns: 1fr;
	}
	
	.card--testimonial .card__quotatation {
		padding: var(--wp--preset--spacing--s) 0;
	}
	
	.card--testimonial .card__quotatation img {
		width: 45px;
	}
	
	.card--testimonial .card__author, 
	.card--testimonial .card__content {
		grid-column: 1/-1;
	}
	
	.card--testimonial .is-style-tag {
		margin-bottom: 0;
	}
}

/* Testimonial card - Odd */
.splide__slide:nth-child(odd) .card--testimonial {
	background-color: var(--wp--preset--color--primary);
}

.splide__slide:nth-child(odd) .card--testimonial img {
	filter: brightness(0) saturate(100%) invert(13%) sepia(62%) saturate(514%) hue-rotate(141deg) brightness(90%) contrast(103%);
}

.splide__slide:nth-child(odd) .card--testimonial .is-style-tag {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

.splide__slide:nth-child(odd) .card--testimonial .card__author,
.splide__slide:nth-child(odd) .card--testimonial .card__content {
	color: var(--wp--preset--color--primary);
}

.splide__slide:nth-child(odd) .card--testimonial .card__author-subheadline {
    color: var(--wp--preset--color--primary);
}

/* Testimonial card - Even */
.splide__slide:nth-child(even) .card--testimonial {
	background-color: var(--wp--preset--color--primary);
}
.splide__slide:nth-child(even) .card--testimonial img {
	filter: brightness(0) saturate(100%) invert(94%) sepia(8%) saturate(571%) hue-rotate(142deg) brightness(97%) contrast(95%);
}

.splide__slide:nth-child(even) .card--testimonial .is-style-tag {
	color: var(--wp--preset--color--primary);
}

.splide__slide:nth-child(even) .card--testimonial .card__author,
.splide__slide:nth-child(even) .card--testimonial .card__content {
	color: var(--wp--preset--color--primary);
}

.splide__slide:nth-child(even) .card--testimonial .card__author-subheadline {
    color: var(--wp--preset--color--primary);
}

/* Section: Feature slider
========================================================================== */

.slider-features {
	display: grid;
	grid-template-columns: 2fr 10fr;
	grid-gap: calc(2 * var(--wp--style--block-gap));
	align-items: center;
	margin-right: calc(-1 * var(--wp--preset--spacing--m));
}

.slider-features .splide__track {
	grid-column: 2 / 3;
}

.slider-features .splide__pagination {
	grid-area: 1 / 1 / -1 / 2;
	position: relative;
	padding: 0;

	flex-direction: column;
	gap: var(--wp--style--block-gap);
	align-items: flex-start;
	justify-content: center;
}

/* Slider pagination */
.slider-features .splide__pagination__page {
	margin: 0;
	background: none;
	width: auto;
	height: auto;
	transform: none;
	color: var(--wp--preset--color--primary);
	font-weight: 500;
	text-align: left;
	line-height: 1.5;
	border-radius: 0;
	transform: none;
	opacity: 1;
	transition: all 150ms linear;
}

.slider-features .splide__pagination__page:hover,
.slider-features .splide__pagination__page.is-active {
	opacity: 1;
}

/* Feature card */
.card--feature {
	display: grid;
	grid-template-columns: 4fr 5fr;
	grid-gap: calc(2 * var(--wp--style--block-gap));
	align-items: center;
}

.card--feature .card__image-img {
	border-radius: 20px;
	aspect-ratio: var(--wp--custom--aspect-ratio--square);
	object-fit: cover;
}

.card--feature h3.card__content-heading {
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--l);
}

.card--feature .card__content-text {
	font-size: var(--wp--preset--font-size--xs);
}

.card--feature .card__content-text ul {
	list-style: initial;
}

@media (max-width: 768px) {
	.slider-features {
		display: flex;
	}

	.card--feature {
		display: flex;
		flex-direction: column;
		gap: var(--wp--style--block-gap);
	}
}

/* Section: Image gallery with lightbox
========================================================================== */

/* Section: FAQ
========================================================================== */

.qt-accordion .accordion-item__heading .wp-block-heading {
	font-size: var(--wp--preset--font-size--m);
}

.header-lang-switcher {
	display: none !important;
}

main {
    margin-top: var(--wp--custom--header-height--total);
}

/* link icons for phone and email */

p.phone-icon a[href^="tel:"]::before {
	content: "";
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	margin-right: 0.5em;
	vertical-align: -0.35em;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='%2300656F' d='M224.2 89C216.3 70.1 195.7 60.1 176.1 65.4L170.6 66.9C106 84.5 50.8 147.1 66.9 223.3C104 398.3 241.7 536 416.7 573.1C493 589.3 555.5 534 573.1 469.4L574.6 463.9C580 444.2 569.9 423.6 551.1 415.8L453.8 375.3C437.3 368.4 418.2 373.2 406.8 387.1L368.2 434.3C297.9 399.4 241.3 341 208.8 269.3L253 233.3C266.9 222 271.6 202.9 264.8 186.3L224.2 89z'/%3E%3C/svg%3E");
}

p.mail-icon a[href^="mailto:"]::before {
	content: "";
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	margin-right: 0.5em;
	vertical-align: -0.35em;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='%2300656F' d='M544 128C579.3 128 608 156.7 608 192L608 448C608 483.3 579.3 512 544 512L96 512C60.7 512 32 483.3 32 448L32 192C32 156.7 60.7 128 96 128L544 128zM96 192L320 352L544 192L96 192zM544 448L544 272L336.9 427.3C327.4 434.5 314.6 434.5 305.1 427.3L96 272L96 448L544 448z'/%3E%3C/svg%3E");
}


/* Social icons in footer */
footer .wp-social-link-instagram {
    background-color: #000;
    color: #fff;
}

ul.wp-block-social-links.is-layout-flex.wp-block-social-links-is-layout-flex {
    margin-top: 24px;
}