/* Global style */

:root {
    --wp--admin-bar-offset: 32px;
}

@media (max-width: 782px) {
    :root {
        --wp--admin-bar-offset: 46px;
    }
}

@media (max-width: 768px) {
    :root {
        --wp--preset--spacing--section-y: 4rem;
        --wp--preset--spacing--section-x: 1.5rem;
    }
}

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

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

body {
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

html.no-scroll,
body.no-scroll {
    overflow: hidden;
}

div[id],
section[id] {
    scroll-margin-top: var(--wp--preset--spacing--xxl);
}

.grecaptcha-badge {
    display: none !important;
}

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

.wp-block-heading:only-child {
    margin-bottom: 0 !important;
}

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

p {
    margin-bottom: 1em;
}

p:only-of-type {
    margin-bottom: 0;
}

p:last-of-type {
    margin-bottom: 0;
}

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

h1 ~ h2 {
    margin-top: var(--wp--preset--spacing--l);
}

h2 ~ h3 {
    margin-top: var(--wp--preset--spacing--l);
}

p ~ h2 {
    margin-top: var(--wp--preset--spacing--l);
}

p ~ h3 {
    margin-top: var(--wp--preset--spacing--l);
}

.is-style-eyebrow + .wp-block-heading {
    margin-top: 0;
}

.wp-block-heading ~ :is(figure, iframe, video, table) {
    margin-top: var(--wp--preset--spacing--l);
}

:is(figure, iframe, video, table) + .wp-block-heading {
    margin-top: var(--wp--preset--spacing--l);
}

.wp-block-heading ~ .wpcf7 {
    margin-top: var(--wp--preset--spacing--m);
}

/* 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--s);
    margin-bottom: var(--wp--preset--spacing--xs);
}

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

a:hover {
    opacity: 0.6;
}

/* Arrow link */
.is-style-arrow-link a {
    text-decoration: none;
    color: currentColor;
}

.is-style-arrow-link a::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22black%22%20xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M12.5146%208.76945H0.0742188V7.23069H12.5146L6.67114%201.38725L7.76802%200.306274L15.4618%208.00007L7.76802%2015.6939L6.67114%2014.6129L12.5146%208.76945Z%22/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: var(--wp--preset--spacing--xs);
    transition: transform 100ms linear;
}

.is-style-arrow-link a:hover::after,
.is-style-arrow-link a:focus::after {
    transform: translateX(4px);
}

/* Arrow link inverted */
.is-style-arrow-link-inverted a {
    text-decoration: none;
    color: var(--wp--preset--color--white);
}

.is-style-arrow-link-inverted a::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22black%22%20xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M12.5146%208.76945H0.0742188V7.23069H12.5146L6.67114%201.38725L7.76802%200.306274L15.4618%208.00007L7.76802%2015.6939L6.67114%2014.6129L12.5146%208.76945Z%22/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: var(--wp--preset--spacing--xs);
    transition: transform 100ms linear;
    filter: invert(1);
}

.is-style-arrow-link-inverted a:hover::after,
.is-style-arrow-link-inverted a:focus::after {
    transform: translateX(4px);
}

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

ul:not(.wp-block-list),
ol:not(.wp-block-list) {
    list-style: none;
}

:is(ul, ol),
.wp-block-list {
    list-style-position: outside;
    margin-left: 1em;
}

:is(ul, ol):not(.menu) li {
    margin-bottom: 0.5em;
    padding-left: 0.25em;
}

:is(ul, ol) :is(ul, ol),
.wp-block-list .wp-block-list {
    margin: 0.5em 0 0.5em 2em;
}

:is(ul, ol) + :is(ul, ol),
.wp-block-list + .wp-block-list {
    margin-top: 1em !important;
}

:is(ul, ol) + p,
.wp-block-list + p {
    margin-top: 1em;
}

p + :is(ul, ol),
p + .wp-block-list {
    margin-top: 1em;
}

:is(.wp-block-list, ul, ol) + .wp-block-heading {
    margin-top: var(--wp--preset--spacing--l);
}

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

.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--s);
}

.wp-block-buttons .wp-block-button__link {
    display: flex;
    align-items: center;
}

.wp-block-button__link:hover {
    opacity: 0.6;
}

.wp-block-button__link:disabled,
button:disabled {
    opacity: 0.6;
}

/* Primary button (core) */

/* Secondary button */
.is-style-button-secondary .wp-block-button__link {
    background-color: var(--wp--preset--color--neutral-1);
    color: var(--wp--preset--color--white);
}

/* Inverted button */
.is-style-button-inverted .wp-block-button__link {
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
}

/* Outline button (core) */

/* Outline button inverted */
.is-style-button-outline-inverted .wp-block-button__link {
    background-color: transparent;
    color: var(--wp--preset--color--white);
    border-color: var(--wp--preset--color--white);
}

/* Text button */
.is-style-button-text .wp-block-button__link {
    background-color: transparent;
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-skip-ink: none;
    color: currentColor;
}

/* Text button inverted */
.is-style-button-text-inverted .wp-block-button__link {
    background-color: transparent;
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-skip-ink: none;
    color: var(--wp--preset--color--white);
}

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

label,
button,
summary,
[type='radio'],
[type='submit'],
[type='checkbox'] {
    cursor: pointer;
}

/* Label */
label {
    display: block;
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 400;
    margin-bottom: var(--wp--preset--spacing--xxs);
}

/* Input fields */
input,
textarea,
select {
    width: 100%;
    box-sizing: border-box;
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--xs);
    border: 1px solid var(--wp--preset--color--neutral-2);
    border-radius: 0;
    background-color: transparent;
    color: var(--wp--preset--color--black);
    font-size: inherit;
    font-family: inherit;
}

/* Select */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url(../images/icon-select-dropdown.svg);
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
}

/* Checkbox & radio button */
[type='radio'],
[type='checkbox'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--wp--preset--color--neutral-2);
    background-color: transparent;
}

[type='checkbox'] {
    border-radius: 0;
    aspect-ratio: 1/1;
}

[type='radio'] {
    border-radius: 50px;
}

[type='checkbox']:checked,
[type='checkbox']:not(:disabled):checked {
    background-color: transparent;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="10" viewBox="0 0 32 32" xml:space="preserve"><path style="fill: %23163039" d="M11.941,28.877l-11.941-11.942l5.695-5.696l6.246,6.246l14.364-14.364L32,8.818"/></svg>');
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
}

[type='radio']:checked,
[type='radio']:not(:disabled):checked {
    background-color: transparent;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 32 32"><circle cx="16" cy="16" r="8" style="fill: %23163039"/></svg>');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Focus and active statements */
/* :is(select, input, textarea, radio, checkbox):is(:focus, :checked) {
	background-color: inherit;
	border: 1px solid var(--wp--preset--color--black);
	outline: none;
	box-shadow: none;
} */

/* Acceptance */
.acceptance * {
    font-size: var(--wp--preset--font-size--xs);
}

/* Submit */
[type='submit'] {
    width: auto;
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--m);
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    border-radius: 0;
    border: 1px solid transparent;
    font-family: var(--wp--preset--font-family--button);
    font-size: var(--wp--preset--font-size--s);
    font-style: normal;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1;
    text-transform: none;
    transition: all 150ms linear;
}

[type='submit']:hover {
    opacity: 0.55;
}

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

.wpcf7-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-gap: var(--wp--preset--spacing--m);
}

.wpcf7-form p {
    margin-bottom: 0;
}

.wpcf7-form-control-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--xs);
}

span.wpcf7-spinner {
    display: none;
}

:is(input, textarea, select).wpcf7-not-valid {
    border-color: var(--wp--custom--color--error);
}

.wpcf7-not-valid-tip {
    font-size: var(--wp--preset--font-size--xxs);
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    font-size: var(--wp--preset--font-size--xxs);
    border: 1px solid currentColor;
    padding: 0.5em 0.75em;
    grid-column: 1 / -1;
    margin: 0;
}

.wpcf7-not-valid-tip,
.wpcf7 form.invalid .wpcf7-response-output {
    color: var(--wp--custom--color--error);
}

.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    color: var(--wp--custom--color--warning);
}

.wpcf7 form.sent .wpcf7-response-output {
    color: var(--wp--custom--color--success);
}

.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.wpcf7-radio,
.wpcf7-checkbox,
.wpcf7-acceptance {
    display: flex;
    grid-gap: var(--wp--preset--spacing--xs);
    flex-direction: column;
}

.wpcf7-radio label,
.wpcf7-checkbox label,
.wpcf7-acceptance label {
    display: flex;
    gap: var(--wp--preset--spacing--xs);
    align-items: center;
    margin: 0;
    font-size: var(--wp--preset--font-size--s);
}

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

/* Images */
.wp-block-image,
picture {
    font-size: 0;
    line-height: 0;
}

.wp-block-image img {
    box-sizing: border-box;
    max-width: 100%;
    height: auto;
}

/* Video */

/* Iframe & embedded */
.embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.embed-container:not(:last-of-type) {
    margin-bottom: var(--wp--style--block-gap);
}

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

.is-layout-flow > *,
.is-layout-constrained > * {
    /* margin-block-start: unset;
	margin-block-end: unset; */
}

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

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

.qt-section {
    padding: 0 var(--wp--preset--spacing--m) var(--wp--preset--spacing--xxl);
}

main > .qt-section:first-of-type:not(.is-style-breadcrumbs),
.entry-content > .qt-section:not(.has-background):first-of-type {
    padding-top: var(--wp--preset--spacing--xxl);
}

.is-style-breadcrumbs
    + .entry-content
    > .qt-section:first-of-type:not(.has-background) {
    padding-top: 0;
}

.qt-section .qt-section {
    padding: 0;
}

.qt-section.has-background,
.qt-section__inner.has-background {
    padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--m);
}

.qt-section.container-fullwidth {
    padding: 0;
}

.qt-section.container-fullwidth,
.qt-section.has-background {
    margin-bottom: var(--wp--preset--spacing--xxl);
}

.qt-container.has-background {
    padding: var(--wp--preset--spacing--l);
}

.qt-section:last-of-type:is(.has-background) {
    margin-bottom: 0;
}

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

.qt-section {
    max-width: unset !important;
    margin: unset;
}

.qt-section
    :is(
        .container-xs,
        .container-s,
        .container-m,
        .container-default,
        .container-l,
        .container-xl
    ) {
    margin: 0 auto;
    width: 100%;
}

.qt-section__inner {
    margin: 0 auto;
    max-width: var(--wp--custom--maxwidth--default);
    z-index: 2 !important;
}

.container-default,
.container-default > .qt-section__inner {
    max-width: var(--wp--custom--maxwidth--default);
}

.container-xs,
.container-xs > .qt-section__inner {
    max-width: var(--wp--custom--maxwidth--xs);
}

.container-s,
.container-s > .qt-section__inner {
    max-width: var(--wp--custom--maxwidth--s);
}

.container-m,
.container-m > .qt-section__inner {
    max-width: var(--wp--custom--maxwidth--m);
}

.container-l,
.container-l > .qt-section__inner {
    max-width: var(--wp--custom--maxwidth--l);
}

.container-xl,
.container-xl > .qt-section__inner {
    max-width: var(--wp--custom--maxwidth--xl);
}

.container-fullwidth,
.container-fullwidth > .qt-section__inner {
    max-width: var(--wp--custom--maxwidth--none);
}

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

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

@media screen and (max-width: 1200px) {
    .grid-col-5,
    .grid-col-6,
    .columns-5,
    .columns-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media screen and (max-width: 980px) {
    .grid-col-4,
    .grid-col-5,
    .grid-col-6,
    .columns-4,
    .columns-5,
    .columns-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 670px) {
    .grid-col-3,
    .grid-col-4,
    .grid-col-5,
    .grid-col-6,
    .columns-3,
    .columns-4,
    .columns-5,
    .columns-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Text left, image right */
    .qt-section .grid-col-2 .is-style-image-column {
        grid-row: -1;
    }

    /* Image left, text right */
    .qt-section .grid-col-2 .is-style-image-column {
        grid-row: 1;
    }
}

@media screen and (max-width: 670px) {
    .grid.columns-2 {
        grid-gap: var(--wp--preset--spacing--l);
    }

    .grid-col-2,
    .columns-2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media screen and (max-width: 510px) {
    .grid-col-3,
    .grid-col-4,
    .grid-col-5,
    .grid-col-6,
    .columns-3,
    .columns-4,
    .columns-5,
    .columns-6 {
        grid-template-columns: minmax(0, 1fr);
    }
}

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

.announcement-bar {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    align-items: center;
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--xl)
        var(--wp--preset--spacing--xs) var(--wp--preset--spacing--m);
    min-height: var(--wp--custom--header-height--announcement-bar);
    overflow: hidden;
    transition: height 0.2s ease;
    text-align: center;
    position: relative;
}

.announcement-bar__inner {
    max-width: var(--wp--custom--maxwidth--default);
}

.announcement-bar p,
.announcement-bar a {
    color: var(--wp--preset--color--white);
    font-size: var(--wp--preset--font-size--xs);
}

.announcement-bar p {
    margin: 0;
    font-family: var(--wp--preset--font-family--paragraph);
    line-height: 1.15;
}

.announcement-bar__close {
    position: absolute;
    right: var(--wp--preset--spacing--xs);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.announcement-bar__close path {
    fill: var(--wp--preset--color--white);
}

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

.top-bar {
    display: flex;
    align-items: center;
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--m);
    height: var(--wp--custom--header-height--top-bar);
    border-bottom: 1px solid var(--wp--preset--color--neutral-2);
}

.top-bar__inner {
    max-width: var(--wp--custom--maxwidth--default);
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar__item {
    font-size: var(--wp--preset--font-size--xs);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

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

.admin-bar header.wp-block-template-part {
    top: var(--wp--admin-bar-offset);
}

header.wp-block-template-part {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--wp--preset--color--white);
    z-index: 2;
}

.is-style-header-top {
    height: var(--wp--custom--header-height--top);
    padding: 0 var(--wp--preset--spacing--m);
    background-color: var(--wp--preset--color--white);
    border-bottom: 1px solid var(--wp--preset--color--neutral-2);
}

.is-style-header-top .qt-container:has(.user-toolbar) {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    gap: 0;
}

.is-style-header-top .qt-section__inner {
    height: 100%;
}

.is-style-header-top .grid {
    grid-template-columns: auto 1fr auto;
    gap: calc(2 * var(--wp--style--block-gap));
}

.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-start;
}

.is-style-header-bottom {
    height: var(--wp--custom--header-height--bottom);
    padding: var(--wp--preset--spacing--s) var(--wp--preset--spacing--l);
    background-color: var(--wp--preset--color--white);
}

/* If announcement bar or top bar is visible
========================================================================== */
.admin-bar:has(.announcement-bar, .top-bar) main {
    margin-top: 0;
}

body:has(.announcement-bar, .top-bar) main {
    margin-top: 0;
}
body:has(.announcement-bar, .top-bar) header.wp-block-template-part {
    top: 0;
    position: sticky;
}

.admin-bar:has(.announcement-bar, .top-bar) header.wp-block-template-part {
    top: var(--wp--admin-bar-offset);
}

@media (min-width: 769px) {
    .admin-bar.is-scrolled header.wp-block-template-part {
        top: var(--wp--admin-bar-offset);
    }
}

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

header .mega-menu {
    gap: var(--wp--preset--spacing--m);
}

header .menu .menu-item {
    margin: 0;
}

header .menu-item,
header .menu-item a {
    text-decoration: none;
    color: inherit;
    font-weight: inherit;
}

/*
* Show sub menu on hover
* Only for dropdowns where trigger is <a> and <span>, mega menu is not active
*/
@media (min-width: 1101px) {
    .mega-menu-item.menu-item-has-children > .sub-menu {
        max-width: var(--wp--custom--maxwidth--default);
        /* left: 50%;
		transform: translateX(-50%); */
    }

    header .menu .menu-item:not(.mega-menu-item) > :is(a, span) + .sub-menu {
        display: none;
        position: absolute;
        left: auto;
        background-color: var(--wp--preset--color--white);
        list-style: none;
        width: 250px;
        max-height: calc(100vh - var(--wp--custom--header-height--total));
        padding: var(--wp--preset--spacing--m) var(--wp--preset--spacing--m);
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
        z-index: 1;
        border-radius: 0;
        margin: 0 -1.5rem;
    }

    header
        .menu
        .menu-item:not(.mega-menu-item)
        > :is(a, span):hover
        + .sub-menu,
    header
        .menu
        .menu-item:not(.mega-menu-item):hover
        > :is(a, span)
        + .sub-menu {
        display: flex;
        flex-direction: column;
        gap: var(--wp--preset--spacing--xs);
    }

    header .menu > .menu-item:not(.mega-menu-item) {
        height: var(--wp--custom--header-height--top);
        display: inline-flex;
        align-items: center;
    }

    header .menu .menu-item a,
    header .menu .menu-item span {
        /* height: 100%; */
        display: flex;
        align-items: center;
        cursor: pointer;
    }
}

/* Site logo */
.wp-block-site-logo a:hover {
    opacity: 1;
}

@media (max-width: 670px) {
    .wp-block-site-logo img {
        max-width: 120px;
    }
}

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

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

@media (max-width: 670px) {
    .is-style-header-top .qt-container:has(.mega-menu:not(.mega-menu-mobile)) {
        display: none;
    }

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

    .is-style-header-top .qt-container:has(.user-toolbar) {
        justify-content: flex-end;
    }
}

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

#toggle-hamburger {
    width: 40px;
    height: 40px;
}

.hamburger-icon {
    position: relative;
    height: 2px;
    width: 24px;
    background-color: var(--wp--preset--color--black);
}

.hamburger-icon::before {
    top: 9px;
    background-color: var(--wp--preset--color--black);
}

.hamburger-icon::after {
    bottom: 9px;
    background-color: var(--wp--preset--color--black);
}

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

.qt-container:has(.user-toolbar) {
    display: flex;
    align-items: center;
    grid-gap: 0;
}

.user-toolbar {
    display: flex;
    gap: var(--wp--preset--spacing--tiny);
}

.user-toolbar__item {
    padding: 0;
    position: relative;
}

.user-toolbar ~ .wp-block-buttons {
    margin-left: var(--wp--preset--spacing--s);
}

.user-toolbar__button,
.user-toolbar__button:hover {
    background-color: transparent;
    border: 0;
    opacity: 1;
}

.user-toolbar__button,
.user-toolbar__icon {
    background-color: transparent;
    border: 0;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-toolbar__icon svg {
    width: 34px;
}

.user-toolbar__icon.search svg {
    width: 32px;
}

@media (min-width: 1101px) {
    .qt-container:has(.user-toolbar) {
        grid-gap: 0;
    }
}

@media (max-width: 768px) {
    .user-toolbar {
        margin-right: var(--wp--preset--spacing--xxs);
    }
}

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

header:has(.announcment-bar) #header-search-bar {
    top: calc(
        var(--wp--custom--header-height--announcment-bar) +
            var(--wp--custom--header-height--top)
    );
}

#header-search-bar {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    background-color: var(--wp--preset--color--white);
    padding: 0 var(--wp--preset--spacing--m);
    height: var(--wp--custom--header-height--bottom);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: -1;
    border-bottom: 1px solid var(--wp--preset--color--neutral-2);
    opacity: 0;
    transition: opacity 0.25s ease, top 0.25s ease;
}

#header-search-bar.is-visible {
    top: var(--wp--custom--header-height--top);
    opacity: 1;
}

#header-search-bar .wp-block-search__input {
    padding-left: 0;
    padding-right: 0;
    border: 0;
}

header .wp-block-search {
    width: 100%;
    max-width: var(--wp--custom--maxwidth--default);
    margin: 0 auto;
}

header .wp-block-search__inside-wrapper {
    border: 0;
}

header .wp-block-search__button {
    background-color: transparent;
}

header .wp-block-search__button svg {
    fill: var(--wp--preset--color--black);
    min-height: 30px;
    min-width: 30px;
}

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

footer .is-style-social-icons {
    display: flex;
    gap: var(--wp--preset--spacing--s);
}

footer .is-style-social-icons p {
    margin-bottom: 0;
}

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

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

.qt-container.is-horizontally-stretched {
    grid-column: 1 / -1;
}

.qt-container.is-style-vertically-aligned-space-between {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-gap: var(--wp--preset--spacing--l);
}

.qt-container.is-horizontally-aligned-left {
    margin-left: 0;
}

.qt-container.is-horizontally-aligned-center {
    margin-left: auto;
    margin-right: auto;
}

.qt-container.is-horizontally-aligned-right {
    margin-right: 0;
}

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

/* Card */
.card {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--s);
}

/* Content with read more
========================================================================== */
[data-readmore-content] {
    max-height: 75px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.2s linear;
}

[data-readmore-content]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2rem;
    background: linear-gradient(
        0deg,
        var(--wp--preset--color--white),
        rgba(255, 255, 255, 0)
    );
    transition: max-height 0.2s linear;
}

.is-open[data-readmore-content]::after {
    display: none;
}

[data-readmore-button] {
    background-color: transparent;
    box-shadow: none;
    border: none;
    margin-top: 1em;
    transition: all 150ms linear;
    cursor: pointer;
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-skip-ink: none;

    font-size: var(--wp--preset--font-size--s);
    color: inherit;
    font-family: inherit;
    font-weight: 400;
}

[data-readmore-button]:hover {
    opacity: 0.6;
}

@media (max-width: 510px) {
    [data-readmore-content] {
        max-height: 100px;
    }

    [data-readmore-content]::after {
        height: 2rem;
        background: linear-gradient(
            0deg,
            var(--wp--preset--color--white),
            rgba(255, 255, 255, 0.25)
        );
    }
}

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

.is-style-breadcrumbs {
    padding-top: var(--wp--preset--spacing--m);
    padding-bottom: var(--wp--preset--spacing--xl);
    font-size: var(--wp--preset--font-size--xs);
}

.is-style-breadcrumbs:has(
        + .entry-content > .qt-section.has-background:first-of-type
    ) {
    padding-bottom: var(--wp--preset--spacing--m);
}

.rank-math-breadcrumb a {
    color: var(--wp--preset--color--neutral-1);
}

.rank-math-breadcrumb a:not(:hover) {
    text-decoration: none;
}

@media (max-width: 768px) {
    .is-style-breadcrumbs {
        padding-top: var(--wp--preset--spacing--s);
    }

    .is-style-breadcrumbs:has(
            + .entry-content > .qt-section.has-background:first-of-type
        ) {
        padding-bottom: var(--wp--preset--spacing--s);
    }
}

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

.pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: var(--wp--preset--spacing--l);
}

.pagination .pagination-numbers {
    display: inline-flex;
    gap: var(--wp--preset--spacing--s);
}

:is(.wp-block-query-pagination, .pagination) .page-numbers {
    text-decoration: none;
}

/* 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--black);
    border-color: transparent;
    color: var(--wp--preset--color--white);
    opacity: 1;
}

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

/* Prev, next */
.pagination .page-numbers,
.wp-block-query-pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--neutral-3);
    border: 1px solid transparent;
    border-radius: 0;
    color: inherit;
}

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

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

.pagination .page-numbers:is(.prev, .next):hover {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    border: 1px solid transparent;
}

.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: 0;
    border: 1px solid transparent;
}

.page-numbers :is(.next, .prev) {
    width: fit-content;
    font-size: 0;
}

/* Google map
========================================================================== */

.acf-map {
    width: 100%;
    height: 450px;
}

.acf-map img {
    max-width: inherit !important;
}

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

/* .accordion-item {
	height: fit-content;
	cursor: pointer;
}

.accordion-item:last-of-type {
	margin-bottom: 0;
} */

/* Accordion heading */
/* .accordion-item__heading * {
	pointer-events: none;
}

.accordion-item__heading {
	display: grid;
	grid-template-columns: repeat(2, auto);
	justify-content: space-between;
	align-items: center;
	grid-gap: var(--wp--style--block-gap);
	cursor: pointer;
	line-height: normal;
}

.accordion-item__heading h2 {
	line-height: normal;
	font-size: var(--wp--preset--font-size--m);
	margin: 0;
}

/* Accordion content */
/* .accordion-item__content {
	max-height: 0;
	transition: max-height 150ms linear;
	overflow: hidden;
	max-width: 100%;
	height: fit-content;
}

.accordion-item__content * {
	font-size: var(--wp--preset--font-size--s);
}

.accordion-content__inner {
	padding-top: var(--wp--preset--spacing--s);
} */

/* Accordion icon */
/* .accordion-item__icon {
	position: relative;
	width: 14px;
	height: 14px;
	cursor: pointer;
}

.accordion-item__icon:before,
.accordion-item__icon:after {
	content: "";
	display: block;
	background-color: var(--wp--preset--color--black);
	position: absolute;
	top: 50%;
	left: 0;
	transition: all 150ms linear;
	width: 100%;
	height: 2px;
}

.accordion-item__icon:before {
	transform: translatey(-50%);
}

.accordion-item.is-open .accordion-item__icon:before {
	transform: translatey(-50%) rotate(-90deg);
	opacity: 0;
}

.accordion-item__icon:after {
	transform: translatey(-50%) rotate(90deg);
}
.accordion-item.is-open .accordion-item__icon:after {
	transform: translatey(-50%) rotate(0);
} */

/* Product tabs (?)
========================================================================== */
.tabs__navigation {
    display: flex;
    gap: var(--wp--preset--spacing--m);
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border-bottom: 1px solid var(--wp--preset--color--neutral-2);
}

.tabs__navigation-button {
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--wp--preset--color--black);
    font-size: var(--wp--preset--font-size--m);
    font-family: inherit;
    font-weight: 400;
    padding: var(--wp--preset--spacing--s) 0;
    cursor: pointer;
    margin-bottom: 0;
}

.tabs__navigation-button.active,
.tabs__navigation-button:hover {
    border-color: var(--wp--preset--color--neutral-2);
}

.tabs__panels-content:not(.active) {
    display: none;
}

.tabs__panels-content {
    padding-top: var(--wp--style--block-gap);
}

.tabs__panels-content table {
    width: 100%;
}

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

.splide .splide__arrow {
    min-height: 40px;
    min-width: 40px;
    background-color: var(--wp--preset--color--white);
    border: 0;
    opacity: 1;
    border-radius: 50px;
    filter: drop-shadow(rgba(0, 0, 0, 0.1) 0px 2px 4px)
        drop-shadow(rgba(0, 0, 0, 0.05) 0px 2px 8px);
    transition: all 150ms linear;
}

.splide .splide__arrow svg {
    width: 1.5rem;
    height: 1.5rem;
}

.splide .splide__arrow:disabled {
    opacity: 0;
}

.splide__arrow:hover:not(:disabled) {
    opacity: 1;
    background-color: var(--wp--preset--color--neutral-3);
}

.splide__arrow--prev {
    left: 0;
}

.splide__arrow--next {
    right: 0;
}

/* Slider header */
.slider-heading .wp-block-heading {
    margin-bottom: 0;
}

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

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

.wp-block-search__inside-wrapper {
    border: 0;
}

.search-results .wp-block-search__inside-wrapper {
    border: 0;
}

.search-results .wp-block-post-excerpt__more-text {
    margin-top: var(--wp--preset--spacing--s);
}

.search-results .wp-block-post {
    padding-bottom: var(--wp--preset--spacing--l);
    border-bottom: 1px solid var(--wp--preset--color--neutral-2);
}

.search-results .wp-block-post .wp-block-post-excerpt__more-link {
    text-decoration: underline;
}
.search-results .wp-block-post .wp-block-post-excerpt__more-link:hover {
    opacity: 0.6;
}

:root :where(.wp-block-search .wp-block-search__input) {
    padding: var(--wp--preset--spacing--xxs) var(--wp--preset--spacing--xs);
    border: 1px solid var(--wp--preset--color--neutral-2);
}

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

main > .qt-section:first-of-type:is(.is-style-hero),
.entry-content > .qt-section:first-of-type:is(.is-style-hero) {
    padding-top: 0;
}

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

main > .qt-section:first-of-type:is(.is-style-subhero),
.entry-content > .qt-section:first-of-type:is(.is-style-subhero) {
    padding-top: 0;
}

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

.is-style-stacked-boxes .grid-col-2.has-background {
    padding: 0;
}

.is-style-stacked-boxes .is-style-image-column .wp-block-image {
    height: 100%;
    width: 100%;
}

.is-style-stacked-boxes .is-style-image-column img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.is-style-stacked-boxes .is-style-text-column.has-background,
.is-style-text-column {
    padding: var(--wp--preset--spacing--l) var(--wp--preset--spacing--m);
}

@media (min-width: 769px) {
    .is-style-stacked-boxes .grid-col-2 {
        grid-gap: 0;
    }

    .is-style-stacked-boxes .is-style-text-column {
        padding: 0 var(--wp--preset--spacing--l);
    }
}

@media (max-width: 768px) {
    .is-style-text-column:not(.has-background) {
        padding: 0;
    }

    .is-style-stacked-boxes > .grid {
        grid-gap: var(--wp--preset--spacing--l);
    }

    .is-style-stacked-boxes .grid-col-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .is-style-stacked-boxes
        .qt-container:nth-of-type(even)
        .qt-section
        .qt-container:first-of-type {
        grid-row: 2;
    }
}

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

.slider-logos .splide__slide {
    display: flex;
    align-items: center;
}

.slider-logos .splide__list {
    gap: var(--wp--preset--spacing--l) !important;
}

.slider-logos .splide__slide img {
    max-width: 100px;
    height: 40px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(1);
}

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

.category:has(.category__image) .qt-section:first-of-type {
    padding-top: 0;
    /* margin-bottom: 0; */
}

.wp-block-query-title:only-child {
    margin-bottom: 0;
}

/* Category image */
.is-style-breadcrumbs:has(+ .category__image) {
    padding-bottom: var(--wp--preset--spacing--m);
}

.category__image img {
    width: 100%;
    max-height: 400px;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .is-style-breadcrumbs:has(+ .category__image) {
        padding-bottom: var(--wp--preset--spacing--s);
    }

    .category__image img {
        max-height: 350px;
    }
}

/* Category description */
.category__description {
    max-width: var(--wp--custom--maxwidth--m);
}

/* Additional content - Plain text */
.additional-content__plain-text .qt-section__inner {
    column-gap: var(--wp--style--block-gap);
    break-inside: avoid;
}

.column-count-1 {
    column-count: 1;
}
.column-count-2 {
    column-count: 2;
}
.column-count-3 {
    column-count: 3;
}

@media (max-width: 980px) {
    .column-count-3 {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .column-count-2,
    .column-count-3 {
        column-count: 1;
    }
}

/* Additional content - Text left, image right */
@media (max-width: 768px) {
    .additional-content__image-right .is-style-image-column {
        grid-row: -1;
    }
}

/* Additional content - Image left, text right */
@media (max-width: 768px) {
    .additional-content__image-left .is-style-image-column {
        grid-row: 1;
    }
}

/* Articles
========================================================================== */

/* Card */
.card--article {
    text-decoration: none;
    opacity: 1;
}

.card--article .card__media:has(.card__postmeta) {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--xs);
}

.card--article .card__image {
    aspect-ratio: var(--wp--custom--aspect-ratio--landscape);
    overflow: hidden;
}

.card--article .card__image-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.card--article .card__postmeta-date {
    font-size: var(--wp--preset--font-size--xs);
}

.card--article .card__title {
    font-size: var(--wp--preset--font-size--m);
    font-weight: 700;
    color: var(--wp--preset--color--black);
    margin-bottom: 0.25em;
    line-height: 1.2;
}

.card--article .card__excerpt {
    font-size: var(--wp--preset--font-size--s);
}

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

.single .wp-block-post-featured-image img {
    aspect-ratio: 3/2;
    object-fit: cover;
}

.single .post-meta {
    margin-top: var(--wp--preset--spacing--s);
    display: flex;
    gap: var(--wp--preset--spacing--tiny);
    color: var(--wp--preset--color--neutral-1);
}

.single .post-meta__categories::before {
    content: '|';
}

.single .post-meta__categories {
    display: flex;
    gap: var(--wp--preset--spacing--tiny);
}

/* Employees
========================================================================== */

.card--employee .card__content [class*='card__'] {
    margin-bottom: 0.5em;
}

.card--employee .card__name {
    font-size: var(--wp--preset--font-size--m);
    font-weight: 700;
    color: var(--wp--preset--color--black);
}

.card--employee .card__image-img {
    aspect-ratio: var(--wp--custom--aspect-ratio--portrait);
    object-fit: cover;
}

.card--employee .card__email {
    word-break: break-all;
}

/* Testimonial slider
========================================================================== */

.slider-testimonials .splide__arrows {
    position: absolute;
    width: 110px;
    right: 0;
    height: fit-content;
    top: -3em;
}

.slider-testimonials .splide__arrow--next {
    right: 0;
}

.slider-testimonials .splide__arrow--prev {
    left: 1em;
}

.slider-testimonials .splide__track {
    margin-left: auto;
    margin-right: auto;
}

/* Testimonial card */
.card--testimonial {
    height: 100%;
    justify-content: space-between;
    gap: var(--wp--preset--spacing--l);
}

.card--testimonial .card__author {
    display: flex;
    align-items: center;
    gap: var(--wp--preset--spacing--s);
}

.card--testimonial .card__author-image img {
    height: 50px;
    width: 50px;
    object-fit: cover;
}

.card--testimonial .card__author-name {
    font-weight: 600;
    color: var(--wp--preset--color--black);
    display: flex;
    flex-direction: column;
}

.card--testimonial .card__author-subheadline {
    font-weight: 400;
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--neutral-1);
}

/* Image gallery with lightbox
========================================================================== */

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

button[data-accordion='accordion-trigger'] {
    text-align: left;
}
