.t888-list-events.t888-list-events-style5 .product-item-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.t888-list-events.t888-list-events-style5 .event-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}
.t888-list-events.t888-list-events-style4 .event-info{
padding-bottom: 40px;
}
.t888-list-events.t888-list-events-style5 .read-more-share-wrap {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.t888-list-events.t888-list-events-style4 .swiper-slide .thumbnail-cta,
.t888-list-events.t888-list-events-style5 .swiper-slide .thumbnail-cta {
    z-index: 20 !important;
}
.t888-list-events.t888-list-events-style4 .swiper-slide:hover .thumbnail-cta,
.t888-list-events.t888-list-events-style5 .swiper-slide:hover .thumbnail-cta {
    z-index: 30 !important;
}
.t888-list-events.t888-list-events-style4 .swiper-slide .thumbnail-cta,
.t888-list-events.t888-list-events-style5 .swiper-slide .thumbnail-cta {
    filter: none !important;
}
.t888-list-events.t888-list-events-style4 .swiper-slide,
.t888-list-events.t888-list-events-style5 .swiper-slide {
    position: relative;
}
.t888-list-events.t888-list-events-style4 .product-item-inner,
.t888-list-events.t888-list-events-style5 .product-item-inner {
    transition: opacity 0.3s, filter 0.3s;
}
.t888-list-events.t888-list-events-style4 .swiper-slide .thumbnail-cta,
.t888-list-events.t888-list-events-style5 .swiper-slide .thumbnail-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    padding: 10px 30px;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.t888-list-events.t888-list-events-style4 .swiper-slide:hover .product-item-inner,
.t888-list-events.t888-list-events-style5 .swiper-slide:hover .product-item-inner {
    opacity: 0.25;
    filter: blur(3px);
}
.t888-list-events.t888-list-events-style4 .swiper-slide:hover .thumbnail-cta,
.t888-list-events.t888-list-events-style5 .swiper-slide:hover .thumbnail-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    filter: none;
}
/* Event info 2 columns layout */
.event-info-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
}

.event-info-col {
    flex: 1;
    min-width: 0;
}

.event-info-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}

.event-title {
    font-weight: 500;
    margin: 0 0 12px 0;
    line-height: 57px !important;
}

.event-categories {
    margin-bottom: 8px;
}

.tag-link.tag-pill {
    display: inline-block;
    border: 1px solid var(--primary-color);
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 25px;
    color: var(--primary-color);
    letter-spacing: .5px;
    padding: 0px 20px;
    height: 25px;
    margin-right: 7px;
    margin-bottom: 7px;
}

.event-info-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    min-width: 220px;
}

.event-excerpt {
    font-size: 16px;
    color: #000000BF;
    margin-bottom: 15px;
    line-height: 24px;
    flex: 1;
    text-align: justify;
}

.event-detail-btn {
    text-align: right;
}

.btn.btn-detail {
    color: var(--primary-color);
    padding: 8px 24px;
    border-radius: 0;
    border: 1px solid #000;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 16px;
    transition: all 0.3s ease;
    line-height: 24px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn.btn-detail:hover {
    background: var(--primary-color);
    color: #fff;
}

.t888-list-events .swiper-slide {
    padding: 45px 60px 35px 0;
    /* border-right: 1px solid #000; */
    /* border-right: none; */
}

.t888-list-events-style1 .swiper-slide-active::after {
    content: "";
    position: absolute;
    top: 0;
    right: 30px;
    height: 100%;
    width: 1px;
    background-color: #000000;
}


.t888-list-events-style1 .post-thumb {
    margin-bottom: 35px;
}


.t888-list-events.t888-list-events-style4 .swiper-slide,
.t888-list-events.t888-list-events-style5 .swiper-slide {
    border: none;
    padding: 0;
}

.t888-list-events.t888-list-events-style4 .read-more-share-wrap,
.t888-list-events.t888-list-events-style5 .read-more-share-wrap {
    margin-top: 26px;
    position: absolute;
    bottom: 0;
}
.t888-list-events.t888-list-events-style5 .read-more-share-wrap{
    justify-content: right;
}
.t888-list-events.t888-list-events-style4 .read-more-share-wrap .read-more,
.t888-list-events.t888-list-events-style5 .read-more-share-wrap .read-more {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    /* font-family: var(--font-rm-mono); */
    font-family: var(--font-assistant);
}



.t888-list-events.t888-list-events-style4 .swiper-slide:not(:nth-child(4n))::after,
.t888-list-events.t888-list-events-style5 .swiper-slide:not(:nth-child(4n))::after {
    content: "";
    position: absolute;
    top: 0;
    right: -12px;
    height: 100%;
    width: 1px;
    background-color: #1d1d1d;
}

.t888-list-events .post-thumb {
    position: relative;
    width: 100%;
    padding-top: 52.5%;
}

.t888-list-events .post-thumb a {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.t888-list-events .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.t888-list-events.t888-list-events-style1 .event-info {
    min-height: 360px;
}

.event-program {
    font-size: 16px;
    font-weight: 300;
    font-family: var(--font-family);
    line-height: 21px;
    margin-bottom: 25px;
}

.t888-list-events.t888-list-events-style4 .event-info .event-title,
.t888-list-events.t888-list-events-style5 .event-info .event-title {
    font-weight: 400;
    font-size: 20px;
    line-height: 30px !important;
    text-align: left;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.t888-list-events.t888-list-events-style4 .event-time-meta,
.t888-list-events.t888-list-events-style5 .event-time-meta {
    font-size: 15px;
    line-height: 32px;
    font-weight: 400;
    color: var(--primary-color);
}

.t888-list-events.t888-list-events-style4 .swiper-slide,
.t888-list-events.t888-list-events-style5 .swiper-slide {
    width: 100% !important;
    height: auto;
    transform: none !important;
}


.t888-list-events.t888-list-events-style4 .swiper-wrapper,
.t888-list-events.t888-list-events-style5 .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 cột */
    gap: 124px 24px;
    /* hàng x cột */
    transform: none !important;
    /* xoá transform do swiper */
}

.t888-list-events.t888-list-events-style4 .swiper-slide .thumbnail-cta,
.t888-list-events.t888-list-events-style5 .swiper-slide .thumbnail-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);

    padding: 10px 30px;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;

    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: 0.3s ease;
}

.t888-list-events.t888-list-events-style4 .swiper-slide:hover .thumbnail-cta,
.t888-list-events.t888-list-events-style5 .swiper-slide:hover .thumbnail-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

/* Mờ toàn item */
.t888-list-events.t888-list-events-style4 .swiper-slide:hover .product-item-inner,
.t888-list-events.t888-list-events-style5 .swiper-slide:hover .product-item-inner {
    opacity: 0.25;
    filter: blur(3px);
    transition: 0.3s ease;
}

/* Đảm bảo khi hover CTA thì nó không bị mờ */
.t888-list-events.t888-list-events-style4 .swiper-slide:hover .thumbnail-cta,
.t888-list-events.t888-list-events-style5 .swiper-slide:hover .thumbnail-cta {
    opacity: 1;
    filter: none;
}



@media (max-width: 1599.98px) {
    .t888-list-projects-style1 .post-thumb {
        margin-bottom: 40px;
    }
}

@media (max-width: 1024px) {
    .t888-list-events.t888-list-events-style4 .swiper-wrapper,
    .t888-list-events.t888-list-events-style5 .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 24px;
    }

    .t888-list-events.t888-list-events-style4 .swiper-slide:nth-child(2n)::after,
    .t888-list-events.t888-list-events-style5 .swiper-slide:nth-child(2n)::after {
        display: none;
    }

    .event-info-row {
        flex-direction: column;
    }
}

@media (max-width: 991.98px) {
    .t888-list-projects.t888-list-projects-style3 .swiper-wrapper {
        grid-template-columns: repeat(1, 1fr);
        /* 1 cột */

    }

    .t888-list-projects.t888-list-projects-style4 .swiper-wrapper,
     .t888-list-projects.t888-list-projects-style5 .swiper-wrapper{
        grid-template-columns: repeat(1, 1fr);
        /* 1 cột */
        gap: 0;
    }

    .t888-list-projects .project-info {
        min-height: 200px;
    }

    .t888-list-projects.t888-list-projects-style4 .swiper-slide,
    .t888-list-projects.t888-list-projects-style5 .swiper-slide {
        padding: 20px 0;
    }

    .t888-list-projects.t888-list-projects-style4 .swiper-slide::after,
    .t888-list-projects.t888-list-projects-style5 .swiper-slide::after {
        display: none;
    }

    .t888-list-projects-style2 .project-item {
        flex-wrap: wrap;
    }

    .t888-list-projects-style2 .project-item-inner {
        width: 100%;
    }

    .t888-list-projects-style2 .view-project {
        width: 100%;
        text-align: left;
        margin-top: 20px;
    }

    .t888-list-projects-style2 .project-item .project-list-gallery {
        flex-wrap: wrap;
    }

    .t888-list-projects-style2 .project-item .project-list-gallery .gallery-link {
        width: calc((100% - 30px) / 3);
    }

    .t888-list-events.t888-list-events-style1 .event-title {
        font-size: 32px !important;
        line-height: 48px !important;
    }
}

@media (max-width: 575.98px) {
    .t888-list-projects-style2 .project-item .project-list-gallery .gallery-link {
        width: calc((100% - 20px) / 2);
    }

    .t888-list-events .swiper-slide {
        padding: 45px 0 20px 0;
    }

    .t888-list-events-style1 .swiper-slide-active::after {
        display: none;
    }

    .t888-list-events-style1 .post-thumb {
        margin-bottom: 20px;
    }

    .t888-list-projects.t888-list-projects-style3 .project-info .project-title,
    .t888-list-events.t888-list-events-style1 .event-info .event-title {
        font-size: 28px;
        line-height: 36px;
    }



    .t888-list-events.t888-list-events-style4 .swiper-wrapper,
    .t888-list-events.t888-list-events-style5 .swiper-wrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 48px;
    }

    .t888-list-events.t888-list-events-style4 .swiper-slide::after,
    .t888-list-events.t888-list-events-style5 .swiper-slide::after {
        display: none;
    }
}