/* [our_partners_banner] — match design: white title underline + full-width logos */

.df-our-partners-banner {
    --df-partners-banner-bg: #3b3b3b;
    width: 100%;
    padding: 190px 0;
    color: #fff;
    background: var(--df-partners-banner-bg);
    overflow: hidden
}

.elementor-widget:has(.df-our-partners-banner),
.elementor-widget-shortcode:has(.df-our-partners-banner),
.elementor-element:has(.df-our-partners-banner) {
    width: 100%;
    max-width: none
}

.df-our-partners-banner__head {
    display: flex;
    justify-content: center;
    margin-bottom: 90px;
    text-align: center
}

.df-our-partners-banner__heading {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 14px;
    font-family: var(--df-font-heading);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: #fff
}

/*
 * Title underline — same geometry as df-cta-visit-more hover:
 * short left dash + gap + line spanning the rest of the title.
 * White, steady (no hover animation).
 */
.df-our-partners-banner__heading::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3px;
    height: 2px;
    background: #fff;
    border-radius: 1px
}

.df-our-partners-banner__heading::after {
    content: "";
    position: absolute;
    left: 5px;
    bottom: 0;
    width: calc(100% - 5px);
    height: 2px;
    background: #fff;
    border-radius: 1px
}

/* Full-bleed horizontal track */
.df-our-partners-banner__carousel {
    width: 100%;
    margin: 0;
    overflow: hidden
}

.df-our-partners-banner__carousel .swiper-wrapper {
    transition-timing-function: linear !important;
    align-items: center
}

.df-our-partners-banner__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 56px
}

.df-our-partners-banner__logo {
    display: block;
    width: auto;
    max-width: 160px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
    object-position: center;
    filter: brightness(0) invert(1);
    user-select: none;
    pointer-events: none
}

@media (max-width: 899px) {
    .df-our-partners-banner {
        padding-top: 64px;
        padding-bottom: 64px
    }

    .df-our-partners-banner__head {
        margin-bottom: 48px
    }

    .df-our-partners-banner__slide {
        height: 48px
    }

    .df-our-partners-banner__logo {
        max-width: 120px;
        max-height: 40px
    }
}

@media (prefers-reduced-motion: reduce) {
    .df-our-partners-banner__carousel .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 48px 72px;
        padding-inline: 24px;
        transform: none !important
    }

    .df-our-partners-banner__slide {
        height: auto
    }
}
