.aptus-news {
    padding: 2em;
    clear: both;
    background-color: #fff;
    margin: 0;
    position: relative;
}

.aptus-news .aptus-news-title {
    text-align: center;
}

.aptus-news-slider .aptus-slider-title-wrapper,
.aptus-news-slider .aptus-slider-page-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: .5em;
    position: relative;
}

.aptus-news-slider .aptus-slider-title-wrapper::before {
    position: absolute;
    z-index: 0;
    content: '';
    z-index: 0;
    left: 0;
    right: 0;
    top: calc(50% - 1px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--main-color), var(--main-color), transparent)
}

.slider-container .aptus-slider-title-wrapper h2 {
    margin: 5px 0;
    padding: 0 5px;
    z-index: 1;
    background-color: white;
}

.slider-container .aptus-slider-page-link-wrapper a {
    display: block;
    padding: 5px 25px 5px 15px;
    background-color: white;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}

.slider-container .aptus-slider-page-link-wrapper a i {
    transition: .2s;
    display: inline-block;
}

.slider-container .aptus-slider-page-link-wrapper a:hover {
    background-color: var(--main-color);
    color: white;
}

.slider-container .aptus-slider-page-link-wrapper a:hover i {
    transform: translatex(10px);
}

.posts-slider {
    height: 250px;
    background-color: transparent;
    padding: 0 4em;
    width: 100%;
}

.aptus-news-slider .carousel-cell {
    height: 100%;
    background-color: transparent;
    padding: 10px;
    width: 360px;
}

.aptus-news-slider .carousel-cell .leak {
    transition: .2s;
    border: 1px solid transparent;
    padding: 10px;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.posts-slider .carousel-cell .leak:hover {
    border-color: #eee;
}

.posts-slider .carousel-cell .cell-content {
    color: #222;
    text-align: justify;
    overflow: hidden;
}

.posts-slider .carousel-cell .cell-content p {
    font-size: 13px;
    font-weight: normal;
}

.posts-slider {
    height: 450px;
    background-color: transparent;
    padding: 0 4em;
    width: 100%;
}

.posts-slider .leak-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid var(--red);
}

.posts-slider .carousel-cell .leak .leak-img {
    transition: .3s ease-in;
    filter: contrast(100%);
}

.posts-slider .carousel-cell .leak:hover .leak-img {
    filter: contrast(150%);
}

.posts-slider .leak-title {
    color: var(--main-color);
    font-weight: bold;
}

.aptus-news-slider .flickity-viewport {
    height: 100% !important;
}

@media (max-width: 768px) {
    .aptus-news-slider {
        padding: 1em;
    }
    .posts-slider div.carousel-cell {
        width: 50%;
    }
    .posts-slider {
        padding: 0 2em;
    }
}

@media (max-width: 425px) {
    .aptus-news-slider {
        padding: 1em .5em;
    }
    .posts-slider div.carousel-cell {
        width: 100%;
    }
    .posts-slider {
        padding: 0;
    }
    .aptus-news-slider .carousel-cell .leak {
        padding: 0;
    }
}