/* ARMANIPLAST-PASS-043 — customer slider FOUC + footer overlap. Do not change 41px nav height. */

.customers-slider-section {
    overflow: hidden;
    isolation: isolate;
    padding-bottom: 1.25rem;
}
.customers-slider-section .section-content {
    overflow: hidden;
}

/* Before Owl wraps slides, keep a single horizontal row instead of stacked .item blocks. */
.customers-slider-section #companies:not(.owl-loaded) {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    overflow: hidden;
    min-height: 120px;
    max-height: 132px;
    height: 124px;
}
.customers-slider-section #companies:not(.owl-loaded) .item {
    flex: 0 0 16.666%;
    max-width: 16.666%;
    min-height: 0 !important;
    padding: 0.5rem 0.4rem !important;
}
@media (max-width: 1279.98px) {
    .customers-slider-section #companies:not(.owl-loaded) .item {
        flex-basis: 20%;
        max-width: 20%;
    }
}
@media (max-width: 990.98px) {
    .customers-slider-section #companies:not(.owl-loaded) .item {
        flex-basis: 25%;
        max-width: 25%;
    }
}
@media (max-width: 574.98px) {
    .customers-slider-section #companies:not(.owl-loaded) .item {
        flex-basis: 50%;
        max-width: 50%;
    }
}

.customers-slider-section #companies.owl-loaded,
.customers-slider-section #companies.owl-loaded .owl-stage-outer,
.customers-slider-section #companies.owl-loaded .owl-stage {
    overflow: hidden;
}

.customers-slider-section #companies .item,
.customers-slider-section #companies .owl-item {
    min-height: 0 !important;
}
.customers-slider-section #companies .item a,
main.main #companies .item a {
    min-height: 100px !important;
    height: 100px;
}

/* Dots occupy in-flow space so they cannot paint across the footer / back-top. */
.customers-slider-section .section-content .owl-carousel .owl-dots {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    margin-top: 0.35rem;
    z-index: 1;
    pointer-events: auto;
}

.customers-slider-section .section-title.has-line::before,
.customers-slider-section .section-title.has-line::after {
    max-width: 42%;
    pointer-events: none;
}
