/*
 * Reusable mobile-only client/news article slider.
 * The old Owl stock-slider styles remain in home.css until Owl is removed from Home.
 */
.client-news-article {
    display: none;
}

@media (max-width: 767px) {
    .client-news-article {
        display: block;
        position: relative;
        padding: 28px 0 38px;
    }

    .client-news-article__eyebrow {
        margin: 0;
        color: rgba(0, 0, 0, 0.3);
        font-family: Roboto, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        letter-spacing: 1px;
        line-height: normal;
        text-align: center;
        text-transform: uppercase;
    }

    .client-news-article__title {
        position: relative;
        max-width: 263px;
        margin: 0 auto;
        padding-top: 15px;
        padding-bottom: 28px;
        color: #2fb463;
        font-family: Montserrat, sans-serif;
        font-size: 22px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-align: center;
    }

    .client-news-article__title::before {
        position: absolute;
        right: 0;
        bottom: 12px;
        width: 100px;
        height: 15px;
        content: '';
        background-image: url('../../../main_pages/images/lahr.webp');
        background-position: right;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .client-news-article__inner {
        max-width: 400px;
        margin: auto;
    }

    .client-news-article__slider {
        position: relative;
    }

    .client-news-article__slide picture,
    .client-news-article__slide img {
        display: block;
        width: 100%;
        height: auto;
    }

    .client-news-article__dots {
        position: absolute;
        right: 0;
        bottom: -20px;
        left: 0;
        display: flex;
        justify-content: center;
    }

    .client-news-article__dots button {
        width: 8px;
        height: 8px;
        margin-right: 8px;
        padding: 0;
        border: 0;
        border-radius: 5px;
        background: rgba(120, 80, 80, 0.12);
        color: transparent;
        font-size: 0;
        transition: width 0.6s ease-in-out, background-color 0.6s ease-in-out;
    }

    .client-news-article__dots button.active {
        width: 68px;
        background: #2ebc51;
    }
}

@media (max-width: 399px) {
    .client-news-article__title {
        max-width: 200px;
    }
}
