#news-detail-page{
    background:#fff;
}

.banner-inner{
    position:relative;
    height:420px;
    overflow:hidden;
}

.bg-inner{
    width:100%;
    height:420px;
    background-size:cover;
    background-position:center;
}

.load-content{
    max-width:1200px;
    margin:auto;
    padding:60px 20px;
}



.load-title{
    position: relative;
    display: block;
    font-weight: 700;
    font-size: 24px;
    color: #666;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 1px;
    margin-top: 5px;
    padding: 30px;


}

.load-title h1{
    font-size:42px;
    line-height:1.3;
    margin-bottom:20px;
}
.load-title h3 {
    position: relative;
    display: block;
    font-weight: 700;
    font-size: 24px;
    color: #666;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 1px;
    margin-left: 60px;
    margin-top: 5px;
    padding: 30px;
}
.date-thumb{
     border-radius: 12px;
     border: 1px solid #e5e7eb;

    font-size:40px;
    font-weight:700;
    color:#d60000;
}

.date-thumb span{
    display:block;
    font-size:18px;
    color:#666;
}

.load-text{
    line-height:1.9;
    font-size:17px;

     border: 1px solid #e5e7eb;
   
}


.same-section{
    padding:60px 0;
    background:#fafafa;
}

.related-title{
    padding: 25px;
    margin-bottom:25px;
    font-size:28px;
}

.container-main {
    position: relative;
    width: 100%;
    max-width: 1200px; /* hoặc 100% nếu muốn full */
    margin: 0 auto;

    display: block; /* QUAN TRỌNG NHẤT */
    box-sizing: border-box;

    padding: 0 15px; /* nếu muốn thở 2 bên */
}

div.related-news {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 50px;

    width: 100%;
    max-width: 1200px;

    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0;
    margin-bottom: 0;

    padding: 0 15px;
    box-sizing: border-box;
}


.link-page a{
    position:absolute;
    inset:0;
}


.link-page{
    background:#fff;
    /*border-radius:12px;*/
    overflow:hidden;
    box-shadow:0 4px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.link-page:hover{
    transform:translateY(-5px);
}

.pic-thumb img{
    width:50%;
    object-fit:cover;
}



.load-text img{
    width:15px !important;
    height:auto;
    display:block;
    margin:20px auto;
}

.load-text figure{
    text-align:center;
}

/* Icon trong nội dung */
.load-text img.wp-image-,
.load-text img[class*="wp-image"]{
    max-width:400px;
}
.load-text{
    font-size:16px;
    line-height:1.8;
    color:#333;
    /* border: 1px solid #cd272794*/
}

.load-text h1,
.load-text h2,
.load-text h3,
.load-text h4{
    margin:25px 0 15px;
    line-height:1.4;
}

.load-text p{
    margin-bottom:15px;
}

.load-text ul{
    margin:15px 0 15px 25px;
}

.load-text li{
    margin-bottom:10px;
}

.load-text a{
    color:#d91f26;
}



.link-text{
    padding:2px;
    color:#d91f26;
}

.link-text h3{
    font-size:16px;
    line-height:1.5;
}


.load-text p img{
    max-width:350px;
    margin:auto;
}

#ks-news-detail .ks-news-related{
    background:#fafafa !important;
    padding:60px 0 !important;
    margin-top:40px !important;
}


.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;


    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
}

footer.footer {
    position: relative !important;
    z-index: 1;
    clear: both;
}


.load-details {
    max-width: 1200px;
    margin: auto;
    background: #fff;
    padding: 1px;
    border-radius: 10px;
}

.print {
    display: flex;
    justify-content: center;
}
.print-box {
    display: flex;
    gap: 15px;
}
.print-box a {
    padding: 10px 10px;
    background: #fbba5fab;
    border-radius: 8px;
    text-decoration: none;
}

.print-box a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.print-box .icon {
    display: inline-flex;
}

.show .link-home, .show .video-a {
    margin-right: 30px;
}




@media (max-width: 991px){
div.bg-cover.bg-screen, .load-title{display: none !important;}
   
div.news-link{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 3px;
    width: 99%;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0;
    margin-bottom: 0;

    box-sizing: border-box;}



    /* ===== CONTAINER CHUNG ===== */
    



    #news-detail-page{
        overflow-x: hidden;
    }

    .container-main,
    .load-content{
        padding-left: 15px;
        padding-right: 15px;
    }

    /* ===== BANNER ===== */
    .banner-inner{
        height: 220px; /* giảm từ 420px */
    }

    .bg-inner{
        height: 220px;
    }

    /* ===== TITLE ===== */
    .load-title{
        padding: 15px;
    }

    .load-title h1{
        font-size: 22px;
        margin-bottom: 10px;
    }

    .load-title h3{
        font-size: 18px;
        margin-left: 0;
        padding: 10px;
    }

    /* DATE BOX */
    .date-thumb{
        font-size: 22px;
        padding: 8px 12px;
        display: inline-block;
        margin-top: 10px;
    }

    .date-thumb span{
        font-size: 14px;
    }

    /* ===== CONTENT ===== */
    .load-text{
        font-size: 15px;
        line-height: 1.7;
        padding: 15px;
    }

    .load-text img{
        max-width: 100% !important;
        height: auto;
    }

    /* ===== RELATED NEWS GRID ===== */
    div.related-news{
        grid-template-columns: 1fr; /* từ 4 cột -> 1 cột */
        gap: 20px;
        padding: 0 10px;
    }

    .link-page{
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .pic-thumb img{
        width: 90px;
        height: 70px;
        object-fit: cover;
        border-radius: 8px;
    }

    .link-text h3{
        font-size: 14px;
    }

    /* ===== PRINT BOX ===== */
    .print{
        justify-content: center;
        padding: 10px 0;
    }

    .print-box{
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .print-box a{
        font-size: 13px;
        padding: 8px 10px;
    }

    /* footer tránh dính layout */
    footer.footer{
        position: relative !important;
        margin-top: 30px;
    }
}




