:root {

    /* Color declarations */
    --il-brown: #BF9654;
    --il-beige: #f6f2e8;
    --offblack: #222222;
    --medium-gray: #ebebeb;

    /* Top margin */
    --top-margin-sm: 68px;
    --top-margin-lg: 80px; /* 992 px */
    --top-margin-xl: 100px; /* 1700 px */
}

/* 
-----------------------------------------
BASE
-----------------------------------------
*/

::selection {
    background-color: #000000;
    color: #fff;
}

.bg-beige {
    background-color: var(--il-beige);
}

a, a:link, a:active {
    color: var(--il-brown);
    text-decoration: none;
    transition: none;
    text-underline-offset: 0.3em;
}

a:focus-visible,
button:focus-visible {
    outline: 3px dotted var(--il-brown);
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: none;
    appearance: none;
}

.scroll-to {
    display: block;
    position: relative;
    top: calc(var(--top-margin-sm) * -1);
    visibility: hidden;
}

@media screen and (min-width: 992px) {

    .scroll-to {
        top: calc(var(--top-margin-lg ) *-1)
    }
}

@media screen and (min-width: 1700px) {

    .scroll-to {
        top: calc(var(--top-margin-xl) * -1)
    }
}

ul {
    padding-left: 1rem;
}

ul.list-style-none {
    list-style: none;
    padding: 0;
}

a:hover {
    color: var(--il-brown);
    text-decoration: underline;
}

img {
    max-width: 100%;
}

figure {
    margin-bottom: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    overflow-x: hidden;
}

body, p, li {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 0.933rem + 0.299vw, 1.25rem);
    color: #000000;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

b, strong {
    font-weight: 600;
}

h1 {
    font-family: 'Abhaya Libre', sans-serif;
    text-transform: none;
    font-size: clamp(2.5rem, 1.896rem + 2.687vw, 4.75rem);
    font-weight: 600;
    line-height: 1;
    margin: 0;
}

h2 {
    font-family: 'Abhaya Libre', sans-serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 1.448rem + 1.343vw, 2.875rem);
    line-height: 1;
    margin: 0 0 0.5em;
}

h3 {
    font-size: clamp(1.125rem, 1.091rem + 0.149vw, 1.25rem);
    text-transform: none;
    font-weight: 700;
    margin-bottom: 0.5em;
}

h1 + h2, p + h2, ul + h2, p + h3, ul + h3 {
    margin-top: 2rem;
}

h2 + h3 {
    margin-top: 1.5rem;
}

p.ingress {
    font-weight: 500;
    font-size: clamp(1.25rem, 1.183rem + 0.299vw, 1.5rem);
}

p:last-child,
ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

/* ---------- Padding x space ---------- */

.padding-x-space {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 768px) {
    .padding-x-space {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1400px) {
    .padding-x-space {
        padding-left: calc(50% - 580px);
        padding-right: calc(50% - 580px);
    }
}

@media (min-width: 1700px) {
    .padding-x-space {
        padding-left: calc(50% - 750px);
        padding-right: calc(50% - 750px);
    }
}

/* ---------- Padding y space ---------- */

.padding-y-space {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 1200px) {
    .padding-y-space {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

@media (min-width: 1700px) {
    .padding-y-space {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

/* ---------- BS grid ---------- */

.row {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
}

.row > * {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

@media screen and (min-width: 768px) {

    .row {
        margin-left: -2rem;
        margin-right: -2rem;
    }

    .row > * {
        padding-right: 2rem;
        padding-left: 2rem;
    }
}

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

/* ---------- Button ---------- */

a.btn, button.btn {
    display: inline-block;
    font-size: clamp(0.875rem, 0.808rem + 0.299vw, 1.125rem);
    background-color: transparent;
    padding: 0.75em 1.875em;
    color: var(--il-brown);
    font-weight: 600;
    transition: all ease 0.2s;
    border: 2px solid var(--il-brown);
    border-radius: 0;
}

a.btn:hover,
a.btn:focus,
a.btn:active,
a.btn:focus-visible,
button.btn:hover,
button.btn:focus,
button.btn:active,
button.btn:focus-visible {
    background-color: transparent !important;
    border-color: #000000 !important;
    color: #000000 !important;
    text-decoration: none;
}

a.btn-white {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

a.btn-white:hover,
a.btn-white:focus,
a.btn-white:active {
    background-color: var(--il-brown) !important;
    color: #FFFFFF !important;
    border-color: var(--il-brown) !important;
}

a.btn:focus-visible,
button.btn:focus-visible {
    outline: 3px dotted var(--il-brown);
    outline-offset: 0.25rem;
}
/* ---------- Header section ---------- */

.section-header h2 {
    font-size: clamp(2rem, 1.429rem + 2.537vw, 4.125rem);
    margin-bottom: 0.75em;
}

.section-header h2:has(+ p) {
    margin-bottom: 0.25em;
}

.section-header p {
    font-size: clamp(1.125rem, 1.058rem + 0.299vw, 1.375rem);
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

/*
-----------------------------------------
NAVBAR
-----------------------------------------
*/

/* ------- Skip to content ------- */

.skip-to-content {
    position: absolute;
    z-index: 1201;
    opacity: 1;
    left: 1rem;
    height: 0;
}

a.skip-to-content-btn {
    display: inline-block;
    font-weight: 600;
    background-color: #000000;
    padding: 0.75em 2em;
    color: #FFF;
    transform: translateY(calc(-100% - 1px));
    outline-offset: 0.25rem;
    font-size: 1rem;
}

a.skip-to-content-btn:hover,
a.skip-to-content-btn:focus {
    color: #FFF;
    transform: translateY(1rem);
    text-decoration: none;
}

/* ------- END Skip to content ------- */

.navbar {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    top: 0;
    height: var(--top-margin-sm);
    z-index: 1200;
    background-color: #FFFFFF;
    box-shadow: 0px 2px 3px 0px 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);
    }
}

/* ---------- Logo ---------- */

.navbar-brand {
    display: flex;
    padding: 0;
}

.navbar-brand img {
    height: 30px;
}

@media screen and (min-width: 992px) {

    .navbar-brand img {
        height: 40px;
    }
}

@media screen and (min-width: 1700px) {

    .navbar-brand img {
        height: 56px;
    }
}

/* ---------- Mobile menu button ---------- */

.navbar-toggler:focus,
.navbar-toggler:active {
    border: none;
    outline: none;
    box-shadow: 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:focus-visible {
    outline: 3px dotted var(--il-brown);
    border: none;
}

.navbar-toggler span {
    display: block;
    position: absolute;
    height: 2px;
    width: 28px;
    background: #000000;
    opacity: 1;
    left: 0;
}

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

.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;
    border: none;
}

@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 #D9D9D9;
}

#mobileMenu .nav-link {
    color: var(--offblack);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

#mobileMenu button.nav-link {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    border: none;
    background-color: transparent;
    text-align: left;
}

#mobileMenu .nav-link:hover {
    text-decoration: none;
}

#mobileMenu .nav-link svg {
    font-size: 1.25rem;
    color: var(--il-brown);
}

/* Mobile menu close button */

.close-button {
    cursor: pointer;
    font-size: 36px;
    padding: 0 0.25rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    color: var(--offblack);
    height: 30px;
    width: 30px;
    margin-right: 0.75rem;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background-color: transparent;
}

.main-menu-mobile .top-nav-item {
    height: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-menu-mobile .top-nav-item span {
    display: block;
    position: absolute;
    height: 2px;
    width: 30px;
    background: #000000;
    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);
}

/* Mobile submenu */

.main-menu-mobile .offcanvas-submenu-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    overflow-y: auto;
    transition: all 0.4s ease-in-out;
    transform: translateX(100%);
    z-index: 10;
    padding: 0;
    opacity: 1;
    background-color: #FFFFFF;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.075);
    visibility: hidden;
}

.main-menu-mobile .offcanvas-submenu-collapse.open {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
    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;
    padding: 0;
    margin-left: 1rem;
    color: var(--il-brown);
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background-color: transparent;
}

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

#mobileMenu .nav-link.submenu-title {
    font-weight: 600;
}

#mobileMenu div.nav-link.submenu-title {
    cursor: default;
}

.main-menu-mobile .submenu-submenu {
    list-style: none;
    padding-left: 0;
}

#mobileMenu .main-menu-mobile .submenu-submenu .nav-item .nav-link:not(.submenu-title) {
    white-space: normal;
    font-weight: 300;
}

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

/* ---------- Desktop menu ---------- */

#desktopMenu {
    display: none;
}

@media screen and (min-width: 1200px) {

    #desktopMenu {
        display: flex;
    }
}

#main-menu {
    height: 100%;
    flex-direction: row;
    align-items: flex-end;
    margin-right: -0.5rem;
}

#main-menu .nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

#main-menu .nav-link {
    font-weight: 600;
    color: #000000;
    padding: 0.5rem;
    transition: color ease 0.15s;
    font-size: 1.125rem;
}

#main-menu button.nav-link {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: none;
}

#main-menu .nav-link:hover {
    color: var(--il-brown);
    text-decoration: none;
}

#main-menu > .nav-item > .nav-link {
    margin-right: 1.5rem;
}

#main-menu > .nav-item:last-child > .nav-link {
    margin-right: 0;
}

@media screen and (min-width: 1700px) {

    #main-menu > .nav-item > .nav-link {
        margin-right: 2rem;
    }
}

/* Desktop dropdown menus */

#main-menu .dropdown-toggle::after {
    display: none;
}

#main-menu .dropdown-menu:not(.mega-menu) {
    padding: 0;
}

#main-menu .dropdown-menu {
    background-color: #FFFFFF;
    border: none;
    border-radius: 0;
    position: absolute;
    top: calc(100% - 2px);
    min-width: 260px;
    border: none;
    border-top: 1px solid var(--il-beige);
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
}

#main-menu .dropdown-menu .nav-link {
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    padding: 1rem;
    border-bottom: 1px solid var(--il-beige);
    line-height: 1;
}

#main-menu .dropdown-menu .nav-link:hover {
    text-decoration: none;
    color: #000000;
    background-color: var(--il-beige);
}

#main-menu .dropdown-menu .nav-item:last-child .nav-link {
    border-bottom: none;
}


/*
-----------------------------------------
FOOTER
-----------------------------------------
*/

footer {
    background-color: #000000;
}

footer a,
footer a:link,
footer a:active,
footer a:hover,
footer p,
footer li,
footer h2 {
    color: #E6E6E6;
}

footer a {
    transition: 0.2s;
}

footer h2 {
    font-size: clamp(1.75rem, 1.683rem + 0.299vw, 2rem);
    font-weight: 600;
    margin-bottom: 0.7em;
}

footer p,
footer li {
    font-size: clamp(1rem, 0.966rem + 0.149vw, 1.125rem);
    font-weight: 300;
}

.footer-contact-box:has(+ .footer-contact-box) {
    margin-bottom: 0.5rem;
}

.footer-contact-box svg {
    width: 1.25em;
    margin-right: 0.1em;
    color: var(--il-brown);
}

img.footer-logo {
    width: 65px;
    height: auto;
}

@media screen and (min-width: 1700px) {

    img.footer-logo {
        width: 105px;
    }
}

p.footer-about-us-text {
    margin: 1.5em 0 1rem;
    max-width: 50ch;
}

/* ------- Footer top row ------- */

.footer-main-row > div {
    flex: 0 0 100%;
    margin-bottom: 2.5rem;
}

@media screen and (min-width: 800px) {

    .footer-main-row {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .footer-main-row > div {
        flex-basis: fit-content;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .footer-main-row > div:first-child {
        flex-basis: calc(100% - 2rem);
    }
}

@media screen and (min-width: 1200px) {

    .footer-main-row {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .footer-main-row > div {
        flex-basis: fit-content;
        max-width: calc(20% - 2rem);
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .footer-main-row > div:first-child {
        flex-basis: fit-content;
        max-width: unset;
    }
}

@media screen and (min-width: 1700px) {

    .footer-main-row > div {
        flex-basis: fit-content;
        max-width: calc(23% - 2rem);
    }
}

footer .sm-icons{
    line-height: 1;
}

footer .sm-icons > a {
    display: inline-block;
    outline-offset: 0.25rem;
}

footer .sm-icons svg {
    font-size: 1.375rem;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 0.75rem;
}

footer .sm-icons a:hover svg {
    color: var(--il-brown);
    border-color: var(--il-brown);
}

ul.footer-links-list {
    margin-bottom: 0;
}

ul.footer-links-list li {
    line-height: 1.4;
}

ul.footer-links-list li:has(+ li) {
    margin-bottom: 0.75em;
}

/* ------- Footer bottom row ------- */

.footer-bottom-row {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.footer-bottom-row,
.footer-bottom-row a,
.footer-bottom-row p {
    font-size: clamp(1rem, 0.966rem + 0.149vw, 1.125rem);
    margin-bottom: 0;
}

/*
-----------------------------------------
START PAGE
-----------------------------------------
*/

/* ------- Hero section ------- */

.hero-mobile {
    background-size: auto 66vw;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 50vw;
    background-color: var(--il-beige);
}

@media screen and (min-width: 768px) {

    .hero-desktop {
        aspect-ratio: 5 / 2;
        width: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* Hero video */

.hero-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.8);
}

/* Hero caption */

.hero-caption {
    background-color: transparent;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-mobile .hero-caption {
    background-color: #FFFFFF;
}

.hero-caption h1 {
    font-size: clamp(2.25rem, 1.511rem + 3.284vw, 5rem);
    line-height: 1;
    font-weight: 600;
    margin-bottom: 0.25em;
    position: relative;
    width: 100%;
    text-wrap: balance;
    margin-left: auto;
    margin-right: auto;
}

.hero-caption p {
    font-size: clamp(1.125rem, 0.991rem + 0.597vw, 1.625rem);
    line-height: 1.4;
    margin-bottom: 0;
    font-weight: 300;
    max-width: 55ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.hero-caption p:has(+ .hero-buttons) {
    margin-bottom: 1.25em;
}

.hero-caption a.btn {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

.hero-caption a.btn:not(:first-child) {
    margin-top: 0.75em;
}

@media screen and (min-width: 768px) {

    .hero-caption {
        margin: 0 auto;
    }

    .hero-caption a.btn {
        margin: 0;
        display: inline-block;
    }

    .hero-caption a.btn:not(:first-child) {
        margin-top: 0;
        margin-left: 0.5em;
    }
}

.hero-desktop .hero-caption h1,
.hero-desktop .hero-caption p {
    color: #FFFFFF;
}

/* Hero caption on video */

video + .hero-caption {
    background-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: #FFFFFF;
}

video + .hero-caption h1 {
    color: #FFFFFF;
}

video + .hero-caption p {
    color: #FFFFFF;
}

/* ------- Expert areas section ------- */

.expert-areas-desktop {
    display: none !important;
}

@media screen and (min-width: 576px) {

    .expert-areas-mobile {
        display: none;
    }

    .expert-areas-desktop {
        display: grid !important;
    }

}

.expert-areas-boxes {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    background-color: #D9D9D9;
    grid-gap: 1px;    
}

@media screen and (min-width: 576px) {

    .expert-areas-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 992px) {

    .expert-areas-boxes {
        grid-template-columns: repeat(4, 1fr);
    }
}

a.expert-area-box {
    padding: 3rem;
    background-color: #FFFFFF;
    z-index: 1;
}

a.expert-area-box:hover,
a.expert-area-box:focus-visible {
    box-shadow: 0px 14px 82px 0px rgba(0, 0, 0, 0.11);
    text-decoration: none;
    z-index: 2;
}

a.expert-area-box img {
    display: block;
    margin: 0 auto 1rem;
    height: 70px;
    width: auto;
    display: none;
}

a.expert-area-box h3 {
    font-family: 'Abhaya Libre', sans-serif;
    color: #000000;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-wrap: balance;
}

a.expert-area-box p {
    font-size: 1rem;
    margin-bottom: 0;
}

@media screen and (min-width: 576px) {

}

@media screen and (min-width: 992px) {

    a.expert-area-box {
        padding: 2rem;
    }

    a.expert-area-box img {
        margin-bottom: 1.5rem;
    }
    a.expert-area-box h3 {
        font-size: clamp(1.75rem, 1.15rem + 0.8vw, 2rem);
        margin-bottom: 0.75rem;
    }

    a.expert-area-box p {
        font-size: clamp(1rem, 0.4rem + 0.8vw, 1.25rem)
    }
}

@media screen and (min-width: 1200px) {

    a.expert-area-box {
        padding: 3rem;
    }
}

.expert-areas-mobile .accordion-button {
    width: fit-content;
    margin: 0 auto;
    display: block;
    margin-top: 1.5rem;
    color: var(--il-brown);
}

.expert-areas-mobile .accordion-button:not(.collapsed) {
    display: none;
}

.expert-areas-mobile .expert-areas-boxes:first-child {
    border-bottom: 1px solid #D9D9D9;
}

.expert-areas-mobile .accordion.show .expert-areas-boxes:first-child {
    border-bottom: none;
}

/* ------- Customer quotes ------- */

.customer-quote-text {
    text-align: center;
    text-wrap: balance;
    font-family: 'Abhaya Libre', sans-serif;
    font-weight: 600;
    font-size: clamp(1.875rem, 1.438rem + 1.94vw, 3.5rem);
    line-height:1.1;
    max-width: 30ch;
    margin: 0 auto 0.5em;
}

.customer-quote-name {
    font-size: clamp(1.125rem, 1.058rem + 0.299vw, 1.375rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
}

.customer-quotes-carousel span.carousel-control-next-icon,
.customer-quotes-carousel span.carousel-control-prev-icon {
    background-image: none;
    color: #000000;
    font-size: clamp(2rem, 1.58rem + 1.866vw, 3.563rem);
    height: auto;
}

.customer-quotes-carousel .carousel-control-next,
.customer-quotes-carousel .carousel-control-prev {
    opacity: 1;
    width: clamp(2rem, 1.58rem + 1.866vw, 3.563rem);
}

.customer-quotes-carousel .carousel-control-next:hover span.carousel-control-next-icon,
.customer-quotes-carousel .carousel-control-prev:hover span.carousel-control-prev-icon {
    color: var(--il-brown);
}

.customer-quotes-carousel .carousel-control-prev {
    justify-content: flex-start;
}

.customer-quotes-carousel .carousel-control-next {
    justify-content: flex-end;
}

.customer-quotes-carousel .carousel-control-prev {
    background: linear-gradient(to right, rgba(246, 242, 232, 1), rgba(246, 242, 232, 0));
}

.customer-quotes-carousel .carousel-control-next {
    background: linear-gradient(to right, rgba(246, 242, 232, 0), rgba(246, 242, 232, 1));
}

.quote-carousel-item {
    padding: 0 clamp(2rem, 1.58rem + 1.866vw, 3.563rem);
}

/* ------- Customer logos ------- */

.customer-quotes-wrap:has(+ .customer-logos-wrap) {
    margin-bottom: clamp(1.5rem, 0.896rem + 2.687vw, 3.75rem);
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: clamp(1.5rem, 0.896rem + 2.687vw, 3.75rem);
}

.customer-logos-wrap {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.customer-logos-wrap > div {
    flex-basis: calc(100% - 1rem);
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

.customer-logos-wrap > div:has(+ div) {
    margin-bottom: 1rem;
}

@media screen and (min-width: 340px) {

    .customer-logos-wrap > div {
        flex-basis: calc(50% - 1rem);
    }
}

@media screen and (min-width: 576px) {

    .customer-logos-wrap > div {
        flex-basis: calc(33.33% - 1rem);
    }
}

@media screen and (min-width: 992px) {

    .customer-logos-wrap > div {
        flex-basis: calc(20% - 1rem);
    }
}

.customer-logo-block img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    box-shadow: 0px 3.86px 3.86px 0px rgba(0, 0, 0, 0.1);
}

/* ------- News ------- */

.news-items {
    margin-right: -1.25rem;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.news-items > a {
    flex: 0 0 80%;
    margin-right: 1rem;
    scroll-snap-align: start;
}

@media screen and (min-width: 576px) {

    .news-items > a {
        flex-basis: calc(60%);
    }
}

@media screen and (min-width: 768px) {

    .news-items {
        overflow: visible;
    }

    .news-items > a {
        flex-basis: calc(33.33% - 1rem);
        margin: 0 0.5rem;
    }

    .news-items > a:last-child {
        margin-right: 0.5rem;
    }
}

@media screen and (min-width: 992px) {

    .news-items {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .news-items > a {
        flex-basis: calc(33.33% - 2rem);
        margin: 0 1rem;
    }
}

@media screen and (min-width: 1700px) {

    .news-items {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
    }

    .news-items > a {
        flex-basis: calc(33.33% - 2.5rem);
        margin: 0 1.25rem;
    }
}

a.news-item-box:hover {
    text-decoration: none;
}

.news-item-box-image img {
    width: 100%;
    aspect-ratio: 5 / 3;
    width: 100%;
    object-fit: cover;
}

.news-item-box-caption h3 {
    font-family: 'Abhaya Libre', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
    margin-top: 0.625em;
    margin-bottom: 0.5rem;
    color: #000000;
}

p.news-item-box-preview {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

@media screen and (min-width: 768px) {

    .news-item-box-caption h3 {
        font-size: clamp(1.75rem, 1.338rem + 0.858vw, 2.25rem); /* 768-1700 */
    }
}

@media screen and (min-width: 992px) {

    p.news-item-box-preview {
        font-size: clamp(1rem, 0.65rem + 0.565vw, 1.25rem) /* 992-1700 */
    }
}

p.read-more,
p.read-more a {
    color: var(--il-brown);
    font-weight: 500;
    font-size: clamp(1rem, 0.65rem + 0.565vw, 1.25rem) /* 992-1700 */
}

p.news-item-box-read-more {
    margin-bottom: 0;
}

p.read-more svg {
    transition: transform ease 0.2s;
    margin-left: 0.125em;
    vertical-align: middle;
}

a.news-item-box:hover .news-item-box-caption p.news-item-box-read-more svg {
    transform: translateX(0.375rem);
}

/* Hide news preview on start page */

.news-items p.news-item-box-preview {
    display: none;
}

@media screen and (min-width: 992px) {

    .news-items p.news-item-box-preview {
        display: block;
    }
}

/* ------- Contact box ------- */

.contact-box {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-box > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 576px) {

    .contact-box > div {
        flex: 0 0 50%;
    }
}

@media screen and (min-width: 768px) {

    .contact-box > div:first-child {
        flex: 0 0 40%;
    }

    .contact-box > div:last-child {
        flex: 0 0 60%;
    }
}


@media screen and (min-width: 992px) {

    .contact-box > div:first-child {
        flex: 0 0 30%;
    }

    .contact-box > div:last-child {
        flex: 0 0 70%;
    }
}

.contact-box-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
}

@media screen and (min-width: 576px) {

    .contact-box-image img {
        width: unset;        
        height: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
        object-position: center;
    }
}

.contact-box-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5rem, -0.354rem + 3.863vw, 3.75rem); /* 768-1700*/
}

.contact-box-text h3 {
    font-family: 'Abhaya Libre', sans-serif;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 1.338rem + 0.858vw, 2.25rem); /* 768-1700 */
}

.contact-box-text p {
    font-size: clamp(1rem, 0.794rem + 0.429vw, 1.25rem); /* 768-1700 */
}

.contact-box-text p:has(+ ul.contact-list) {
    font-size: clamp(1rem, 0.794rem + 0.429vw, 1.25rem); /* 768-1700 */
}

ul.contact-info-list li {
    font-size: clamp(1rem, 0.897rem + 0.215vw, 1.125rem);
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;    
}

ul.contact-info-list li:has(+ li) {
    margin-bottom: 0.25rem;
}

ul.contact-info-list svg {
    color: var(--il-brown);
    width: 1em;
    margin-right: 0.375em;
}

ul.contact-info-list span {
    text-transform: uppercase;
    font-size: 0.875em;
    font-weight: 600;
    margin-right: 0.5em;
}

ul.contact-info-list a {
    color: #000000;
}

@media screen and (min-width: 768px) {

    .contact-box-image {
        display: block;
    }
}

/*
-----------------------------------------
SUBPAGE
-----------------------------------------
*/

.subpage-header {
    background-size: cover;
    background-position: center;
    aspect-ratio: 5 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subpage-header h1 {
    color: #FFFFFF;
}

/* ------- Text blocks ------- */

.content-block-section:nth-child(2n) {
    background-color: var(--il-beige);
}

.content-block-section:nth-child(2n).subpage-contact-section .contact-box-text {
    background-color: #FFFFFF;
}

.content-block-section:nth-child(2n+1).subpage-contact-section .contact-box-text {
    background-color: var(--il-beige);
}

/* Centered text block */

.text-block {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

.text-block h2 {
    margin: 1.25em 0 0.25em;
}

.text-block h2:has(+ul),
.text-block h2:has(+ol) {
    margin-bottom: 0.5em;
}

/* Text & image block */

.text-image-block > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 992px) {

    .text-image-block > div {
        flex-basis: calc(50% - 1rem);
    }

    .text-image-block-section:nth-of-type(2n) div.text-image-image {
        order: 1;
    }    

    .text-image-block-section:nth-of-type(2n) div.text-image-text {
        order: 2;
    }    
}

@media screen and (min-width: 1700px) {

    .text-image-block > div.text-image-text {
        flex-basis: calc(60% - 2.75rem);
    }

    .text-image-block > div.text-image-image {
        flex-basis: calc(40% - 2.75rem);
    }
}

.text-image-image {
    margin-top: 1.5rem;
}

.text-image-image img {
    display: block;
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 9 / 10;
    object-fit: cover;
    max-width: 400px;
}

@media screen and (min-width: 992px) {

    .text-image-image {
        margin-top: 0;
    }

    .text-image-image img {
        max-width: 100%;
    }
}

/*
-----------------------------------------
NEWS PAGE
-----------------------------------------
*/

.news-page-items > a {
    flex: 0 0 100%;
    margin-bottom: 2.5rem;
}

@media screen and (min-width: 576px) {

    .news-page-items {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .news-page-items > a {
        flex-basis: calc(50% - 2rem);
        margin: 0 1rem 2.5rem;
    }
}

@media screen and (min-width: 992px) {

    .news-page-items > a {
        flex-basis: calc(33.33% - 2rem);
    }
}

@media screen and (min-width: 1200px) {

    .news-page-items {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    .news-page-items > a {
        flex-basis: calc(33.33% - 3rem);
        margin: 0 1.5rem 3rem;
    }
}

/* Pagination */

.page-link {
    border: none;
    background-color: transparent;
    border-radius: 0;
    color: #000000;
    height: 2rem;
    width: 2rem;
    font-size: 1.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.5em;
    background-color: var(--il-beige);
}

.page-link:focus,
.page-link:hover {
    color: #FFFFFF;
    text-decoration: none;
    background-color: var(--il-brown);
    outline: none;
    box-shadow: none;
}

.page-link.active:focus,
.page-link.active:hover {
    color: #FFFFFF;
}

.page-link:focus-visible {
    outline: 3px dotted var(--il-brown);
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-radius: 0;
}

.active > .page-link, .page-link.active {
    background-color: var(--il-brown);
    color: #FFFFFF;
}

/*
-----------------------------------------
NEWS ITEM PAGE
-----------------------------------------
*/

.news-item-page-content-wrap > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 768px) {

    .news-item-page-content-wrap > div:first-child {
        flex-basis: calc(70% - 1rem);
        max-width: 900px;
    }
    .news-item-page-content-wrap > div:last-child {
        flex-basis: calc(30% - 1rem);
    }
}

.news-item-page-image img {
    width: 100%;
    aspect-ratio: 7 / 4;
    max-width: 900px;
}

.news-date {
    font-weight: 300;
    margin-bottom: 0.25em;
}

.news-article h2 {
    font-size: 2.875rem;
    margin-top: 0;
}

.news-item-page-image {
    margin-bottom: 1.5rem;
}

/* News archive */

.news-archive-list {
    margin-top: 2rem;
}

@media screen and (min-width: 768px) {

    .news-archive-list {
        margin-top: 0;
    }
}

.news-archive-list h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.news-archive-list h3 {
    font-weight: 500;
    font-size: 1.25rem;
}

a.news-item-list-item {
    display: block;
    color: #000000;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #D9D9D9;
}

a.news-item-list-item:first-of-type {
    padding-top: 1rem;
    border-top: 1px solid #D9D9D9;
}

a.news-item-list-item:hover {
    text-decoration: none;
}

.news-item-list-item h3 {
    font-size: 1.625rem;
    font-family: 'Abhaya Libre', sans-serif;
    margin: 0 0 0.25rem;
}

a.news-item-list-item p.news-item-box-read-more {
    font-size: 1.125rem;
}

a.news-item-list-item:hover p.news-item-box-read-more svg {
    transform: translateX(0.375rem);
}

/*
-----------------------------------------
COWORKERS PAGE
-----------------------------------------
*/

.coworkers-wrap {
    margin: 3rem -1rem -2rem;
    justify-content: center;
}

.coworkers-wrap > div {
    flex: 0 0 calc(100% - 2rem);
    margin: 0 1rem 2rem;
}

@media screen and (min-width: 576px) {
    .coworkers-wrap > div {
        flex-basis: calc(50% - 2rem);
        margin: 0 1rem 2rem;
    }
}

@media screen and (min-width: 768px) {
    .coworkers-wrap > div {
        flex-basis: calc(33.33% - 2rem);
        margin: 0 1rem 2rem;
    }
}

@media screen and (min-width: 992px) {
    .coworkers-wrap > div {
        flex-basis: calc(25% - 2rem);
        margin: 0 1rem 2rem;
    }
}

@media screen and (min-width: 1700px) {

    .coworkers-wrap {
        margin-left: -1.375rem;
        margin-right: -1.375rem;
        margin-bottom: -3rem;
    }

    .coworkers-wrap > div {
        flex-basis: calc(25% - 3.75rem);
        margin: 0 1.375rem 3rem;
    }
}

.coworker-image {
    position: relative;
    color: #FFFFFF;
    text-decoration: none;
}

.coworker-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.coworker-image-overlay {
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background-color: rgba(191, 150, 84, 0.8);
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s;
}

p.coworker-read-more {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
}

p.coworker-read-more svg {
    margin-left: 0.375em;
}

@media screen and (pointer: fine) {

    .coworker-image:hover .coworker-image-overlay {
        opacity: 1;
    }
}

.coworker-caption {
    padding-top: 1rem;
}

.coworker-caption h3 {
    font-family: 'Abhaya Libre', sans-serif;
    font-size: clamp(1.875rem, 1.35rem + 0.847vw, 2.25rem); /* 992-1700 */
    line-height: 1;
    margin-bottom: 0;
}

p.coworker-title {
    font-weight: 400;
}

p.coworker-read-more-mobile a:hover {
    text-decoration: none;
}

p.coworker-read-more-mobile:hover svg {
    transform: translateX(0.375rem);
}

@media screen and (pointer: fine) {

    p.coworker-read-more-mobile {
        display: none;
    }
}

/*
-----------------------------------------
COWORKER BIO PAGE
-----------------------------------------
*/


.coworker-bio-wrap {
    margin: 0 auto;
    max-width: 1000px;
}

.coworker-bio-wrap > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 768px) {

    .coworker-bio-wrap > div {
        flex-basis: 0 0 50%;
    }
}

@media screen and (min-width: 768px) {

    .coworker-bio-wrap > div.coworker-bio-image {
        flex-basis: 400px;
    }
    .coworker-bio-wrap > div.coworker-bio-text {
        flex-basis: calc(100% - 400px);
    }
}

.coworker-bio-image {
    margin-bottom: 1.5rem;
}

.coworker-bio-image img {
    width: 100%;
    aspect-ratio: 7 / 10;
    object-fit: cover;
    max-width: 400px;
}

@media screen and (min-width: 768px) {

    .coworker-bio-image {
        margin-bottom: 0;
    }

    .coworker-bio-image img {
        max-width: 100%;
    }
}


.coworker-bio-text h2 {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {

    .coworker-bio-text {
        padding-left: 2rem;
    }
}

.coworker-bio-description {
    margin-top: 1.5rem;
}

/*
-----------------------------------------
CONTACT PAGE
-----------------------------------------
*/

.contact-page-info-wrap > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 992px) {
    .contact-page-info-wrap > div {
        flex-basis: calc(50% - 1rem);
    }
}

.contact-page-info-image {
    margin-top: 1.5rem;
}

@media screen and (min-width: 992px) {

    .contact-page-info-image {
        margin-top: 0;
    }
}

.contact-persons-wrap > div {
    flex: 0 0 100%;
    width: 100%;
}

@media screen and (min-width: 576px) {

    .contact-persons-wrap {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .contact-persons-wrap > div {
        flex-basis: calc(50% - 2rem);
        width: calc(50% - 2rem);
        margin: 0 1rem 2rem;
    }
}

@media screen and (min-width: 768px) {

    .contact-persons-wrap > div {
        flex-basis: calc(33.33% - 2rem);
        width: calc(33.33% - 2rem);
    }
}
@media screen and (min-width: 992px) {

    .contact-persons-wrap > div {
        flex-basis: calc(25% - 2rem);
        width: calc(25% - 2rem);
    }
}

@media screen and (min-width: 1700px) {

    .contact-persons-wrap {
        margin-right: -1.375rem;
        margin-left: -1.375rem;
        margin-bottom: -3rem;
    }

    .contact-persons-wrap > div {
        flex-basis: calc(25% - 3.75rem);
        width: calc(25% - 3.75rem);
        margin: 0 1.375rem 3rem;
    }
}

.contact-persons-wrap .coworker-image img {
    aspect-ratio: 1 / 1;
    object-position: top;
}

.four-o-four-box {
    margin: 0 auto;
    max-width: 800px;
    padding: clamp(1.5rem, 0.857rem + 2.857vw, 3rem);
}

.four-o-four-box h1 {
    font-size: clamp(4rem, 3.143rem + 3.81vw, 6rem); /* 360-1200 */
    margin-bottom: 0.125em;
}

.four-o-four-box p {
    margin-bottom: 1rem;
    font-size: clamp(1.25rem, 1.036rem + 0.952vw, 1.75rem);
}

.four-o-four-box p:has(+ a.btn) {
    margin-bottom: 1em;
}