/**
* Block Name: news_2
*/

/* BLOG POSTS */
section.news_2 .bg_wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 76.6%;
    background: var(--alt-light-green);
}

section.news_2 .awy_swiper_wrapper {
    overflow: hidden;
}

/* Cards */
section.news_2 .cards_wrapper {
    margin-top: 15px;
    z-index: 3;
    position: relative;
    padding-top: 80px;
}

section.news_2 .cards_wrapper img.bg_static_cover {
    height: inherit;
    margin-bottom: 0;
}

section.news_2 .cards_wrapper .awy_card_content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

}


section.news_2 .cards_wrapper .awy_card_content .text_wrapper h3 {
    line-height: normal;
    height: max-content;
    font-size: 1.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

section.news_2 .cards_wrapper .awy_card_content .text_wrapper h3,
section.news_2 .cards_wrapper .awy_card_content .text_wrapper p {
    margin-bottom: 0;
}


section.news_2 .cards_wrapper .awy_card_content .text_wrapper .excerpt_wrapper p {
    position: relative;
    overflow: hidden;
    max-height: calc(1.5em * 3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}


section.news_2 .excerpt_wrapper.has-mask {
    -webkit-mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 1) 100%);
    mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 1) 100%);
}


section.news_2 .cards_wrapper img.post_image {
    height: 240px;
    border-radius: 5px;
    margin-bottom: 30px;
}

section.news_2 img.bg_static_cover.avatar {
    border-radius: 100%;
    width: 40px;
    margin-right: 20px;
    height: 40px;
    margin-bottom: 0;
}



section.news_2 .awy_swiper_button_next,
section.news_2 .awy_swiper_button_prev {
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
    margin-top: -22px;
    opacity: 0;
}

section.news_2 .awy_swiper_button_next:not(.swiper-button-disabled),
section.news_2 .awy_swiper_button_prev:not(.swiper-button-disabled) {
    opacity: 1;
    -webkit-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

section.news_2 .awy_swiper_button_next {
    right: 30px;
}

section.news_2 .awy_swiper_button_prev {
    left: 30px;
}

section.news_2 .swiper-pagination {
    right: 15px;
    top: 0;
    height: max-content;
    z-index: 99;
}

section.news_2 .swiper-pagination .swiper-pagination-bullet {
    margin: 5px;
    width: 10px;
    height: 10px;
    opacity: 1;
    background: var(--white);
    border: 1px solid var(--viridian);
}

section.news_2 .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--viridian);
}

@media (min-width: 992px) {
    section.news_2 .cards_wrapper .swiper-slide:nth-of-type(even) {
        margin-top: 30px;
    }


}

@media (max-width: 991px) {


    section.news_2 .cards_wrapper .awy_card_content .text_wrapper h3 {

        display: block;
        line-clamp: unset;
        -webkit-line-clamp: unset;
    }



    section.news_2 .cards_wrapper .awy_card_content .text_wrapper .excerpt_wrapper p {
        max-height: max-content;
    }


    .excerpt_wrapper.has-mask {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (max-width: 767px) {
    section.news_2 .awy_swiper_button_next {
        right: 5px;
    }

    section.news_2 .awy_swiper_button_prev {
        left: 5px;
    }
}

@media (max-width: 575.98px) {
    section.news_2 .swiper-pagination {
        display: none;
    }
}