@media screen and (min-width: 320px) and (max-width: 575px) {
    .popular__news-header .card__post {
        margin-bottom: 20px
    }
}

.popular__news-header-carousel {
    margin-top: 30px
}

@media screen and (min-width: 320px) and (max-width: 575px) {
    .popular__news-header-carousel {
        margin-top: 0
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    .popular__news-header-carousel {
        margin-top: 30px
    }
}

.popular__news-right .card__post .card__post__body img {
    position: relative;
    height: 230px
}

@media screen and (min-width: 320px) and (max-width: 575px) {
    .popular__news-right .card__post .card__post__body img {
        height: auto
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    .popular__news-right .card__post .card__post__body img {
        height: 130px
    }
}

@media screen and (min-width: 320px) and (max-width: 575px) {
    .popular__news-right h5 {
        font-size: 18px
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    .popular__news-right h5 {
        font-size: 14px;
        margin-bottom: 0
    }

    .popular__news-right .list-inline {
        display: none
    }
}

@media screen and (min-width: 320px) and (max-width: 575px) {
    .card__post-carousel {
        margin-bottom: 0
    }
}

.card__post-carousel .card__post .card__post__body img {
    max-width: 100%;
    width: 100%;
    height: 460px;
    -o-object-fit: cover;
    object-fit: cover;
    position: relative
}

@media screen and (min-width: 320px) and (max-width: 575px) {
    .card__post-carousel .card__post .card__post__body img {
        height: 250px
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    .card__post-carousel .card__post .card__post__body img {
        height: 260px
    }
}

.card__post-carousel .card__post .card__post__body .card__post__content {
    padding: 40px 20px
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    .card__post-carousel .card__post .card__post__body .card__post__content {
        padding: 20px
    }
}

.card__post-carousel .card__post .card__post__body .card__post__content .card__post__title h2 {
    color: #fff;
    margin: 0 0 10px;
    font-weight: 700;
    -webkit-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    -moz-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    -ms-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    -o-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    width: 100%
}

.card__post-carousel .card__post .card__post__body .card__post__content .card__post__title h2 a {
    color: #fff
}

.card__post-carousel .card__post .card__post__body .card__post__content .card__post__title h2 a:hover {
    text-decoration: none
}

@media screen and (min-width: 320px) and (max-width: 575px) {
    .card__post-carousel .card__post .card__post__body .card__post__content .card__post__title h2 {
        font-size: 18px
    }

    .card__post-carousel .card__post .card__post__body .card__post__content {
        padding: 15px
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    .card__post-carousel .card__post .card__post__body .card__post__content .card__post__title h2 {
        font-size: 24px
    }
}

.card__post-carousel .slick-prev,
.card__post-carousel .slick-next,
.card__post-carousel-height .slick-prev,
.card__post-carousel-height .slick-next {
    width: 45px;
    height: 45px;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease
}

.card__post-carousel .slick-prev::before,
.card__post-carousel .slick-next::before,
.card__post-carousel-height .slick-prev::before,
.card__post-carousel-height .slick-next::before {
    color: #fff
}

@media screen and (min-width: 320px) and (max-width: 575px) {

    .card__post-carousel .slick-prev,
    .card__post-carousel-height .slick-prev,
    .card__post-carousel .slick-next,
    .card__post-carousel-height .slick-next {
        display: none !important
    }
}

.card__post-carousel:hover .slick-prev,
.card__post-carousel-height:hover .slick-prev {
    visibility: visible;
    opacity: 1;
    left: 0;
    -webkit-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1)
}

.card__post-carousel:hover .slick-next,
.card__post-carousel-height:hover .slick-next {
    visibility: visible;
    opacity: 1;
    right: 0;
    -webkit-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1)
}

.card__post-carousel .slick-dots {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 1rem 0;
    list-style-type: none;
    bottom: -10px
}

.card__post-carousel .slick-dots li {
    margin: 0
}

.card__post-carousel .slick-dots button {
    display: block;
    width: 5px;
    height: 5px;
    padding: 0;
    border-radius: 100%;
    background-color: #fff
}

.card__post-carousel .slick-dots li.slick-active button {
    background-color: var(--colorPrimary)
}

.article__entry-carousel .slick-slide,
.article__entry-carousel-three .slick-slide {
    margin-left: 25px;
    margin-right: 5px;
}

@media screen and (min-width: 320px) and (max-width: 575px) {

    .article__entry-carousel .slick-slide,
    .article__entry-carousel-three .slick-slide {
        margin-left: 15px
    }
}

.article__entry-carousel .slick-list,
.article__entry-carousel-three .slick-list {
    margin-left: -27px
}

@media screen and (min-width: 320px) and (max-width: 575px) {

    .article__entry-carousel .slick-list,
    .article__entry-carousel-three .slick-list {
        margin-left: -15px
    }
}

.article__entry-carousel .slick-arrow,
.article__entry-carousel-three .slick-arrow {
    opacity: 1;
    top: -62px;
    margin-top: 0;
    width: 40px;
    height: 40px;
    line-height: 48px;
    text-align: center;
    border: 1px solid #e3e4e8;
    background: var(--colorPrimary);
    border-radius: 50%;
    padding-left: 2px;
}

.article__entry-carousel .slick-arrow:hover,
.article__entry-carousel-three .slick-arrow:hover {
    color: #fff;
    transition: all 0.3s ease-in-out
}

.article__entry-carousel .slick-prev,
.article__entry-carousel-three .slick-prev {
    border: 1px solid #eee;
    left: auto;
    right: 40px;
    top: -54px;
    padding-right: 2px;
    padding-left: 0;
}

.article__entry-carousel .slick-next,
.article__entry-carousel-three .slick-next {
    border: 1px solid #eee;
    top: -54px;
    right: 0
}

.article__entry-carousel .article__entry .article__image {
    width: 100%;
    height: auto
}

.article__entry-carousel .article__entry .article__image img {
    height: 180px;
    max-width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: relative
}

@media screen and (min-width: 320px) and (max-width: 575px) {
    .article__entry-carousel .article__entry .article__image img {
        height: 120px
    }

    .article__entry-carousel ul.list-inline li.list-inline-item {
        display: none
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    .article__entry-carousel .article__entry .article__image img {
        height: 140px
    }

    .article__entry-carousel ul.list-inline {
        display: none
    }
}

.article__entry-carousel .slick-track,
.article__entry-carousel-three .slick-track {
    display: flex;
}

.article__entry-carousel .slick-slide,
.article__entry-carousel-three .slick-slide {
    height: auto;
}

.article__entry-carousel .slick-slide>div,
.article__entry-carousel-three .slick-slide>div,
.article__entry-carousel .item,
.article__entry-carousel-three .item {
    height: 100%;
}

.article__entry-carousel .article__entry,
.article__entry-carousel-three .article__entry {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100%;
    height: 380px;
    background-color: #fff;
}

.article__entry-carousel .article__entry .article__image,
.article__entry-carousel-three .article__entry .article__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.article__entry-carousel .article__entry .article__image a,
.article__entry-carousel-three .article__entry .article__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.article__entry-carousel .article__entry .article__image img,
.article__entry-carousel-three .article__entry .article__image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.article__entry-carousel .article__entry .article__content,
.article__entry-carousel-three .article__entry .article__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    background-color: #fff;
    padding: 12px 14px 14px;
}

.article__entry-carousel .article__entry .article__content ul.list-inline,
.article__entry-carousel-three .article__entry .article__content ul.list-inline {
    margin-bottom: 8px;
}

.article__entry-carousel .article__entry .article__content h5,
.article__entry-carousel-three .article__entry .article__content h5 {
    margin-bottom: 0;
    line-height: 1.35;
}

.article__entry-carousel .article__entry .article__content h5 a,
.article__entry-carousel-three .article__entry .article__content h5 a {
    margin-top: 0;
}

.article__entry--compact {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: 330px;
    background-color: #fff;
}

.article__entry--compact .article__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.article__entry--compact .article__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.article__entry--compact .article__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article__entry--compact .article__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #fff;
    padding: 12px 14px 14px;
}

.article__entry--compact .article__content ul.list-inline {
    margin-bottom: 8px;
}

.article__entry--compact .article__content h5 {
    margin-bottom: 0;
    line-height: 1.35;
}

.article__entry--compact .article__content h5 a {
    margin-top: 8px;
}

.wrapper__list__article--compact-grid .article__entry--compact {
    border: 0;
}

.wrapper__list__article--compact-grid .article__entry--compact .article__content {
    padding: 14px 16px 16px;
}

@media screen and (max-width: 575px) {
    .article__entry-carousel .article__entry,
    .article__entry-carousel-three .article__entry {
        height: 320px;
    }

    .article__entry-carousel .article__entry .article__content,
    .article__entry-carousel-three .article__entry .article__content {
        padding: 12px;
    }

    .article__entry--compact {
        height: 300px;
    }

    .wrapper__list__article--compact-grid .row>[class*="col-"] {
        margin-bottom: 8px;
    }

    .wrapper__list__article--compact-grid .article__entry--compact {
        height: 320px;
        border: 0;
        box-shadow: rgba(99, 99, 99, 0.16) 0px 2px 8px 0px;
    }

    .wrapper__list__article--compact-grid .article__entry--compact .article__content {
        padding: 16px 18px 18px !important;
    }
}

@media screen and (max-width: 991px) {
    .article__entry--compact,
    .article__entry-carousel .article__entry,
    .article__entry-carousel-three .article__entry {
        padding: 0 !important;
    }

    .article__entry--compact .article__content,
    .article__entry-carousel .article__entry .article__content,
    .article__entry-carousel-three .article__entry .article__content {
        padding: 12px 14px 14px !important;
    }
}

@media screen and (max-width: 575px) {
    .wrapper__list__article--compact-grid .mb-4 {
        margin-bottom: 16px !important;
    }

    .wrapper__list__article--compact-grid .article__entry--compact {
        height: 320px;
        border: 0 !important;
        box-shadow: none !important;
    }

    .wrapper__list__article--compact-grid .article__entry--compact .article__content {
        padding: 18px 18px 20px !important;
    }

    .wrapper__list__article--compact-grid .article__entry--compact .article__content ul.list-inline {
        margin-bottom: 10px;
    }

    .wrapper__list__article--compact-grid .article__entry--compact .article__content h5 a {
        margin-top: 0;
        line-height: 1.4;
    }

    .wrapper__list__article--section-four .card__post--section-four {
        display: block;
        margin-top: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .wrapper__list__article--section-four .card__post--section-four .row {
        display: block;
        margin: 0;
    }

    .wrapper__list__article--section-four .card__post--section-four .row>[class*="col-"] {
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }

    .wrapper__list__article--section-four .card__post--section-four .card__post__transition {
        border-radius: 8px 8px 0 0;
        overflow: hidden;
    }

    .wrapper__list__article--section-four .card__post--section-four .card__post__transition img,
    .wrapper__list__article--section-four .card__post--section-four .img-fluid.w-100 {
        width: 100% !important;
        height: 190px !important;
        object-fit: cover;
    }

    .wrapper__list__article--section-four .card__post--section-four .my-auto {
        margin: 0 !important;
    }

    .wrapper__list__article--section-four .card__post--section-four .pl-0 {
        padding-left: 0 !important;
    }

    .wrapper__list__article--section-four .card__post__body {
        margin-top: 0 !important;
    }

    .wrapper__list__article--section-four .card__post__content {
        display: block;
        padding: 16px 18px 18px !important;
    }

    .wrapper__list__article--section-four .card__post__title h5 a {
        display: block;
        margin-top: 0;
        line-height: 1.4;
    }
}
