/* Figma Desktop 77 (1:163) / Mobile (1:183) — Other Services slider */

.df-service-other-services {
    background: var(--df-black);
    color: var(--df-white);
    overflow-x: clip;
    padding: clamp(85px, 12.585vw, 185px) 0px 0px 0px;
    position: relative;
}

.df-service-other-services__header {
    align-items: flex-start;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1164px;
}

.df-service-other-services__title {
    color: var(--df-white);
    font-family: var(--df-font-heading);
    font-size: 48px;
    font-weight: 300;
    line-height: normal;
    margin: 0;
}

.df-service-other-services__arrows {
    flex-shrink: 0;
    gap: 3px;
    margin-top: 8px;
}

.df-service-other-services__arrows button {
    cursor: pointer;
}

.df-service-other-services__slider-outer {
    margin-left: max(15px, calc((100% - 1164px) / 2));
    margin-top: 50px;
    max-width: 100%;
    overflow: hidden;
    padding-right: 0;
    width: calc(100% - max(15px, calc((100% - 1164px) / 2)));
}

.df-service-other-services__slider {
    column-gap: 38px;
}

/* Before Owl (and without JS): a plain scrolling row. */
.df-service-other-services__slider:not(.owl-carousel) {
    align-items: stretch;
    display: flex;
    overflow-x: auto;
}

.df-service-other-services__card {
    box-sizing: border-box;
    color: inherit;
    display: flex;
    flex: 0 0 360px;
    flex-direction: column;
    text-decoration: none;
    width: 360px;
}

/*
 * Owl Carousel (owlStagePadding — js/df-owl-stage-padding.js).
 * The gap between cards is column-gap on the slider: Owl reads it as its
 * `margin`. Card widths are the source for stagePadding. A flex stage gives
 * every card the height of the tallest one.
 */
.df-service-other-services__slider.owl-carousel .owl-stage {
    display: flex;
    /* Owl writes stagePadding inline on .owl-stage; beating an inline style is the one case where !important is unavoidable. */
    padding-left: 0 !important;
}

.df-service-other-services__slider.owl-carousel .owl-stage::after {
    content: none;
}

.df-service-other-services__slider.owl-carousel .owl-item {
    flex-shrink: 0;
}

.df-service-other-services__slider.owl-carousel .df-service-other-services__card {
    height: 100%;
}

/* Owl sizes every slide image to 100%; the service icon keeps its own size. */
.df-service-other-services__slider.owl-carousel .owl-item .df-service-other-services__icon {
    display: inline;
    width: auto;
}

.df-service-other-services__card-inner {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-height: 463px;
    padding: 52px;
    position: relative;
    width: 100%;
}

.df-service-other-services__card-inner::before {
    background: repeating-linear-gradient(90deg, #585858 0 7px, transparent 7px 14px) top / 100% 1px no-repeat,
        repeating-linear-gradient(90deg, #585858 0 7px, transparent 7px 14px) bottom / 100% 1px no-repeat,
        repeating-linear-gradient(0deg, #585858 0 7px, transparent 7px 14px) left / 1px 100% no-repeat,
        repeating-linear-gradient(0deg, #585858 0 7px, transparent 7px 14px) right / 1px 100% no-repeat;
    content: "";
    height: 100%;
    inset: 0;
    pointer-events: none;
    position: absolute;
    transition: background 0.3s ease-in-out;
    width: 100%;
}

.df-service-other-services__card:hover .df-service-other-services__card-inner::before,
.df-service-other-services__card:focus-visible .df-service-other-services__card-inner::before {
    background: repeating-linear-gradient(90deg, #2df0d7 0 7px, transparent 7px 14px) top / 100% 1px no-repeat,
        repeating-linear-gradient(90deg, #2df0d7 0 7px, transparent 7px 14px) bottom / 100% 1px no-repeat,
        repeating-linear-gradient(0deg, #2df0d7 0 7px, transparent 7px 14px) left / 1px 100% no-repeat,
        repeating-linear-gradient(0deg, #2df0d7 0 7px, transparent 7px 14px) right / 1px 100% no-repeat;
}

.df-service-other-services__icon-wrap {
    height: 45px;
    margin-bottom: 40px;
    width: 62px;
}

.df-service-other-services__icon {
    height: auto;
    max-height: 45px;
    max-width: 62px;
    object-fit: contain;
    width: auto;
}

.df-service-other-services__card-title {
    color: var(--df-white);
    font-family: var(--df-font-body);
    font-size: 24px;
    font-weight: 300;
    line-height: normal;
    margin: 0 0 29px;
}

.df-service-other-services__list {
    color: var(--df-muted);
    font-family: var(--df-font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.df-service-other-services__list li {
    color: #a6a6a6;
}

.df-service-other-services__list li+li {
    margin-top: 18px;
}

@media (max-width: 1350px) and (min-width: 768px) {
    .df-service-other-services__slider-outer {
        container-type: inline-size;
    }

    .df-service-other-services__card {
        flex: 0 0 calc((100cqw - 76px) / 2.5);
        width: calc((100cqw - 76px) / 2.5);
    }
}

@media (max-width: 767px) {


    .df-service-other-services__header {
        align-items: flex-start;
        flex-direction: column;
        max-width: 100%;
    }

    .df-service-other-services__title {
        font-size: 28px;
    }

    .df-service-other-services__arrows {
        margin-top: 0;
    }

    .df-service-other-services__slider-outer {
        margin-left: 15px;
        margin-top: 31px;
        width: calc(100% - 15px);
    }

    .df-service-other-services__slider {
        column-gap: 16px;
    }

    .df-service-other-services__card {
        flex-basis: 76.154vw;
        width: 76.154vw;
    }

    .df-service-other-services__card-inner {
        min-height: 382px;
        padding: 45px;
    }

    .df-service-other-services__icon-wrap {
        height: 38px;
        margin-bottom: 30px;
        width: 50px;
    }

    .df-service-other-services__icon {
        max-height: 38px;
        max-width: 50px;
    }

    .df-service-other-services__arrows {
        display: none !important;
    }
}