#home_section_1 .list-item .item {
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.16);
    padding: 16px 0;
}

#home_section_1 .list-item .item a {
    font-weight: 700;
}

/* Section 2 */
.featured-large {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.featured-large::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 45.55%, #000 100%);
}

.featured-large img,
.small-article img {
    border-radius: 12px;
    width: 100%;
}

.featured-large a::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
}

.featured-large .content {
    position: absolute;
    z-index: 2;
    padding: 0 20px;
    bottom: 0;
    left: 0;
}

.small-articles-grid .post-meta .post-date,
.small-articles-grid .post-meta .post-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.right-column .article-list {
    overflow: hidden;
    overflow-y: scroll;
    max-height: 540px;
    margin: 0 0 10px 0;
}

.article-list li {
    position: relative;
    padding-left: 22px;
}

/* .article-list li:not(:last-child) {
    margin-bottom: 26px;
} */
.article-list li::before {
    content: "";
    background-image: url(./images/icon_list_post.png);
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 0;
    top: 5px;
}

#home_section_2 .list-item .item {
    padding: 24px 0px;
    border-radius: 12px;
    border: 1px solid var(--Red, #E0212B);
    background: #FFF;
    max-width: 165px;
    height: auto;
    margin-bottom: 0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#home_section_2 .list-item .item p.elementor-image-box-title {
    margin-bottom: 0;
}

#home_section_2 .list-item .item a {
    font-weight: 700;
}

/*  */

.tnsm-item {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    height: 520px;
    transition: all 3s;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.tnsm-item .bg-icon {
    position: absolute;

}

.tnsm-item .thumb {
    height: 100%;
}

/* .tnsm-item .thumb img{
    height: 100%;
} */
.tnsm-item img.title-image {
    max-width: 164px;
}

.tnsm-item.tnsm-item-3 img.title-image,
.tnsm-item.tnsm-item-4 img.title-image {
    max-width: 250px;
}

.tnsm-item .desc {
    padding: 32px 20px;
}

.tnsm-item .content .desc ol,
.tnsm-item.content .desc ul {
    margin-left: 0;
}

.tnsm-item .content .desc ol li::marker,
.tnsm-item .content .desc ol ul::marker {
    font-weight: 700;
}

.tnsm-item::before,
.tnsm-item::after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.6s ease;
    /* Ban đầu ẩn hoàn toàn */
    z-index: 2;
}

.tnsm-item::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 31.39%, #FFF 77.62%);

}

.tnsm-item::after {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.90) 100%);

}

@media screen and (min-width:990px) {

    .tnsm-item::before {
        opacity: 1;
    }

    .tnsm-item::after {
        opacity: 0;
    }


    .tnsm-item:hover::before {
        opacity: 0;
    }

    .tnsm-item:hover::after {
        opacity: 1;
    }

    .tnsm-item .content {
        position: absolute;
        top: 74%;
        overflow: hidden;
        z-index: 3;
        transition: top 0.6s ease;
    }

    .tnsm-item .content .desc {
        opacity: 0;
        height: 0;

    }

    .tnsm-item:hover .content {
        top: 30px;
        /* height: 520px; */
    }

    .tnsm-item:hover .content .desc {
        opacity: 1;
        height: auto;
    }
}

@media screen and (max-width:990px) {
    .tnsm-item::before {
        opacity: 0;
    }

    .tnsm-item::after {
        opacity: 1;
    }

    .tnsm-item .content {
        position: absolute;
        top: 30px;
        z-index: 3;
    }
}

/*  */
.cct-item {
    padding: 12px;

}

.cct-item .thumb img {
    aspect-ratio: 384 / 400;
    object-position: center;
    object-fit: cover;
    z-index: 3;

}

.cct-item .thumb::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    right: 16.50px;
    bottom: 12px;
    border: 2px solid red;
    z-index: 1;
}

.cct-item .thumb img {
    height: 400px;
}


.cct-item a::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
}

.cct-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cct-text::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;

    z-index: 1;
    transition: height 0.3s cubic-bezier(0.48, 0.44, 0.47, 0.46);
    background-color: rgba(0, 0, 0, 0.6);
}

@media screen and (min-width:990px) {
    .cct-text {
        height: 60px;
    }

    .cct-text::after {
        height: 60px;
    }

    .cct-item:hover .cct-text::after {
        height: 400px;
    }

    .cct-item:hover .cct-text {
        height: 400px;
    }

    .cct-text-inner {
        display: none;
    }

    .cct-text-inner {
        transition: display 9s cubic-bezier(0.48, 0.44, 0.47, 0.46);
    }

    .cct-item:hover .cct-text-inner {
        display: block;
    }

    .cct-item:hover .cct-title {
        text-align: left;
    }

    .cct-text .cct-title {
        text-align: center;
        transition: text-align 1s ease-out;
    }

    .cct-text-inner ul li {
        /* font-size: 20px; */
    }
}

@media screen and (max-width:990px) {
    .cct-text {
        height: 100%;
    }

    .cct-text::after {
        height: 100%;
    }
}


.cct-text-inner {
    padding: 0 18px;
    position: relative;
    z-index: 2;
}

.cct-text .cct-title {
    /* font-size: 20px; */
    padding: 18px;
    position: relative;
    z-index: 2;
    margin: 0;

}



.cct-text-inner ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.cct-text-inner ul li {
    position: relative;
    padding-left: 25px;

}

.cct-text-inner ul li:not(:last-child) {
    margin-bottom: 16px;
}

.cct-text-inner ul li::before {
    position: absolute;
    content: "";
    top: 8px;
    left: 0;
    background-image: url(./images/icon_list_post.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 17px;
    height: 16px;
}

#e-n-tab-content-2345524582 .cct-grid,
#e-n-tab-content-2345524583 .cct-grid {
    width: fit-content;
    margin: auto;
}

#e-n-tab-content-2345524582 .cct-item,
#e-n-tab-content-2345524583 .cct-item {
    max-width: 400px;
    width: 100%;
}

/*  */


#home_section_5 .wcu-item {
    background: #FFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.20);
    padding-top: 58px;
}

.elementor-296 .elementor-element.elementor-element-3debee2 .box-text .title h5 {
    margin: 0;
}

@media screen and (min-width:990px) {
    #home_section_5 .wcu-item {
        height: 100%;
    }
}

@media screen and (max-width:990px) {
    #home_section_5 .wcu-item {
        margin-bottom: 60px;
    }
}

#home_section_5 .wcu-item .box-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.12));
}

#home_section_5 .wcu-item .title {
    background-color: red;
    padding: 10px 30px;

    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home_section_5 .wcu-item .desc {
    padding: 12px;
}

/* #home_section_5  .wcu-item .desc strong {
    color: var(--Blue-dark);
} */

/*  */

.home-nx-slide {

    position: relative;
    width: 100%;
    max-width: 700px;
    right: 0;
}

@media (min-width:1200px) and (max-width:1401px) {
    .home-nx-slide {
        max-width: 560px;
    }


}


@media screen and (min-width:990px) {
    .home-nx-slide {
        position: absolute;
        height: 600px;
    }
}

/* FIX SLIDER ĐÁNH GIÁ KHÁCH HÀNG DỌC */
.home-nx-slide .nx-slider {
    max-height: 100%;
    overflow: hidden;
    border-radius: 12px;

}

.home-nx-slide .nx-slider .swiper-slide {

    box-sizing: border-box;
}

.home-nx-slide .nx-slider .swiper-slide {
    min-height: 0 !important;
    /* Dòng này cũng quan trọng */
    display: flex !important;
    /* (tùy chọn) để căn chỉnh nội dung đẹp hơn */
}

/* Nút prev/next nằm ngoài đẹp hơn */
.nx-controls {
    /* transform: translateY(-50%); */
    z-index: 10;
    gap: 12px;
}

.nx-controls .swiper-button-prev,
.nx-controls .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: transparent;
    margin: 0 !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    left: auto !important;
    right: auto;
}

.nx-controls .swiper-button-prev::after,
.nx-controls .swiper-button-next::after {
    content: "";
}

.nx-controls .swiper-button-prev::before,
.nx-controls .swiper-button-next::before {

    color: var(--Yellow);
}

.item-nx {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    gap: 10px;
}

.item-nx img {
    max-width: 120px !important;
    object-fit: cover;
    border-radius: 100% !important;
    aspect-ratio: 1/1;
}

@media only screen and (max-width: 767px) {
    .item-nx img {
        max-width: 70px;
    }
}

.item-nx-content {
    flex: 1;
    /* padding-left: 20px; */
}



.item-nx-content h4 {
    font-size: 20px;
    margin-bottom: 0;
}

.item-nx-content label {
    color: #727272;
    font-weight: 400;
    display: none;
}

.item-nx-content p {
    color: rgba(0, 0, 0, 0.80);
    margin-bottom: 0;
}

@media screen and (min-width:990px) {

    .swiper-slide .item-nx-content p,
    .swiper-slide .reviews-content .title {
        color: #fff;
    }

    .swiper-slide.swiper-slide-next .item-nx-content p,
    .swiper-slide.swiper-slide-next .reviews-content .title {
        color: rgba(0, 0, 0, 0.80) !important;
    }

    .home-nx-slide .nx-slider .swiper-slide-next .reviews-content .title {
        color: red !important;
    }
}

@media screen and (max-width:990px) {

    .swiper-slide .item-nx-content p,
    .swiper-slide .reviews-content .title {
        color: #fff;
    }

    .swiper-slide.swiper-slide-next .item-nx-content p,
    .swiper-slide.swiper-slide-next .reviews-content .title {
        color: #fff;
    }

    .swiper-slide.swiper-slide-active .item-nx-content p,
    .swiper-slide.swiper-slide-active .reviews-content .title {
        color: rgba(0, 0, 0, 0.80);
    }

    .home-nx-slide .nx-slider .swiper-slide-active .reviews-content .title {
        color: red !important;
    }
}


@media screen and (min-width:990px) {



    .home-nx-slide .nx-slider .swiper-slide .item-nx-content p {

        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    .home-nx-slide .nx-slider .swiper-slide-next .item-nx-content p {

        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: none;
        -webkit-box-orient: vertical;
    }

}


.swiper-slide-next .item-nx h4 {
    color: #B82930;
}

.swiper-slide-next .item-nx-content label {
    display: block;
}

.nx-controls .swiper-button {
    position: unset;
    background-color: transparent;
    border: 0;
    color: #B82930;
    margin: 0;
}

.nx-controls .swiper-pagination {
    /* position: unset; */
    display: flex;
    flex-direction: row;
    margin: 10px 0;
    right: 0;
    transform: none !important;
    top: auto;
}

@media screen and (min-width:990px) {
    .nx-controls {
        left: 100%;
        top: 50%;
        position: absolute;
        transform: translateY(-50%);
        flex-direction: column;
    }

    .nx-controls .swiper-pagination {
        position: unset;
        display: flex;
        flex-direction: column;
        margin: 10px 0;
        align-items: center
    }
    
}

@media screen and (max-width:990px) {
    .nx-controls {
        justify-content: center;
    }

    .nx-controls .swiper-pagination {
        gap: 10px;
        position: relative;
        bottom: 0 !important;
        width: fit-content !important;
    }
    #home_section_6 .nx-controls .swiper-button-prev,#home_section_6 .nx-controls .swiper-button-next{
        rotate: -90deg;
    }
}

.nx-controls .swiper-button.swiper-button-prev {
    transform: rotate(90deg);
}

.nx-controls .swiper-button.swiper-button-next {
    transform: rotate(90deg);
}

.nx-controls .swiper-pagination-bullet {
    margin: 5px 0;
    background: #D2D2D2;
    opacity: 1;
    width: 8px;
    height: 8px;
    border-radius: 50px;
}

.nx-controls .swiper-pagination-bullet-active {
    background: var(--Yellow, #F7CB4E);
}

div.button-prev-style2::before,
div.button-next-style2::before {
    content: "";
    width: 14px;
    height: 14px;
    display: block;
    background-repeat: no-repeat;
}

div.button-prev-style2::before {
    content: "";
    left: -10px;
    background-image: url(./images/arrow-up.svg);
}

div.button-next-style2::before {
    background-image: url(./images/arrow-down.svg);
    left: -10px;

}

@media screen and (min-width:990px) {

    .home-nx-slide .swiper-slide:not(.swiper-slide-next) {
        transform: scale(.75);
        right: -12%;
    }


    .swiper-slide-next .item-nx {
        border-radius: 32px;
        background: linear-gradient(180deg, #FFF 0%, #FFE69E 138.75%);
        box-shadow: 100px 150px 50px 0px rgba(0, 0, 0, 0.00), 64px 96px 46px 0px rgba(0, 0, 0, 0.01), 36px 54px 39px 0px rgba(0, 0, 0, 0.05), 16px 24px 29px 0px rgba(0, 0, 0, 0.09);
        margin-top: -20px;
        transition: 0.3s all;
        gap: 10px;
    }

}

@media screen and (max-width:990px) {
    .swiper-slide-active .item-nx {
        border-radius: 32px;
        background: linear-gradient(180deg, #FFF 0%, #FFE69E 138.75%);
        box-shadow: 100px 150px 50px 0px rgba(0, 0, 0, 0.00), 64px 96px 46px 0px rgba(0, 0, 0, 0.01), 36px 54px 39px 0px rgba(0, 0, 0, 0.05), 16px 24px 29px 0px rgba(0, 0, 0, 0.09);
        transition: 0.3s all;
        gap: 10px;
    }

    .home-nx-slide {
        margin-top: 40px;
    }
}

.elementor-296 .elementor-element.elementor-element-f96a052 .reviews-thumb {
    margin: 0 !important;
}

/*  */
#home_section_7 .gallery-box {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
}

#home_section_7 .gallery-box .image-item {
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background-position: bottom;
}

#home_section_7 .gallery-box .image-item::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: inherit;
    background-size: cover;
    transform-origin: center;
    transition: transform 0.4s ease-in-out;
    pointer-events: none;
}

#home_section_7 .gallery-box .image-item:hover::after {
    transform: scale(1.05);
}

/* .zoom-out::after {
    transform: scale(1.05);
} */

.zoom-out:focus::after,
.zoom-out:hover::after {
    transform: scale(1);
}

#home_section_7 .gallery-box .image-item::after {
    content: "";
}

#home_section_7 .gallery-box .image-item img {
    height: 100%;
}

#home_section_7 .gallery-box .image-item .title {
    position: absolute;
    bottom: 30px !important;
    width: 100%;
    z-index: 3;
    text-align: center;
}

#home_section_7 .gallery-box .image-item:not(:first-child) {
    height: 320px;
}

#home_section_7 .image-item-1 img {
    aspect-ratio: 305 / 600;
    object-fit: cover;
}

#home_section_7 .image-item-2 img {
    aspect-ratio: 412.07 / 320;
    height: 320px;
    object-fit: cover;
}

@media screen and (min-width:990px) {
    #home_section_7 .image-item-1 {
        grid-column: span 3 / span 3;
        grid-row: span 4 / span 4;
    }

    #home_section_7 .image-item-2 {
        grid-column: span 4 / span 4;
        grid-row: span 2 / span 2;
        grid-column-start: 4;
    }

    #home_section_7 .image-item-3 {
        grid-column: span 5 / span 5;
        grid-row: span 2 / span 2;
        grid-column-start: 8;
    }

    #home_section_7 .image-item-4 {
        grid-column: span 6 / span 6;
        grid-row: span 2 / span 2;
        grid-column-start: 4;
        grid-row-start: 3;
    }

    #home_section_7 .image-item-5 {
        grid-column: span 3 / span 3;
        grid-row: span 2 / span 2;
        grid-column-start: 10;
        grid-row-start: 3;
    }

}

@media screen and (max-width:990px) {
    #home_section_7 .image-item-1 {
        grid-column: span 6 / span 6;
        grid-row: span 2 / span 2;
    }

    #home_section_7 .image-item-2 {
        grid-column: span 6 / span 6;
        grid-row: span 2 / span 2;
        grid-column-start: 7;
    }

    #home_section_7 .image-item-3 {
        grid-column: span 5 / span 5;
        grid-row: span 2 / span 2;
        grid-column-start: 8;
        grid-row-start: 3;
    }

    #home_section_7 .image-item-4 {
        grid-column: span 7 / span 7;
        grid-row: span 2 / span 2;
        grid-column-start: 1;
        grid-row-start: 3;
    }

    #home_section_7 .image-item-5 {
        grid-column: span 12 / span 12;
        grid-row: span 2 / span 2;
        grid-row-start: 5;
    }

}

@media screen and (max-width:600px) {
    #home_section_7 .gallery-box .image-item:not(:first-child) {
        height: 250px;
    }

    #home_section_7 .gallery-box .image-item .title {
        bottom: 15px
    }

    #home_section_7 .gallery-box .image-item .title h4 {
        font-size: 18px;
    }
}
.elementor-296 .elementor-element.elementor-element-72c41c2 .image-item .title h4{
    margin: 0;
}
.elementor-296 .elementor-element.elementor-element-72c41c2 .image-item a::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    
}
/*  */
#home_section_8 .swiper-slide-image{ 
        max-width: 180px;
    width: 100%;
    height: 66px;
    object-fit: contain;
    transform: scale(1);
    transition: transform 0.4s;
}
#home_section_8 .swiper-wrapper {
    transition-timing-function:linear !important
}