
/* ========================================
   Imdex Clients Carousel
======================================== */

.imdex-clients {
    width: 100%;
    padding: 90px 32px;
    background: #FFFFFF;
    box-sizing: border-box;
}

.imdex-clients *,
.imdex-clients *::before,
.imdex-clients *::after {
    box-sizing: border-box;
}

.imdex-clients__inner {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
}

.imdex-clients__heading {
    margin: 0 0 64px;
    color: #ED5437;
    font-family: Eurostile, sans-serif;
    font-size: 69px;
    font-weight: 900;
    line-height: 57px;
    letter-spacing: 0;
    text-align: center;
}

.imdex-clients__slider-wrap {
    position: relative;
    padding: 0 44px;
}

.imdex-clients__slider {
    width: 100%;
}

.imdex-clients__slide {
    padding: 0 16px;
}

.imdex-clients__logo {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
}

.imdex-clients__logo img {
    display: block;
    width: 100%;
    max-width: 247px;
    height: 110px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.imdex-clients__logo img:hover {
    filter: grayscale(0%);
}


/* Arrow controls use the supplied triangular SVG shape */

.imdex-clients__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 29px;
    height: 60px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.imdex-clients__arrow span {
    display: block;
    width: 29px;
    height: 60px;
    background: #ED5437;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.imdex-clients__arrow--prev {
    left: 0;
}

.imdex-clients__arrow--prev span {
    transform: rotate(180deg);
}

.imdex-clients__arrow--next {
    right: 0;
}

.imdex-clients__arrow:hover span {
    background: #CF4027;
}

.imdex-clients__arrow:focus-visible {
    outline: 2px solid #063857;
    outline-offset: 4px;
}

/* Slick layout */

.imdex-clients .slick-list {
    overflow: hidden;
}

.imdex-clients .slick-track {
    display: flex;
    align-items: center;
}

.imdex-clients .slick-slide {
    height: auto;
}

.imdex-clients .slick-slide > div {
    height: 100%;
}

@media (max-width: 1100px) {
    .imdex-clients {
        padding: 72px 28px;
    }

    .imdex-clients__heading {
        margin-bottom: 44px;
        font-size: clamp(42px, 6vw, 60px);
        line-height: 1.05;
    }

    .imdex-clients__slide {
        padding: 0 10px;
    }

    .imdex-clients__slider-wrap {
        padding: 0 36px;
    }
}

@media (max-width: 700px) {
    .imdex-clients {
        padding: 48px 20px;
    }

    .imdex-clients__heading {
        margin-bottom: 32px;
        font-size: clamp(36px, 9vw, 48px);
        line-height: 1.1;
    }

    .imdex-clients__slider-wrap {
        padding: 0 28px;
    }

    .imdex-clients__slide {
        padding: 0 8px;
    }

    .imdex-clients__logo {
        height: 125px;
    }

    .imdex-clients__logo img {
        height: 90px;
    }

    .imdex-clients__arrow,
    .imdex-clients__arrow span {
        width: 20px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .imdex-clients * {
        scroll-behavior: auto;
    }
}
