/* ------------------------------------------------ */
/* ------------- START CUSTOM NEWS V6 ------------- */
/* ------------------------------------------------ */

.custom-news-v6 {
    display: block;
    background-color: var(--custom-news-v6-bg-color, var(--primary-color));
    max-width: 100%;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.custom-news-v6 .news-slider-container {
    position: relative;
    isolation: isolate;
}

.custom-news-v6 .news-slider-container::after {
    position: absolute;
    top: 0;
    right: -40px;
    height: 100%;
    width: 75%;
    background: var(--custom-news-v6-slider-color, var(--secondary-color));
    content: close-quote;
    z-index: -1;
}

.custom-news-v6 .news-slider-container {
    position: relative;
    padding-right: 65px;
}

.custom-news-v6 .header-slot-container h2 {
    color: var(--custom-news-v6-title-color, #FFF);
}

.custom-news-v6.style-bold .see-all-container .see-all-button {
    padding-block: 2px;
    position: relative;
    color: var(--custom-news-v6-title-color, #FFF);
}

.custom-news-v6.style-bold .see-all-container .see-all-button:hover::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    content: close-quote;
    background-color: var(--custom-news-v6-accent-color, var(--secondary-color));
}

.custom-news-v6.style-bold .header-slot-container {
    border-right-color: var(--custom-news-v6-accent-color, var(--secondary-color));
}

.custom-news-v6.style-monterrey .header-slot-container:before,
.custom-news-v6.style-monterrey .header-slot-container:after {
    background-color: var(--custom-news-v6-accent-color, var(--secondary-color));
}

.custom-news-v6.style-monterrey .see-all-button {
    color: var(--custom-news-v6-button-text-color, #FFF);
}

.custom-news-v6 .news-slider-wrapper:not(.swiper-initialized) #news-articles-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 32px;
}

.custom-news-v6 #news-articles-list .news-article {
    margin-bottom: 6px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background-color: var(--custom-news-v6-box-bg, #F1F1F1);
    padding: 0;
    box-shadow: 0px 3px 14px 0px rgba(0, 0, 0, 0.15);
    min-height: 344px;
    transition: all 0.35s ease-in-out;
}

.custom-news-v6 #news-articles-list .news-article:hover {
    transform: scale(1.1);
    transform-origin: left center;
    z-index: 2;
}

.custom-news-v6 .news-article__content {
    width: 60%;
    min-width: 200px;
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

.custom-news-v6 .news-slider-wrapper.swiper-initialized #news-articles-list .news-article {
    height: auto;
}

.custom-news-v6 .news-slider-wrapper.swiper-initialized {
    padding: 20px;
}

.custom-news-v6.news-section:has(.swiper-initialized) .see-all-top {
    margin-bottom: 15px;
}

.custom-news-v6 #news-articles-list .news-article__image {
    position: relative;
    height: 100%;
    width: 40%;
    overflow: hidden;
    box-sizing: border-box;
}

.custom-news-v6 #news-articles-list .news-article__image img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: top right;
    z-index: 1;
    transition: all 2s ease-in-out;
}

.custom-news-v6 #news-articles-list .news-article:hover .news-article__image img {
    object-position: bottom left;
}

.custom-news-v6 #news-articles-list .news-article__date .date {
    color: var(--custom-news-v6-date-color, #000);
    font-size: 16px;
    line-height: 1.2;
    margin-top: 16px;
    display: flex;
}

.custom-news-v6 #news-articles-list .news-article__date .date>span {
    display: inline-block;
    margin-right: 4px;
    position: relative;
}

.custom-news-v6 #news-articles-list .news-article__title>* {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--custom-news-article-v6-title-color, var(--primary-color));
    padding-top: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    -webkit-box-orient: vertical;
    font-family: var(--font-family) !important;
}

.custom-news-v6 #news-articles-list .news-article__snippet p {
    color: var(--custom-news-v6-snippet-color, #3f3f3f);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: break-word;
    padding-top: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

.custom-news-v6 .news-article__snippet .read-more {
    font-size: 15px;
    color: var(--primary-color);
    display: block;
    margin-top: 5px;
}

.custom-news-v6.news-section.custom-section .see-all-container.see-all-bottom {
    text-align: center;
    margin-top: 20px;
}

.custom-news-v6.news-section.custom-section .see-all-container.see-all-bottom a {
    background-color: var(--custom-news-v6-button-bg-color, var(--primary-color));
    color: var(--custom-news-v6-button-text-color, #FFF);
    text-decoration: none;
    display: inline-block;
}

.custom-news-v6 .custom-swiper-controls {
    position: static;
    margin: 0;
}

.custom-news-v6 .custom-swiper-pagination {
    display: none;
}

.custom-news-v6 .custom-swiper-navigation {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 10px;
}

.custom-news-v6 .custom-swiper-controls .custom-swiper-navigation>div {
    background-color: var(--custom-news-v6-title-color, #FFF);
    color: var(--custom-news-v6-arrows-color, var(--primary-color));
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 4px;
    transition: all 0.35s ease-in-out;
}

.custom-news-v6 .custom-swiper-controls .custom-swiper-navigation>div:hover {
    transform: scale(1.1);
}

.custom-news-v6 .custom-swiper-navigation .custom-swiper-prev:after,
.custom-news-v6 .custom-swiper-navigation .custom-swiper-next:after {
    border-width: 0 2px 2px 0;
    position: relative;
}

.custom-news-v6 .custom-swiper-navigation .custom-swiper-prev:after {
    right: -3px;
}

.custom-news-v6 .custom-swiper-navigation .custom-swiper-next:after {
    left: -3px;
}

@media only screen and (min-width: 768px) {
    .custom-news-v6 #news-articles-list {
        flex-direction: row;
    }

    .custom-news-v6 .news-slider-wrapper:not(.swiper-initialized) #news-articles-list {
        flex-wrap: wrap;
    }

    .custom-news-v6 .news-slider-wrapper:not(.swiper-initialized) #news-articles-list .news-article {
        width: calc(50% - 20px);
    }

    .custom-news-v6.news-section .see-all-container.see-all-bottom {
        display: none;
    }
}

@media only screen and (min-width: 1280px) {
    .custom-news-v6 .news-slider-wrapper:not(.swiper-initialized) #news-articles-list {
        gap: 15px;
    }

    .custom-news-v6 #news-articles-list .news-article__title>* {
        font-size: clamp(1.125rem, 1.186rem, 1.25rem);
        /*  20>18, 1920>1300 */
    }

    .custom-news-v6 .news-slider-wrapper:not(.swiper-initialized) #news-articles-list .news-article {
        width: calc(33% - 20px);
    }
}

@media only screen and (max-width: 767px) {
    .custom-news-v6.style-bold .see-all-container.see-all-top .see-all-button {
        display: none;
    }

    .custom-news-v6.style-bold .header-slot-container {
        padding-right: 0;
    }

    .custom-news-v6 .news-slider-container {
        padding: 0;
    }

    .custom-news-v6 .news-slider-wrapper.swiper-initialized {
        padding: 10px;
    }

    .custom-news-v6 .custom-swiper-navigation {
        width: 100%;
        margin-top: 0.5em;
        justify-content: center;
        flex-direction: row;
        position: relative;
        transform: none;
    }

    .custom-news-v6 .news-slider-container::after {
        height: calc(100% - 60px);
    }
}

/* ---------------------------------------------- */
/* ------------- END CUSTOM NEWS V6 ------------- */
/* ---------------------------------------------- */