.top-content {
    background: url(/assets/img/background-ai.png) no-repeat!important;
    background-size: cover !important;
}
.container-content{
    display: flex;
    flex-direction: row;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.container-header{
    padding: 0 20px !important;
}
.container-content .left-content-see{
    width: 15%;
    background: #fff;
    padding: 20px ;
    text-align: justify;
    border-right: 1px solid #8E8E8E;
}
.container-content .right-content-see{
    width: 85%;
    padding: 0px 25px 15px  25px;
    background: #fff;

}
.container-pc{
    max-width: 100% !important;
}
.list-template {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 4 cột trên PC */
    gap: 16px;
}
@media (min-width: 1400px) and (max-width: 1800px) {
    .list-template {
        grid-template-columns: repeat(5, 1fr) !important; /* 4 cột trên PC */
    }

}
@media (min-width: 960px) and (max-width: 1400px) {
    .list-template {
        display: grid;
        grid-template-columns: repeat(4, 1fr) !important; /* 4 cột trên PC */
        gap: 16px;
    }
    .container-content .left-content-see{
        width: 20% !important;
    }
    .left-content-see p{
        margin: 10px 0 !important;
    }
}
@media (min-width: 1400px) and (max-width: 1700px) {
    .list-template {
        display: grid;
        grid-template-columns: repeat(4, 1fr) !important; /* 4 cột trên PC */
        gap: 16px;
    }
    .container-content .left-content-see{
        width: 20% !important;
    }
}


.left-content-see p{
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 550;
    font-size: 18px;
    margin: 10px 0;
}
.item-template .list-icon img{

    width: 16%;
    object-fit: contain;
}
.item-template .list-icon .icon-play{
    display: none;
}
.item-template .content-template video{
    aspect-ratio: 1/ 1;
}
.footer-template p {
    white-space: nowrap;          /* 1. Prevent text from wrapping to the next line */
    overflow: hidden;             /* 2. Hide any content that overflows the element's box */
    text-overflow: ellipsis;      /* 3. Display an ellipsis (...) to indicate clipped text */
    max-width: 100%;              /* Optional: Ensure it respects parent width if flex/grid is involved */
}

.left-content-see p.active{
    background: linear-gradient(90deg, #FF8FD3 0%, #FFE6D0 100%);
    border-radius: 10px;
}
.right-content-see .item-function{
    padding-top: 15px;
}
.content-template img{
    width: 100%;
    border-radius: 20px;
}
.right-content-see .item-function .left-header-content h3{
    padding: 15px 0 8px 0;
}
.list-category {
    display: none;
}
.list-category.active {
    display: block;
}
@media (min-width: 900px) and (max-width: 1200px){
    .container-content .left-content-see {
        width: 30% !important;
    }
}

@media (min-width: 765px) and (max-width: 840px) {
    .item-template .footer-template p{
        max-width: 290px !important;
    }
}

@media (max-width: 840px) {
    .container-content .left-content-see {
        width: 100% !important;
    }
    .border-header{
        margin-bottom: 8px !important;
    }

    .container-content .left-content-see{
        padding: 0 20px;
    }
    .left-content-see p{
        margin: 0 !important;
    }
    .list-template {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important; /* 4 cột trên PC */
        gap: 16px;
    }
    .container-pc{
        max-width: 95% !important;
    }
    .container-content {
        flex-direction: column;
        gap: 10px !important;
        box-shadow:none !important;
        border-radius: 10px;
    }
    .item-template .list-icon img{
        width: 25% !important;
    }


    .left-content-see {
        width: 100% !important;
        display: flex;
        overflow-x: auto;
        gap: 10px !important;
        padding: 10px 10px;
        border-right: none !important;
        scroll-snap-type: x mandatory;
        background: none !important;
    }
    .container-content .right-content-see{
        padding: 10px 20px !important;
        border-radius: 10px;
    }

    .left-content-see p {
        flex-shrink: 0;
        scroll-snap-align: start;
        white-space: nowrap;
        border-radius: 10px;
        padding: 8px 16px;
        font-weight: 500;
        background: #f2f2f2;
    }

    .right-content-see {
        width: 100% !important;
    }
    .left-content-see {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .left-content-see::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
}
@media (max-width: 540px) {
    .container-header{
        padding: 0 !important;
    }
    .border-header{
        margin-bottom: 5px !important;
    }
    .right-content-see .item-function{
        padding-top: 0 !important;
    }
    .container-content .right-content-see{
        padding: 0 20px !important;
    }
    .left-content-see p {
        padding: 3px 16px !important;
        border-radius: 20px !important;
    }
    .item-template .content-template {
        padding-bottom: 5px !important;
    }
    .item-template .footer-template p{
        padding-top: 5px !important;
    }
    .right-content-see .item-function:first-of-type .left-header-content h3 {
        padding-top: 15px !important;
    }

    .right-content-see .item-function:not(:first-of-type) .left-header-content h3 {
        padding-top: 0 !important;
    }
    .item-template .list-icon img {
        width: 18% !important;
    }

}
@media (min-width: 765px) and (max-width: 848px) {
    .item-template .list-icon img{
        width: 15% !important;
    }
}
@media (min-width: 900px) and (max-width: 980px){
    .list-template{
        grid-template-columns: repeat(3, 1fr);
    }

}
