.divi-custom-auto-posts-slider {
    padding-top: 28px;
}

.divi-custom-auto-posts-slider .auto-posts-slider {
    height: 230px;
    padding: 24px;
    position: relative;
    display: flex;
    font-family: "Work Sans";
}

.divi-custom-auto-posts-slider .auto-posts-slider:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.60) 32.83%, rgba(0, 0, 0, 0.00) 91.74%);
}

.divi-custom-auto-posts-slider .auto-posts-slider .auto-posts-slider-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.divi-custom-auto-posts-slider .auto-posts-slider .auto-posts-slider-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.divi-custom-auto-posts-slider .auto-posts-slider .auto-posts-slider-wrap {
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.divi-custom-auto-posts-slider .auto-posts-slider .auto-posts-slider-title {
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    color: #ffffff;
}

.divi-custom-auto-posts-slider .cards-1 .auto-posts-slider .auto-posts-slider-title {
    font-size: 6vw !important;
}

.divi-custom-auto-posts-slider .cards-2 .auto-posts-slider .auto-posts-slider-title {
    font-size: 5vw !important;
}

.divi-custom-auto-posts-slider .auto-posts-slider .auto-posts-slider-meta {
    font-size: 16px;
}

.divi-custom-auto-posts-slider .auto-posts-slider .auto-posts-slider-meta,
.divi-custom-auto-posts-slider .auto-posts-slider .auto-posts-slider-date,
.divi-custom-auto-posts-slider .auto-posts-slider .auto-posts-slider-category {
    color: #ffffff;
    font-family: "Work Sans";
    font-size: inherit;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin: 0;
}

.divi-custom-auto-posts-slider .cards-1 .auto-posts-slider {
    height: 468px;
}

.divi-custom-auto-posts-slider .cards-2 .auto-posts-slider:first-of-type {
    margin-bottom: 16px;
}

.divi-custom-auto-posts-slider .cards-1,
.divi-custom-auto-posts-slider .cards-2 {
    padding: 0 4px;
}

.divi-custom-auto-posts-slider .slick-prev,
.divi-custom-auto-posts-slider .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: 0;
    background: none;
}

.divi-custom-auto-posts-slider .slick-prev {
    right: calc(2 * 30px + (30px - 30px) + 0px);
    left: auto;
    top: 0;
}

.divi-custom-auto-posts-slider .slick-next {
    right: calc(30px + (((30px - 30px) / 2) * 2) + 0px);
    top: 0;
}

.divi-custom-auto-posts-slider .slick-prev:before {
    font-family: ETmodules !important;
    font-weight: 400;
    content: '#' !important;
    position: absolute;
    right: 0;
    transform: translate(0, -50%);
}

.divi-custom-auto-posts-slider .slick-next:before {
    font-family: ETmodules !important;
    font-weight: 400;
    content: '$' !important;
    position: absolute;
    left: 0;
    transform: translate(0, -50%);
}

.divi-custom-auto-posts-slider .slick-prev:before,
.divi-custom-auto-posts-slider .slick-next:before {
    font-size: 30px;
    color: #000000;
    background: RGBA(255, 255, 255, 0);
    padding: 10px 10px 10px 10px;
    border-radius: 0 0 0 0;
}

@media only screen and (min-width: 576px) {
    .divi-custom-auto-posts-slider .cards-1 .auto-posts-slider .auto-posts-slider-title {
        font-size: 4.5vw !important;
    }

    .divi-custom-auto-posts-slider .cards-2 .auto-posts-slider .auto-posts-slider-title {
        font-size: 3vw !important;
    }

    .divi-custom-auto-posts-slider .cards-2 .auto-posts-slider:first-of-type {
        margin-bottom: 16px;
    }

    .divi-custom-auto-posts-slider .cards-1,
    .divi-custom-auto-posts-slider .cards-2 {
        padding: 0 8px;
    }

    .divi-custom-auto-posts-slider .cards-1 .auto-posts-slider {
        height: 476px;
    }
}

@media only screen and (min-width: 768px) {
    .divi-custom-auto-posts-slider .cards-1 .auto-posts-slider .auto-posts-slider-title {
        font-size: 20px !important;
    }

    .divi-custom-auto-posts-slider .cards-2 .auto-posts-slider .auto-posts-slider-title {
        font-size: 17px !important;
    }

    .divi-custom-auto-posts-slider .cards-1 .auto-posts-slider .auto-posts-slider-meta {
        font-size: 14px;
    }

    .divi-custom-auto-posts-slider .cards-2 .auto-posts-slider .auto-posts-slider-meta {
        font-size: 13px;
    }

    .divi-custom-auto-posts-slider {
        padding-top: 48px;
    }
}

@media only screen and (min-width: 1024px) {
    .divi-custom-auto-posts-slider .cards-1 .auto-posts-slider .auto-posts-slider-title {
        font-size: 18px !important;
    }

    .divi-custom-auto-posts-slider .cards-2 .auto-posts-slider .auto-posts-slider-title {
        font-size: 16px !important;
    }

    .divi-custom-auto-posts-slider .cards-1 .auto-posts-slider .auto-posts-slider-meta {
        font-size: 14px;
    }

    .divi-custom-auto-posts-slider .cards-2 .auto-posts-slider .auto-posts-slider-meta {
        font-size: 13px;
    }
}

@media only screen and (min-width: 1200px) {
    .divi-custom-auto-posts-slider .cards-1 .auto-posts-slider .auto-posts-slider-title {
        font-size: 21px !important;
    }

    .divi-custom-auto-posts-slider .cards-2 .auto-posts-slider .auto-posts-slider-title {
        font-size: 18px !important;
    }

    .divi-custom-auto-posts-slider .cards-1 .auto-posts-slider .auto-posts-slider-meta {
        font-size: 15px;
    }

    .divi-custom-auto-posts-slider .cards-2 .auto-posts-slider .auto-posts-slider-meta {
        font-size: 14px;
    }
}

@media only screen and (min-width: 1366px) {
    .divi-custom-auto-posts-slider .cards-2 .auto-posts-slider .auto-posts-slider-title {
        font-size: 21px !important;
    }

    .divi-custom-auto-posts-slider .cards-1 .auto-posts-slider .auto-posts-slider-meta,
    .divi-custom-auto-posts-slider .cards-2 .auto-posts-slider .auto-posts-slider-meta {
        font-size: 16px;
    }
}

/* Styles for unslicked view */
.divi-custom-auto-posts-slider.is-unslicked-state {
    display: block;
    padding-top: 0;
}

.divi-custom-auto-posts-slider.is-unslicked-state .cards-1,
.divi-custom-auto-posts-slider.is-unslicked-state .cards-2 {
    display: block;
    padding: 0;
    margin: 0;
    height: auto;
}

.divi-custom-auto-posts-slider.is-unslicked-state .auto-posts-slider {
    display: flex;
    flex-direction: column;
    padding: 16px !important;
    /* Ensures 16px left and bottom */
    height: 230px;
    width: 100%;
    margin-bottom: 16px;
}

/* Remove margin-bottom from the very last visible post */
.divi-custom-auto-posts-slider.is-unslicked-state .cards-2:nth-of-type(2) .auto-posts-slider:last-child {
    margin-bottom: 0;
}

/* A safer fallback to target the last rendered element if groups vary */
.divi-custom-auto-posts-slider.is-unslicked-state div[class*="cards-"]:last-of-type .auto-posts-slider:last-child {
    margin-bottom: 0;
}

.divi-custom-auto-posts-slider.is-unslicked-state .cards-1 .auto-posts-slider-title,
.divi-custom-auto-posts-slider.is-unslicked-state .cards-2 .auto-posts-slider-title,
.divi-custom-auto-posts-slider.is-unslicked-state .auto-posts-slider-title {
    font-size: 18px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}

.divi-custom-auto-posts-slider.is-unslicked-state .cards-1 .auto-posts-slider-meta,
.divi-custom-auto-posts-slider.is-unslicked-state .cards-2 .auto-posts-slider-meta,
.divi-custom-auto-posts-slider.is-unslicked-state .auto-posts-slider-meta,
.divi-custom-auto-posts-slider.is-unslicked-state .auto-posts-slider-category,
.divi-custom-auto-posts-slider.is-unslicked-state .auto-posts-slider-date {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

/* Hide posts beyond the mobile limit when not initialized */
.divi-custom-auto-posts-slider.is-unslicked-state .disabled-hidden {
    display: none;
}

/* Hide any leftover groups to enforce limits if structural */
.divi-custom-auto-posts-slider.is-unslicked-state>div:nth-child(n+4) {
    display: none;
}