/* Theme style */

:root {
    --wp--custom--border-radius: 6px;
}

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

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

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

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

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

.qt-section.container-fullwidth:last-of-type,
.qt-section.has-background:last-of-type {
    margin-bottom: 0;
}

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

.has-heading-display-font-family {
    line-height: 1.25;
    margin-bottom: 0.5em;
    font-family: var(--wp--preset--font-family--paragraph);
}

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

.is-style-usp-heading {
    display: flex;
    gap: var(--wp--preset--spacing--xs);
    align-items: center;
    margin-bottom: var(--wp--preset--spacing--m);
}

.is-style-usp-heading:before {
    flex-shrink: 0;
    content: "";
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M26.2133 12.8532L25.7333 11.5998L28.2133 10.6665C26.9867 7.83984 24.8 5.57317 22.0533 4.1865L20.9867 6.55984L19.76 5.99984L20.8267 3.59984C19.3333 3.01317 17.7067 2.6665 16 2.6665C14.5867 2.6665 13.2267 2.95984 11.9467 3.33317L12.8533 5.7865L11.6 6.2665L10.6667 3.7865C7.84 5.01317 5.57334 7.19984 4.18667 9.9465L6.56 11.0132L6 12.2398L3.60001 11.1732C3.01334 12.6665 2.66667 14.2932 2.66667 15.9998C2.66667 17.4132 2.96001 18.7732 3.33334 20.0532L5.78667 19.1465L6.26667 20.3998L3.78667 21.3332C5.01334 24.1598 7.20001 26.4265 9.94667 27.8132L11.0133 25.4398L12.24 25.9998L11.1733 28.3998C12.6667 28.9865 14.2933 29.3332 16 29.3332C17.4133 29.3332 18.7733 29.0398 20.0533 28.6665L19.1467 26.2132L20.4 25.7332L21.3333 28.2132C24.16 26.9865 26.4267 24.7998 27.8133 22.0532L25.44 20.9865L26 19.7598L28.4 20.8265C28.9867 19.3332 29.3333 17.7065 29.3333 15.9998C29.3333 14.5865 29.04 13.2265 28.6667 11.9465L26.2133 12.8532ZM19.0667 23.3865C14.9867 25.0665 10.2933 23.1465 8.61334 19.0665C6.93334 14.9865 8.85334 10.2932 12.9333 8.61317C17.0133 6.93317 21.7067 8.85317 23.3867 12.9332C23.7917 13.9029 24.0011 14.9431 24.0031 15.994C24.005 17.045 23.7994 18.0859 23.398 19.0572C22.9966 20.0284 22.4074 20.9109 21.6641 21.6538C20.9208 22.3967 20.0381 22.9856 19.0667 23.3865Z' fill='%23E12027'/%3E%3C/svg%3E%0A");
}

.wp-block-heading.is-style-has-border-bottom {
    border-bottom: 1.5px solid var(--wp--preset--color--red);
    padding-bottom: var(--wp--preset--spacing--xs);
    margin-bottom: var(--wp--preset--spacing--m);
}

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

strong {
    font-weight: 700;
}

.is-style-paragraph-large {
    font-size: var(--wp--preset--font-size--m);
}

.is-style-tag {
    border-radius: var(--wp--custom--border-radius);
    padding: var(--wp--preset--spacing--xxs) var(--wp--preset--spacing--xs);
    font-size: var(--wp--preset--font-size--xs);
    background-color: var(--wp--preset--color--white);
    display: flex;
    align-items: center;
    gap: var(--wp--preset--spacing--xs);
}

.is-style-tag svg {
    width: 14px;
    height: 14px;
}

.is-style-rental-details {
    padding: var(--wp--preset--spacing--m) 0;
    border-top: 1px solid var(--wp--preset--color--black-lighter);
    border-bottom: 1px solid var(--wp--preset--color--black-lighter);
    font-weight: 600;
}

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

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

/* 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
========================================================================== */

.is-style-has-red-underline a,
.rental-card .is-style-has-red-underline {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--wp--preset--color--red);
    text-decoration-thickness: 2px;
    font-weight: 500;
    margin-bottom: var(--wp--preset--spacing--xs);
    font-family: var(--wp--preset--font-family--heading);
}

p:not(.is-style-has-red-underline) + .is-style-has-red-underline {
    margin-top: var(--wp--preset--spacing--l);
}

.menu-item a:hover {
    opacity: 1;
}

.qt-container.has-background:has(.is-style-has-red-underline) {
    padding-bottom: var(--wp--preset--spacing--l);
}

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

::marker {
    color: var(--wp--preset--color--red);
}

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

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

/* Secondary button */
.is-style-button-secondary .wp-block-button__link {
    background-color: var(--wp--preset--color--yellow);
    border: 1px solid var(--wp--preset--color--yellow);
    color: var(--wp--preset--color--black);
}

/* Outline button (core) */
.is-style-outline .wp-block-button__link {
    background-color: transparent;
    border: 1px solid var(--wp--preset--color--black);
}

.is-style-button-text .wp-block-button__link {
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-color: var(--wp--preset--color--red);
    text-decoration-thickness: 2px;
    font-weight: 500;
}

/* Outline secondary button */

/* Button on background */

/* Button on background inverted */

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

.is-style-eyebrow {
    font-size: var(--wp--preset--font-size--s);
    margin-bottom: var(--wp--preset--spacing--s);
    font-weight: 600;
    font-family: var(--wp--preset--font-family--paragraph);
}

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

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

/* Input fields */

/* Select */

/* Checkbox & radio button */

/* Focus and active statements */

/* Acceptance */

/* Submit */

/* 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;
}

input,
textarea,
select {
    border: 1px solid var(--wp--preset--color--black);
    border-radius: 4px;
}

.wpcf7-form-control-wrap {
    margin-top: 0.5em;
}

[type="submit"] {
    background-color: var(--wp--preset--color--red);
    font-family: var(--wp--preset--font-family--paragraph);
    color: var(--wp--preset--color--white);
    padding: 12px var(--wp--preset--spacing--s);
    font-size: var(--wp--preset--font-size--s);
    border-radius: 8px;
}

[type="checkbox"] {
    border: 1px solid var(--wp--preset--color--black-lighter);
}

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

/* Images */
.wp-block-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.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--l) var(--wp--preset--spacing--m)
        var(--wp--preset--spacing--m);
    border-radius: var(--wp--custom--border-radius);
}

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

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

.qt-section.is-style-grid-75-25 .qt-section__inner {
    grid-template-columns: 2fr 1fr;
    column-gap: var(--wp--preset--spacing--xxl);
}

.is-style-grid-75-25 .qt-container.has-background {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--l);
    font-family: var(--wp--preset--font-family--paragraph);
    padding: var(--wp--preset--spacing--l);
}

.is-style-grid-75-25 .wp-block-group p:not(.is-style-has-red-underline) {
    opacity: 0.6;
}

.is-style-grid-75-25 .wp-block-group p {
    font-size: var(--wp--preset--font-size--xs);
}

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

.qt-section__inner.grid:has(.is-horizontally-stretched) {
    row-gap: var(--wp--preset--spacing--xl);
}

.qt-container.is-horizontally-stretched .wp-block-heading:only-child {
    margin-bottom: var(--wp--preset--spacing--l);
}

@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);
    }

    .qt-section.is-style-grid-75-25 .qt-section__inner {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 670px) {
    .is-style-grid-75-25 .qt-container.has-background {
        padding: var(--wp--preset--spacing--l) var(--wp--preset--spacing--m);
    }
}

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

.announcement-bar {
    position: fixed;
    width: 100%;
    top: var(--wp--custom--header-height--total);
    z-index: 100;
    background-color: var(--wp--preset--color--black);
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

.announcement-bar a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--wp--preset--color--red);
    text-decoration-thickness: 1px;
    font-weight: 700;
    font-size: var(--wp--preset--font-size--xxs);
}

.announcement-bar p {
    font-size: var(--wp--preset--font-size--xxs);
}

.announcement-bar__close {
    display: none;
}

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

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

/* Header - Top */

header .qt-section.is-style-header-top {
    padding-top: var(--wp--preset--spacing--xxs);
    padding-bottom: var(--wp--preset--spacing--xxs);
    margin-bottom: 0;
}

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

.is-style-header-bottom .qt-container:has(.mega-menu-mobile) {
    display: none;
}

/* Contact Details */

.is-style-header-top .contact-details__item--address,
.is-style-header-top .contact-details__item--opening-hours {
    display: none;
}

.contact-details__item {
    display: flex;
    gap: var(--wp--preset--spacing--xs);
    align-items: center;
    display: flex;
}

.is-style-header-top .contact-details {
    gap: var(--wp--preset--spacing--l);
    justify-content: end;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.is-style-header-top .contact-details__text {
    color: var(--wp--preset--color--neutral-1);
    font-size: var(--wp--preset--font-size--xs);
}

.contact-details__item--phone .contact-details__icon {
    width: 14px;
    height: 14px;
}

.contact-details__item--email .contact-details__icon,
.contact-details__icon-wrapper svg {
    width: 16px;
    height: 16px;
}

.contact-details__item:hover {
    opacity: 1;
}

.contact-details__item:hover .contact-details__text {
    text-decoration: underline;
}

.is-style-header-top .contact-details__icon-wrapper {
    background-color: transparent;
}

.contact-details__icon-wrapper {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.is-style-header-top .qt-container:has(.contact-details) {
    display: flex;
    justify-content: flex-end;
    gap: var(--wp--preset--spacing--l);
}

.is-style-header-bottom {
    border-bottom: 1px solid var(--wp--preset--color--neutral-1);
    padding-bottom: 0;
    padding-top: 0;
    display: flex;
    align-items: center;
    padding: 0 var(--wp--preset--spacing--m);
}

.is-style-header-bottom .grid {
    grid-template-columns: auto 1fr;
    width: 100%;
    height: 100%;
    align-items: center;
}

.is-style-header-bottom .grid .qt-container:has(.mega-menu) {
    justify-self: end;
    height: 100%;
}

header .menu > .menu-item:not(.mega-menu-item) {
    height: 100%;
}

header .menu > .menu-item:not(.mega-menu-item):hover > :is(a, span) {
    color: var(--wp--preset--color--red);
}

.is-style-header-bottom .qt-container:has(.wp-block-buttons),
.mega-menu .menu {
    justify-content: flex-end;
    align-items: center;
    gap: var(--wp--preset--spacing--m);
}

header .menu {
    grid-gap: var(--wp--preset--spacing--xs);
}

header .menu > .menu-item {
    font-weight: 500;
}

/* Hover/open state */
header .menu > .menu-item > a:hover::after,
header
    .menu
    > .menu-item
    > span:hover
    header
    .menu
    > .menu-item.is-open
    > :is(a, span),
.sub-menu .menu-item a:hover {
    color: var(--wp--preset--color--red);
}
header .menu .sub-menu > .menu-item:not(.menu-cta) :is(span, a) {
    text-decoration: underline;
    text-decoration-color: var(--wp--preset--color--white);
    font-size: var(--wp--preset--font-size--xs);
}

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

    .sub-menu .menu-item a:hover {
        text-decoration-color: var(--wp--preset--color--red);
    }

    header .menu > .menu-item > :is(a, span) {
        display: flex;
        height: auto;
        align-items: center;
        font-weight: 500;
    }

    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);
    }

    header .menu .menu-item:not(.mega-menu-item) > :is(a, span) + .sub-menu {
        padding: var(--wp--preset--spacing--m);
    }

    header .menu .menu-item:not(.mega-menu-item) > :is(a, span) + .sub-menu {
        border-radius: 0 0 var(--wp--custom--border-radius)
            var(--wp--custom--border-radius);
    }
}

.contact-details {
    column-gap: var(--wp--preset--spacing--l);
    row-gap: var(--wp--preset--spacing--s);
    display: flex;
    flex-direction: column;
}

.contact-details a {
    text-decoration: none;
}

.contact-details__text {
    color: var(--wp--preset--color--black);
}

@media screen and (max-width: 1200px) {
    .is-style-header-bottom .qt-container:has(.mega-menu) {
        display: none;
    }

    .is-style-header-bottom .qt-container:has(.mega-menu-mobile) {
        display: flex;
    }
}

@media screen and (max-width: 670px) {
    .is-style-header-top .contact-details,
    .is-style-header-top .contact-details__icon-wrapper {
        display: none;
    }

    .is-style-header-bottom .wp-block-site-logo img {
        max-width: 200px;
    }

    .is-style-header-top .contact-details {
        gap: var(--wp--preset--spacing--s);
    }
}

/* Mobile menu
========================================================================== */

.mega-menu-mobile .mega-menu-header-m,
.mega-menu-mobile .mega-menu-back {
	border-bottom: 1px solid var(--wp--preset--color--red);
    padding: var(--wp--preset--spacing--l) 0;
}

.mega-menu-mobile .mega-menu-header-m span {
	display: none;
}

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

.hamburger {
    display: flex;
    align-items: center;
}

#toggle-hamburger {
    justify-self: end;
    justify-content: end;
}

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

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

@media (max-width: 768px) {
    header .kontigo-login {
        display: none;
    }
}

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

/* Social links
========================================================================== */

.social-links {
    margin-top: var(--wp--preset--spacing--s);
}

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

.is-style-footer-top .wp-block-heading {
    width: fit-content;
}

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

.qt-section.is-style-footer-top {
    padding-top: var(--wp--preset--spacing--xl);
    padding-bottom: var(--wp--preset--spacing--m);
}

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

.is-style-footer-top .contact-details__text {
    color: var(--wp--preset--color--neutral-1);
}

.is-style-footer-bottom .qt-section__inner {
    border-top: 1px solid var(--wp--preset--color--black-lighter);
    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);
}

.is-style-footer-top .wp-block-site-logo img {
    width: 320px;
}

.is-style-footer-top .contact-details {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wp--preset--spacing--s);
    margin-top: var(--wp--preset--spacing--m);
}

.contact-details__item--address .contact-details__icon {
    height: 18px;
}

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

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

.qt-container:has(.footer-heading) {
    color: var(--wp--preset--color--neutral-1);
}

.footer-menu .menu-item a:hover {
    text-decoration: none;
    color: var(--wp--preset--color--red);
}

@media screen and (max-width: 768px) {
    .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-bottom .grid {
    grid-template-columns: 1fr;
	}
	
	.is-style-footer-bottom .is-content-justification-right{
    justify-content: flex-start;
	}
}

@media screen and (max-width: 670px) {
    .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 .contact-details__text {
    font-size: var(--wp--preset--font-size--xs);
}

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

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

/* ==========================================================================
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--dark-teal);
    color: var(--wp--preset--color--teal);
}

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

/* 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--dark-teal);
}

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

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

.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-section.has-background .accordion-item {
    background-color: var(--wp--preset--color--white);
}

.wp-block-heading + .qt-accordion {
    margin-top: var(--wp--preset--spacing--l);
}

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

button[data-accordion="accordion-trigger"] {
    gap: var(--wp--preset--spacing--xs);
    font-size: var(--wp--preset--font-size--s);
    font-weight: 600;
}

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

button[data-accordion="accordion-trigger"] {
    gap: var(--wp--preset--spacing--m);
    font-size: var(--wp--preset--font-size--s);
    font-family: var(--wp--preset--font-family--paragraph);
}

/* Accordion content */

.accordion-content__inner {
    padding-top: 0;
}

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

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

.rental-objects-slider,
.splide {
    min-width: 0;
    overflow: hidden;
}

.splide__track {
    overflow: hidden;
}

.splide__slide {
    min-width: 0;
    box-sizing: border-box;
}

.splide .splide__arrow {
    background-color: var(--wp--preset--color--white);
    border-radius: 100%;
	min-width: 36px;
	min-height: 36px;
}

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

.splide__arrow--next {
	right: 2px;
}

.splide__arrow--prev {
	left: 2px;
}

.splide .splide__arrow:hover {
    background-color: var(--wp--preset--color--white);
}

.splide__arrow:hover:not(:disabled) svg path {
    fill: var(--wp--preset--color--red);
}

.rental-objects-slider__slider {
    padding-right: var(--wp--preset--spacing--m);
    padding-left: var(--wp--preset--spacing--m);
}

/* Slider header */

.rental-card {
    text-decoration: none;
}

.is-style-car-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.is-style-car-card p.is-style-has-red-underline {
    margin-top: auto;
	margin-bottom: var(--wp--preset--spacing--s);
}

.rental-card__content,
.is-style-car-card .wp-block-group {
    background-color: var(--wp--preset--color--neutral-2);
    border-radius: 0 0 var(--wp--custom--border-radius)
        var(--wp--custom--border-radius);
    padding: var(--wp--preset--spacing--m);
    position: relative;
    gap: var(--wp--preset--spacing--m);
    flex-grow: 1;
}

.is-style-car-card img,
.rental-card__image {
    aspect-ratio: 16/9;
    min-width: 0;
}

.is-style-car-card img,
.rental-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--wp--custom--border-radius)
        var(--wp--custom--border-radius) 0 0;
}

.rental-card__tags {
    margin-top: var(--wp--preset--spacing--s);
    margin-bottom: var(--wp--preset--spacing--s);
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--xs);
}

@media screen and (max-width: 768px) {
	
	.splide .splide__arrow {
		min-width: 32px;
		min-height: 32px;
	}
}

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

/* Wp-block-cover
========================================================================== */

.wp-block-cover {
    min-height: 560px;
}

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

.qt-section.is-style-hero {
    margin-bottom: 0;
}

.qt-section.is-style-hero h1 {
    font-weight: 700;
    max-width: 800px;
}

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


@media screen and (max-width: 670px) {
    .is-style-hero .wp-block-cover {
        min-height: 320px;
		height: 40vh;
    }
}

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

.is-style-subhero .wp-block-heading:not(.is-style-eyebrow) {
    margin-bottom: var(--wp--preset--spacing--l);
}

.is-style-subhero-with-text {
    margin-top: 40px;
}

.is-style-subhero .wp-block-cover {
    height: 40vh;
    min-height: 480px;
}

@media screen and (max-width: 670px) {
    .is-style-subhero .wp-block-cover {
        min-height: 320px;
    }

    .is-style-hero .wp-block-cover {
        max-height: 320px;
    }
}

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

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

.is-style-text-column {
    align-self: center;
}

.is-style-stretched-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Section: Booking Section and Form
========================================================================== */

.qt-section.has-background.is-style-booking-section {
    padding-bottom: 0;
    padding-top: 0;
}

.is-style-booking-form {
    transform: translateY(-20%);
    animation: fadeIn 300ms ease 800ms both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (max-width: 670px) {
    .is-style-booking-form {
        transform: translateY(-5%);
    }
}

/* Section: Has border bottom
========================================================================== */

.qt-section.is-style-has-border-bottom {
    border-bottom: 1px solid var(--wp--preset--color--red);
}

.qt-section.is-style-has-border-bottom + .qt-section {
    padding-top: var(--wp--preset--spacing--xl);
}

/* Section: Has USP Heading
========================================================================== */

.qt-container:has(.is-style-usp-heading) {
    display: grid;
    grid-template-rows: auto auto 1fr;
}

.qt-container:has(.is-style-usp-heading) .is-style-has-red-underline {
    align-self: end;
}

.wp-block-cover:has(.is-style-usp-heading) {
    padding-top: var(--wp--preset--spacing--xxl);
    padding-bottom: var(--wp--preset--spacing--xxl);
}

/* Section - Text and Image in fullwidth
========================================================================== */

.qt-section.is-style-text-image-fullwidth:first-child {
	margin-top: 40px;
}
.is-style-text-image-fullwidth .wp-block-image img {
    width: 100%;
    border-radius: 0;
}

.qt-section.is-style-text-image-fullwidth {
    padding: 0;
}

.is-style-text-image-fullwidth .is-style-image-column {
    border-radius: 0;
}

.is-style-text-image-fullwidth .wp-block-image,
.is-style-text-image-fullwidth .wp-block-image img {
    height: 100%;
}

.is-style-text-image-fullwidth .is-style-text-column {
    max-width: calc(
        (var(--wp--custom--maxwidth--default) - var(--wp--style--block-gap)) / 2
    );
    padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--m)
        var(--wp--preset--spacing--xl) 0;
}

.is-style-text-image-fullwidth .is-style-text-column:first-child {
    justify-self: end;
	padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--m);
}

@media screen and (max-width: 768px) {
    .is-style-text-image-fullwidth .qt-section__inner.grid-col-2 {
        grid-template-columns: 1fr;
    }
	
	.is-style-text-image-fullwidth .is-style-text-column:first-child {
		justify-self: start;
		padding: 0 var(--wp--preset--spacing--m)
			var(--wp--preset--spacing--xl) var(--wp--preset--spacing--m);
	}
}

/* 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--dark-teal);
    color: var(--wp--preset--color--teal);
}

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

.card--article .card__image {
    border-radius: var(--wp--custom--border-radius);
}

.card--article .card__content {
    display: grid;
    gap: var(--wp--preset--spacing--s);
}

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

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

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

/* 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--dark-teal);
}

.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: 8px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 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--dark-teal);
    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: 0.6;
}

.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--teal);
}

.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--dark-teal);
    color: var(--wp--preset--color--teal);
}

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

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

/* Testimonial card - Even */
.splide__slide:nth-child(even) .card--testimonial {
    background-color: var(--wp--preset--color--dark-teal);
}
.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--dark-teal);
}

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

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

/* 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--teal);
    font-weight: 500;
    text-align: left;
    line-height: 1.5;
    border-radius: 0;
    transform: none;
    opacity: 0.4;
    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--teal);
    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);
}

/* 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;
}

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

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

#widget-root .a {
    background-color: var(--wp--preset--color--red);
    border-color: var(--wp--preset--color--red);
}

#widget-root .a .g {
    color: var(--wp--preset--color--white);
}
.qt-map {
    width: 100%;
    min-height: 380px;
    border-radius: var(--wp--custom--border-radius);
    overflow: hidden;
}
.qt-map-marker__label {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 4px 8px;
    font-size: var(--wp--preset--font-size--xxs);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Opening Hours
========================================================================== */
.opening-hours {
    cursor: pointer;
    position: relative;
    display: flex;
    gap: var(--wp--preset--spacing--xs);
    align-items: center;
}

.opening-hours svg {
	height: 18px;
	width: 18px;
}

.toggle-open-button .opening-hours-title:after {
	transition: all 0.2s ease; 
}

.toggle-open-button:has(.opening-hours-section-dropdown.is-open) .opening-hours-title:after {
	transform: rotate(180deg);
}

@media screen and (hover: hover) {
    .opening-hours.toggle-open-button:hover .contact-details__text,
	.toggle-open-button:has(.opening-hours-section-dropdown.is-open) .contact-details__text
	{
        text-decoration: underline;
    }
}

.opening-hours:has(.is-open) {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.toggle-open-button > .opening-hours-title {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 400;
}

.opening-hours-section-dropdown {
    display: none;
    width: max-content;
    min-width: 280px;
    padding: var(--wp--preset--spacing--m);
    border-top: 0;
    position: absolute;
    background-color: var(--wp--preset--color--black);
    top: var(--wp--preset--spacing--l);
    right: -1px;
    border-radius: 0 0 var(--wp--custom--border-radius);
    color: var(--wp--preset--color--neutral-2);
    font-size: var(--wp--preset--font-size--xs);
}

.opening-hours-section-dropdown .opening-hours-title {
    color: var(--wp--preset--color--neutral-2);
    margin-bottom: var(--wp--preset--spacing--xs);
}

.opening-hours-section-dropdown.is-open {
    display: block;
    z-index: 1000;
}

.opening-hours-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.opening-hours-title {
    display: flex;
    font-size: var(--wp--preset--font-size--s);
    font-weight: 700;
    color: var(--wp--preset--color--black);
}

.opening-hours-title.closing-time {
    color: var(--wp--preset--color--black);
}

.contact-details__text.opening-hours-title:after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("/wp-content/themes/q-theme-child/assets/images/chevron-down.svg");
    background-repeat: no-repeat;
    background-position: center;
    filter: grayscale(100%);
}

.opening-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--wp--preset--color--neutral-1);
}

.deviant-section {
    padding-top: var(--wp--preset--spacing--m);
    font-weight: 700;
    font-size: 14px;
}
