#short-movie{
    padding: 80px 0 185.5px 0;
}
#short-movie .short-movie-list{
    max-width: 1000px;
    margin:auto;
    width: calc(100% - 40px);
}
#short-movie .short-movie-list .short-movie-list-inner{
    row-gap: 50.2px;
    justify-content: flex-start;
    column-gap: 50px;
    margin-top:70px;
}
#short-movie .short-movie-list .short-movie-list-inner .short-movie-item{
}

#short-movie .short-movie-list .short-movie-list-inner .short-movie-item .video-wrapper .youtube{
    border-radius: 10px;
}

#short-movie .short-movie-list .short-movie-list-inner .short-movie-item .tiktok-embed {
    height: 576px !important;
    border-radius: 10px;
    margin:0;
    overflow: hidden;
    max-width: 325px !important;
}
#short-movie .short-movie-list .short-movie-list-inner .short-movie-item .tiktok-embed iframe{
    max-width: 325px !important;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo video TikTok hiển thị đầy đủ */
}

/*TEMPLATE*/
.short-movie-item {
    width: 300px;
}


.short-movie-item .video-inner{
    position: relative;
    width: 100%;
    height: 584px;
    cursor: pointer;
    border-radius: 0px;
    overflow: hidden;
    border: 4px solid #47e8f6;
}

.short-movie-item .video-title{
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 2;
    letter-spacing: normal;
    text-align: center;
    color: #000;
    padding: 0 25px;
    margin-top: 25px;
}


.short-movie-item .company{
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 2;
    letter-spacing: normal;
    text-align: center;
    color: #000;
    margin-top: 0px;
}



.short-movie-item img.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.short-movie-item:hover img.thumbnail {
    opacity: 0;
}

.preview-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

/* Lớp overlay giúp click hoạt động dù iframe có mặt */
.preview-video .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
}

.short-movie-item:hover .preview-video {
    display: block;
}


 .eviry-baseplayer{
    height: 584px !important;
}



/* Popup Styles */
/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
}

.popup-content {
    width: 80%;
    max-width: 500px;
    padding: 25px 25px 40px 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.35);
    background-image: linear-gradient(to bottom, #fff, #ebebeb);
}


.popup-content .movie-ttl{
    font-size: 26px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.77;
    letter-spacing: 1.3px;
    text-align: center;
    color: #181818;
    margin: 43px 0 25px 0;
}

.popup-content .link-list{
    max-width: 928px;
    margin: 0px auto 0 auto;
    justify-content: center;
    gap: 20px;
}

.popup-content .link-list li a{
    font-size: 22px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.77;
    letter-spacing: 1.3px;
    text-align: center;
    color: #fff;
    display: block;
    padding: 8.6px 66px;
    border-radius: 35px;
    background-image: linear-gradient(to bottom, #000, #505050);
    width: fit-content;
    position: relative;
}

.popup-content .link-list li a img{
    position: absolute;
    max-width: 18px;
    top: 50%;
    transform: translateY(-50%);
    right: 35.7px;
    transition: .3s;
}
.popup-content .link-list li a:hover img{
    right:40.7px;
}
.close-btn {
    font-size: 25px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

.popup-movie-text {
    position: relative;
    /* min-height: 553px; */
    padding: 0;
    background-color: #fff;
    width: 300px;
    height: 584px;
    margin: 0 auto 0px auto;
    /* overflow: hidden; */
    width: 300px;
    height: 584px;
    cursor: pointer;
    border-radius: 0px;
    overflow: hidden;
    border: 5px solid #29ABE2;
}

.movie-list .novideos{
    width: 100%;
    text-align: center;
}



@media(max-width: 767px){

    #short-movie .short-movie-list .short-movie-list-inner .short-movie-item{
        width: 48%;
    }

    .short-movie-item .video-inner{
        height: 289px;
    }

    .short-movie-item .video-title{
        font-size: 12px;
        padding: 0 10px;
        margin-top: 5px;
    }


    #short-movie .short-movie-list .short-movie-list-inner{
        row-gap: 28px;
        justify-content: space-between;
        column-gap: unset;
    }

    #short-movie{
        padding: 43px 0 28px 0;
    }

    #short-movie .popup-content{
        padding: 30px 15px 30px;
    }
    .popup-content .movie-ttl {
        font-size: 19px;
        margin: 23px 0 18px 0;
    }
    .popup-content .link-list li a{
        font-size: 14px;
        padding: 8.6px 30px;
    }

    .popup-content .link-list li a img {
        max-width: 14px;
        right: 10.7px;
    }
    .popup-movie-text iframe{
        height: 100%;
    }
    .popup-movie-text {
        position: relative;
        width: 100%;
        height: 446px;

    }

}

@media(max-width: 360px){
    .short-movie-item .video-inner {
        height: 244px;
    }
}