/*
-----------------------------------------
Variables
-----------------------------------------
*/

:root {
    /*
-----------------------------------------
Color declarations
-----------------------------------------
*/
    /* Main colors */
    --primary-color: #757612;
    --secondary-color: #C3B701;
    --tertiary-color: #BABB89;
    --quaternary-color: #919242;
    --white-color: #fff;
    --dark-color: #000;
    --lightgrey-color: #F8F8F3;
    --secondary-lightgrey-color: #F1F1E6;
    --grey-color: #45483A;
    --accent-color: var(--primary-color);
    /* Bootstrap */
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-color) !important;
    --bs-btn-active-border-color: var(--primary-color) !important;
    /* Overlays */
    --transparent: rgba(0, 0, 0, 0);
    --overlay-primary: rgba(0, 0, 0, 0.3);
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-light: rgba(255, 255, 255, 0.2);
    /*
    -----------------------------------------
    Color applications
    -----------------------------------------
    */
    /* Text */
    --text-dark: var(--dark-color);
    --text-white: var(--white-color);
    --text-primary: var(--primary-color);
    --text-secondary: var(--secondary-color);
    /* Headlines */
    --headline-dark: var(--dark-color);
    --headline-white: var(--white-color);
    --headline-primary: var(--primary-color);
    --headline-secondary: var(--secondary-color);
    /* Hover */
    --hover-primary: var(--primary-color);
    --hover-secondary: #ccc;
    /* Links */
    --link-primary: var(--primary-color);
    --link-secondary: #111;
    /* Backgrounds */
    --background-dark: #000;
    --background-white: #fff;
    --background-primary: var(--primary-color) !important;
    --background-secondary: var(--tertiary-color);
    /* Nav */
    --nav-primary: var(--primary-color);
    --nav-secondary: #742100;
    --nav-primary-light: #E4E4E4;
    --nav-secondary-light: #E4E4E4;
    /*
    -----------------------------------------
    Typography variables
    -----------------------------------------
    */
    --font-family-main: "Archivo", sans-serif;
    --font-family-headers: "Archivo Narrow", sans-serif;
    --font-size-small: 0.875rem;
    --font-size-base: 1rem;
    --font-size-large: 1.25rem;
    --line-height-base: 1.5;
    /*
    -----------------------------------------
    Spacing variables
    -----------------------------------------
    */
    --spacing-default: 15px;
    --spacing-small: 0.5rem;
    --spacing-medium: 2rem;
    --spacing-large: 5rem;
    --spacing-xl: calc(50% - 580px);
    --spacing-xxl: calc(50% - 780px);
    --max-container-width-small: 500px;
    --max-container-width-medium: 650px;
    --max-container-width-large: 768px;
    --max-container-width-xl: 992px;
    --max-container-width-xxl: 1200px;
}

/*
-----------------------------------------
Typography
-----------------------------------------
*/

/*body {
    font-family: "Archivo", sans-serif;
    font-size: clamp(1rem, calc(1rem + ((1vw - 0.36rem) * 0.1488)), 1.125rem);
    font-weight: 300;
    line-height: 1.5;
    color: #000000;
}*/

body, p, li {
    font-family: var(--font-family-main);
    font-size: clamp(1rem, calc(1rem + ((1vw - 0.36rem) * 0.1488)), 1.125rem);
    font-weight: 300;
    line-height: var(--line-height-base);
    color: var(--text-dark);
}

/* ------ Typography ------ */

h1, h2, h3, h4, h5, h6 {
    color: #45483A;
    line-height: 1.1;
    margin-bottom: 0.25em;
}

h1, .h1 {
    font-family: var(--font-family-main);
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.36rem) * 0.8929)), 2.75rem);
    font-weight: 800;
}

h2, .h2 {
    font-family: var(--font-family-headers);
    font-size: clamp(1.75rem, calc(1.75rem + ((1vw - 0.36rem) * 0.4464)), 2.125rem);
    font-weight: 700;
}

h3, .h3 {
    font-family: var(--font-family-headers);
    font-size: clamp(1.5rem, calc(1.5rem + ((1vw - 0.36rem) * 0.1488)), 1.625rem);
    font-weight: 700;
}

h4, .h4 {
    font-family: var(--font-family-headers);
    font-size: 1.25rem;
    font-weight: 700;
}

h5, .h5 {
    font-family: var(--font-family-headers);
    font-size: 1.125rem;
    font-weight: 700;
}

h6, .h6 {
    font-family: var(--font-family-headers);
    font-size: 1rem;
    font-weight: 700;
}

p, li {
    font-size: clamp(1rem, calc(1rem + ((1vw - 0.36rem) * 0.1488)), 1.125rem);
    line-height: 1.5;
}

h5.tag {
    color: var(--primary-color);
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

    p + h2,
    p + h3,
    p + h4,
    p + h5,
    p + h6 {
        margin-top: 1.5em;
    }

h1 span.thin {
    font-weight: 300;
}

bold, strong {
    font-weight: 700;
}

p.ingress {
    font-size: clamp(1.25rem, calc(1.25rem + ((1vw - 0.36rem) * 0.1488)), 1.375rem);
    font-weight: 400;
}

ol, ul {
    padding-left: 1rem;
}

    ul li::marker {
        color: var(--primary-color);
    }

.limit-1-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ------ END Typography ------ */

.breadcrumbs li {
    font-size: .875rem;
}

.breadcrumbs li a {
    color: #000;
}

    .breadcrumbs li a:hover {
        color: var(--primary-color);
    }

.breadcrumbs li.active {
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--link-primary);
}

    a:hover,
    button:hover {
        color: var(--hover-primary);
    }

        a:hover.text-dark {
            color: var(--hover-primary) !important;
        }

.text-primary {
    color: var(--primary-color) !important;
}

.text-dark {
    color: var(--text-dark);
}

.text-white {
    color: var(--text-white);
}

.text-grey {
    color: var(--grey-color);
}

.h-dark {
    color: var(--headline-dark);
}

.h-light {
    color: var(--headline-light);
}

/*
-----------------------------------------
Components
-----------------------------------------
*/

.cover-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}


.contain-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.textContent + .alternatingSplitBlocksSection {
    margin-top: -2rem;
}

.alternatingSplitBlocksSection.last > .container-y {
    padding-bottom: 1rem;
}

.textSplitBlock.last > .bg-primary {
    margin-bottom: 1rem;
}


/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 9999;
    overflow: auto;
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    z-index: 10000;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

    .close:hover,
    .close:focus {
        color: #999;
        text-decoration: none;
        cursor: pointer;
    }

.lightbox .w-100.h-100 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    touch-action: manipulation;
}

/* Lightbox carousel  */

.lightbox .carousel {
    width: 100%;
    height: 100%;
    touch-action: pan-x;
}

    .lightbox .carousel .carousel-inner {
        display: flex;
        align-items: center;
        height: 100%;
    }

        .lightbox .carousel-item {
            height: 100%;
            justify-content: center;
            align-items: center;
            max-width: 100vw;
        }

            .lightbox .carousel-item.active {
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .lightbox .carousel-item img {
                max-width: 100%;
                width: auto;
                height: 100%;
                object-fit: contain;                
            }

@media(min-width: 768px) {
    .lightbox .carousel-inner {
        max-height: calc(100vh - 4rem);
    }
}

@media(min-width: 992px) {
    .lightbox .carousel-inner {
        max-height: calc(100vh - 8rem);
    }
}

.lightbox .carousel-edge-control {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: none;
    border: 0;
    opacity: 0.5;
    transition: opacity 0.15s ease;
    /* Better touch targets */
    min-width: 44px;
}

.lightbox .carousel-control-prev.carousel-edge-control {
    left: 0;
}

.lightbox .carousel-control-next.carousel-edge-control {
    right: 0;
}

.lightbox .carousel-control-prev-icon,
.lightbox .carousel-control-next-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

/* Add clickable cursor styles */
.lightbox-clickable,
img[onclick],
div[onclick] {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent body scroll when lightbox is open */
body.lightbox-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ---------- Buttons ---------- */
a.btn, button.btn, input.btn, .custom-file-label .btn.btn-file {
    display: inline-block;
    font-size: 0.875rem;
    background-color: #9D8955;
    padding: 0.5rem 2rem;
    color: var(--text-white);
    font-weight: 600;
    transition: all ease 0.2s;
    border: 2px solid var(--background-dark);
    width: fit-content;
    border-radius: 0;
    text-transform: uppercase;
    transition: all ease-in-out .3s;
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
    color: var(--bs-btn-active-color);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn:active svg {
    color: var(--bs-btn-active-color) !important;
}

    /*a.btn:hover, button.btn:hover {
        box-shadow: 0px 0px 12px rgba(0,0,0,.05);
    }*/

    a.btn.btn-primary, button.btn.btn-primary, input.btn.btn-primary, .custom-file-label .btn.btn-file {
        background-color: var(--white-color);
        border-color: var(--background-primary);
        color: var(--background-primary);
    }

        a.btn.btn-primary:hover, button.btn.btn-primary:hover, input.btn.btn-primary:hover, .custom-file-label .btn.btn-file:hover {
            border-color: var(--secondary-color);
            color: var(--secondary-color);
        }

    a.btn.btn-secondary, button.btn.btn-secondary {
        background-color: var(--background-secondary);
        border-color: var(--background-secondary);
        color: var(--text-white);
    }

        a.btn.btn-secondary:hover, button.btn.btn-secondary:hover {
            background-color: var(--background-white);
            color: var(--background-secondary);
        }

    a.btn.btn-transparent, button.btn.btn-transparent {
        background-color: var(--transparent);
        border-color: var(--primary-color);
        color: var(--primary-color)
    }

        a.btn.btn-transparent:hover, button.btn.btn-transparent:hover {
            border-color: var(--grey-color) !important;
            color: var(--grey-color) !important;
        }

/* Collapse button with translation */
a.collapse-button[aria-expanded="true"] .open-btn,
a.collapse-button[aria-expanded="false"] .close-btn {
    display: none;
}

a.collapse-button[aria-expanded="false"] .open-btn,
a.collapse-button[aria-expanded="true"] .close-btn {
    display: block;
}

/* Accordions */

.bg-primary .accordions,
.bg-primary .accordions .accordion-item,
.bg-primary .accordions .accordion-button,
.bg-primary .accordions .accordion-body,
.bg-primary .accordions .accordion-button:focus,
.bg-primary .accordion-button:not(.collapsed) {
    background-color: var(--lightgrey-color) !important;
}

.accordions .accordion-item {
    border: none;
    border-radius: 0;
}

.accordions .accordion-button {
    transform: none;
    transition: none;
}

.accordions .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'> <!-- !Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc. --> <path d='M240 64l0-16-32 0 0 16 0 176L32 240l-16 0 0 32 16 0 176 0 0 176 0 16 32 0 0-16 0-176 176 0 16 0 0-32-16 0-176 0 0-176z'/%3E%3C/svg%3E");
}

    .accordions .accordion-button:focus,
    .accordion-button:not(.collapsed) {
        border-color: var(--primary-color);
        box-shadow: none;
        background-color: var(--white-color);
        color: var(--text-dark);
    }

.accordions .accordion-body {
    padding-left: 0;
    padding-right: 0;
}

.accordions .accordion-button[aria-expanded="true"] {
    /*border-bottom: 1px solid #ccc;*/
}

/* Image Section */

.img-section .img-container {
    
}

    .image-with-caption figure {
        /*display: inline-table;*/
        /*aspect-ratio: 3/2;
        max-height: 60vh;*/
    }

.img-section .img-container .image-with-caption {
    flex-basis: calc(50% - 1rem);
}

    .img-section .img-container .image-with-caption figure {
        aspect-ratio: unset;
        max-height: 60vh;
    }

/* Carousel */

.carousel {
}

.carousel .carousel-indicators {
    bottom: -1rem;
}

.carousel .carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
}

    .carousel .carousel-control-next,
    .carousel .carousel-control-prev {
        display: none;
    }

@media (min-width: 576px) {
    .carousel {
        max-width: calc(100% - 60px);
        margin: 0 auto;
    }

    .carousel .carousel-control-prev {
        display: flex;
        margin-left: -30px;
        padding-left: 1rem;
    }

        .carousel .carousel-control-prev .carousel-control-prev-icon {
            margin-right: auto;
            padding-left: 0;
        }

    .carousel .carousel-control-next {
        display: flex;
        margin-right: -30px;
        padding-right: 1rem;
    }

        .carousel .carousel-control-next .carousel-control-next-icon {
            margin-left: auto;
            padding-right: 0;
        }
}

@media (min-width: 1800px) {
    .carousel .carousel-control-prev {
        margin-left: 50px;
    }
    .carousel .carousel-control-next {
        margin-right: 50px;
    }
}

.carousel-dark .carousel-control-next-icon,
.carousel-dark .carousel-control-prev-icon {
    filter: invert(55%) sepia(64%) saturate(340%) hue-rotate(22deg) brightness(88%) contrast(87%);
}

    .carousel .carousel-control-next .carousel-control-next-icon,
    .carousel .carousel-control-prev .carousel-control-prev-icon {
        /*border: 1px solid #ccc;*/
        height: 3rem;
        width: 3rem;
    }


/* Text Content */
.gray-box {
    background-color: var(--lightgrey-color);
    padding: 2rem !important;
}

.gray-bg {
    background-color: var(--lightgrey-color);
}

.box-shadow {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

/* Contact cards */

.contact-cards-section {
    padding-bottom: 4rem
}

    .contact-cards-section .contacts {
        gap: 1rem;
    }

        .contact-cards-section .contacts .contact-card {
            max-width: 100%;
        }

.single-contact-card {

}

.contact-card span {
    font-size: 1rem;
}

.contact-card {
    border-radius: 0;
    background: var(--background-white);
    border: 1px solid #ccc;
    flex-direction: column;
}

    .contact-card .contact-card-body {
        padding: 1rem 1.5rem;
        flex: 1 1 auto;
    }

    .contact-card .contact-card-img {
        max-width: 100%;
        flex: 0 0 auto;
        overflow: hidden;
        /*aspect-ratio: 3 / 2;*/
    }

        .contact-card .contact-card-img img {
            object-fit: contain;
            object-position: center;
            /*height: 100%;*/
            width: auto;
            max-width: 100%;
        }
        
@media (max-width: 767px) {
    .contact-section,
    .contact-section .rte-container {
        padding-top: 0 !important;
    }
}

.contact-section .umbraco-forms-form .application-form fieldset:last-of-type .umbraco-forms-container {
    flex-basis: 100%;
}

.contact-section #collapseNewsletter {
    flex-basis: 100%;
    box-shadow: 0px 4px 32px rgba(0,0,0,0.1);
}

.contact-section #collapseNewsletter .umbraco-forms-navigation > div {
    display: flex;
    justify-content: center;
}

.contact-card .full-link {
    display: flex;
}
.contact-card .short-link {
    display: none;
}

@media (min-width: 768px) {
    .contact-card {
        flex-direction: row;
    }

    .contact-section #collapseNewsletter {
        flex-basis: 60%;
    }

    .contact-card .contact-card-img img {
        /*width: 220px; 
        min-width: 220px; 
        max-width: 220px; 
        height: 100%;*/
        max-width: 320px;
        max-height: 213px;
        height: 100%;
        aspect-ratio: 3 / 2;
    }

    .contact-card .full-link {
        display: none;
    }

    .contact-card .short-link {
        display: flex;
    }
}

@media (min-width: 1200px) {
    .contact-section .contacts .contact-card .contact-card-body {
        width: 475px;
    }
}

@media (min-width: 1600px) {
    .contact-card .full-link {
        display: flex;
    }
    .contact-card .short-link {
        display: none;
    }
}

/* ------ Process grid ------ */
.process-grid {
    display: grid;
    gap: 2rem;
    padding: 2rem 1rem;
}

@media (min-width: 576px) {
    .process-grid.full-width {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .process-grid.half-width {
        grid-template-columns: 1fr 1fr;
    }
}

.process-item {
    padding: 2rem;
    position: relative;
    background-color: #BABB89;
    border-radius: .5rem;
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Lager_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 504 502"><!-- Generator: Adobe Illustrator 29.6.1, SVG Export Plug-In . SVG Version: 2.1.1 Build 9) --><defs><style> .st0 { fill: %23fff; opacity: .2; } </style></defs><path class="st0" d="M345.7,501.7l-93.7-167.1-102.2,167.1H.1L177.9,238.4,14.8.4h153.2l83.9,155.9L340.8.4h148.3l-161.6,238,176.3,263.3h-158.1,0Z"/></svg>');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.process-grid.hide-numbers .process-item-number {
    display: none;
}

.process-item-number {
    position: absolute;
    top: -16px;
    left: -16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 0;
    text-align: center;
    font-weight: 700;
    color: #45483A;
    background-color: #ffffff;
    border: 4px solid #BABB89;
}

/* ---------- Backgrounds ---------- */
.bg-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .bg-img.contain {
        background-size: contain;    
    }

.bg-primary {
    background-color: var(--lightgrey-color) !important;
}

.bg-secondary {
    background-color: var(--background-secondary) !important;
}

.bg-dark {
    background-color: var(--background-dark) !important;
}

.bg-white {
    background-color: var(--background-white) !important;
}

.bg-transparent {
    background-color: var(--transparent) !important;
}

/* ---------- Borders ---------- */

.border {
    border: 2px solid !important;
}

.border-left {
    border-left: 2px solid !important;
}

.border-top {
    border-top: 2px solid !important;
}

.border-right {
    border-right: 2px solid !important;
}

.border-bottom {
    border-bottom: 2px solid !important;
}

    .border.thin,
    .border-left.thin,
    .border-top.thin,
    .border-right.thin,
    .border-bottom.thin {
        border-width: 1px !important;
    }

    .border.thick,
    .border-left.thick,
    .border-top.thick,
    .border-right.thick,
    .border-bottom.thick {
        border-width: 4px !important;
    }

    .border.extra-thick,
    .border-left.extra-thick,
    .border-top.extra-thick,
    .border-right.extra-thick,
    .border-bottom.extra-thick {
        border-width: 6px !important;
    }

.border-primary {
    border-color: var(--quaternary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.border-tertiary {
    border-color: var(--primary-color) !important;
}

.border-quaternary {
    border-color: var(--tertiary-color) !important;
}

.border-dark {
    border-color: var(--background-dark) !important;
}

.border-gray {
    border-color: #ccc !important;
}

.border-white {
    border-color: var(--background-white) !important;
}

.no-border {
    border-left: none !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

/* ------ Spacing utilities ------ */

.rte-container {
    max-width: 1000px;
    margin: 0 auto;
}

    .rte-container.richtext-content img {
        max-width: 100%;
        height: auto;
    }

@media (min-width: 992px) {
    .rte-container.richtext-content img {
        float: left;
        padding: 1rem;
        padding-left: 0;
        padding-right: 2rem;
    }
}

.container-x {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.container-y {
    padding-top: clamp(2.5rem, calc(2.5rem + ((1vw - 0.36rem) * 4.6875)), 5rem);
    padding-bottom: clamp(2.5rem, calc(2.5rem + ((1vw - 0.36rem) * 4.6875)), 5rem);
}

@media (min-width: 576px) {
    .container-x {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}


/* Component spacing */

.textSplitBlock + .textContent {
    padding-top: 3rem;
}


/* Gaps */
.gap-1 {
    gap: 1rem !important;
}

.gap-2 {
    gap: 2rem !important;
}

.gap-3 {
    gap: 3rem !important;
}

/* ---------- Overlays ---------- */

.overlay-container {
    position: relative;
}

.content-on-dark-overlay,
.content-on-light-overlay {
    position: relative;
    z-index: 3;
}

    .content-on-dark-overlay h1,
    .content-on-dark-overlay h2,
    .content-on-dark-overlay h3,
    .content-on-dark-overlay h4,
    .content-on-dark-overlay p {
        color: var(--text-white);
    }

    .content-on-light-overlay h1,
    .content-on-light-overlay h2,
    .content-on-light-overlay h3,
    .content-on-light-overlay h4,
    .content-on-light-overlay p {
        color: var(--text-dark);
    }

.overlay-primary {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--overlay-primary);
    z-index: 2;
}

.overlay-dark {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--overlay-dark);
    z-index: 2;
}

.overlay-light {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--overlay-light);
    z-index: 2;
}


/* ---------- Filters ---------- */
/*
    Filters generated using this codepen: https://codepen.io/sosuke/pen/Pjoqqp
*/

.filter-img-to-dark {
    filter: brightness(0) saturate(100%) invert(19%) sepia(64%) saturate(2822%) hue-rotate(177deg) brightness(88%) contrast(101%);
}

.filter-img-to-light {
    filter: brightness(0) saturate(100%) invert(100%) sepia(28%) saturate(0%) hue-rotate(20deg) brightness(111%) contrast(100%);
}

/* ---------- Forms ---------- */

input[type="checkbox"],
input[type="radio"],
input[type="range"],
progress {
    accent-color: var(--accent-color);
}

/* ---------- Split-blocks ---------- */

.hero-split-block.split-block {
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: center;
    /*min-height: 60vh;*/
}

    .hero-split-block.split-block h1 {
        font-weight: 800;
        color: var(--grey-color);
    }

    /*.hero-split-block.split-block .split-block-img {
        height: 100%;
        min-height: 60vh;
    }*/

.alternating .split-block {
    margin-top: 0;
    margin-bottom: 0;
    background-color: #fff;
}

.split-block {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    max-width: 1920px;
    margin: 0 auto;
    flex-direction: column;    
    margin-top: clamp(2.5rem, calc(2.5rem + ((1vw - 0.36rem) * 4.6875)), 5rem);
    margin-bottom: clamp(2.5rem, calc(2.5rem + ((1vw - 0.36rem) * 4.6875)), 5rem);
}

    .split-block:first-child {
        margin-top: 0;
    }

    .split-block:last-child {
        margin-bottom: 0;
    }

    .split-block .split-block-content {
        flex-basis: 100%;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        order: 1;
    }

    .split-block .split-block-img {
        flex-basis: 100%;
        width: 100%;
        aspect-ratio: 3/2;
    }

        .split-block .split-block-img:not(.bg-img) {
            width: 100%;
            
        }

        .split-block .split-block-img img.centered-img {
            max-width: 100%;
            min-width: 280px;
        }

@media (min-width: 992px) {
    .split-block {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        /*min-height: 50vh;*/
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
        /*position: relative;*/
        flex-direction: row;
    }

        .split-block .split-block-content,
        .split-block .split-block-img {
            flex-basis: 50%;
            width: 50%;
        }         
}

/* Split-block variations */

.split-block.lg-img .split-block-img {
    flex-basis: 60%;
}

.split-block.lg-img .split-block-content {
    flex-basis: 40%;
}

@media screen and (min-width: 992px) {


    .alternating .split-block:nth-child(even) .split-block-img {
        order: 2;
    }

    .alternating .split-block:nth-child(even) > img {
        order: 2;
        margin-left: auto;
    }

    .alternating .split-block:nth-child(odd) .split-block-content {
        order: 1;
    }

        .alternating .split-block:nth-child(odd) .split-block-content > div {
            right: -14%;
            left: unset;
        }

    .alternating .split-block:nth-child(even) .split-block-content > div {
        right: unset;
        left: -14%;
    }
}

.text-split-block {
    gap:2rem;
}

.text-split-block > div {
    flex-basis: 100%;
}

@media (min-width: 1200px) {
    .text-split-block > div {
        flex-basis: calc(50% - 1rem);
    }
}

.text-split-block iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

/* Quote Block */
.quote {

}

    .quote .quote-text-container {
        flex-grow: 1;
    }

        .quote .quote-text-container .quote-text {
            font-size: clamp(1.25rem, calc(1.25rem + ((1vw - 0.36rem) * 0.1488)), 1.375rem);
            font-weight: 400;
        }

    .quote .quote-text-container,
    .quote .quote-img-container {
        flex-basis: 100%;
    }

    .quote .quote-img-container {        
        max-height: 300px;
        max-width: 300px;
    }

        .quote .quote-img-container > img {
            height: 100%;
            width:auto;
            object-fit:contain;
            max-width: 100%;
        }

@media (min-width: 768px) {
    /*.quote .quote-img-container {
        flex-basis: calc(33% - .5rem);
    }

    .quote .quote-text-container {
        flex-basis: calc(66% - .5rem);
    }*/
}

/* Image Banner */

.image-banner {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
}

    .image-banner .banner-content {
        background-color: var(--white-color);
        max-width: calc(100% - 1rem);
        width: 100%;
        margin: 0;
        background-size: auto 100%;
        background-position: center;
        background-repeat: no-repeat;
    }


@media (min-width: 576px) {

    .image-banner .banner-content {
        max-width: calc(100% - 3rem);
    }
}

.desktop-contact-bg,
.mobile-contact-bg {
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    .image-banner {
        min-height: 33vw;
    }

        .image-banner .banner-content {
            width: 50%;
        }
        
    .desktop-contact-bg,
    .mobile-contact-bg {
        background-size: cover;
        background-attachment: fixed;
    }
}


/*
-----------------------------------------
HEADER
-----------------------------------------
*/

.header {
    flex-direction: column;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: left;
    position: relative;
    /*height: 75vh;*/
    height: 75vh;
    max-height: 500px;
    overflow: hidden;
}

    .header .x-background {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        background-repeat: no-repeat;
        background-size: auto 100%;
    }

.header-img,
.header-img img,
.header-img video {
    /*height: 45vh;*/
    /*height: 100%;*/
    aspect-ratio: 1/1;
}

.header-img .desktop-background {
    display: none;
}

.header-img .mobile-background {
    display: block;
}


.header-content {
    position: absolute;
}

    .header-content > div {
        width: 100%;
        margin-top: auto;
        margin-bottom: 3rem;
        background-size: auto 100%;
        background-position: center;
        background-repeat: no-repeat;
    }

.header-img {
    width: 100vw;
    margin-bottom: auto;
}

    .header-img img,
    .header-img video {
        width: 100%;
        object-fit: cover;
    }

@media (min-width:425px) {
    .header {
        max-height: 600px;
    }
}

@media (min-width:576px) {
    .header {
        height: unset;
    }

    .header-img,
    .header-img img,
    .header-img video {
        aspect-ratio: 3/2;
        height: unset;
    }

        .header-img .desktop-background {
            display: block;
        }

        .header-img .mobile-background {
            display: none;
        }
}

@media screen and (min-width: 1200px) {
    .header {
        background-size: 40% 100%;
        aspect-ratio: 3/1;
        min-height: 450px;
        max-height: unset;
    }

    .header-img {
        width: 100vw;
        margin-bottom: auto;
        margin-top: unset;
    }

    .header-img,
    .header-img img,
    .header-img video {
        /*height: 75vh;*/
        height: 100%;
        aspect-ratio: unset;
    }

    .header-img-sm {
        /*width: 60vw;*/
        width: 60%;
        margin-left: auto;
        margin-bottom: unset;
    }

        .header-img img,
        .header-img video {
            width: 100%;
            object-fit: cover;
            margin-bottom: auto;
        }

    .header-content > div {
        width: 50%;
        margin-top: unset;
        margin-bottom: unset;
    }

    .header .x-background {
        width: 40%;
    }
}

@media (min-width: 1600px) {
    /*.header {
        background-size: auto 75vh;
    }*/
/*
    .header-content > div {
        width: 50%;
    }*/
}

.header .subheadline {
    max-width: 800px;
}

/*
-----------------------------------------
FOOTER
-----------------------------------------
*/

footer {
    background-color: var(--grey-color);
}

    footer a:hover {
        color: #f8f8f3;
    }

    footer h3,
    footer p,
    footer svg,
    footer li,
    footer a {
        color: var(--tertiary-color);
    }

    footer h3 {
        margin-bottom: 1rem;
    }

    footer p,
    footer li,
    footer a {
        font-size: 1rem
    }

    footer > div > div {
        flex-basis: 100%;
        padding: 0;
    }

    footer ul {
        padding: 0;
    }

    footer .footer-contact-box ul li:first-child{
        padding: 0;
        margin: 0;
    }

    footer li {
        list-style: none;
        padding-bottom: .5rem;
    }

    footer .footer-navigation {
        background: #575A4D;
    }

    footer .border-top {
        border-color: rgba(255,255,255, .2) !important;
    }

.sm-icons a {
    margin-right: 3rem;
    margin-top: 1rem;
}

    .sm-icons a svg {
        width: auto;
        height: 35px;
    }

footer .footer-bottom img {
    margin: 1rem 0;
}

footer .footer-navigation > div {
    flex-basis: 100%;
}

@media (min-width: 576px) {
    footer .footer-bottom img {
        margin: 0;
    }
}

@media (min-width: 768px) {
    footer .footer-navigation > div {
        flex-basis: calc(33% - 1rem);
    }
}

@media (min-width: 992px) {
    footer .footer-contact {
        flex-basis: calc(25% - 1.33rem);
        
    }

    footer .footer-navigation {
        flex-basis: calc(75% - 1.33rem);
        
    }

        
}

/* Contact Section */

.contact-button {
    padding: 1rem;
    gap: 1rem;
    background: var(--secondary-lightgrey-color);
    border-radius: 500px;
    min-width: 300px;    
}

    .contact-button .icon {
        border-radius: 500px;
        background-color: var(--grey-color); 
        width: 80px;
        height: 80px;
        transition: all ease-in-out .3s;
    }

        .contact-button .icon img {
            transition: all ease-in-out .3s;
        }

    .contact-button:hover .icon {
        background-color: var(--quaternary-color);
    }

        .contact-button:hover .icon img {
            filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(2%) hue-rotate(196deg) brightness(109%) contrast(101%);
        }

@media (min-width: 576px) {
    .contact-button {
        min-width: 380px;
    }
}

/*
-----------------------------------------
NAVBAR
-----------------------------------------
*/

nav.navbar {
    justify-content: center;
    background-color: var(--background-white);
}

.navbar {
    justify-content: space-between;
    align-items: initial;
    padding-top: 0;
    padding-bottom: 0;
    top: 0;
    transition: all ease 0.4s;
    min-height: 90px;
    z-index: 1200;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.top-margin {
    margin-top: 90px !important;
}

.navbar-light {
    background-color: var(--background-white);
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.navbar-show {
    transform: none;
}

.scroll-margin,
#umbraco-forms-form-submitted,
.umbraco-forms-submitmessage,
.umbraco-forms-submitmessage-html,
.applicationPage .form-container div,
.applicationPage .form-container p,
.applicationPage .form-container span,
.umbraco-forms-form,
div:has(.umbraco-forms-submitmessage),
div:has(.umbraco-forms-submitmessage-html) {
    scroll-margin-top: 100px;
}

@media screen and (min-width: 992px) {
    .navbar {
        min-height: 112px;
        /*padding-bottom: 2px;*/
    }

    .scroll-margin,
    #umbraco-forms-form-submitted,
    .umbraco-forms-submitmessage,
    .umbraco-forms-submitmessage-html,
    .applicationPage .form-container > div,
    .umbraco-forms-form,
    div:has(.umbraco-forms-submitmessage),
    div:has(.umbraco-forms-submitmessage-html) {
        scroll-margin-top: 122px;
    }

    .top-margin {
        margin-top: 112px !important;
    }
}


/* ---------- Logo ---------- */

.navbar-brand {
    display: flex;
}

    .navbar-brand img {
        height: 40px;
        transition: 0.15s;
        transition: filter ease-in-out .3s;
    }

        .navbar-brand img:hover {
            filter: none;
        }

@media screen and (min-width: 992px) {
    .navbar-brand {
        margin-top: 14px;
    }

    .navbar .navbar-brand img {
        height: 64px;
    }
}

.navbar-dark .logo-dark {
    display: block;
    opacity: 1;
}

.navbar-dark .logo-light {
    display: none;
    opacity: 0;
}

.navbar-light .logo-light {
    display: block;
    opacity: 1;
}

.navbar-light .logo-dark {
    display: none;
    opacity: 0;
}


/* ---------- Mobile menu button ---------- */

#menu-btn.navbar-toggler svg {
    color: var(--text-dark);
}

.mob-contact {
    background-color: var(--lightgrey-color);
    cursor:pointer;
}

/*.mob-lang {
    background-color: var(--background-secondary);
}*/

.navbar-toggler:focus {
    outline: none;
}

.navbar .navbar-toggler {
    width: 35px;
    height: 28px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
    border: none;
    z-index: 1032;
}

.navbar-toggler {
    position: relative;
    width: 30px;
    height: 22px;
    border: none;
}

    .navbar-toggler svg {
        height: 1.5em;
    }

/*.navbar-toggler span {
        display: block;
        position: absolute;
        height: 2px;
        width: 30px;
        background: #000000;
        opacity: 1;
        left: 0;
    }*/

.navbar-dark .navbar-toggler svg {
    color: var(--text-dark);
}

.navbar-toggler:focus,
.navbar-toggler:active {
    border: none;
    outline: none;
    box-shadow: none;
}

.navbar-toggler span {
    width: 1rem;
}

.navbar-toggler span:nth-child(1) {
    top: 0;
}

.navbar-toggler span:nth-child(2) {
    top: 10px;
}

.navbar-toggler span:nth-child(3) {
    top: 20px;
}

@media screen and (min-width: 1200px) {

    .navbar-toggler {
        display: none;
    }
}

/* ----- Offcanvas mobile menu ----- */

.navbar-mob-brand {
    height: 100%;
    padding: .5rem;
}

.nav-logo {
    height: 100%;
}

@media (min-width: 576px) {
    .navbar-mob-brand {
        display: none;
    }

}

.offcanvas-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    overflow-y: auto;
    transition: -webkit-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;
    transition: transform .4s ease-in-out, -webkit-transform .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    z-index: 1032;
    overflow-x: hidden;
}

    .offcanvas-collapse.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        box-shadow: 0 0 40px rgba(0,0,0,0.1);
    }

#mob-nav {
    padding: 0;
}

@media screen and (min-width: 400px) {

    .offcanvas-collapse {
        width: 380px;
        right: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

        .offcanvas-collapse.open {
            -webkit-transform: translateX(0);
            transform: translateX(0);
        }
}

#mobileMenu .nav-item {
    border-bottom: 1px solid var(--nav-primary-light);
}

#mobileMenu .nav-link {
    color: var(--text-dark);
    font-family: var(--font-family-headers);
    font-weight: 500;
    font-size: 1.125rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

/* Mobile menu close button */

.close-button {
    cursor: pointer;
    font-size: 32px;
    padding: 0 0.25rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    height: 30px;
    width: 30px;
    margin-right: 0.75rem;
}

.main-menu-mobile .top-nav-item {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .main-menu-mobile .top-nav-item svg {
        color: var(--text-dark);
    }

    /*.main-menu-mobile .top-nav-item span {
        display: block;
        position: absolute;
        height: 2px;
        width: 30px;
        background: var(--background-primary);
        opacity: 1;
        right: 0;
    }*/

    .main-menu-mobile .top-nav-item span:nth-child(1) {
        top: 15px;
        transform: rotate(45deg);
    }

    .main-menu-mobile .top-nav-item span:nth-child(2) {
        top: 15px;
        transform: rotate(-45deg);
    }

#mobileMenu #language-menu .nav-link {
    font-weight: 400;
    opacity: 0.8;
}

/* Mobile submenu */

.main-menu-mobile .offcanvas-submenu-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 100%;
    overflow-y: auto;
    transition: all .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    z-index: 10;
    padding: 0;
    opacity: 0;
    max-width: 100%;
    background-color: var(--background-white);
}

    .main-menu-mobile .offcanvas-submenu-collapse.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }

    .main-menu-mobile .offcanvas-submenu-collapse .top-nav-item {
        justify-content: space-between;
    }

.main-menu-mobile .back-button {
    justify-content: flex-start;
    font-size: 30px;
    margin-left: 1rem;
    color: #000000;
}

.navbar-toggler svg,
.main-menu-mobile svg {
    color: var(--nav-primary);
}

.main-menu-mobile .submenu {
    list-style: none;
    padding-left: 0;
}

.main-menu-mobile .offcanvas-submenu-collapse .submenu:first-child .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu {
    list-style: none;
    padding-left: 0;
}

.main-menu-mobile .submenu-submenu-submenu {
    list-style: none;
    padding-left: 1rem;
}

    .main-menu-mobile .submenu-submenu-submenu .submenu-item {
        font-size: .875rem !important;
    }

        .main-menu-mobile .submenu-submenu-submenu .submenu-item:first-child .nav-link {
            padding-top: 0 !important;
        }

        .main-menu-mobile .submenu-submenu-submenu .submenu-item:last-child {
            border-bottom: none !important;
            padding-bottom: 1rem;
        }

        .main-menu-mobile .submenu-submenu-submenu .submenu-item .nav-link {
            padding: .5rem !important;
            font-size: 1rem !important;
        }

#mobileMenu .main-menu-mobile .submenu-submenu .nav-item .nav-link {
    white-space: normal;
    font-weight: 400;
}

.main-menu-mobile .submenu-submenu .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu > .nav-item:last-child {
    border-bottom: 1px solid #A1B7B6;
}

.main-menu-mobile .submenu .submenu .nav-item:last-child .nav-link {
    border-bottom: none;
}

.main-menu-mobile .submenu-item .nav-link {
    text-transform: none;
}


.language-dropdown .dropdown-toggle::after {
    color: var(--text-dark);
}

/* ---------- Desktop menu ---------- */

#desktopMenu {
    display: none;
}

@media screen and (min-width: 1200px) {

    #desktopMenu {
        display: flex;
    }
}

#collapse-volito {
    width: 100%;
    background-color: var(--grey-color);
}

    #collapse-volito .mega-grid {
        /*column-count: 4;*/
        column-gap: 3rem;
        max-height: 300px;
    }

    #collapse-volito a,
    #collapse-volito p {
        color: var(--tertiary-color);
    }

    #collapse-volito a {
        font-weight: 700;
        font-size: 1.25rem;
    }

    #collapse-volito a:hover {
        color: #f8f8f3;
    }

    #collapse-volito .border-top {
        border-color: rgba(255,255,255, .2) !important;    
    }

.nav-link:hover {
    cursor: pointer;
}

#main-menu {
    flex-direction: row;
    align-items: center;
}

    #main-menu ul {
        list-style: none;
    }

    #main-menu .mega-menu {
        position: fixed !important;
        top: 109px !important; 
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        transform: none !important;
        display: flex; 
        border: none;
        background-color: #fff;
        list-style: none;
        margin: 0;
        border-radius: 0;
        border: none;
        padding-bottom: 2rem;
        padding-top: 2rem;
        justify-content: space-between;
        flex-wrap: wrap;
        box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
        background-color: var(--background-white);
        border-top: 1px solid #ddd;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    }

    #main-menu .nav-item {
        position: relative;
    }

        #main-menu .nav-item:hover .mega-menu {
            animation: showMegaMenuWithDelay 0.2s ease-in-out forwards;
        }

        #main-menu .nav-item .nav-link:active ~ .mega-menu,
        #main-menu .nav-item .nav-link:focus ~ .mega-menu {
            animation: none;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        #main-menu .nav-item:hover .nav-link:active ~ .mega-menu,
        #main-menu .nav-item:hover .nav-link:focus ~ .mega-menu {
            animation: none;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

@keyframes showMegaMenuWithDelay {
    0%, 71.43% { 
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    100% {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

@keyframes fadeInMegaMenu {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
    

        /*#main-menu .mega-menu.show {
            display: flex;
        }*/

            .show .mega-grid {
                column-count: 4;
                max-height: 500px;
            }

        #main-menu .mega-menu .mega-menu-desc {
            font-size: 1rem;
            padding-bottom: 1rem;
            margin-bottom: .5rem;
        }

.mega-menu .three-col-layout {
    justify-content: space-between;
}

.mega-menu .dropdown-col {
    padding-top: .35rem;
    display: inline-block;
    break-inside: avoid;
    flex-basis: calc(25% - 2rem);
}

.mega-menu .dropdown-col.double-col {
    flex-basis: calc(50% - 2rem);
}

    .mega-menu .dropdown-col.double-col .dropdown-submenu {
        column-count: 2;
    }

    .mega-menu .dropdown-col.double-col .dropdown-submenu {
        
    }

.mega-menu .three-col-layout .dropdown-col {
    flex-basis: calc(33% - 1rem);
}

            .mega-menu .dropdown-col:last-of-type {
                margin-right: 0;
            }

            #main-menu .mega-menu .dropdown-col.partners {
                display: block;
                margin-right: 0;                
                height: 100%;  
                flex-basis: 33%;
            }

                #main-menu .mega-menu .dropdown-col.partners > div {
                    border-left: 1px solid #000;
                    height: 100%;
                    padding-left: 2rem;
                }

            #main-menu .mega-menu .dropdown-col .nav-link-header{
                font-weight: 700;
                font-size: 1.25rem;
                color: var(--grey-color) !important;
            }

                #main-menu .mega-menu .mega-header:hover,
                #main-menu .mega-menu .dropdown-col .nav-link-header:hover,
                #main-menu .mega-menu .dropdown-col.selected-reference a:hover .nav-link-header {
                    color: var(--hover-primary) !important;
                }

        #main-menu .mega-menu .dropdown-submenu {
            padding-left: 0;
        }

            #main-menu .mega-menu .dropdown-submenu .nav-item {
                background-color: transparent;
                padding: .25rem 0;
                border-bottom: 1px solid #E4E4E4;
            }

                #main-menu .mega-menu .dropdown-submenu .nav-item .nav-link {
                    text-transform: none;
                    padding: .25rem;
                    font-weight: 400;
                    font-family: var(--font-family-main);
                    font-size: 1rem;
                }

            #main-menu .mega-menu .dropdown-submenu .nav-item::marker {
                content: none;
            }

    /*#main-menu .nav-item {
        position: relative;
    }*/

     .mega-header {
        font-weight: 700;
        font-family: var(--font-family-main);
        color: var(--grey-color);
        font-size: clamp(1.35rem, 1.1786rem + 0.4762vw, 1.75rem);
    }

    #main-menu .nav-link {
        font-weight: 700;
        font-family: var(--font-family-headers);
        color: var(--grey-color);
        padding: 0.5rem 0 0.5rem 1rem;
        transition: all ease 0.15s;
        font-size: 1.125rem;
        text-transform: uppercase;
    }

#main-menu .mega-menu .selected-reference,
#main-menu .mega-menu .other-references {
    flex-basis: calc(50% - 1rem);
}

#main-menu .mega-menu .other-references {
    flex-grow: 1;
}

#main-menu .mega-menu .selected-partners,
#main-menu .mega-menu .other-partners {
    flex-basis: calc(50% - 1rem);
}

/*#main-menu .mega-menu .selected-partners {
    flex-basis: calc(66% - 1rem);
}


#main-menu .mega-menu .other-partners {
    flex-basis: calc(33% - 1rem);
}*/

#main-menu .mega-menu .selected-partners > a {
    flex-basis: 50%;
}

    #main-menu .mega-menu .selected-partners > a .partner-img {
        min-width: 220px;
        max-width: 220px;
        padding: .5rem;
    }

        #main-menu .mega-menu .selected-partners > a .partner-img img {
            width: auto;
            height: 100px;
            max-width: 100%;
        }

#main-menu .mega-menu .selected-reference > a {
    /*max-height: 300px;*/
}

#main-menu .mega-menu .selected-reference strong,
#main-menu .mega-menu .selected-reference p {
    font-size: 1rem;
}

#main-menu .mega-menu .selected-reference > a > div > div {
    flex-basis: 50%;
    width: 50%;
}

    #main-menu .mega-menu .selected-reference .nav-link-header {
        height:fit-content;
    }

    #main-menu .mega-menu .selected-reference .case-img {        
        overflow: hidden;
        aspect-ratio: 16/9;
    }

    #main-menu .mega-menu .selected-reference .case-img img {
        object-fit: cover;
        object-position: center;
        height: 100%;
        max-width: 100%;
        aspect-ratio: 16/9;        
    }

#main-menu .mega-menu .other-references .cases-list, 
#main-menu .mega-menu .other-partners .cases-list {
    column-gap: 1rem;
    column-width: 250px;
}
    

#top-nav {
    /*padding-top:.35rem;*/
}

    #top-nav .vertical-line-left {
        border-left: 1px solid var(--secondary-color);
        height: 20px;        
        display: inline-block;
        margin-left: 1rem;
    }

    #top-nav .vertical-line-right {
        border-right: 1px solid var(--secondary-color);
        height: 20px;
        display: inline-block;
        margin-right: 1rem;
    }

    #top-nav .language-dropdown .vertical-line-left {
        margin-left: .5rem;
    }

#top-nav .nav-item .nav-link {
    font-weight: 400;
    font-family: var(--font-family-headers);
    color: var(--grey-color);
    padding: 0;
    transition: all ease 0.15s;
    font-size: 1.125rem;
    margin: .75rem 0 1rem 1rem;
}

#top-nav .nav-item:last-child .nav-link{
    margin-right: 0;
}

/* Push-style left-expanding dropdown */
#top-nav {
    transition: all 0.3s ease;
}

.push-expand-dropdown {
    position: relative;
    
}

    .push-expand-dropdown .nav-link {
        margin-left: 8px !important;
    }

    .push-expand-dropdown .d-flex {
        flex-direction: row;
        align-items: center;
    }

.push-expand-menu {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    transition: all 0.3s ease;
    height: 100%;
    align-items: center;
    
}

.push-expand-dropdown:hover .push-expand-menu {
    max-width: 500px;
    opacity: 1;
    padding-left: 6px;
}

.push-expand-menu .dropdown-item {
    padding: 0 .75rem .4rem 0;
    color: var(--grey-color);
    font-weight: 400;
    font-family: var(--font-family-headers);
    font-size: 1.125rem;
    white-space: nowrap;
    background-color: transparent;
}

    .push-expand-menu .dropdown-item::after {
        content: '|';
        margin-left: 0.75rem;
        color: var(--tertiary-color);
    }

    .push-expand-menu .dropdown-item:last-child {
        padding-right: 0;
    }

    .push-expand-menu .dropdown-item:hover {
        color: var(--hover-primary);
        background-color: transparent;
    }


/*#top-nav .dropdown.languages .dropdown-menu {
    display: none;
}

#top-nav .dropdown.languages:hover .dropdown-menu {
    display: block;
}*/

.navbar-dark #main-menu .nav-link:hover,
.navbar-dark #top-nav .nav-link:hover {
    color: var(--hover-primary);
}

.navbar-light #main-menu .nav-link:hover,
.navbar-light #top-nav .nav-link:hover {
    color: var(--hover-primary);
}

#main-menu .dropdown-menu .nav-link:hover {
    color: var(--hover-primary) !important;
}

#main-menu > .nav-item > .nav-link {
    margin-right: .5rem;
}


#main-menu > .nav-item:last-child > .nav-link {
    margin-right: 0;
}

.navbar-dark #main-menu .nav-link,
.navbar-dark #top-nav .nav-link {
    color: var(--grey-color);
}

.navbar-light #main-menu .nav-link,
.navbar-light #top-nav .nav-link {
    /*color: var(--text-dark);*/
    color: var(--grey-color);
}

@media screen and (min-width: 1700px) {


    #main-menu > .nav-item > .nav-link {
        margin-right: 1rem;
    }
}

/* Desktop dropdown menus */

#main-menu .dropdown-toggle::after,
#top-nav .dropdown-toggle::after {
    display: none;
}

#main-menu .dropdown:hover .dropdown-menu,
#top-nav .dropdown:hover .dropdown-menu {
    display: block;
}

#main-menu .dropdown-menu,
#top-nav .dropdown-menu {
    border: none;
    border-radius: 0;
    position: absolute;
    top: calc(100% - 2px);
    padding: 0;
    width: fit-content;
    /*box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);*/
    margin-top: 2px;
    min-width: 8rem;
}

#top-nav .dropdown-menu {
    z-index: 9999;
}

#main-menu .dropdown-menu.mega-menu,
#top-nav .dropdown-menu.mega-menu {
    width: 100%;
}

/*.navbar-dark #main-menu .dropdown-menu,
.navbar-dark #top-nav .dropdown-menu {
    background-color: rgba(0, 0, 0, .1);
    box-shadow: none;
    padding: .75rem 1.75rem;
}

    .navbar-dark #main-menu .dropdown-menu .nav-link,
    .navbar-dark #top-nav .dropdown-menu .nav-link {
        color: var(--text-white)
    }*/

#main-menu .dropdown-menu .nav-link,
#top-nav .dropdown-menu .nav-link {    
    font-size: 1rem;
    font-weight: 500;/*
    padding: .75rem 1.75rem;
    border-bottom: 1px solid var(--lightgrey-color);*/
    /*background-color: var(--background-white);*/
    line-height: 1;
}

    #main-menu .dropdown-menu .nav-link {
        font-weight: 700; 
    }

    #top-nav .dropdown-menu .nav-link {
        font-weight: 400;
        margin: 0;
    }

    #main-menu .dropdown-menu .nav-item,
    #top-nav .dropdown-menu .nav-item {
        padding: .75rem;
        /*padding: .75rem 1.75rem;*/
        /*padding-left: 1rem;
        padding-top: .75rem;
        padding-bottom: .75rem;*/
        border-bottom: 1px solid var(--lightgrey-color);
        background-color: rgba(0, 0, 0, .1);
    }



#main-menu .dropdown-menu .nav-item:last-child .nav-link,
#top-nav .dropdown-menu .nav-item:last-child .nav-link {
    border-bottom: none;
}


/* Desktop language menu */

#desktopMenu #language-menu {
    flex-direction: row;
}

    #desktopMenu #language-menu .nav-link {
        font-weight: 400;
        font-size: 0.875rem;
        color: #000000;
        padding: 0.5rem 1.5rem 0.5rem 0;
        transition: all ease 0.15s;
    }

    #desktopMenu #language-menu .nav-item:last-child .nav-link {
        padding-right: 0;
    }

.navbar-dark #desktopMenu #language-menu .nav-link {
    color: var(--text-white);
}

@media screen and (min-width: 1700px) {

    #desktopMenu #language-menu .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1.875rem 0.5rem 0;
    }
}


/*
-----------------------------------------
CONTACT MODAL
-----------------------------------------
*/

/* ------- Button to open modal ------- */

.contact-modal-button {
    z-index: 1201;
    position: fixed;
    bottom: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.contact-modal-button-icon {
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #606251;
    border-radius: 50%;;
}

.contact-modal-button:hover .contact-modal-button-icon,
.contact-modal-button.show .contact-modal-button-icon {
    background-color: #C3B701;
}

.contact-modal-button.show .contact-modal-button-customer-service {
    display: none;
}

.contact-modal-button .contact-modal-button-close {
    display: none;
    font-size: 40px;
    margin-top: 4px;
    color: #FFFFFF;
}

.contact-modal-button.show .contact-modal-button-close {
    display: block;
}

.contact-modal-button-text {
    display: none;
}

.contact-modal-button-text span {
    display: block;
    background-color: #606251;
    padding: 6px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #FFFFFF;
    font-weight: 700;
    margin-top: 0.5rem;
    border-radius: 1rem;
}

.contact-modal-button:hover .contact-modal-button-text span {
    background-color: #C3B701;    
}

.contact-modal-button.show {
    bottom: unset;
    top: 0;
    right: 0;
}

.contact-modal-button.show {
    bottom: unset;
    top: 0;
    right: 0;
}

.contact-modal-button.show .contact-modal-button-icon {
    border-radius: 0;
}

.contact-modal-button-customer-service img {
    width: 30px;
    height: auto;
}

@media screen and (min-width: 992px) {

    .contact-modal-button.show .contact-modal-button-icon {
        border-radius: 50%;
    }

    .contact-modal-button-icon {
        height: 72px;
        width: 72px;
    }

    .contact-modal-button.show {
        top: unset;
        bottom: 16px;
        right: 16px;
    }

    .contact-modal-container {
        padding-left: 7rem;
        padding-right: 7rem;
    }

    .contact-modal-button-customer-service img {
        width: 36px;
    }
}

@media screen and (min-width: 1200px) {

    .contact-modal-container {
        padding-left: 9rem;
        padding-right: 9rem;
    }

    .contact-modal-button-text {
        display: block;
    }

    .contact-modal-button.show .contact-modal-button-text {
        visibility: hidden;
    }

}

/* ------- Content in modal ------- */

.contact-modal {
    z-index: 1200;
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #141414;
    transition: opacity ease 0.5s;
    color: #E8E8E8;
    align-items: start;
}

.contact-modal.show {
    display: block;
}

.contact-modal:not(.show) {
    display: none !important;
}

.contact-modal-top > div {
    flex: 100% 0 0;
}

@media screen and (min-width: 700px) {

    .contact-modal-top > div {
        flex-basis: 50%;
    }
}

.contact-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-modal-text {
    padding: 2rem 1.5rem;
}

.contact-modal-text h2 {
    font-family: var(--font-family-main);
}

.contact-modal-text h3 {
    margin-top: 1.25em;
    margin-bottom: 0.5em;
}

ul.contact-modal-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.contact-modal-info li {
    font-size: 1rem;
}

ul.contact-modal-info li svg {
    color: var(--primary-color);
}

ul.contact-modal-info li a {
    color: var(--text-dark);
}

ul.contact-modal-info li a:hover {
    color: var(--primary-color);
}

ul.contact-modal-info li span {
    font-weight: 700;
    text-transform: uppercase;
    color: #45483A;
}

@media screen and (min-width: 1200px) {

    .contact-modal-text {
        padding: 2.5rem 2rem;
    }
}

@media screen and (min-width: 1700px) {

    .contact-modal-text {
        padding: 4rem;
    }
}

.contact-modal-bottom {
    width: 100%;
    padding: 2rem 1.5rem;
    background-color: #FFFFFF;
}

@media screen and (min-width: 1200px) {

    .contact-modal-bottom {
        padding: 2.5rem 2rem;
    }
}

@media screen and (min-width: 1700px) {

    .contact-modal-bottom {
        padding: 4rem;
    }
}

.contact-modal-bottom h3 {
    font-size: clamp(1.75rem, 1.616rem + 0.597vw, 2.25rem);
    margin-bottom: 0;
}

.contact-modal-text a.contact-modal-text-button {
    background-color: transparent;
    margin-top: 2em;
    padding: 1rem 2rem;
    line-height: 1;
    font-size: 1rem;
}

/* ------- Contact form in modal ------- */

.contact-modal {
    background-color: #626262;
}

.contact-modal-form .umbraco-forms-form {
    width: 100%;
    padding: 0;
}

.contact-modal-form .umbraco-forms-fieldset {
    padding: 0;
}

.contact-modal-form form .row-fluid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-modal-form form .col-md-6 {
    width: 100%;
}

.contact-modal-form form .col-md-6:first-child {
    margin-bottom: 1rem;
}

.contact-modal-form form .formimage {
    padding-bottom: 1rem;
}

.contact-modal-form form .formimage .umbraco-forms-field-wrapper > div,
.contact-modal-form form .formimage .umbraco-forms-field-wrapper > div > p,
.contact-modal-form form .formimage .umbraco-forms-field-wrapper > div > p > img {
    width: 100%;
    height: 100%;
}

    .contact-modal-form form .formimage .umbraco-forms-field-wrapper > div > p > img {
        object-fit: cover;
        object-position: center;
    }

@media screen and (min-width: 992px) {
    .contact-modal-form form .col-md-6 {
        width: calc(50% - 0.5rem);
    }

    .contact-modal-form form .col-md-6:first-child {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1200px) {

    .contact-modal-form form .col-md-6 {
        width: calc(50% - 1rem);
    }
}

.contact-modal-form .umbraco-forms-form input.text,
.contact-modal-form .umbraco-forms-form textarea {
    background-color: var(--lightgrey-color);
    border: 2px solid var(--lightgrey-color);
    max-width: unset !important;
    padding: 1rem;
    margin: 0 0 1rem;
    width: 100%;
    font-family: var(--font-family-main);
}

.contact-modal-form .umbraco-forms-form input.text:focus,
.contact-modal-form .umbraco-forms-form textarea:focus,
.contact-modal-form .umbraco-forms-form input.text:focus-visible,
.contact-modal-form .umbraco-forms-form textarea:focus-visible {
    border: 2px solid var(--primary-color);
    outline: none;
    box-shadow: none;
}

.contact-modal-form label.umbraco-forms-label {
    display: none;
}


.contact-modal-form .col-md-6:first-child .umbraco-forms-field:last-child input {
    margin-bottom: 0;
}

.contact-modal-form .col-md-6:last-child > div,
.contact-modal-form .col-md-6:last-child .umbraco-forms-field-wrapper,
.contact-modal-form .col-md-6:last-child textarea {
    height: 100%;
}

.umbraco-forms-submitmessage {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    width: 100%;
    display: block;
}

/* Check box */

.contact-modal-form .umbraco-forms-form fieldset:has(.dataconsent) {
    margin-bottom: 2rem;
}

.contact-modal-form input[type="checkbox"] {
    position: absolute;
    top: 0.13em;
    left: 0;
    appearance: none;
    border: 1px solid #AFB4B6;
    background-color: #FFFFFF;
    margin: 0;
    font: inherit;
    width: 21px;
    height: 21px;
    padding: 0 !important;
    border-radius: 0;
}

.contact-modal-form input[type="checkbox"]:active,
.contact-modal-form input[type="checkbox"]:focus {
    outline: none;
    border: 1px solid var(--primary-color);
}

.contact-modal-form input[type="checkbox"]::before {
    content: "";
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: inset 1em 1em #FFFFFF;
    transform: scale(0);
    transform-origin: center;
    clip-path: polygon(37% 65%,85% 12%,95% 21%,38% 81%,0 48%,8% 39%);
}

.contact-modal-form input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
  
.contact-modal-form input[type="checkbox"]:checked::before {
    transform: scale(0.75);
}

.contact-modal-form .dataconsent {
    position: relative;
    z-index:1;
}

.contact-modal-form .dataconsent > .umbraco-forms-field-wrapper {
    position: absolute;
    left: 0;
    right: 0;
}

.contact-modal-form .dataconsent > label {
    display: none;
}

.contact-modal-form .dataconsentlink {
    margin-left: 34px;
    position: relative;
    z-index: 2;
}

.contact-modal-form .dataconsentlink p {
    margin-bottom: 0;
}

.contact-modal-form .dataconsentlink a:hover {
    text-decoration: underline;
}

.contact-modal-form .dataconsent label {
    padding-left: 34px;
}

/* Error */

.contact-modal-form .umbraco-forms-field-wrapper:has(.field-validation-error) {
    display: flex;
    flex-direction: column;
}

.contact-modal-form .field-validation-error {
    order: 1;
}

.contact-modal-form input,
.contact-modal-form textarea {
    order: 2;
}

.contact-modal-form .dataconsent .umbraco-forms-field-wrapper:has(.field-validation-error) {
    display: block;
}

.contact-modal-form .dataconsent .field-validation-error {
    order: unset;
    position: relative;
    display: block;
    margin-top: -1.5em;
    margin-left: 34px;
    padding-left: 0;
    max-width: 100%;
    text-align: left;
    transform: none;    
}

.contact-modal-form .dataconsent:has(.field-validation-error) .umbraco-forms-field-wrapper {
    position: relative;
}

/* Submit */

.contact-modal-form .umbraco-forms-form .umbraco-forms-navigation {
    padding: 0;
}

.contact-modal-form input.btn {
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    font-size: 1rem;
    padding: 1rem 2rem;
    line-height: 1;
    transition: all ease-in-out .3s;
}

.contact-modal-form input.btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);    
}

/* 
-----------------------------------------
HOMEPAGE
-----------------------------------------
*/

.desktop-contact-bg,
.mobile-contact-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.desktop-contact-bg {
    display: none;
}

.mobile-contact-bg {
    display: block;
}

@media(min-width: 768px) {
    .desktop-contact-bg {
        display: block;
    }

    .mobile-contact-bg {
        display: none;
    }
}

/* Hero */

.hero {
    flex-direction: column;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 0;
    background-position: left;
    position: relative;
    height: 75vh;
}

    .hero-img,
    .hero-img img,
    .hero-img video {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

.hero-content {
    position: absolute;
    z-index: 2;
}

    .hero-content > div {
        width: 100%;
        margin-top: auto;
        margin-bottom: 3rem;
    }

    .hero-link {
        text-transform: uppercase;
        font-weight: 600;
    }

    .hero-link svg  {
        transition: all ease-in-out .3s;
    }

        .hero-link:hover svg {
            transform: rotate(90deg);
        }

            .hero-link.external-link:hover svg {
                transform: unset;
                padding-left: .5rem !important;
            }

@media screen and (min-width: 1200px) {
    .hero {
        aspect-ratio: 16/9;
    }
    .hero-content > div {
        width: 50%;
        margin-top: unset;
        margin-bottom: unset;
    }
}

.hero.dark h1 {
    color: var(--headline-white);
}

.hero.dark p,
.hero.dark p.ingress {
    color: var(--text-white);
}

.hero.light h1 {
    color: var(--headline-dark)
}

.hero.light p,
.hero.light p.ingress {
    color: var(--headline-dark);
}

/* Company info */
.company-info > div {
    flex-basis: 100%; 
    justify-content: center;
}

    .company-info > div > div {
        flex-basis: 50%;
        padding: 1rem;
    }

.company-info .company-info-number {
    font-size: clamp(2.5rem, 1.8571rem + 1.7857vw, 4rem);
    font-weight: 100;
    line-height: 100%
}

@media (max-width: 575px) {
    .company-info > div > div:nth-child(2) {
        border-right: none !important;
    }

    .company-info > div > div:nth-child(3) {
        padding-top: 1rem;
        flex-basis: 100%;
    }

    .company-info > div > div:nth-child(3) > p,
    .company-info > div > div:nth-child(3) > div {
        width: 50% !important;
        margin: 0 auto;
    }
}

@media (min-width: 576px) {
    .company-info > div > div {
        flex-basis: 33%;
    }

        .company-info > div > div:nth-child(3) {
            border-top: none !important;
        }
}

@media (min-width: 1200px) {
    .company-info > div {
        flex-basis: 50%;
    }        
}

/* Offer section */


.home-offer-nav .navigation-grid {
    width: 100%;
}

/* Technologies section */
.technologies-section .rte-container {
    border-bottom: 1px solid var(--quaternary-color);
}

.technologies-section .rte-container h2,
.technologies-section .rte-container p {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 1rem;
}

.technologies-section .technologies a {
    flex-basis: 100%;
    border-bottom: 1px solid var(--quaternary-color);
    padding: 1rem;
}

.home-tech-nav-img {
    aspect-ratio: 1/1;
    width: auto;
    height: 120px;
    transition: all ease-in-out .3s;
}

.technologies-section .technologies a:hover .home-tech-nav-img {
    transform:scale(1.2);
}

@media (min-width: 992px) {
    .technologies-section .rte-container {
        border-bottom: none;
    }

        .technologies-section .technologies a {
            flex-basis: 33%;
            border-bottom: none;
            border-right: 2px solid var(--quaternary-color);
        }

            
}

/* Home News */
.home-news-container {
    gap: 1rem;
}

    .home-news-container > a {
        flex-basis: 100%;
        transition: all ease-in-out .3s;
    }

        .home-news-container > a h3 {
            transition: all ease-in-out .3s;
        }

        .home-news-container > a:hover {
            /*box-shadow: 0px 0px 12px rgba(0,0,0,.15);*/
            box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
        }

            .home-news-container > a:hover h3 {
                /*color: var(--hover-primary);*/
                text-decoration: underline;
                text-decoration-thickness: auto;
                text-decoration-thickness: 2px;
            }

    .home-news-container .first-news-item {
        flex-basis: 100%;
        flex-wrap: wrap;
        height: fit-content;
    }

        .home-news-container .first-news-item > div {
            flex-basis: 100%;
        }

        .home-news-container .first-news-item .bg-img {
            aspect-ratio: 3/2;
        }

        .home-news-container .first-news-item .news-content,
        .home-news-container .other-news {
            padding: 1rem;
        }

@media (min-width: 768px) {
    .home-news-container {
        gap: 2rem;
    }

    .home-news-container .first-news-item .news-content,
    .home-news-container .other-news {
        padding: 2rem;
    }
}

@media (min-width: 1200px) {
    .home-news-container .first-news-item {
        flex-wrap: nowrap;
    }

    .home-news-container .first-news-item .news-content {
        aspect-ratio: 3/2;
        padding: 4rem;
    }

    .home-news-container .first-news-item > div {
        flex-basis: 50%;
        max-width: 50%;
    }

    .home-news-container > a {
        flex-basis: calc(50% - 1rem);
    }
}

/*
-----------------------------------------
NEWS
-----------------------------------------
*/

.date {
    color: var(--primary-color);
}

.news-page .news-img {
    max-width: 100%;
}

.news-page .news-text {
    background: var(--lightgrey-color);
}

.news-page .news-item,
a.card {
    transition: all ease-in-out .1s;
}

    .news-page .news-item:hover,
    a.card:hover {
        box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    }

.news-page .news-item:hover h3,
a.card:hover h3 {
    /*color: var(--hover-primary);*/
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.news-page .news-text h3 {
    line-height: 1;
}

.news-page .news-text p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-page .pagination .active > .page-link, .page-link.active {
    color: var(--text-white);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.news-page .pagination .page-link {
    color: var(--text-dark);
    border-radius: 0 !important;
}

/*
-----------------------------------------
TEXT PAGE
-----------------------------------------
*/

/* Technologies */

.tech-nav {
    gap:1rem;
}

    .tech-nav .bg-img {
        width: 220px;
        height: 220px;
    }

    .tech-nav .tech-info {
        flex-grow: 1;
    }

        .tech-nav .tech-info > a:hover h3,
        .tech-nav .tech-info > a:hover p {
            color: var(--hover-primary);
        }

.tech-nav > div {
    flex-basis: 100%;
}

@media (min-width: 768px) {
    

        .tech-nav > div {
            flex-basis: calc(50% - .5rem);
        }
}

@media (min-width: 1200px) {
    .tech-nav {
        gap: 2rem;
    }

    .tech-nav > div {
        flex-basis: calc(33% - 1.5rem);
    }
}

/* Navigation grid */

.navigation-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
}

    .navigation-grid > a {
        transition: all ease-in-out .3s;
        min-height: 130px;
    }

    .navigation-grid > a > .bg-white {
        transition: all ease-in-out .3s;
        height: fit-content;
        row-gap: .25rem;
        background: rgba(255,255,255,.9) !important;
        backdrop-filter: blur(2px);
    }

        .navigation-grid > a > .bg-white h3, 
        .navigation-grid > a > .bg-white p {
            transition: all ease-in-out .3s;
        }

        .navigation-grid > a:hover {
            /* box-shadow: 0px 0px 12px rgba(0,0,0,.15);*/
            box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
        }

        .navigation-grid > a:hover > .bg-white {
            background-color: var(--grey-color) !important;
        }

            .navigation-grid > a:hover > .bg-white h3,
            .navigation-grid > a:hover > .bg-white p {
                color: var(--white-color);
            }

@media(min-width: 576px) {
    .navigation-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(min-width: 1200px) {

    .navigation-grid > a {
        grid-row: span 1;
        grid-column: span 1;
        /*aspect-ratio: 1/1;*/
    }

    /* 3 item grid */

    .navigation-grid.grid-count-3 {
        grid-template-columns: repeat(3,1fr);
    }

        .navigation-grid.grid-count-3 > a {
            grid-row: span 2;
            grid-column: span 1;
            aspect-ratio: 2/3;
        }

    

    /* 4 item grid */

    .navigation-grid.grid-count-4 {
        grid-template-columns: repeat(3,1fr);
    }

    .navigation-grid.grid-count-4 > a {
        grid-row: span 1;
        grid-column: span 1;
        aspect-ratio: unset;
    }

        .navigation-grid.grid-count-4 > a:nth-of-type(3n+1) {
            grid-row: span 2;
            grid-column: span 1;
            /*aspect-ratio: 2/3;*/
        }

        .navigation-grid.grid-count-4 > a:nth-of-type(2),
        .navigation-grid.grid-count-4 > a:nth-of-type(3) {
            aspect-ratio: 3/2;
        }

        .navigation-grid.grid-count-4 > a:nth-of-type(2) {
            grid-column-start: 2;
            grid-row-start: 1;
        }

        .navigation-grid.grid-count-4 > a:nth-of-type(3) {
            grid-column-start: 2;
            grid-row-start: 2;
        }

        .navigation-grid.grid-count-4 > a:nth-of-type(4) {
            grid-column-start: 3;
        }

    /* 5 item grid */
    .navigation-grid.grid-count-5 {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-auto-flow: dense; /* This helps fill the grid efficiently */
    }

        .navigation-grid.grid-count-5 > a {
            aspect-ratio: 3/2;
        }

            /* Third item spans 2 rows in the middle column */
            .navigation-grid.grid-count-5 > a:nth-of-type(3) {
                grid-column: 2;
                grid-row: 1 / span 2;
                aspect-ratio: unset;
            }

            /* First item - top left */
            .navigation-grid.grid-count-5 > a:nth-of-type(1) {
                grid-column: 1;
                grid-row: 1;
            }

            /* Second item - top right */
            .navigation-grid.grid-count-5 > a:nth-of-type(2) {
                grid-column: 3;
                grid-row: 1;
            }

            /* Fourth item - bottom left */
            .navigation-grid.grid-count-5 > a:nth-of-type(4) {
                grid-column: 1;
                grid-row: 2;
            }

            /* Fifth item - bottom right */
            .navigation-grid.grid-count-5 > a:nth-of-type(5) {
                grid-column: 3;
                grid-row: 2;
            }

    /* 6 item grid */

    .navigation-grid.grid-count-6 {
        grid-template-columns: repeat(4,1fr);
    }

    .navigation-grid.grid-count-6 > a {
        grid-row: span 1;
        grid-column: span 1;
        aspect-ratio: unset;
    }

        .navigation-grid.grid-count-6 > a:nth-of-type(3n+1) {
            grid-row: span 2;
            grid-column: span 1;
            aspect-ratio: 2/3;
        }

    /* > 6 item grid */

    .navigation-grid.grid-count-full {
        grid-template-columns: repeat(4,1fr);
    }

    .navigation-grid.grid-count-full > a {
        grid-row: span 1;
        grid-column: span 1;
        aspect-ratio: 3/2;
    }
}

/*
-----------------------------------------
CASE PAGE
-----------------------------------------
*/

.customer-quote-bg {
    /*background-image: url('/images/customer-quote-bg.svg');*/
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"127\" height=\"90\" viewBox=\"0 0 127 90\" fill=\"none\"%3E%3Cpath opacity=\"0.3\" d=\"M126.906 58.5C126.906 75.9094 112.816 90 95.4062 90H86.4062H81.9062V81H86.4062H95.4062C107.838 81 117.906 70.9313 117.906 58.5V54H81.9062H72.9062V45V9V0H81.9062H117.906H126.906V9V27V45V54V58.5ZM117.906 45V27V9H81.9062V45H117.906ZM9.90625 45H45.9062V27V9H9.90625V45ZM54.9062 27V45V54V58.5C54.9062 75.9094 40.8156 90 23.4062 90H14.4062H9.90625V81H14.4062H23.4062C35.8375 81 45.9062 70.9313 45.9062 58.5V54H9.90625H0.90625V45V9V0H9.90625H45.9062H54.9062V9V27Z\" fill=\"%23919242\"%3E%3C/path%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 127px 90px;
    position: relative; /* Ensures positioning context */
}


.case-info > div > div {
    flex-basis: 100%;
}

.case-info h3 {
    margin-top: 0;
}

.case-info .customer-contacts p {
    margin-bottom: .5rem;
}

.case-page .case-section {
    gap: 2rem;
}

.case-page .case-section > div {
    flex-basis: calc(60% - 1rem);
    padding: 1rem;
}

.case-page .case-section > div:first-child {
    flex-basis: calc(40% - 1rem);
}

.case-images,
.case-images div {
    gap: .5rem;
}

    .case-images div {
        flex-basis: calc(50% - .5rem);
    }

    .case-images .sm-imgs > div {
        flex-basis: calc(50% - .25rem);
    }

    .case-images .hz-img {
        flex-basis: 50%;
    }

    .case-images > div {
        flex-basis: 100%;
    }

    .case-images .case-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

@media (min-width: 992px) {
    
}

@media (max-width: 1200px) {
    .case-info .customer-info {
        border: none !important;
    }
}

@media (min-width: 1200px) {
    .case-images,
    .case-images div {
        gap: 1rem;
    }


    .case-info > div > div {
        flex-basis: calc(50% - .5rem);
    }

    .case-info .customer-contacts {
        border: none !important;
        padding-left: 2rem;
    }

    .case-images > div {
        flex-basis: calc(50% - .5rem);
    }
}

/* 
-----------------------------------------
Contact Page
-----------------------------------------
*/

.contact-header {
    overflow: scroll; 
    max-height: 65vh;
}

.contact-page > div {
    flex-basis: 100%;
}

.people-section p {
    max-width: 750px;
}

.people-section .departments .department-link {
    flex-basis: 100%;    
    transition: all ease-in-out .3s;
}
    .people-section .departments .department-link:hover {
        /*box-shadow: 0px 0px 12px rgba(0,0,0,.15);*/
        background-color: var(--quaternary-color);

    }

.people-section .departments .department-link h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

    .people-section .departments .department-link h3 svg {
        font-size: .9em;
        margin: auto 0;
    }

    .people-section .departments .department-link:hover h3 {        
        /*text-decoration: underline;
        text-decoration-thickness: auto;
        text-decoration-thickness: 2px;*/
    }

.offices p,
.offices a {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
}

.offices a:hover {
    color: var(--primary-color);
}

.offices .office {
    flex-basis: calc(50% - .5rem);
}

@media (max-width:991px) {
    .contact-page .bg-img {
        max-width: 350px;
    }
}

@media (min-width: 768px) {
    .people-section .departments .department-link {
        flex-basis: calc(50% - 1rem);
    }
}

@media (min-width: 992px) {
    .contact-page > div:first-of-type {
        flex-basis: calc(40% - .5rem);
    }

    .contact-page > div:last-of-type {
        flex-basis: calc(60% - .5rem);
    }    

    .offices .office {
        flex-basis: calc(50% - .5rem);
    }
}

@media (min-width: 1200px) {
    .contact-page > div:first-of-type {
        flex-basis: calc(50% - .5rem);
    }

    .contact-page > div:last-of-type {
        flex-basis: calc(50% - .5rem);
    }

    .people-section .departments .department-link {
        flex-basis: calc(25% - 1.5rem);
    }
}

/* 
-----------------------------------------
People Page
-----------------------------------------
*/

.people-header > div:first-child {
    flex-basis: 100%;
}

.people-header > .filter-container {
    flex-basis: 100%;
}

.people-header .searchbar input {
    border: 1px solid #7F7F7F;
    border-radius: 0;
    max-width: 500px;
}

    .people-header .searchbar input:focus {
        border-color: #7F7F7F;
        outline: 0;
        box-shadow: none;
    }



.people-header .filters .form-check {
    flex: 1 1 auto;
}

.people-header .filters .form-check-input {
    border-color: #7F7F7F;
    border-radius: 0;
}

.people-header .filters .form-check-input:focus {
    border-color: #7F7F7F;
    outline: 0;
    box-shadow: none;
}
.people-header .filters .form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448.1 118.2L437 129.7 173.6 404l-11.5 12-11.5-12L11.1 258.8 0 247.2l23.1-22.2 11.1 11.5L162.1 369.8 414 107.5 425 96l23.1 22.2z'/%3E%3C/svg%3E");
}


    .people-header .filters .form-check-input:checked {
        background-color: #fff;
        border-color: #7F7F7F;
    }

    .people-header .filters .form-check {
        display: inline-flex;
        align-items: center;
        flex-basis: 100%;
        min-width: 100px; /* Minimum width */
        margin-bottom: 0.5rem;
        flex-grow: 0;
    }

    /* Ensure label text doesn't wrap */
    .people-header .filters .form-check-label {
        white-space: nowrap;
        overflow: visible;
        margin-left: 0.25rem;
    }

    /* Improve checkbox visibility */
    .people-header .filters .form-check-input {
        min-width: 18px;
        height: 18px;
        margin-top: 0;
    }

@media (min-width: 576px) {
    .people-header .filters .form-check {
        flex-basis: calc(50% - 1rem);
    }
}

@media (min-width: 768px) {
    .people-header .filter-container #toggle-filters {
        display: none;
    }
}

@media (min-width: 1400px) {
    .people-header .filters .form-check {
        flex-basis: calc(33% - 1rem);
    }
}

@media (min-width: 1600px) {
    .people-header .filters .form-check {
        flex-basis: calc(25% - 1rem);
    }
}

.departments {
}

    .departments .department .team-headline {
        color: var(--primary-color);
        font-weight: 600;
        text-transform: uppercase;
    }

    /*.departments .department:nth-of-type(even) {
        background-color: var(--lightgrey-color);
    }*/
    .departments .department.even-visible {
        background-color: var(--lightgrey-color);
    }

    .departments .department .contact-card {
        flex-basis: 100%;
        max-width: 700px;
    }

    .departments .department .contact-card,
    .contacts .search-person-item,
    .contacts .contact-card {
        flex-basis: 100%;
    }



@media (min-width: 1300px) {
    .people-header > div:first-child {
        flex-basis: 40%;
    }

    .people-header > .filter-container {
        flex-basis: 60%;
    }

    .departments .department .contact-card {
        max-width: unset;
    }

    .departments .department .contact-card,
    .contacts .search-person-item,
    .contacts .contact-card {
        flex-basis: calc(50% - .5rem);
    }

    .contacts .search-person-item .contact-card {
        height: 100%;
    }
}

/* 
-----------------------------------------
Partners
-----------------------------------------
*/

.partners-container .carousel {
    max-width:1920px;
    margin: 0 auto;
}

.partners-container .carousel .carousel-control-next,
.partners-container .carousel .carousel-control-prev {
    width: 70px;
}

    .partners-container .carousel .carousel-control-next {
        margin-right: -30px;
    }

    .partners-container .carousel .carousel-control-prev {
        margin-left: -30px;
    }


/*@media (min-width: 1700px) {
    .partners-container .carousel .carousel-control-next,
    .partners-container .carousel .carousel-control-prev {
        width: 100px;
    }
}

@media (min-width: 1800px) {
    .partners-container .carousel .carousel-control-next {
        margin-right: 100px;
    }

    .partners-container .carousel .carousel-control-prev {
        margin-left: 100px;
    }
}*/

    .partners-container .partner-link {
        padding: 1rem;
        border: 1px solid #ccc;
        flex-basis: calc(50% - .5rem);
        transition: all ease-in-out .3s;
    }

        .partners-container .partner-link img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            filter: grayscale();
        }

        .partners-container .partner-link:hover {
            /*box-shadow: 0px 0px 12px rgba(0,0,0,.15);*/
            box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
        }

            .partners-container .partner-link:hover img {
                filter: none;
            }

.partner.flip-hover {
    aspect-ratio: 3/4;    
    perspective: 1000px; /* Enable 3D perspective */
    position: relative;
    width: 100%;
}

    .partner.flip-hover .front-side,
    .partner.flip-hover .back-side {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        transition: transform 0.6s ease-in-out;
        transform-style: preserve-3d;
        box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
    }

    .partner.flip-hover .front-side {
        transform: rotateY(0deg);
        z-index: 2;
    }

    .partner.flip-hover .back-side {
        transform: rotateY(180deg);
        overflow: hidden;
        background-color: var(--lightgrey-color);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .partner.flip-hover:hover .front-side {
        transform: rotateY(-180deg);
    }

    .partner.flip-hover:hover .back-side {
        transform: rotateY(0deg);
    }

    .partner.flip-hover .back-side p.ingress {
        font-size: clamp(1rem, calc(1rem + ((1vw - 0.36rem) * 0.1488)), 1.125rem);
        text-align: center;
    }

    .partner.flip-hover .card-body {
        aspect-ratio: 3/2;
    }

/*.partner.flip-hover {
    aspect-ratio: 3/4;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
}

    .partner.flip-hover .front-side {
        display: block;        
    }

    .partner.flip-hover .back-side {
        display: none;        
        overflow: hidden;
        height: 100%;
        background-color: var(--lightgrey-color);
    }

    .partner.flip-hover:hover .front-side {
        display: none;
    }

    .partner.flip-hover:hover .back-side {
        display: block;
    }

        .partner.flip-hover .back-side p.ingress {*/
            /*color: var(--white-color);*/
            /*font-size: clamp(1rem, calc(1rem + ((1vw - 0.36rem) * 0.1488)), 1.125rem);
        }

    .partner.flip-hover .card-body {
        aspect-ratio: 3/2;
    }*/

@media (min-width: 768px) {
    .partners-container .partner-link {        
        flex-basis: calc(33% - .55rem);
    }
}

@media (min-width: 1200px) {
    .partners-container .partner-link {
        padding: 2rem;
        flex: 1 0 0;
    }
}

/* 
-----------------------------------------
Cards Container
-----------------------------------------
*/

.cards-container .news-item {
    flex-basis: 100%;
}

.cards-container > div {
    gap: 1.5rem;
}

.cards-container .small-cards {
    justify-content: center;    
}

.card {
    border-radius: 0;
    border: none;
}

.card .card-body {
    background-color: var(--lightgrey-color);
    padding: 1rem;
}

.card .card-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover; 
    object-position: center;
}

@media (min-width: 768px) {
    .cards-container .card {
        flex-basis: calc(50% - .75rem);
    }

    .card .card-body {
        padding: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .cards-container .card {
        flex-basis: calc(33% - 1rem);
    }

    .cards-container .small-cards .card {
        flex-basis: 33%;
    }
}

@media (min-width: 1600px) {
    .cards-container .card {
        flex-basis: calc(33% - .75rem);
    }

    .cards-container .small-cards .card {
        flex-basis: calc(25% - 1.5rem);
    }

    .cards-container .small-cards .card .card-body {
        padding: 1rem;
    }
}

/* 
-----------------------------------------
Career & Applications
-----------------------------------------
*/

/* Career */

.applications-list .position .card-body {
    background-color: var(--background-white);
}

/*.applications-list .position.closed,
.applications-list .position.closed .card-body {
    background-color: var(--transparent);
}
*/
.applications-list .position.closed {
    filter: grayscale();
}

.applications-list .toggle-positions[aria-expanded="true"] .open,
.applications-list .toggle-positions[aria-expanded="false"] .close {
    display:none;
}

.applications-list .toggle-positions[aria-expanded="false"] .open,
.applications-list .toggle-positions[aria-expanded="true"] .close {
    display: inline;
}

/* Application form */

.application-form .application-form-container {
    gap:1.5rem;
}

.umbraco-forms-form .application-form input.text,
.umbraco-forms-form .application-form textarea {
    max-width: 100% !important;
    padding: 10px;
    display: block;
    width: 100% !important;
    margin: 0;
    background-color: #F8F8F3;
    border: none;
}

    .umbraco-forms-form .application-form input.text::placeholder,
    .umbraco-forms-form .application-form textarea::placeholder {
        color: #666;
        text-align: left;
        font-family: Archivo;
        font-size: 1rem;
        font-style: normal;
        font-weight: 300;
        line-height: 150%; /* 1.5rem */
    }

    .umbraco-forms-form .application-form fieldset {
        padding: 0;
        margin: 0;
    }

    .umbraco-forms-form .application-form .umbraco-forms-container .message,
    .umbraco-forms-form .application-form .umbraco-forms-container .message > .umbraco-forms-field-wrapper,
    .umbraco-forms-form .application-form .umbraco-forms-container .message > .umbraco-forms-field-wrapper > textarea {
        height: 100%;
    }

.umbraco-forms-form .application-form label {
    color: #140728;
    font-size: 1rem;
    font-style: normal;
    font-weight: 300;
    line-height: 150%; /* 1.5rem */
}

.umbraco-forms-form .application-form .umbraco-forms-container .dataconsent,
.umbraco-forms-form .application-form .umbraco-forms-container .files {
    margin-top: 1.5rem;
}

.umbraco-forms-form .application-form .umbraco-forms-navigation {
    padding: 1.5rem 0;
}

.umbraco-forms-form .application-form .umbraco-forms-container {
    flex-basis: 100%;
}

@media (min-width: 992px) {
    .umbraco-forms-form .application-form .umbraco-forms-container {
        flex-basis: calc(50% - .75rem);
    }
}


/* Custom file upload styling */
.custom-file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
    background-color: #F8F8F3;
    /*border-radius: 5px;*/
}

.custom-file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.custom-file-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

    .custom-file-label .btn {
        margin-right: 1rem;
        padding: .35rem 1rem !important;
        /*border-width: 1px !important;*/
        /*color: #140728 !important;*/
        font-weight: 500 !important;
        /*text-transform: unset !important;*/
        /*border-radius: 5px 0 0 5px !important;*/
        /*border: 2px solid var(--primary-color);
        color: var(--primary-color);
        background-color: #fff;
        border-radius: 0;*/
    }

.file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 1rem;
}

/* 
-----------------------------------------
Partners
-----------------------------------------
*/

#partners {
    scroll-margin-top: 50px;
}

.cards-container .highlighted-partners,
.cards-container .all-partners {
    gap: 1.5rem;
}

.cards-container .highlighted-partners {
    margin-bottom: 4rem;
}

@media (min-width: 1200px) {
    .cards-container .highlighted-partners .card.partner {
        flex-basis: calc(50% - 1rem);
    }

    .cards-container .all-partners .card.partner {
        flex-basis: calc(25% - 1.25rem);
    }
}

#partners .partner .partner-img {
    aspect-ratio: 3/2;
    border-radius: 0 !important;
}

#partners .highlighted-partners .partner .partner-img > div {
    flex-basis: 40%;
    height: fit-content;
}

        #partners .partner .partner-img > div img {
            object-fit: contain;
            object-position: center;
        }

a.partner.card {
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
}

    a.partner.card .card-body {
        background-color: var(--white-color);
    }

    a.partner.card:hover,
    a.partner.card:hover h3 {
        text-decoration: none !important;
    }

    a.partner.card:hover .card-body {
        background-color: var(--grey-color) !important;
    }

    a.partner.card:hover .card-body h3,
    a.partner.card:hover .card-body p {
        color: var(--white-color) !important;
    }

/* 
-----------------------------------------
Products
-----------------------------------------
*/

.product-category-list .card {
    flex-basis: 100%;
}

@media(min-width: 992px) {
    .product-category-list .card {
        flex-basis: calc(33% - 1.5rem);
    }
}