/* 
-----------------------------------------
BASE
1. Variables and general
2. Typography (general + headings)
3. Links & buttons (links, buttons, skip-link)
4. Spacing
5. Backgrounds
6. Borders
7. Images
8. Breadcrumb

Start page
Subpage
News page

-----------------------------------------
*/

/*
----------------------------
1. VARIABLES AND GENERAL 
----------------------------
*/

:root {
    /* Color declarations */

    --labs-orange: #D95818;
    --labs-dark-red: #640D02;
    --labs-light-yellow: #FDFAF1;
    --labs-text-yellow: #FFF2D9;
    --labs-offblack: #2B2B2B;
    --labs-white: #FFFFFF;

    /* Top margin */
    --top-margin-sm: 68px;
    --top-margin-lg: 100px; /* 992 px */
    --top-margin-xl: 128px; /* 1700 px */
}

::selection {
    background-color: var(--labs-offblack);
    color: #ffffff;
}

.bg-light {
    background-color: var(--labs-light-yellow) !important;
}

.bg-white {
    background-color: var(--labs-white) !important;
}

.border-left {
    border-left: 4px solid #D14B1B;
    padding-left: 1.5rem;
}

@media screen and (min-width: 768px) {

    .border-left {
        border-left: 6px solid #D14B1B;
    }
}

/*
----------------------------
 2. TYPOGRAPHY 
---------------------------- 
*/

/* Change clamp-values according to chosen font-family*/

body,
p,
li {
    font-family: 'proxima-nova', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 0.9464rem + 0.1488vw, 1.125rem);
    color: var(--labs-offblack);
    line-height: 1.4;
}

b,
strong,
p strong {
    font-weight: 700;
}

p.preamble,
p.ingress {
    font-size: clamp(1.125rem, 1.058rem + 0.299vw, 1.375rem);
    font-weight: 600;
    line-height: 1.4;
}

p:last-child {
    margin-bottom: 0;
}

ol, ul {
    padding-left: 1rem;
}

ul.list-style-none {
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
}

/* Headings */

/* Change clamp-values according to chosen font-family */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6 {
    margin-bottom: 0.25em;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child {
    margin-bottom: 0;
}

h1, .h1 {
    font-size: clamp(2.25rem, 1.613rem + 2.717vw, 4.5rem);
    font-weight: 800;
    color: var(--primary-color-dark);
    line-height: 1;
}

h2, .h2 {
    font-size: clamp(1.875rem, 1.492rem + 1.654vw, 3.25rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

h3, .h3 {
    font-size: clamp(1.5rem, 1.217rem + 1.208vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}

p + h2,
p + h3,
p + h4,
p + h5,
p + h6,
p + .h2,
p + .h3,
p + .h4,
p + .h5,
p + .h6 {
    margin-top: 1.5em;
}

h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6 {
    margin-top: 0.75em;
}


/* ---------- Section header ---------- */

.section-header.text-center p {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2:has(+ p) {
    margin-bottom: 1rem;
}

.section-header {
    margin-bottom: clamp(1.5rem, 0.792rem + 3.019vw, 4rem);
}

/** end TYPOGRAPHY **/

/*
----------------------------
 3. LINKS & BUTTONS
---------------------------- 
*/

.btn,
a.btn {
    --bs-btn-padding-y: 1.25rem;
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-font-size: 0.875rem;
    display: inline-block;
    min-width: 178px;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    border: none;
    border-radius: 2rem;
    text-transform: uppercase;
    transition: all ease-in-out .2s;
    text-align: center;
    line-height: 1;
    background-color: unset;
    color: #FFFFFF;
    background: linear-gradient(270deg, var(--linearColor1) 0%, var(--linearColor2) 50%, var(--linearColor3) 100%);
    transition: --linearColor1 0.2s, --linearColor2 0.2s, --linearColor3 0.2s;
    padding: calc(1.25rem + 2px) calc(1.5rem + 2px);
}

    .btn:hover,
    .btn:active,
    a.btn:hover,
    a.btn:active {
        --contactBgColor3: #efab7a;
        --contactBgColor2: #D95818;
        --contactBgColor1: #4b0224;
        color: #FFE5BF;
        text-decoration: none;
    }

a, a:link, a:active {
    color: var(--labs-orange);
    transition: color ease 0.2s;
    text-decoration: none;
    text-underline-offset: 0.375em;
}

a:hover {
    color: var(--labs-orange);
    text-decoration: underline;
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: none;
}

/* Focus on tabbing. Important for accessibility */

    a:focus-visible,
    button:focus-visible,
    a.btn:focus-visible,
    button.btn:focus-visible,
    input:focus-visible,
    .navbar-toggler:focus-visible {
        --linearColor3: #4A0124;
        --linearColor2: #4A0124;
        color: #FFFFFF;
    }


/* ------- Buttons ------- */

@property --linearColor1 {
    syntax: '<color>';
    initial-value: #4b0224;
    inherits: false;
}

@property --linearColor2 {
    syntax: '<color>';
    initial-value: #D95818;
    inherits: false;
}

@property --linearColor3 {
    syntax: '<color>';
    initial-value: #efab7a;
    inherits: false;
}

a.theme-btn,
button.theme-btn {
    --bs-btn-padding-y: 1.25rem;
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-font-size: 0.875rem;
    display: inline-block;
    min-width: 178px;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    border: none;
    border-radius: 3rem;
    text-transform: uppercase;
    transition: all ease-in-out .2s;
    text-align: center;
    line-height: 1;
}
a.theme-btn:hover,
button.theme-btn:hover {
    text-decoration: none;
}

/* Solid button */

a.solid-btn,
button.solid-btn {
    background-color: #FFE5BF;
    border: 2px solid #FFE5BF;
    color: #4A0124;
}

a.solid-btn:hover,
button.solid-btn:hover {
    color: #FFE5BF;
    border: 2px solid #4A0124;
    background-color: #4A0124;
}

/* Gradient button */
a.gradient-btn,
button.gradient-btn {
    background-color: unset;
    color: #FFFFFF;
    background: linear-gradient(270deg, var(--linearColor1) 0%, var(--linearColor2) 50%, var(--linearColor3) 100%);
    transition: --linearColor1 0.2s, --linearColor2 0.2s, --linearColor3 0.2s;
    padding: calc(1.25rem + 2px) calc(1.5rem + 2px);
}

a.gradient-btn:hover,
a.gradient-btn:focus,
a.gradient-btn:active,
button.gradient-btn:hover,
button.gradient-btn:focus,
button.gradient-btn:active {
    --linearColor3: #4A0124;
    --linearColor2: #4A0124;
    color: #FFFFFF;
}

/* Outline button */
a.outline-btn-yellow,
button.outline-btn-yellow {
    color: #FFE5BF;
    border: 2px solid #FFE5BF;
    background: transparent;
}

a.outline-btn-orange,
button.outline-btn-orange {
    color: #D14B1B;
    border: 2px solid #D14B1B;
    background: transparent;
}

    a.outline-btn-yellow:hover,
    a.outline-btn-yellow:focus,
    a.outline-btn-yellow:active,
    button.outline-btn-yellow:hover,
    button.outline-btn-yellow:focus,
    button.outline-btn-yellow:active,
    a.outline-btn-orange:hover,
    a.outline-btn-orange:focus,
    a.outline-btn-orange:active,
    button.outline-btn-orange:hover,
    button.outline-btn-orange:focus,
    button.outline-btn-orange:active {
        color: #4A0124;
        border-color: #4A0124;
        background: transparent;
    }

a.theme-btn:focus-visible,
button.theme-btn:focus-visible {
    transition: none;
}
/* ------- Skip to content ------- */

.skip-to-content {
    position: fixed;
    z-index: 1201;
    margin: 1rem;
    top: 1rem;
}

a.skip-to-content-btn {
    display: inline-block;
    font-weight: 500;
    background-color: var(--text-dark);
    padding: 0.75em 2em;
    color: var(--text-white);
    border: 1px solid var(--text-dark);
}
   
/** end LINKS & BUTTONS **/

/*
----------------------------
 4. SPACING 
----------------------------
*/

/* ---------- Padding x space ---------- */

.container-x {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 768px) {

    .container-x {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1400px) {

    .container-x {
        padding-left: calc(50% - 650px);
        padding-right: calc(50% - 650px);
    }
}

@media (min-width: 1700px) {

    .container-x {
        padding-left: calc(50% - 800px);
        padding-right: calc(50% - 800px);
    }
}

.container-y {
    padding-top: clamp(3rem, 1.925rem + 4.776vw, 7rem);
    padding-bottom: clamp(3rem, 1.925rem + 4.776vw, 7rem);
}



/* ---------- Padding x ---------- */

.padding-x {
    padding-left: clamp(1.25rem, 0.207rem + 4.511vw, 5rem);
    padding-right: clamp(1.25rem, 0.207rem + 4.511vw, 5rem);
}

/* ---------- Padding y ---------- */

.padding-y {
    padding-top: clamp(2rem, 1.444rem + 2.406vw, 4rem);
    padding-bottom: clamp(2rem, 1.444rem + 2.406vw, 4rem);
    transition: .5s;
}

/* ------- Page wrap ------- */

@media screen and (min-width: 2400px) {

    .page-wrap-container {
        max-width: 1920px;
        margin: 0 auto;
        box-shadow: 0 0 10px rgba(0,0,0,0.1), 0 0 100px rgba(0,0,0,0.1);
    }
}

/*
-----------------------------------------
NAVBAR
-----------------------------------------
*/

.navbar {
    justify-content: space-between;
    align-items: initial;
    padding-top: 0;
    padding-bottom: 0;
    top: 0;
    transition: background-color ease 0.2s;
    height: var(--top-margin-sm);
    z-index: 1000;
    background-color: var(--labs-light-yellow);
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

@media screen and (min-width: 992px) {
    .navbar {
        height: var(--top-margin-lg);
    }
}

@media screen and (min-width: 1700px) {
    .navbar {
        height: var(--top-margin-xl);
    }
}

.navbar-transparent {
    background-color: transparent;
    box-shadow: none;
}

.navbar-logo-default {
    display: block;
}

.navbar .navbar-logo-transparent {
    display: none
}

.navbar-transparent .navbar-logo-transparent {
    display: block;
}

.navbar-transparent .navbar-logo-default {
    display: none;
}

.navbar-show {
    transform: none;
}

/* ---------- Logo ---------- */

.navbar-brand {
    display: flex;
    padding: 0;
}

.navbar-brand img {
    height: 24px;
    width: auto;
    transition: 0.15s;
}

@media screen and (min-width: 576px) {
    .navbar .navbar-brand img {
        height: 30px;
    }
}

@media screen and (min-width: 992px) {
    .navbar .navbar-brand img {
        height: 42px;
    }
}

img.navbar-dark-logo {
    display: none;
}

.navbar-dark .navbar-brand img {
    display: none;
}

.navbar-dark .navbar-brand img.navbar-dark-logo {
    display: block;
}

/* ---------- Mobile menu button ---------- */

.navbar-toggler:focus,
.navbar-toggler:active {
    border: none;
    outline: none;
    box-shadow: none;
}

.navbar-toggler:focus-visible {
    outline: 3px dotted var(--labs-offblack);
    border: none;
}

.navbar .navbar-toggler {
    width: 28px;
    height: 23px;
    position: relative;
    transform: rotate(0deg);
    transition: transform .5s ease-in-out;
    cursor: pointer;
    padding: 0;
    box-shadow: none !important;
    border: none !important;
    z-index: 1032;
    outline-offset: 0.25rem;
    border-radius: 0;
}

.navbar-toggler span {
    display: block;
    position: absolute;
    height: 3px;
    width: 28px;
    background: var(--labs-orange);
    opacity: 1;
    left: 0;
}

.navbar-transparent .navbar-toggler span {
    background: var(--labs-text-yellow);
}

.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 ----- */

#mob-nav {
    border-left: none;
}

#mobile-menu {
    padding: 0;
    border: none;
}

#mobile-menu .nav-item {
    border-bottom: none;
    position: unset;
}

#mobile-menu .nav-link {
    color: var(--labs-offblack);
    font-weight: 600;
    font-size: 1.25rem;
    padding: 0.75em 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

#mobile-menu button.nav-link {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    border: none;
    background-color: transparent;
    text-align: left;
}

#mobile-menu .nav-link:hover {
    text-decoration: none;
}

#mobile-menu .nav-link svg {
    font-size: 1.25rem;
    color: var(--et-red)
}

#mobile-menu > div { 
    background-color: var(--light-gray);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* Mobile menu close button and back button */

#mobile-menu .close-button {
    cursor: pointer;
    font-size: 36px;
    padding: 0 0.25rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    color: var(--labs-offblack);
    height: 30px;
    width: 30px;
    margin-right: 1rem;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background-color: transparent;
}

#mobile-menu .top-nav-item {
    height: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#mobile-menu .top-nav-item span {
    display: block;
    position: absolute;
    height: 3px;
    width: 30px;
    background: var(--labs-offblack);
    opacity: 1;
    right: 0;
}

#mobile-menu .top-nav-item span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
}

#mobile-menu .top-nav-item span:nth-child(2) {
    top: 15px;
    transform: rotate(-45deg);
}

#mobile-menu .back-button {
    justify-content: flex-start;
    font-size: 30px;
    margin-left: 1.25rem;
    color: var(--offblack);
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background-color: transparent;
    padding: 0;
}

/* Mobile submenu */

#mobile-menu .offcanvas-submenu-collapse {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    overflow-x: hidden;
    transition: all 0.3s ease-in-out;
    transform: translateX(100%);
    z-index: 10;
    padding: 0;
    opacity: 1;
    visibility: hidden;
    background-color: var(--light-gray);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.075);
}

#mobile-menu .offcanvas-submenu-collapse.open {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

#mobile-menu .offcanvas-submenu-collapse .top-nav-item {
    justify-content: space-between;
}

#mobile-menu .submenu {
    list-style: none;
    padding-left: 0;
}

#mobile-menu .offcanvas-submenu-collapse .submenu:first-child .nav-item:first-child .nav-link {
    border-top: none;
}

#mobile-menu .nav-link.submenu-title {
    font-weight: 600;
}

#mobile-menu .submenu-submenu {
    list-style: none;
    padding-left: 0;
}

#mobile-menu .main-menu-mobile .submenu-submenu .nav-item .nav-link:not(.submenu-title) {
    white-space: normal;
    font-weight: 300;
}

#mobile-menu .submenu-submenu .nav-item:first-child .nav-link {
    border-top: none;
}

#mobile-menu .submenu .submenu .nav-item:last-child .nav-link {
    border-bottom: none;
}

#mobile-menu .submenu-item .nav-link {
    text-transform: none;
}


/* ---------- 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;
    text-decoration: none;
}

#main-menu {
    flex-direction: row;
    align-items: center;
}

    #main-menu ul {
        list-style: none;
    }

    #main-menu .dropdown-menu.mega-menu {
        position: absolute !important;
        left: 0;
        right: 0;
        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);
        clip-path: inset(0px -10px -10px -10px);
        background-color: var(--background-white);
        border-top: none;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
        top: unset;
        margin-top: 0;
    }

#main-menu .nav-item {
    position: relative;
}

#main-menu .mega-menu-nav-item {
    position: unset;
}

#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 .dropdown-col {
    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;
    column-gap: 2rem;
}

.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(--labs-orange) !important;
        text-decoration: none;
    }

#main-menu .mega-menu .dropdown-submenu {
    padding-left: 0;
}

#main-menu .mega-menu .dropdown-submenu .nav-item {
    background-color: transparent;
    border-bottom: 1px solid #E4E4E4;
}

#main-menu .mega-menu .dropdown-submenu .nav-item .nav-link {
    text-transform: none;
    font-weight: 400;
    font-family: var(--font-family-main);
    font-size: 1rem;
    padding: 0.75rem 0;
}

#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(--labs-orange);
}

.navbar-light #main-menu .nav-link:hover,
.navbar-light #top-nav .nav-link:hover {
    color: var(--labs-orange);
}

#main-menu .dropdown-menu .nav-link:hover {
    color: var(--labs-orange) !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;
    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: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;
    }
}

.border-top {
    border-top: 2px solid var(--labs-orange) !important;
}


/*
----------------------------------------
FOOTER
----------------------------------------
*/
footer {
    background-color: var(--labs-dark-red);
}

footer,
footer a,
footer a:link,
footer li,
footer h2,
footer h2.h3 {
    color: var(--labs-text-yellow);    
}

footer a:hover {
    text-decoration: none;
    color: var(--labs-text-yellow);    
}

footer ul {
    list-style-type: none;
    padding: 0;
}

footer h2 {
    border-top: 1px solid var(--labs-text-yellow);    
    padding-top: 1rem;
}

footer p,
footer li {
    font-weight: 400;
}

/* Footer top */

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: -2rem;
}

.footer-top > div {
    flex: 0 0 100%;
}

@media (min-width: 768px) {

    .footer-top {
        margin-left: -1rem;
        margin-right: -1rem;
        margin-bottom: -2rem;
    }

    .footer-top > div {
        flex-basis: calc(33.33% - 2rem);
        margin: 0 1rem 2.5rem;
    }
}

@media (min-width: 1700px) {

    .footer-top {
        margin-left: -2rem;
        margin-right: -2rem;
        margin-bottom: 0;
    }

    .footer-top > div {
        flex-basis: calc(33.33% - 4rem);
        margin: 0 2rem;
    }
}

.footer-top li svg {
    width: 1em;
    margin-right: 0.25em;
}

footer .sm-icons svg {
    font-size: 2rem;
}

footer h2:has(+ .sm-icons) {
    margin-bottom: 0.75em;
}

ul.footer-links-list li + li {
    margin-top: 0.5rem;
}

/*
---------------------------------------
START PAGE
---------------------------------------
*/

.homepage-wrap h2 {
    font-size: clamp(1.875rem, 1.344rem + 2.264vw, 3.75rem);
}

/* ---------- Hero section ---------- */

.hero-section {
    margin-top: calc(-1*var(--top-margin-sm));
}

@media screen and (min-width: 992px) {

    .hero-section {
        margin-top: calc(-1*var(--top-margin-lg));
    }
}

@media screen and (min-width: 1700px) {

    .hero-section {
        margin-top: calc(-1*var(--top-margin-xl));
    }
}


.hero-mobile {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(2rem + var(--top-margin-sm));
}

.hero-desktop {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(2.5rem + var(--top-margin-lg));
}

@media screen and (min-width: 768px) {

    .hero-mobile {
        padding-top: calc(2.5rem + var(--top-margin-sm));
    }
}

@media screen and (min-width: 1200px) {

    .hero-desktop {
        padding-top: calc(3.5rem + var(--top-margin-lg));
    }
}

@media screen and (min-width: 1700px) {

    .hero-desktop {
        padding-top: calc(5rem + var(--top-margin-xl));
    }
}

@media screen and (min-width: 2400px) {

    .hero-desktop {
        min-height: unset;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

/* Hero background image*/

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.hero-background-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero video */

.hero-section video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero caption */

.hero-caption {
    position: relative;
    z-index: 1;
}

.hero-caption h1 {
    font-size: clamp(2.75rem, 1.877rem + 3.881vw, 6rem);
    color: var(--labs-text-yellow);
    font-weight: 300;
    margin-bottom: 1.25rem;
    max-width: 15ch;
    line-height: 1;
}

.hero-caption h1 strong {
    font-weight: 800;
}

.hero-caption p {
    color: var(--labs-text-yellow);
    font-size: clamp(1.25rem, 1.049rem + 0.896vw, 2rem);
    max-width: 40ch;
    font-weight: 300;
}

.hero-caption p:has(+ .hero-buttons) {
    margin-bottom: 0;
}

.hero-caption .hero-buttons {
    margin-top: 2.25em;
}

.hero-caption .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media screen and (min-width: 1200px) {

    .hero-caption .hero-buttons {
        gap: 2rem;
    }
}


/* Client logos */

.client-logos {
    width: 100%;
}

.client-logos .logo-item {
    display: flex;
    justify-content: center;
    padding: 1rem;
    height: 100%;
}

.client-logos .logo-item img {
    filter: grayscale(1) opacity(50%);
    transition: 0.2s;
    height: 50px;
    width: 100%;
    object-fit: contain
}

@media screen and (min-width: 576px) {

    .client-logos .logo-item {
        padding: 0 0.75rem;
    }
}

@media screen and (min-width: 1400px) {

    .client-logos .logo-item img {
        height: 60px;
    }
}

.client-logos .logo-item:hover img {
    filter: grayscale(0) opacity(100%);
}

.client-logos-wrap {
    position: relative;
    z-index: 3;
}

/* Accordion*/

.client-logos-section {
    position: relative;
}

.logos-accordion-button-wrap {
    position: absolute;
    top: 0;
    bottom: -16px;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.logos-accordion-button {
    background-color: transparent;
    border: none;
    appearance: none;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--offblack);
}

.logos-accordion.show + .logos-accordion-button-wrap {
    opacity: 0;
    pointer-events: none;
}

.logos-accordion.collapsing ~ .logos-accordion-button-wrap .logos-accordion-button,
.logos-accordion.show ~ .logos-accordion-button-wrap .logos-accordion-button {
    display: none;
}

/* Logos carousel */

.client-logos-desktop .client-logos {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    padding-left: calc(50px - 0.75rem);
    padding-right: calc(50px - 0.75rem);
}

.client-logos-desktop .client-logos.no-carousel-scroll {
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
}

.client-logos-desktop .client-logos {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.client-logos-desktop .client-logos > .logo-col {
    flex: 0 0 120px;
}

@media screen and (min-width: 1400px) {

    .client-logos-desktop .client-logos > .logo-col {
        flex-basis: 200px;
    }
    .client-logos-desktop .client-logos .logo-item {
        padding: 0 1rem;
    }
}

.client-logos-arrows {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.client-logos-arrows button {
    pointer-events: visible;
    height: 100%;
    width: 50px;
    border: none;
    appearance: none;
    display: flex;
    align-items: center;
    font-size: 24px;
    color: var(--offblack);
    transition: all ease 0.2s;
}

.client-logos-arrows button:hover {
    color: var(--labs-orange);
}

.client-logos-arrows button.client-logos-arrow-left {
    background: linear-gradient(to right, rgba(255,255,255,1) 20px, rgba(255,255,255,0.8) 30px, rgba(255,255,255,0));
    justify-content: flex-start;
    padding-left:0.5rem;
    padding-right: 0;
}

.client-logos-arrows button.client-logos-arrow-right {
    background: linear-gradient(to left, rgba(255,255,255,1) 20px, rgba(255,255,255,0));
    justify-content: flex-end;
    padding-right:0.5rem;
    padding-left: 0;
}


@media screen and (min-width: 768px) {

    .client-logos-section,
    .client-logos-arrows {
        padding: 0 2rem;
    }
}

@media screen and (min-width: 1400px) {

    .client-logos-section,
    .client-logos-arrows {
        padding: 0 calc(50% - 650px);
    }
}

@media screen and (min-width: 1700px) {

    .client-logos-section,
    .client-logos-arrows {
        padding: 0 calc(50% - 800px);
    }
}

/* ---------- Intro text section ---------- */

.intro-text-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.intro-text-section > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 768px) {

    .intro-text-section {
        gap: 0;
    }

    .intro-text-section > div {
        flex-basis: 50%;
    }
}

.intro-text-preamble p.preamble {
    font-size: clamp(1.125rem, 0.983rem + 0.604vw, 1.625rem);
}

.intro-text-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.intro-text-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---------- Our offer section ---------- */

.our-offer-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.our-offer-boxes > a {
    flex: 0 0 100%;
}

@media screen and (min-width: 576px) {

    .our-offer-boxes {
    }
    .our-offer-boxes > a {
        flex-basis: calc(50% - 0.5rem);
    }
}

@media screen and (min-width: 768px) {

    .our-offer-boxes > a {
        flex-basis: calc(33.33% - 0.667rem);
    }
}

@media screen and (min-width: 992px) {

    .our-offer-boxes {
        gap: 2rem;
    }

    .our-offer-boxes > a {
        flex-basis: calc(33.33% - 1.334rem);
    }
}

@media screen and (min-width: 992px) {

    .our-offer-boxes {
        gap: 2rem;
    }

    .our-offer-boxes > a {
        flex-basis: calc(33.33% - 1.334rem);
    }
}

@media screen and (min-width: 1700px) {

    .our-offer-boxes {
        gap: 4rem;
    }

    .our-offer-boxes > a {
        flex-basis: calc(33.33% - 2.667rem);
    }
}

a.our-offer-box {
    background-color: #FFFFFF;
    padding: 2.5rem 1.5rem 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

a.our-offer-box h3 {
    color: var(--labs-offblack);
    font-weight: 600;
    font-size: clamp(1.625rem, 1.521rem + 0.451vw, 2rem);
    margin: 1.25rem 0 0.5rem;
}

a.our-offer-box p {
    font-size: 1.125rem;
    margin-bottom: 0;
    font-weight: 300;
}

a.our-offer-box p.read-more {
    margin-top: 0.5rem;
    font-weight: 600;
}

p.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    transition: all ease 0.5s;
}

p.read-more svg {
    transition: all ease 0.5s;
}

a.our-offer-box:hover p.read-more svg {
    transform: translateX(8px);
}

.our-offer-section a.gradient-btn {
    margin-top: clamp(1.5rem, 0.792rem + 3.019vw, 4rem);    
}

/* ------- Blog section ------- */

.blog-item-boxes {
    display: flex;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 1rem;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    width: calc(100% + 2.5rem);
    scroll-snap-type: x mandatory;
    padding-right: 1.25rem;
    /* S�kerst�ller att alla barn i raden blir lika h�ga */
    align-items: stretch;
}

.blog-item-boxes::-webkit-scrollbar {
    display: none;
}

.blog-item-boxes > div {
    /* Mobil-bredd: Justerad f�r att visa lite av n�sta kort */
    flex: 0 0 calc(100% - 2.25rem);
    padding-left: 1.25rem;
    scroll-snap-align: start;
    display: flex; /* G�r wrappern till en flex-container */
    flex-direction: column;
    box-sizing: border-box;
}

/* L�nken/Kortet inuti wrappern */
a.blog-item-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-decoration: none;
    color: var(--labs-offblack);
    border-radius: 8px;
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.2), 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

a.blog-item-box:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.blog-item-image {
    flex-shrink: 0;
}

.blog-item-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.blog-item-caption {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}


@media screen and (min-width: 360px) {
    .blog-item-boxes > div {
        flex-basis: 300px;
    }
}

@media screen and (min-width: 768px) {
    .blog-item-boxes {
        gap: 1rem;
        margin-left: 0;
        margin-right: 0;
        overflow: unset;
        width: 100%;
        padding-right: 0;
    }

        .blog-item-boxes > div {
            flex-basis: calc(33.33% - 0.667rem);
            padding: 0;
        }
}

@media screen and (min-width: 992px) {
    .blog-item-boxes {
        gap: 2rem;
    }

        .blog-item-boxes > div {
            flex-basis: calc(33.33% - 1.334rem);
        }
}

@media screen and (min-width: 1700px) {
    .blog-item-boxes {
        gap: 4rem;
    }

        .blog-item-boxes > div {
            flex-basis: calc(33.33% - 2.667rem);
        }
}

.blog-item-caption h3 {
    margin-top: 0;
}

.blog-item-caption p {
    font-weight: 600;
    line-height: 1.4;
}

p.date {
    color: #606060;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.blog-section a.gradient-btn {
    margin-top: clamp(1.5rem, 0.792rem + 3.019vw, 4rem);    
}

.blog-button {
    margin-top: -1rem;
}

/* ------- Our process section ------- */

.our-process-section {
    position: relative    
}

.our-process-background-image {
    z-index: 2;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.7;
    mix-blend-mode: soft-light;
}

.our-process-background-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.our-process-overlay {
    z-index: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;    
    background: linear-gradient(90deg, #fcc088 -28.21%, var(--linearColor2) 59.26%, var(--linearColor1) 117.58%);
}

.our-process-text {
    z-index: 3;
    position: relative;
}

.our-process-text * ,
.our-process-text p,
.our-process-text li,
.our-process-text h3 {
    color: var(--labs-text-yellow);
}

.our-process-step {
    border-top: 1px solid var(--labs-text-yellow);
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.our-process-step:last-child {
    padding-bottom: 0;
}

.our-process-step > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 768px) {

    .our-process-step > div {
        flex-basis: calc(50% - 1rem);
    }
}

.our-process-step-headline-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.our-process-step-number {
    flex-basis: 30px;
}

.our-process-step-number p {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background-color: var(--labs-orange);
    height: 30px;
    width: 30px;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
}

@media screen and (min-width: 768px) {

    .our-process-step-number p {
        height: 44px;
        width: 44px;
        font-size: 1.75rem;
    }
}

.our-process-step-headline h3 {
    margin-top: 0;
}

.our-process-step-text {
    margin-top: 0.5rem;
    padding-left: calc(30px + 1rem);
}

@media screen and (min-width: 768px) {

    .our-process-step-text {
        margin-top: 0;
        padding-left: 0;
    }
}

/* ------- Contact buttons section ------- */

.contact-buttons-section {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--labs-dark-red);
}

.contact-buttons-background {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.contact-buttons-background img,
.contact-buttons-background video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.contact-buttons-wrap {
    position: relative;
}

.contact-buttons-wrap .section-header h2, 
.contact-buttons-wrap .section-header p {
    color: var(--labs-text-yellow);
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}


@property --contactBgColor1 {
    syntax: '<color>';
    initial-value: #FFE5BF;
    inherits: false;
}

@property --contactBgColor2 {
    syntax: '<color>';
    initial-value: #FFE5BF;
    inherits: false;
}

@property --contactBgColor3 {
    syntax: '<color>';
    initial-value: #FFE5BF;
    inherits: false;
}


a.contact-button {
    text-decoration: none;
    background: linear-gradient(270deg, var(--contactBgColor1) 0%, var(--contactBgColor2) 50%, var(--contactBgColor3) 100%);
    transition: --contactBgColor1 0.2s, --contactBgColor2 0.2s, --contactBgColor3 0.2s;
    padding: 1rem;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 100%;
    color: var(--labs-orange);
}

a.contact-button:hover,
a.contact-button:focus,
a.contact-button:active {
    --contactBgColor3: #efab7a;
    --contactBgColor2: #D95818;
    --contactBgColor1: #4b0224;
    color: #FFE5BF;
}

a.contact-button:hover p,
a.contact-button:focus p,
a.contact-button:active p {
    color: #FFE5BF;
}

@media screen and (min-width: 400px) {

    a.contact-button {
        flex-basis: 380px;
    }
}

.contact-button-image {
    display: block;
}

a.contact-button:hover .contact-button-image,
a.contact-button:focus .contact-button-image,
a.contact-button:active .contact-button-image {
    display: none;
}

.contact-button-image-hover {
    display: none;
}

a.contact-button:hover .contact-button-image-hover,
a.contact-button:focus .contact-button-image-hover,
a.contact-button:active .contact-button-image-hover {
    display: block;
}

.contact-button-text {
    padding-right: 1rem;
    justify-content: space-between;
    align-items: center;
}

.contact-button-text h3 {
    font-size: 1.125rem;
    text-transform: uppercase;
    margin: 0;
}

.contact-button-text p {
    color: var(--labs-orange);
    font-weight: 400;
}

/* ----- Customer cases ----- */

.customer-cases-section {
    position: relative;
    z-index: 10;
}

.customer-case-boxes {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}

.customer-case-boxes > *:first-child {
    grid-column-start: 1;
    grid-column-end: span 2;
    grid-row-start: 1;
    grid-row-end: span 2;
}

@media screen and (min-width: 768px) {

    .customer-case-boxes {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .customer-case-boxes > *:first-child {
        grid-column-start: 1;
        grid-column-end: span 2;
        grid-row-start: 1;
        grid-row-end: span 2;
    }
}

.customer-case-box {
    border: none;
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
}


.customer-case-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.customer-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a.customer-case-caption-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
    transition: all ease 0.2s;
    align-items: flex-end;
    background-color: rgba(0,0,0,0.25);
    text-decoration: none;
}

.customer-case-image h3 {
    position: absolute;
    left: 0;
    bottom: 0;
    color: var(--labs-text-yellow);
    padding: 1.5rem;
    text-align: left;
}

a.customer-case-caption-overlay:focus-visible {
    z-index: 1;
    opacity: 1;
    outline-offset: 0;
    transition: none;
}

@media screen and (pointer: fine) {
    a.customer-case-caption-overlay {
        display: flex;
        opacity: 0;
    }

    .customer-case-box:hover a.customer-case-caption-overlay {
        opacity: 1;
    }
}

@media screen and (pointer: coarse) {

    .customer-case-box.show-overlay a.customer-case-caption-overlay {
        display: flex;
    }
}


/*
---------------------------------------
SUBPAGE
---------------------------------------
*/


/* ------- Breadcrumb ------- */

.breadcrumb {
    border-bottom: 1px solid #EEEEEE;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 0;
}

.breadcrumb ul {
    margin: 0;
    max-width: 100%;
}

.breadcrumb li {
    font-weight: 300;
    text-wrap: nowrap;
}

.breadcrumb li:first-child {
    display: none;
}

.breadcrumb a {
    font-weight: 400;
    color: var(--labs-offblack);
}

.breadcrumb span.divider {
    font-weight: 800;
    color: var(--labs-orange);
    margin: 0 0.5em;
}

.breadcrumb li:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ------- Article ------- */

.article-wrap {
    max-width: 900px;
    margin: 0 auto;
}


.text-article-block:first-child {
    margin-top: 1rem;
}

.text-article-block + .text-article-block {
    margin-top: 1rem;
}

/* -------- Article blocks ------- */

.project-text-section + .quote-article-block {
    margin-top: 2rem;
}

.quote-article-block {
    display: flex;
}

.quote-article-block-icon {
    flex: 0 0 50px;
}

.quote-article-block-text {
    flex-grow: 1;
    padding-left: 1.25rem;
}

p.quote-article-block-quote {
    font-style: italic;
    font-size: clamp(1.25rem, 1.1964rem + 0.1488vw, 1.375rem);
}

p.quote-article-block-name {
    font-weight: 700;
    margin-bottom: 0;
}

/* Text box */

.text-box-article-block {
    background-color: var(--labs-light-yellow);
}

/*
---------------------------------------
BLOG PAGE
---------------------------------------
*/
/* ------- Blog section ------- */
.blog-page-item-boxes {
    display: flex;
    flex-wrap: wrap;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
}

.blog-page-item-boxes > a {
    flex: 0 0 100%;
}

@media screen and (min-width: 576px) {

    .blog-page-item-boxes {
        gap: 1rem;
    }

    .blog-page-item-boxes > a {
        flex-basis: calc(50% - 0.5rem);
    }
}

@media screen and (min-width: 992px) {

    .blog-page-item-boxes {
        gap: 2rem;
    }

    .blog-page-item-boxes > a {
        flex-basis: calc(33.33% - 1.334rem);
    }
}

@media screen and (min-width: 1700px) {

    .blog-page-item-boxes {
        gap: 4rem;
    }

    .blog-page-item-boxes > a {
        flex-basis: calc(33.33% - 2.667rem);
    }
}

/* ------- Pagination ------- */

.active > .page-link, .page-link.active {
    background-color: var(--labs-orange);
    border: 1px solid var(--labs-orange);
}

.active > .page-link:hover, .page-link.active {
    background-color: var(--labs-orange);
    border: 1px solid var(--labs-orange);
    color: #FFFFFF;
}

a.page-link {
    color: var(--offblack);
    border: 1px solid #eeeeee;
    text-decoration: none;
}

a.page-link:hover {
    color: var(--text-dark);
    background-color: var(--labs-light-yellow);
}

a.page-link:focus {
    box-shadow: none;
    color: var(--text-dark);
    background-color: var(--labs-light-yellow);
}

/*
-------------------------
ALERT
-------------------------
*/

.labs-alert {
    background-color: var(--labs-dark-red);
    padding: 0.875rem 2rem;
    text-align: center;
    z-index: 1200;
    top: 0;
}

.labs-alert.hide {
    display: none
}

.labs-alert p {
    color: var(--labs-text-yellow) !important;
    margin-bottom: 0;
    line-height: 1.2;
}

.labs-alert p strong {
    font-weight: 600;
}

.labs-alert a {
    text-decoration: underline;
    text-underline-offset: unset;
    color: var(--labs-text-yellow) !important;
}

.labs-alert-close {
    color: var(--labs-text-yellow);
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    cursor: pointer;
}




/* 
-----------------------------------------
CONTACT PAGE
-----------------------------------------
*/

/* Coworkers */

.contact-page .coworker-image {
    height: 200px;
    width: 200px
}

    .contact-page .coworker-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: top;
    }

.contact-page .coworker-item {
    margin-bottom: 2rem;
}

    .contact-page .coworker-item p {
        margin: 0;
        color: #000000;
    }

    .contact-page .coworker-item li {
        color: #000000;
    }

    .contact-page .coworker-item p.coworker-title {
        margin-bottom: 1rem;
    }

    .contact-page .coworker-item svg {
        margin-right: 0.5rem;
    }

/* Contact form section */

.contact-form-container > div {
    flex-basis: 100%;
    flex-grow: 0;
    flex-shrink: 0
}

.contact-form-container .contact-form-image {
    margin-bottom: 2rem
}

.contact-form-container .green-plus-sign {
    top: 3rem;
    right: 3rem;
    display: none;
}

@media screen and (min-width: 768px) {

    .contact-form-container > div {
        flex-basis: 50%;
    }

    .contact-form-container .contact-form-image {
        margin-bottom: 0;
    }

    .contact-form-container .contact-form {
        padding-left: 2rem
    }
}


@media screen and (min-width: 1200px) {

    .contact-form-container .contact-form {
        padding-left: 4rem;
    }
}

@media screen and (min-width: 1700px) {

    .contact-form-container .green-plus-sign {
        display: block;
    }
}

/* Contact image */

.contact-form-container .contact-form-image figure {
    aspect-ratio: 1.37;
    overflow: hidden;
    margin: 0;
    width: calc(100% - 1rem);
}

    .contact-form-container .contact-form-image figure img {
        object-fit: cover;
    }

.contact-form-container .contact-form-image .dot-grid {
    top: -1rem;
    right: 0;
    z-index: -1;
    width: 30%
}

@media screen and (min-width: 1200px) {

    .contact-form-container .contact-form-image figure {
        width: calc(100% - 2rem);
    }

    .contact-form-container .contact-form-image .dot-grid {
        top: -1.75rem;
    }
}

@media screen and (min-width: 1700px) {

    .contact-form-container .contact-form-image figure {
        width: calc(100% - 3rem);
    }

    .contact-form-container .contact-form-image .dot-grid {
        top: -2.25rem;
    }
}

/* Contact form */

.contact-form-container .contact-form h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem
}

@media screen and (min-width: 768px) {

    .contact-form-container .contact-form h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media screen and (min-width: 1200px) {

    .contact-form-container .contact-form h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
}

@media screen and (min-width: 1700px) {

    .contact-form-container .contact-form {
        padding-left: 5.75rem;
    }

        .contact-form-container .contact-form h2 {
            font-size: 2.875rem;
            margin-bottom: 2rem;
        }
}

/* Forms style*/

.contact-page .umbraco-forms-form fieldset {
    padding: 0;
    margin: 0 0 1rem;
}

.contact-page .umbraco-forms-form {
    padding: 0;
}

.contact-page .contact-form .umbraco-forms-form input::placeholder,
.contact-page .contact-form .umbraco-forms-form textarea::placeholder {
    color: #000000;
    opacity: 1; /* Firefox */
}

.contact-page .umbraco-forms-form input.text,
.contact-page .umbraco-forms-form textarea {
    width: 100%;
    max-width: 100% !important;
    margin-top: 0;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
    border: none;
    border-bottom: 1px solid #000000;
    border-radius: 0;
    font-family: 'Archivo', sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    background-color: transparent
}

    .contact-page .umbraco-forms-form input.text:focus,
    .contact-page .umbraco-forms-form input.text:active,
    .contact-page .umbraco-forms-form input.text:hover,
    .contact-page .umbraco-forms-form textarea:focus,
    .contact-page .umbraco-forms-form textarea:active,
    .contact-page .umbraco-forms-form textarea:hover {
        outline: none;
        box-shadow: none;
        border: none;
        border-bottom: 1px solid #000000;
    }

.contact-page .umbraco-forms-form textarea {
    overflow-y: hidden;
    height: auto;
    resize: none;
}

.contact-page .umbraco-forms-navigation .col-md-12 {
    padding-left: 0;
}

.contact-page .umbraco-forms-container {
    padding-left: 0;
}

@media screen and (min-width: 1400px) {

    .contact-page .umbraco-forms-form input.text,
    .contact-page .umbraco-forms-form textarea {
        font-size: 1.25rem;
    }
}

/* Form checkbox */

.contact-page .contact-form .dataconsent {
    position: relative;
    padding-left: 36px
}

.contact-page .contact-form input[type="checkbox"] {
    position: absolute;
    top: 0.13em;
    left: 0;
    appearance: none;
    background-color: #FFFFFF;
    margin: 0;
    font: inherit;
    width: 25px;
    height: 25px;
    border: 1px solid #D14B1B;
    border-radius: 50%;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .contact-page .contact-form input[type="checkbox"]::before {
        content: "";
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FFFFFF;
        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-page .contact-form input[type="checkbox"]:checked {
        background-color: #D14B1B !important;
    }

        .contact-page .contact-form input[type="checkbox"]:checked:before {
            transform: scale(0.9);
        }

.umbraco-forms-field div label {
    font-size: 1.125rem;
}

@media screen and (min-width: 1400px) {

    .umbraco-forms-field div label {
        font-size: 1.25rem;
    }
}

/* Form submit */


.contact-page .umbraco-forms-form .umbraco-forms-navigation {
    padding: 0;
    margin: 2rem 0 0;
}

@media screen and (min-width: 1200px) {

    .contact-page .umbraco-forms-form .umbraco-forms-navigation {
        margin: 3rem 0 0;
    }
}

.umbraco-forms-submitmessage {
    font-size: clamp(1rem, 0.942rem + 0.29vw, 1.25rem);
}

/* Contact areas */

.contact-areas h2 {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.contact-areas-boxes {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .contact-areas-boxes > div {
        flex-basis: 100%;
        flex-shrink: 0;
        flex-grow: 0;
        margin-top: 2rem;
    }

.contact-areas h3 {
    margin-bottom: 0.5rem;
    font-size: 1.375rem;
    hyphens: none;
}

.contact-areas ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.contact-areas li {
    color: #000000;
}

    .contact-areas li svg {
        margin-right: 0.375em;
    }

    .contact-areas li a {
        color: #000000;
    }

@media screen and (min-width: 576px) {

    .contact-areas-boxes > div {
        flex-basis: calc(50% - 2rem);
    }
}

@media screen and (min-width: 768px) {

    .contact-areas-boxes > div {
        flex-basis: calc(25% - 2rem);
    }

    .contact-areas h2 {
        font-size: 2rem;
        margin-bottom: 1rem
    }
}

@media screen and (min-width: 1200px) {

    .contact-areas h2 {
        font-size: 2.5rem;
    }

    .contact-areas h3 {
        font-size: 1.625rem;
    }

    .contact-areas p,
    .contact-areas li {
        font-size: 1.125rem
    }
}

@media screen and (min-width: 1700px) {

    .contact-areas h2 {
        font-size: 2.875rem;
        margin-bottom: 1.5rem;
    }

    .contact-areas p,
    .contact-areas li {
        font-size: 1.25rem
    }
}



/* 
-----------------------------------------
Coworkers page
-----------------------------------------
*/

.coworkers-wrap {
    justify-content: center;
}

.coworker-box {
    flex-basis: 100%;
    flex-grow: 0;
    flex-shrink: 0;
    margin-bottom: 2.25rem;
    width: 100%;
}

@media screen and (min-width: 400px) {

    .coworkers-wrap {
        margin: 0 -0.5rem;
        justify-content: flex-start;
    }

    .coworker-box {
        margin: 0 0.5rem 2rem;
        flex-basis: calc(50% - 1rem);
        max-width: calc(50% - 1rem);
        padding: 0;
        border: none;
    }
}


.coworker-box.has-more-info .coworker-main-image {
    cursor: pointer;
}

.coworker-box .coworker-main-image {
    width: 100%;
}

.coworker-box h3 {
    margin-bottom: 0;
}

p.coworker-title {
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.coworker-box ul {
    padding: 0;
    margin-bottom: 0;
    list-style: none;
}

.coworker-box li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.7;
}

    .coworker-box li svg {
        margin-right: 0.25em;
    }

    .coworker-box li a {
        color: #141414;
    }

        .coworker-box li a:hover {
            color: #69B32E;
        }

.coworker-main-image {
    transition: transform ease 0.2s;
}

.coworker-box .coworker-info-wrap figure {
    border: 1px solid transparent;
}

@media screen and (min-width: 768px) {

    .coworker-box.has-more-info:hover .coworker-main-image,
    .coworker-box.mi-box-open .coworker-main-image {
        transform: scale(0.9);
    }

    .coworker-box.has-more-info:hover .coworker-info-wrap figure,
    .coworker-box.mi-box-open .coworker-info-wrap figure {
        border: 1px solid #69b32e
    }
}

@media screen and (min-width: 1700px) {

    .coworker-box h3 {
        font-size: 1.625rem;
    }
}

.more-info-link {
    color: #69B32E;
    cursor: pointer;
    margin-top: 1em;
    font-weight: 500;
}

@media screen and (min-width: 768px) {

    .more-info-link {
        display: none;
    }
}

@media screen and (cursor: fine) {

    .more-info-link {
        display: none;
    }
}



/* 
-----------------------------------------
Project page
-----------------------------------------
*/

/* ---------- Header ---------- */

.project-header {
    flex-wrap: wrap;
}

.project-header > div {
    flex-grow: 0;
    flex-shrink: 0;
}

.project-header > .project-header-image {
    min-height: 100vw;
    flex-basis: 100%;
}

.project-header > .project-header-image > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.project-header > .project-header-text {
    flex-basis: calc(100% - 2rem);
    margin: -4rem 1rem 0;
    z-index: 1;
}

@media screen and (min-width: 768px) {

    .project-header > .project-header-image {
        flex-basis: 50%;
        min-height: 50vw;
    }

    .project-header > .project-header-image > img {
        min-height: 100%;
    }

    .project-header > .project-header-text {
        flex-basis: 50%;
        margin: 0;
    }
}

@media screen and (min-width: 992px) {

    .project-header > .project-header-image {
        flex-basis: 37%;
        min-height: 37vw;
    }

    .project-header > .project-header-text {
        flex-basis: 63%;
    }
}

@media screen and (min-width: 2400px) {

    .project-header > .project-header-image {
        min-height: unset;
    }
}

.project-header-image {
    background-color: var(--labs-orange);
}

.project-header-image video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.project-header-icon-wrap {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-header-icon {
    height: 140px;
    width: 140px;
    /* filter: brightness(0) saturate(100%) invert(98%) sepia(77%) saturate(891%) hue-rotate(298deg) brightness(110%) contrast(101%); */
    background-color: var(--labs-text-yellow);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

@media screen and (min-width: 576px) {

    .project-header-icon {
        height: 200px;
        width: 200px;
    }
}

.project-header-image {
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-header-text {
    background-color: var(--labs-light-yellow);
    padding: 1rem 1rem 2rem
}


@media screen and (min-width: 500px) {
    .project-header-text {
        padding: 2rem;
    }
}

@media screen and (min-width: 768px) {
    .project-header-text {
        padding: clamp(2rem, -3.356rem + 11.159vw, 8.5rem);
    }
}

.project-header-text h1 {
    font-size: clamp(1.5rem, 0.804rem + 3.478vw, 4.5rem);
    font-size: clamp(1.5rem, 1.5rem + 2.086vw, 2.5rem);
    line-height: 1;
    margin-bottom: 1.25rem;
}

.project-header-text p.top-headline {
    color: #141414;
    text-transform: none;
    font-weight: 300;
    margin-bottom: 0.5rem;
    font-size: clamp(1.125rem, 0.922rem + 1.014vw, 2rem);
}

.project-facts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-facts li:not(:last-child) {
    margin-bottom: 0.25rem;
}

.project-facts li span {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
}

.project-header-buttons {
    margin-top: 2rem;
}

@media screen and (min-width: 768px) {

    .project-facts {
        border-left: 6px solid #D14B1B;
        padding-left: 1rem;
    }

    .project-header-text h1 {
        font-size: clamp(2.25rem, 0.75rem + 3.125vw, 4.5rem);
    }
}

@media screen and (min-width: 1200px) {
    .project-facts li {
        font-size: 1.25rem;
    }
}

@media screen and (min-width: 1700px) {
    .project-facts li {
        font-size: 1.375rem;
    }
}

/* ---------- Content sections ---------- */

.project-content-sections > * {
    margin-bottom: clamp(2rem, 1.444rem + 2.406vw, 4rem);
}

.project-content-sections > .background-section:has(+ .background-section) {
    margin-bottom: 0;
}

.project-content-sections > .background-section:last-child {
    margin-bottom: 0;
}

.project-content-sections > .project-text-section:has(+ .list-section-block) {
    margin-bottom: 0;
}

/*
.project-content-sections > div:has(+ .text-box-article-block) {
    margin-bottom: clamp(2rem, 1.444rem + 2.406vw, 4rem);
}

.project-content-sections > div:last-child {
    margin-bottom: clamp(2rem, 1.444rem + 2.406vw, 4rem);
}

.project-content-sections:has(+ .projects-page) > div:last-child {
    margin-bottom: 0;
}

*/


.project-content-sections > div {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media screen and (min-width: 768px) {
    .project-content-sections > div {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media screen and (min-width: 1400px) {
    .project-content-sections > div {
        padding-left: calc(50% - 400px);
        padding-right: calc(50% - 400px);
    }
}

@media screen and (min-width: 1700px) {
    .project-content-sections > div {
        padding-left: calc(50% - 500px);
        padding-right: calc(50% - 500px);
    }
}

.project-text-section:first-child {
    margin-top: clamp(2rem, 1.444rem + 2.406vw, 4rem);
}

/* Image section */

.project-image-section img {
    border-radius: 8px;
}

/* Text section */

.project-text-section h1 {
    font-weight: 900;
}

.project-text-section p + h2,
.project-text-section ul + h2 {
    margin-top: 1.25em;
}

.project-video-section + .project-text-section,
.alternating.text-block + .project-text-section {
    margin-top: clamp(2rem, 1.444rem + 2.406vw, 4rem);
}

/* List with headline & text items */

.project-text-section:has(+ .list-section-block) p:last-child {
    margin-bottom: 0 !important;
}

.project-text-section + .list-section-block {
    padding-top: clamp(2rem, 1.861rem + 0.602vw, 2.5rem);
}

.project-content-sections:has(+ .projects-page) .list-section-block:last-child {
    padding-bottom: 0;
}

.list-section-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    border-top: 1px solid #D14B1B;
    padding-top: clamp(1rem, 0.861rem + 0.602vw, 1.5rem);
}

.list-section-item + .list-section-item {
    margin-top: clamp(2rem, 1.861rem + 0.602vw, 2.5rem);
}

.list-section-item > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 768px) {

    .list-section-item > div {
        flex-basis: calc(50% - 1rem);
    }
}

.list-section-item-headline-wrap {
    display: flex; 
    gap: 1rem;
}

.list-section-item-headline h3 { 
    font-size: clamp(1.5rem, 1.396rem + 0.451vw, 1.875rem);
    font-weight: 700;
}

.list-section-item-nbr {
    flex: 0 0 30px;
    height: clamp(1.5rem, 1.396rem + 0.451vw, 1.875rem);
    display: flex;
    align-items: center;
}

.list-section-item-nbr p {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background-color: #D14B1B;
    height: 30px;
    width: 30px;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
}

.list-section-item-nbr p span {
    color: #FFFFFF;
    display: none;
}

.list-section-item-text {
    margin-top: 0.5rem;
    padding-left: calc(30px + 1rem);
}

@media screen and (min-width: 768px) {

    .list-section-item-text {
        margin-top: 0;
    }
}

.list-section-item-text ul:last-child {
    margin-bottom: 0;
}

/* No list style*/

.list-style-none .list-section-item-nbr {
    display: none
}

.list-style-none .list-section-item > .list-section-item-text {
    padding-left: 0;
}

/* Bullet list */

.list-style-bullets  .list-section-item-nbr {
    flex: 0 0 16px;
}

.list-style-bullets  .list-section-item-nbr p {
    height: 16px;
    width: 16px;
}

.list-style-bullets .list-section-item > .list-section-item-text {
    padding-left: calc(1rem + 16px);
}

/* Numbered list */

.list-style-numbered .list-section-item-nbr p span {
    display: block;
}

/* END List section */

/* Video section */

.project-video-section .embed-responsive {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

.project-video-section .embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.alternating.text-block + .project-video-section {
    margin-top: clamp(2rem, 1.444rem + 2.406vw, 4rem);
}

/* Quote section */

.project-quote-box {
    border-left: 6px solid #69B32E;
    padding-left: 1rem;
}

p.quote-text {
    font-size: clamp(1.125rem, 1.067rem + 0.29vw, 1.375rem);
    max-width: 70ch;
}

p.quote-person {
    font-size: clamp(1.125rem, 1.067rem + 0.29vw, 1.375rem);
    padding-left: 30px;
    margin-bottom: 0;
    line-height: 1.5;
    margin-top: 1.25rem;
}

p.quote-person span {
    display: block;
    font-weight: 800;
    position: relative;
}

p.quote-person span::before {
    content: "";
    display: block;
    height: 3px;
    width: 20px;
    background-color: #69B32E;
    position: absolute;
    top: 11px;
    left: -30px;
}

@media screen and (min-width: 768px) {

    p.quote-person span::before {
        top: 13px;
    }
}

@media screen and (min-width: 1200px) {

    .project-quote-box {
        padding-left: 1.5rem;
    }

    p.quote-person {
        padding-left: 30px;
        margin-top: 1.5rem;
    }

    p.quote-person span::before {
        height: 3px;
        width: 21px;
        left: -30px;
    }
}

@media screen and (min-width: 1700px) {

    p.quote-person {
        padding-left: 50px;
        margin-top: 1.5rem;
    }

    p.quote-person span::before {
        height: 4px;
        width: 36px;
        left: -50px;
    }
}

/* ------- FAQ block -------*/

.service-faq-block h2 {
    margin-bottom: 0.75em;
}

.service-faq-block h3 {
    margin-bottom: 1em;
}

.service-faq-block .faq-item {
    background-color: var(--labs-light-yellow);
}

.service-faq-block .faq-item h4 {
    font-size: clamp(1.25rem, 1.183rem + 0.299vw, 1.5rem);
    padding: 1.5rem;
    margin: 0;
    display: flex;
    justify-content: space-between;
    background-color: var(--labs-white) !important;
    color: var(--labs-offblack);
}

.service-faq-block .faq-item p {
    font-size: clamp(1rem, 0.933rem + 0.299vw, 1.25rem);
}

a.list-link {
    display: flex;
    align-items: center;
    transition: all ease 0.2s;
    font-weight: 600;
}

a.list-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

a.list-link svg {
    font-size: 0.875em;
    margin-left: 0.375em;
}

p:has(+ a.list-link) {
    margin-bottom: 0.5em;
}

.our-process-step-text a.list-link {
    color: var(--labs-text-yellow);
    font-size: clamp(1.125rem, 1.058rem + 0.299vw, 1.375rem);
    font-weight: 600;
}


/* FAQ section on text page */

.faq-section h2 {
    margin-bottom: 1em;
}

.faq-item {
    background-color: #FFFFFF;
    margin-bottom: 1rem;
    border: 2px solid #D14B1B;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item-headline {
    margin: 0;
    border: none;
    width: 100%;
    text-transform: none;
    text-align: left;
    padding: 0;
    color: var(--labs-offblack);
}

.faq-section h3 {
    margin: 0;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    font-weight: 600;
}

@media screen and (min-width: 1200px) {

    .faq-item-headline h3 {
        background-color: #FFFFFF;
        padding: 1.5rem;
    }
}

.faq-item-headline:focus,
.faq-item-headline:hover,
.faq-item-headline:active {
    border: none;
    color: #141414;
}

.faq-item-headline svg {
    color: #D14B1B;
}

.faq-item-headline .fa-minus {
    display: none;
}

.faq-item-headline:not(.collapsed) .fa-minus {
    display: inline-block;
}

.faq-item-headline:not(.collapsed) .fa-plus {
    display: none;
}

.faq-item-padding {
    padding: 0 1.5rem 1.5rem;
}

.faq-item-content p:last-child {
    margin-bottom: 0;
}

@media screen and (min-width: 1200px) {

    .faq-item-padding {
        padding: 0 1.5rem 1.5rem;
    }
}


.content-section-link {
    font-size: clamp(1.125rem, 1.067rem + 0.29vw, 1.375rem);
    font-weight: 300;
    display: inline-flex;
    align-items: center;
}

    .content-section-link img {
        width: 1em;
        transition: all ease 0.2s;
        margin-left: 0em;
        opacity: 0;
        filter: brightness(0) saturate(100%) invert(44%) sepia(53%) saturate(3542%) hue-rotate(354deg) brightness(89%) contrast(89%);
    }

    .content-section-link:hover img {
        margin-left: 0.25em;
        opacity: 1;
    }

@media (pointer: coarse) {

    .content-section-link:hover img {
        margin-left: 0em;
        opacity: 0;
    }
}



/* ------- Contact section ------- */

.marketing-page-contact-section {
    background: linear-gradient(270deg, var(--linearColor1) 0%, var(--linearColor2) 50%, var(--linearColor3) 100%);
}

.marketing-page-contact-box {
    background-color: #FFFFFF;
    padding: clamp(1.5rem, 1.068rem + 1.818vw, 3rem);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

ul.marketing-page-contact-info {
    border-top: 2px solid #D14B1B;
    list-style: none;
    margin: 0;
    padding: 1rem 0 0;
}

.marketing-page-contact-image {
    flex: 0 0 100%;
}

.marketing-page-contact-text {
    flex: 0 0 100%;
}

@media screen and (min-width: 576px) {

    .marketing-page-contact-image {
        flex-basis: 200px;
    }

    .marketing-page-contact-text {
        flex-basis: calc(100% - 200px);
        padding-left: 1.5rem;
    }
}

@media screen and (min-width: 768px) {
    .marketing-page-contact-image {
        flex-basis: 290px;
    }

    .marketing-page-contact-text {
        flex-basis: calc(100% - 290px);
    }
}

.marketing-page-contact-text h2 {
    font-size: clamp(1.5rem, 1.356rem + 0.606vw, 2rem);
    margin-top: 1em;
}

@media screen and (min-width: 576px) {

    .marketing-page-contact-text h2 {
        margin-top: 0;
    }
}

.marketing-page-contact-image img {
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    object-position: center left;
    background-color: #F8F8F8;
}

@media screen and (min-width: 576px) {
    .marketing-page-contact-image img {
        aspect-ratio: 1 / 1;
    }
}



    ul.marketing-page-contact-info li strong {
        font-size: 1.125em;
    }

    ul.marketing-page-contact-info li {
        line-height: 1.7;
    }

        ul.marketing-page-contact-info li a {
            color: var(--offblack);
        }

            ul.marketing-page-contact-info li a:hover,
            ul.marketing-page-contact-info li a:focus,
            ul.marketing-page-contact-info li a:active {
                color: var(--inka-green);
            }

        ul.marketing-page-contact-info li svg {
            margin-right: 0.25em;
        }




/* ---------- Split-blocks ---------- */

.split-block {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding-top: clamp(2rem, 1.444rem + 2.406vw, 4rem);
    padding-bottom: clamp(2rem, 1.444rem + 2.406vw, 4rem);
}

.split-block .split-block-img {
    flex-basis: 100%;
    width: 100%;
    max-height: 500px;
}

.split-block .split-block-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}

.split-block .split-block-content {
    flex-basis: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: clamp(2rem, 1.444rem + 2.406vw, 4rem);
}

.split-block p:has(+ div .theme-btn) {
    margin-bottom: 1.5em;
}

@media screen and (min-width: 1200px) {
    .split-block .split-block-img {
        flex-basis: 50%;
        width: 50%;
        max-height: 100%;
    }

        .split-block .split-block-img img {
        }

    .split-block .split-block-content {
        flex-basis: 50%;
        margin-bottom: 0;
    }
}

/* Split-block variations */

.split-block.lg-img .split-block-img {
    flex-basis: 60%;
}

.split-block.lg-img .split-block-content {
    flex-basis: 40%;
}

.alternating .split-block:nth-child(odd) {
    background: var(--labs-light-yellow);
}

@media screen and (min-width: 1200px) {
    .alternating .split-block:nth-child(even) .split-block-img {
        order: 2;
    }

    .alternating .split-block:nth-child(odd) .split-block-content {
        order: 1;
    }
}

/* Events */

.event-facts p span {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
}

.event-facts p {
    font-size: 1.25rem;
}

/* ------- Image & icon card -------*/

.image-icon-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
}

.image-icon-cards > a {
    flex: 0 0 100%;
}

@media screen and (min-width: 768px) {



    .image-icon-cards > a {
        flex-basis: calc(33.33% - 1rem);
    }
}

@media screen and (min-width: 1700px) {

    .image-icon-cards {
        gap: 3rem;
    }

    .image-icon-cards > a {
        flex-basis: calc(33.33% - 2rem);
    }
}

a.image-icon-card {
    text-decoration: none;
    color: var(--offblack);
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.2), 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

a.image-icon-card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.image-icon-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.image-icon-icon {
    position: absolute;
    display: flex;
    justify-content: center;
    top: -60px;
    left:0;
    right: 0;
}

.image-icon-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.image-icon-icon img {
    width: 100px;
    height: 100px;
    border: 10px solid var(--labs-light-yellow);
    border-radius: 50%;
    background-color: var(--labs-light-yellow);
}

.image-icon-caption {
    padding: 2.75rem 1.5rem 2rem;
    position: relative;
    flex-grow: 1;
}

.image-icon-caption h3 {
    color: var(--labs-offblack);
    font-weight: 600;
    font-size: clamp(1.625rem, 1.521rem + 0.451vw, 2rem);
    margin: 0 0 0.5rem; 
}

.image-icon-caption p {
    font-weight: 300;
}

/* ------- Quote image block -------*/

.quote-image-wrap {
    display: flex;
    flex-wrap: wrap;
}

.quote-image-wrap > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 1200px) {
    .quote-image-wrap > div {
        flex-basis: 50%;
    }
}

.quote-image-wrap .split-block-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
}

.quote-image-section .quote-article-block-icon {
    flex: 0 0 100%;
}

.quote-image-section .quote-article-block-icon img {
    width: 50px;
    margin: 0 0 1rem;
}

.quote-image-section .quote-article-block-text {
    flex: 0 0 100%;
    padding: 0;
}

/** BLOG **/

.article-wrap h1 {
    margin-bottom: 2rem;
}

.article-wrap .project-content-sections > div {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 2rem;
}

.article-wrap .marketing-faq-section {
    background-color: transparent !important;
}