a.button:hover{
    background-color: var(--oceanBlue);
    color: var(--white)
}

nav {
    .container .main-menu-container > ul > li:hover > a {
        color: var(--cheeseYellow);
    }
}
.market-carousel {
    .container {
        > ol {
            > li:not(.focussed) {
                > figure:hover {
                    >img {
                        transform: scale(1.2);
                    }
                    &::before {
                        background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
                    }

                    > figcaption {
                        bottom: 0;
                        top: auto;
                        transform: translate(0, 0);
                    }

                    > figcaption::after {
                        border-bottom: 2px solid transparent;
                    }
                }
            }
        }
    }
}

.products, .products-grey-bg {
    .container ul li:hover {
        transition: 0.1s;
        background-color: var(--cheeseYellow);
        > a.button {
            background-color: var(--marineBlue);
            color: white;
        }
        > h3 {
            background-color: var(--marineBlue);
        }
        > p {
            color: black;
        }
        > div img {
            transition: 0.5s;
            transform: scale(1.2);
        }
    }
}


.scrollbar-with-hover-content {
    > ul {
        > li:hover {
            > figure {
                &::after {
                    background: var(--cheeseYellow);
                    transition: transform 0.5s;
                }
                > figcaption {
                    transform: translate(-50%, -40%);
                    & p {
                        color: var(--marineBlue);
                    }
                    > span {
                        opacity: 1;
                        visibility: visible;
                    }
                }
            }
            &::before {
                color: var(--cheeseYellow);
                background-color: var(--marineBlue);
            }
        }
    }
}

.news {
    .container {
        > ul > li:not(:first-child) > article > .news-text:hover {
            background-image: 
                linear-gradient(rgba(13, 17, 52, 0.7), rgba(13, 17, 52, 0.7)),
                var(--hover-bg);
            background-size: cover;
            background-position: center;
            > p, > h4 {
                color: white;
            }
            > p {
                transform: translateY(-1rem);
            }
        }
    }
}

.news-product-detail {
    .container {
        > div > a.button:hover {
            background-color: var(--oceanBlue);
        }
        > ul > li > article > img:hover {
            transform: scale(1);
        }
    }
}

.parts-carousel {
    #background-style {
        #components {
            .parts {
                .part:hover {
                    > h4 {
                        color: transparent;
                        background-color: transparent;
                    }
                    > h4::before {
                        transform: translateX(0);
                    }
                    >figure > img {
                        scale: 1.2;
                    }
                }
            }
        }
    }
}

.vertical-stack-with-nav {
    .why-us-navigation {
        > a:hover {
            background-size: 120%;
        }
    }
}

.why-us-2-navigation-bar {
    > a:hover {
        background-size: 120%;
    }
}

.settlements {
    .nav-absolute-parent {
       #locations {
           > div {
               .row:last-of-type {
                   > a.button:last-of-type:hover {
                       border: 2px solid var(--oceanBlue);
                   }
               }
           }
       }
    }
}

.our-values {
    .container {
        > ul {
            > li:hover {
                > h4 {
                    color: transparent;
                }
                > h4::before {
                    transform: scale(1);
                    background-color: var(--marineBlue);
                    color: var(--white);
                }
                > svg {
                    scale: 1.2;
                }
                #trust {
                    .st0 {
                        fill: var(--marineBlue);
                    }
                    .st1 {
                        fill: var(--cheeseYellow);
                    }
                }
                #embracing-diversity {
                    .st2 {
                        fill: var(--cheeseYellow);
                    }
                    .st1 {
                        fill: var(--marineBlue);
                    }
                    & circle {
                        stroke: var(--marineBlue);
                    }
                }
                #passion-to-exceed {
                    .st0 {
                        stroke: var(--cheeseYellow);
                    }

                    .st1 {
                        stroke: var(--marineBlue);
                        fill: none;
                    }

                    .st2 {
                        stroke: var(--cheeseYellow);
                        fill: none;
                    }

                    .st3 {
                        fill: var(--marineBlue);
                    }

                    .st4 {
                        fill: var(--marineBlue);
                    }

                    .st5 {
                        fill: var(--cheeseYellow);
                    }

                    .st6 {
                        fill: var(--cheeseYellow);
                    }
                }
                #winning-with-us {
                    .st0 {
                        stroke: var(--marineBlue);
                        fill: none;
                    }

                    .st1 {
                        stroke: var(--cheeseYellow);
                        fill: none;
                    }

                    .st2 {
                        fill: var(--marineBlue);
                    }

                    .st3 {
                        fill: var(--marineBlue);
                    }

                    .st4 {
                        fill: var(--cheeseYellow);
                    }

                    .st5 {
                        fill: var(--cheeseYellow);
                    }
                }
            }
        }
    }
}

.news-overview {
    .container {
        > ul {
            > li:hover {
                > img {
                    scale: 1;
                }
            }
        }
    }
}

.contact-form {
    .container{
        .wpcf7 form {
            .custom-select {
                .options {
                    > li {
                        &:hover {
                            background-color: var(--cheeseYellow);
                        }
                    }
                }
            }
        }
    }
}

.contact-form-contact-page {
    .container{
        .wpcf7 form {
            .custom-select {
                .options {
                    > li {
                        &:hover {
                            background-color: var(--cheeseYellow);
                        }
                    }
                }
            }
        }
    }
}

.downloads {
    .container {
        > ul:first-of-type {
            > li:hover {
                > a.button {
                    color: var(--white);
                    background-color: var(--oceanBlue);
                    border: 1px var(--oceanBlue) solid;
                    border-radius: 0;
                }
            }
        }
    }
}

.video-summary {
    .container {
        > ul {
            > li:hover {
                background-color: var(--marineBlue);
                border-color: var(--cheeseYellow);
                > p {
                    color: var(--white);
                    transform: translateY(-1rem);
                }
            }
            > li:hover::before {
                opacity: 1;
            }
        }
    }
}

.info-overview {
    .container {
        > ul {
            > li:hover {
                > div {
                    > a.button {
                        color: var(--white);
                        background-color: var(--marineBlue);
                    }
                }
                > img {
                    scale: 1;
                }
            }
        }
    }
}

.why-us-global {
    .container {
        > div {
            > ul {
                > li {
                    > ul {
                        > li:hover {
                            > img {
                                scale: 1;
                            }
                        }
                    }
                }
            }
        }
    }
}

.why-us-image.in-view {
    .container {
        clip-path: inset(0 0 0 0);
    }
}
.why-us-image.in-view::before {
    z-index: 2;
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--oceanBlue), var(--marineBlue));
    opacity: 0.5;
    transform: translateY(0);
}

.title-with-videos {
    .container {
        > ul {
            > li {
                > figure {
                    &::before {
                        pointer-events: none;
                    }
                }
                &:hover {
                    > figure {
                        > figcaption {
                            opacity: 0;
                            pointer-events: none;
                        }
                        &::before {
                            opacity: 0;
                            pointer-events: none;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 80rem) {
    .header-side-image::before,
    .market-header-slide::before {
        opacity: 0.5;
    }

    .settlements {
        .nav-absolute-parent {
            width: 90%;
        }
        .map-container {
            width: 90%;
        }
    }
}

@media (max-width: 45rem) {
    html, body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
    }


    section.scrollbar-with-hover-content {
        > ul {
            overflow: auto !important;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
            > li {
                scroll-snap-align: start;
                flex: 0 0 80vw;
                min-width: 0;
            }
        }
        .navigation {
            display: none;
        }
    }

    .settlements .nav-absolute-parent #locations > div .row > h3 {
        font-size: 1.2rem;
    }

    .why-us-global {
        .container {
            > div {
                > p:first-of-type {
                    width: 80%;
                }
            }
        }
    }
    .why-us-image {
        .container {
            > div {
                > p {
                    width: 80%;
                    margin-left: auto;
                    margin-right: auto;
                }
            }
        }
    }
    .header-homepage {
        transform: translateY(-10rem);
        margin-bottom: -10rem;
        .container {
            margin-top: 11rem;
        }
    }
    .header-with-extra-title {
        transform: translateY(-10rem);
        margin-bottom: -10rem;
        .container {
            margin-top: 11rem;
            * {
                max-width: 90%;
            }
            > h3 {
                padding-top: 2rem;
            }
        }
    }

    .header-side-image {
        transform: translateY(-10rem);
        margin-bottom: -10rem;
        .container {
            padding-top: 12rem;
            > * {
                margin-right: auto;
                margin-left: auto;
            }
        }
    }
    .header-side-image::before {
        background-position: calc(100% + 10rem) center;
    }
    .market-header-carousel .header-side-image {
        transform: translateY(-10rem);
        margin-bottom: -10rem;
    }
    .market-header-slide .container {
        padding-top: 12rem;
        > * {
            margin-right: auto;
            margin-left: auto;
        }
    }
    .market-header-slide::before {
        background-position: calc(100% + 10rem) center;
        opacity: 0.3 !important;
    }

    .banner-with-media-and-yellow-bg-subtitle {
        .container {
            > * {
                margin-right: auto;
                margin-left: auto;
                max-width: 90%;
            }
            > h4 {
                margin-left: 5%;
            }
        }
    }

    .contact-form-contact-page {
        padding-top: 3rem;
    }

    .news-product-detail {
        .container {
            > p {width: 100%}
        }
    }
    .parts-carousel {
        #background-style {
            #components {
                padding-top: 2rem;
                .parts {
                    padding-bottom: 0;
                    justify-content: center;
                    .part {
                        width: 10rem;
                    }
                }
            }
        }
        .slick-nav {
            height: 5rem;
        }
    }
    .header-news-details {

        .container {

            > h1 {
                width: 90%;
                text-align: center;
            }
        }
    }
    .extra-info {
        .container {
            .flex-container {
                width: 80%;
            }
        }
    }

    .header-inside-igw {
        .container {
            width: 90%;
        }
    }

    .news-overview {
        transform: translateY(-10rem);
        margin-bottom: -10rem;
        .container {
            padding-top: 10rem;
            .featured-news {
                > img {
                    width: 100%;
                }
            }
        }
    }

    .downloads {
        .container {
            width: 90%;
        }
    }

    .title-with-description-and-button {
        .container {
            width: 90%;
        }
    }

    .why-us-standard {
        .container {
            > p {
                width: 80%;
            }
        }
    }

    .why-us-yellow {
        .container {
            width: 90%;
            > div {
                > p {
                    width: 100%;
                }
            }
        }
    }

    .news {
        .container {
            > p {
                width: 90%;
                margin-left: auto;
                margin-right: auto;
            }
            > ul {
                grid-template-columns: 1fr;
                grid-template-rows: auto;
                > li:first-child {
                    grid-row: auto;
                }
            }
            > ul > li:not(:first-child) > article > .news-text {
                background-image:
                    linear-gradient(rgba(13, 17, 52, 0.7), rgba(13, 17, 52, 0.7)),
                    var(--hover-bg);
                background-size: cover;
                background-position: center;
                > p, > h4 {
                    color: white;
                }
                > p {
                    transform: translateY(-1rem);
                }
            }
        }
    }
}


@media (max-width: 64rem) {
    .header-homepage{
        background: var(--marineBlue);
        transform: translateY(-5rem);
        margin-bottom: -5rem;
        > .container {
            margin-top: 5rem;
            >h1 {
                padding-top: 2.5rem;
                font-size: 3rem;
            }
            > * {
                z-index: 1;
                margin-left: auto;
                margin-right: auto;
                display: block;
                text-align: center;
            }
        }
    }

    .header-with-extra-title{
        background: var(--marineBlue);
        transform: translateY(-5rem);
        margin-bottom: -5rem;
        > .container {
            margin-top: 0rem;
            > h1 {
                font-size: 3rem;
            }
            > * {
                max-width: 80%;
                z-index: 1;
                margin-left: auto;
                margin-right: auto;
                display: block;
                text-align: center;
            }
        }
    }
    .banner-with-media-and-yellow-bg-subtitle {
        .container {
            padding-top: 0;
        }
    }

    .scrollbar-with-hover-content > ul > li {
        > figure {
            &::after {
                background: var(--cheeseYellow);
                transition: transform 0.5s;
            }
            & p {
                color: var(--marineBlue);
            }
            > figcaption {
                transform: translate(-50%, -35%);
                > span {
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }

    .header-side-image::before {
        background-position: calc(100% + 15rem) center, center;
    }
    .market-header-slide::before {
        background-position: calc(100% + 15rem) center, center;
    }

    .market-carousel {
        > .container {
            .nav-container {
                transform: none;
            }
            > ol {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scroll-snap-type: x mandatory;
                > li {
                    scroll-snap-align: center;
                    flex-shrink: 0;
                }
            }
        }
    }

    .news-product-detail {
        .container {
            > p {width: 100%}
        }
    }

    .header-downloads {
        > h1 {
            font-size: 3rem;
        }
    }

    .downloads {
        .container {
            width: unset;
            margin: unset;
            padding: unset;
            > ul.topic-content {
                margin: 0;
                width: 100%;
            }
            > ul.topic-content > li > a.button {
                font-size: 0;
                padding: 0.5rem;
                min-width: 2.5rem;
                min-height: 2.5rem;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            > ul.topic-content > li > a.button::before {
                content: "";
                display: block;
                width: 1.2rem;
                height: 1.2rem;
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1134' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
                background-size: contain;
                background-repeat: no-repeat;
            }
        }
    }

    footer {
        padding-bottom: 2rem;
        .container {
            margin: 0 auto;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            width: 100%;
            text-align: center;
            padding-top: 3rem;

            .not-on-small-display {
                display: none;
            }

            .not-on-small-display .show-on-mobile {
                display: block !important;
            }

            .not-on-small-display:has(.show-on-mobile) {
                display: flex !important;
            }

            .not-on-small-display:has(.show-on-mobile) > *:not(.show-on-mobile) {
                display: none;
            }

            .footer-column {
                min-height: 0;
                height: auto;
                width: 100%;
                margin-bottom: 0;
                align-items: center; /* Center content in each column */
                max-width: 100%;
                flex: none;

                & h5 {
                    margin-bottom: 1.25rem;
                    font-size: 1.2rem;
                }

                & p {
                    margin-bottom: 1rem;
                }

                > a > img {
                    height: 3.5rem; /* Larger logo on mobile */
                    margin: 0 auto 1.5rem;
                }

                .column-section {
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                }
            }

            /* First column often contains the logo and description */
            .footer-column:first-of-type {

                padding-bottom: 2rem;
                margin-bottom: 1rem;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }

            /* Last column often contains copyright/social */
            .footer-column:last-of-type {
                margin-top: 1rem;

                padding-top: 2rem;
                margin-bottom: 0;
            }

            /* Adjust buttons for mobile */
            a.button {
                width: 100%;
                max-width: 15rem;
                margin: 0.5rem auto !important;
            }
        }
    }
}

/* =============================================
   BMT Group - Responsive
   ============================================= */

@media (max-width: 64rem) {
    .bmt-group {
        padding: 3.25rem 0;
    }

    .bmt-group .container {
        width: unset;
        margin: unset;
        padding: unset;
    }

    .member-box .overlay-member {
        display: block;
    }

    .member-box .logo-member {
        transform: translateY(0);
        opacity: 1;
    }

    .member-box .s2-btn {
        transform: translateY(0);
        opacity: 1;
    }

    .member-box {
        width: calc(50% - 0.5px);
    }

    .list-members {
        flex-wrap: wrap;
    }

    .member-box .s2-btn {
        padding: 0.525rem 1rem;
    }
}

@media (max-width: 45rem) {
    .member-box {
        width: 100%;
    }

    .member-box .main-img {
        height: 200px;
    }
}