/* ============================================
   News Archive Page Styles
   ============================================ */


/* Headlines Section (ysbtt) */
.ysbtt {
    margin-bottom: 40px;
}

.ysbtt_bd {
    margin-bottom: 20px;
}

.ysbtt_bd dl {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
    overflow: hidden;
    display: flex;
    gap: 0;
}

.ysbtt_bd dl:last-child {
    border-bottom: 0;
    border: 1px solid #DCDCDC;
    padding-bottom: 0;
}

.ysbtt_bd dt {
    width: 60.67%;
    /* 728px / 1200px */
    max-width: 728px;
    overflow: hidden;
    flex-shrink: 0;
}

.ysbtt_bd dt img {
    display: block;
    width: 100%;
    transition: all 0.5s;
    height: 100%;
}

.ysbtt_bd dt:hover img {
    transform: scale(1.05);
}

.ysbtt_bd dd {
    width: 39.33%;
    box-sizing: border-box;
    padding: 0 32px 0 54px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.ysbtt_bd dd h4 {
    font-size: 22px;
    color: #333;
    line-height: 28px;
    font-weight: normal;
    margin: 80px 0 30px;
}

.ysbtt_bd dd h4 a {
    color: #333;
}

.ysbtt_bd dd h4:hover a {
    color: #EA5404;
}

.ysbtt_bd dd p {
    font-size: 16px;
    color: #666;
    line-height: 28px;
    letter-spacing: 1px;
}

.ysbtt_bd dd .xq {
    display: block;
    width: 100px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    background: #EA5404;
    border-radius: 15px;
    margin-top: 56px;
    transition: all 0.5s;
    text-decoration: none;
}

.ysbtt_bd dd .xq:hover {
    width: 120px;
}

.ysbtt_list {
    margin-top: 12px;
}

.ysbtt_list ul {
    list-style: none;
    margin: 0 -10px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
}

.ysbtt_list li {
    flex: 1 1 0;
    /* Chia đều không gian */
    min-width: 0;
    position: relative;
    box-sizing: border-box;
    margin: 0 10px;
}

.ysbtt_list li:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    content: "";
    background: #EA5404;
    transition: all 0.5s;
}


.ysbtt_list li img {
    display: block;
    width: 100%;
}

.ysbtt_list li h4 {
    height: 46px;
    line-height: 46px;
    text-align: center;
    font-weight: normal;
    font-size: 16px;
    color: #333;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.ysbtt_list li h4 a {
    color: #333;
}

.ysbtt_list li.on:after,
.ysbtt_list li:hover:after {
    width: 100%;
}

/* Mobile elements - ẩn trên desktop */
.ysbtt_mobile_list,
.ysbtt_view_more {
    display: none;
}

/* Media Reports Section (mtbd) */
.mtbd {
    padding: 60px 0 80px;
}

.mtbd_l {
    float: left;
    width: 48.08%;
    margin-right: 3.92%;
    /* gap để tổng = 100% */
}

.mtbd_l dl {
    margin: 0;
    padding: 0;
}

/* Desktop: chỉ hiển thị bài đầu tiên */
.mtbd_l dl:not(:first-child) {
    display: none;
}

/* Mobile elements - ẩn trên desktop */
.mtbd_view_more,
.ppzx_view_more,
.kphb_view_more,
.spzq_view_more {
    display: none;
}

.mtbd_l dt {
    height: 349px;
    overflow: hidden;
}

.mtbd_l dt img {
    width: 100%;
    height: 349px;
    object-fit: cover;
    transition: all 0.5s;
}

.mtbd_l dt:hover img {
    transform: scale(1.05);
}

.mtbd_l dd h4 {
    font-size: 18px;
    color: #282828;
    line-height: 18px;
    font-weight: normal;
    padding: 20px 0 15px;
}

.mtbd_l dd h4 a {
    color: #282828;
}

.mtbd_l dd h4:hover a {
    color: #f74702;
}

.mtbd_l dd p {
    font-size: 16px;
    color: #7F7F7F;
    line-height: 26px;
}

.mtbd_l dd .new_time {
    height: 60px;
    line-height: 60px;
    border-top: 1px solid #cdcdcd;
    border-bottom: 1px solid #cdcdcd;
    margin-top: 15px;
}

.mtbd_l dd .new_time i,.kphb_con dd i {
    float: left;
    font-style: normal;
    font-size: 14px;
    color: #666;
    padding-left: 22px;
    background: url('../images/time.png') no-repeat left center;
}

.mtbd_l dd .new_time .xq {
    font-size: 14px;
    color: #f74702;
    float: right;
    text-decoration: none;
}

.mtbd_r {
    float: right;
    width: 48%;
}

.mtbd_r .tempWrap {
    height: 564px !important;
    overflow: hidden;
    position: relative;
}

.mtbd_r ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.mtbd_r li {
    height: 113px;
    border-bottom: 1px solid rgba(3, 3, 3, 0.2);
    margin-bottom: 36px;
}

.mtbd_r li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.mtbd_r li h4 {
    font-size: 18px;
    color: #282828;
    line-height: 18px;
    font-weight: normal;
    margin-bottom: 15px;
}

.mtbd_r li h4 a {
    color: #282828;
}

.mtbd_r li h4:hover a {
    color: #f74702;
}

.mtbd_r li p {
    font-size: 16px;
    color: #7F7F7F;
    line-height: 26px;
    margin: 0;
}

/* Brand News Section (ppzx) */
.ppzx {
    padding: 0 0 50px;
}

.ppzx ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    margin:0 -10px;
}

.ppzx li {
    float: left;
    width: calc(33.33% - 20px);
    margin:0 10px;
    position: relative;
}

.ppzx li:last-child {
    margin-right: 0;
}

.ppzx li i {
    display: block;
    overflow: hidden;
}

.ppzx li img {
    display: block;
    width: 100%;
    transition: all 0.5s;
    border-radius: 5px;
}

.ppzx li i:hover img {
    transform: scale(1.05);
}

.ppzx li h4 {
    height: 52px;
    line-height: 52px;
    text-align: center;
    font-size: 18px;
    color: #282828;
    font-weight: normal;
    border-bottom: 1px solid #BFBFBF;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 0;
}

.ppzx li h4 a {
    color: #282828;
}

.ppzx li:after {
    position: absolute;
    width: 0;
    height: 2px;
    content: "";
    left: 0;
    bottom: 0px;
    transition: all 0.5s;
    background: #f74702;
}

.ppzx li:hover:after {
    width: 100%;
}

/* Science Section (kphb) */
.kphb {
    padding: 50px 0 0;
}

.kphb_con {
    overflow: hidden;
}

.kphb_con dl {
    height: 176px;
    margin-bottom: 28px;
    overflow: hidden;
    display: flex;
    gap: 3.75%;
    /* gap giữa dt và dd */
}

.kphb_con dl:last-child {
    margin-bottom: 0;
}

.kphb_con dt {
    width: 24.17%;
    height: 176px;
    overflow: hidden;
    flex-shrink: 0;
}

.kphb_con dt img {
    display: block;
    width: 100%;
    height: 176px;
    object-fit: cover;
    transition: all 0.5s;
    border-radius: 5px;
}

.kphb_con dt:hover img {
    transform: scale(1.05);
}

.kphb_con dd {
    width: 72.08%;
    height: 176px;
    flex: 1;
}

.kphb_con dd h4 {
    font-size: 18px;
    color: #333;
    line-height: 18px;
    font-weight: normal;
    margin: 0px 0 15px;
}

.kphb_con dd h4 a {
    color: #333;
}

.kphb_con dd h4:hover a {
    color: #f74702;
}

.kphb_con dd p {
    font-size: 16px;
    color: #7F7F7F;
    line-height: 26px;
    margin: 0;
}

.kphb_con dd i {
    display: block;
    font-style: normal;
    font-size: 14px;
    color: #666;
    line-height: 24px;
    opacity: 0.5;
    margin-top: 24px;
}

/* Videos Section (spzq) */
.spzq {
    padding: 70px 0 100px;
}

.spzq_con {
    width: 100%;
}

.spzq_con ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.spzq_con li {
    float: left;
    width: calc(48.83% - 10px);
    height: 354px;
    overflow: hidden;
    position: relative;
}

.spzq_con li:nth-child(2) {
    float: right;
}

.spzq_con li .vd {
    width: 100%;
    height: 354px;
    overflow: hidden;
}

.spzq_con li .vd img {
    display: block;
    width: 100%;
    height: 354px;
    object-fit: cover;
    transition: all 0.5s;
    border-radius: 5px;
}

.spzq_con li .vd:hover img {
    transform: scale(1.05);
}

.spzq_con li .shipin {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.spzq_con li .shipin iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.spzq_con li h4 {
    position: absolute;
    left: 0;
    width: 100%;
    height: 30px;
    line-height: 30px;
    bottom: 24px;
    padding: 0 30px;
    box-sizing: border-box;
    font-size: 18px;
    color: #fff;
    font-weight: normal;
    margin: 0;
}

.spzq_con li h4 a {
    float: right;
    width: 85px;
    height: 30px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    background: #DD5414;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
}

/* Section Title */
.new_t {
    padding-left: 17px;
    height: 33px;
    line-height: 33px;
    font-size: 26px;
    color: #333;
    font-weight: normal;
    position: relative;
    margin-bottom: 25px;
    overflow: hidden;
    text-transform: uppercase;
}
.new_t a{
    text-transform: none;
}
.new_t:after {
    position: absolute;
    width: 5px;
    height: 32px;
    content: "";
    left: 0;
    top: 0;
    background: #333;
    border-radius: 3px;
}

.new_t a {
    float: right;
    line-height: 33px;
    font-size: 14px;
    color: #fff;
    background: #ea5404;
    padding-left: 10px;
    box-sizing: border-box;
    font-family: Tahoma;
    text-decoration: none;
    border-radius: 15px;
    padding-right: 10px;
}

/* ============================================
   News Archive Page Responsive Styles
   ============================================ */
@media (max-width: 1199.98px) {
    .ysbtt_bd dd {
        padding: 15px
    }

    .ysbtt_bd dd h4 {
        margin: 30px 0
    }

    .ysbtt_bd,
    .ysbtt_bd dl {
        margin-bottom: 15px;
    }

    .ysbtt_list ul {
        margin: 0 -7.5px;
    }

    .ysbtt_list li {
        margin: 0 7.5px;
    }

    .mtbd {
        padding: 30px 0
    }

    .ysbtt {
        margin-bottom: 0;
    }

    .mtbd_l {
        margin-right: 30px;
        width: calc(50% - 15px);
    }

    .mtbd_r {
        width: calc(50% - 15px);
    }

    .kphb,
    .ppzx {
        padding: 0 0 30px;
    }

    .kphb_con dl {
        gap: 20px;
        margin-bottom: 20px;
    }

    .spzq {
        padding: 0
    }

    .spzq_con li {
        width: calc(50% - 10px);
    }

    .ppzx li {
        width: calc(33.33% - 20px);
        margin: 0 10px
    }

    .ppzx ul {
        margin: 0 -10px;
    }

    .mtbd_r li h4 {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mtbd_r li p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 991.98px) {
    .mtbd_l dd p, .kphb_con dd p{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .ppzx li{
        width: calc(50% - 20px);
        margin-bottom: 20px;
    }
    .new_t:after,.new_t a {
        display: none;
    }
    
    /* MTBD - Hiển thị giống KPHB trên mobile */
    .mtbd_r {
        display: none; /* Ẩn list bên phải */
    }
    
    .mtbd_l {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 0;
    }
    
    /* Mobile: hiển thị tất cả các bài */
    .mtbd_l dl:not(:first-child) {
        display: flex;
    }
    
    /* Chuyển mtbd_l thành layout giống kphb */
    .mtbd_l dl ,.kphb_con dl{
        height: 176px;
        margin-bottom: 28px;
        overflow: hidden;
        display: flex;
        gap: 3.75%;
        background: #eeeeee;
    }
    .kphb_con dd{
        padding: 15px 15px 0 0;
        margin-bottom: 0;
    }
    /* Mobile: chỉ hiển thị 5 bài đầu tiên */
    .mtbd_l dl:nth-child(n+6) {
        display: none;
    }
    
    .mtbd_l dl:last-child {
        margin-bottom: 0;
    }
    
    /* Nút View more */
    .mtbd_view_more {
        display: block;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .mtbd_view_more .view-more-btn {
        display: inline-block;
        padding: 12px 40px;
        border: 2px solid rgba(102, 102, 102, 0.5);
        color: #666;
        text-decoration: none;
        font-size: 16px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .mtbd_view_more .view-more-btn:hover {
        background: rgba(102, 102, 102, 0.1);
        border-color: #666;
    }
    
    /* PPZX - Nút View more */
    .ppzx_view_more {
        display: block;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .ppzx_view_more .view-more-btn {
        display: inline-block;
        padding: 12px 40px;
        border: 2px solid rgba(102, 102, 102, 0.5);
        color: #666;
        text-decoration: none;
        font-size: 16px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .ppzx_view_more .view-more-btn:hover {
        background: rgba(102, 102, 102, 0.1);
        border-color: #666;
    }
    
    /* KPHB - Nút View more */
    .kphb_view_more {
        display: block;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .kphb_view_more .view-more-btn {
        display: inline-block;
        padding: 12px 40px;
        border: 2px solid rgba(102, 102, 102, 0.5);
        color: #666;
        text-decoration: none;
        font-size: 16px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .kphb_view_more .view-more-btn:hover {
        background: rgba(102, 102, 102, 0.1);
        border-color: #666;
    }
    
    /* SPZQ - Nút View more */
    .spzq_view_more {
        display: block;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .spzq_view_more .view-more-btn {
        display: inline-block;
        padding: 12px 40px;
        border: 2px solid rgba(102, 102, 102, 0.5);
        color: #666;
        text-decoration: none;
        font-size: 16px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .spzq_view_more .view-more-btn:hover {
        background: rgba(102, 102, 102, 0.1);
        border-color: #666;
    }
    
    .mtbd_l dt {
        width: 24.17%;
        height: 176px;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .mtbd_l dt img {
        width: 100%;
        height: 176px;
        object-fit: cover;
        border-radius: 5px;
    }
    
    .mtbd_l dd {
        width: 72.08%;
        height: 176px;
        flex: 1;
        padding: 15px 15px 0 0;
    }
    
    .mtbd_l dd h4 {
        font-size: 18px;
        color: #333;
        line-height: 18px;
        font-weight: normal;
        margin: 0 0 15px 0;
        padding: 0;
    }
    
    .mtbd_l dd h4 a {
        color: #333;
    }
    
    .mtbd_l dd h4:hover a {
        color: #f74702;
    }
    
    .mtbd_l dd p {
        font-size: 16px;
        color: #7F7F7F;
        line-height: 26px;
        margin: 0;
    }
    
    .mtbd_l dd .new_time {
        height: auto;
        line-height: 24px;
        border: none;
        margin-top: 24px;
    }
    
    .mtbd_l dd .new_time i {
        float: none;
        display: block;
        opacity: 0.5;
        margin-top: 0;
    }
    
    .mtbd_l dd .new_time .xq {
        display: none; /* Ẩn nút xem chi tiết trên mobile */
    }
    .ysbtt_bd dl:last-child{
        border:0;
        border-bottom: 1px solid #DCDCDC;
    }
    /* YSBTT - Mobile Layout */
    .ysbtt_list ,.ysbtt_bd dd .xq{
        display: none; /* Ẩn list ngang trên mobile */
    }
    .ysbtt_mobile_list, .ysbtt_view_more{
        display: block;
    }
    .ysbtt_bd {
        margin-bottom: 15px;
    }
    
    .ysbtt_bd dl {
        display: block; /* Đổi từ flex sang block */
        border: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .ysbtt_bd dt {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .ysbtt_bd dt img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    .ysbtt_bd dd {
        width: 100%;
        max-width: 100%;
        padding: 0;
        height: auto;
        border: none;
    }
    
    .ysbtt_bd dd h4 {
        margin: 0 0 15px 0;
        font-size: 20px;
        line-height: 28px;
    }
    
    .ysbtt_bd dd p {
        margin: 0 0 15px 0;
        font-size: 16px;
        line-height: 24px;
    }
    
    .ysbtt_bd dd .xq {
        margin-top: 0;
    }
    
    .ysbtt_mobile_item {
        background: #eee;
        border: 1px solid #e5e5e5;
        border-radius: 4px;
        padding: 15px;
        margin-bottom: 15px;
        transition: all 0.3s ease;
    }
    
    .ysbtt_mobile_item:hover {
        background: #f0f0f0;
        border-color: #EA5404;
    }
    
    .ysbtt_mobile_item h4 {
        margin: 0;
        font-size: 16px;
        line-height: 24px;
        font-weight: normal;
    }
    
    .ysbtt_mobile_item h4 a {
        color: #333;
        text-decoration: none;
    }
    
    .ysbtt_mobile_item:hover h4 a {
        color: #EA5404;
    }
    
    /* Nút View more */
    .ysbtt_view_more {
        display: block;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .ysbtt_view_more .view-more-btn {
        display: inline-block;
        padding: 12px 40px;
        border: 2px solid rgba(102, 102, 102, 0.5);
        color: #666;
        text-decoration: none;
        font-size: 16px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .ysbtt_view_more .view-more-btn:hover {
        background: #EA5404;
        color: #fff;
    }
}
@media (max-width: 767.98px) {
    .spzq_con li{
        width: 100%;
        margin-bottom: 15px;
    }
}
@media (max-width: 575.98px) {
   
}
@media (max-width:480px) {
    .mtbd_l dt img,.mtbd_l dd,.mtbd_l dt,.kphb_con dd, .spzq_con li,.spzq_con li .vd,.spzq_con li .vd img,.mtbd_l dl, .kphb_con dl,.kphb_con dt,.kphb_con dt img{
        height: auto;
    }
    .mtbd_l dd p,.kphb_con dd p{
        display: none;
    }
    .kphb_con dt,.mtbd_l dt{
        width: 38%;
    }
    .kphb_con dd,.mtbd_l dd{
        width: 60%;
    }
    .kphb_con dd i,.mtbd_l dd .new_time{
        margin-top: 0;
    }
    .kphb_con dd h4 a,.mtbd_l dd h4 a{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13px;
    }
    .mtbd_l dd{
        margin-bottom: 0;
    }
    .mtbd_l dd h4{
        margin-bottom: 10px;
    }
    .mtbd_l dl, .kphb_con dl{
        margin-bottom: 15px;
    }
    .ysbtt_view_more .view-more-btn,.mtbd_view_more .view-more-btn,.ppzx_view_more .view-more-btn,.kphb_view_more .view-more-btn,.spzq_view_more .view-more-btn{
        padding:7px 26px
    }
    .new_t{
        font-size: 22px;
    }
    .ppzx li{
        width: 100%;
    }
}