.content.about_child{
	top: 0;
}
.title_head,
.label_head,
.text-center {
    float: unset;
}

.container-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-content {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.list-news-left {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    flex: 1;
}

.menu-main-news {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.menu-main-news li {
    font-size: 16px;
    font-weight: 400;
    border-radius: 38px;
    cursor: pointer;
    padding: 1px;
    background: linear-gradient(to bottom, #0F4D98, #199F5A);

    &>div {
        padding: 8px 16px;
        background: #fff;
        border-radius: 38px;
    }

    &.active,
    &:hover {
        &>div {
            background: linear-gradient(to bottom, #0F4D98, #199F5A);
            color: #fff;
            /* font-weight: 500; */
        }
    }
}

.line-menu-news {
    background: #b3afaf;
    height: 1px;
    border: none;
}

.title-type-news {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;

    span {
        display: inline-block;
        width: 8px;
        height: 28px;
        border-radius: 8px;
        background: #199F5A;
    }
}

.card-news {
    display: flex;
    flex-direction: column;
    color: #333333;
    margin-bottom: 16px;
    border-radius: 5px;
    overflow: hidden;

    &:hover {
        color: #199F5A;
    }

    .main-news_image {
        width: 100%;
        height: 100%;
        position: relative;
        flex-shrink: 0;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .date-news {
            position: absolute;
            bottom: 0;
            left: 0;
            display: inline-block;
            padding: 5px 10px;
            background: rgba(0, 0, 0, 0.5);
            font-size: 10px;
            font-weight: 400;
            color: #fff;
            border-top-right-radius: 8px;
            line-height: 160%;
        }
    }

    .main-news_content {
        padding: 8px 0;
        font-size: 16px;
        line-height: 160%;
        font-weight: 500;

        p {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            margin-bottom: 0;
        }
    }



    &.main-news-big {
        .main-news_image {
            height: 202px;

            .date-news {
                font-size: 14px;
            }
        }

        .main-news_content {
            padding: 16px 0;
        }
    }

    &.card-horizontal {
        flex-direction: row;

        .main-news_image {
            width: 134px;
            height: 74px;
        }

        .main-news_content {
            padding: 11px 16px;
        }
    }

    &.small-news {
        .main-news_image {
            width: 127px;
            height: 70px;
        }

        .main-news_content {
            padding: 13px 16px;
            font-size: 14px;
            font-weight: 400;
        }
    }
}

.main-news {
    display: flex;
    gap: 24px;
}

.list-news-new {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;

    .card-news {
        width: calc(33.33% - 10.67px);

        .main-news_image {
            height: auto;
            aspect-ratio: 4/3;
        }
    }
}

.wrap-view-more {
    text-align: center;
    font-weight: 400;

    .btn-view-more {
        display: inline-block;
        background: linear-gradient(to bottom, #0F4D98, #199F5A);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}



.list-news-right {
    width: 330px;
}

.wrap-list-news {
    background: #fff;
    border-radius: 8px;
    width: 330px;
    flex-shrink: 0;
    padding: 16px;
    margin-bottom: 24px;
}

.wrap-news-detail {
    display: flex;
    gap: 24px;
}


.news-detail {
    padding: 16px;
    background: #fff;
    border-radius: 8px;
}

.news-detail .title-news {
    font-size: 24px;
    text-align: center;
    line-height: 160%;
    font-weight: 500;
}

.news-detail .more-information {
    margin-bottom: 16px;
    justify-content: space-between;
}

.news-detail .more-information .infor-statis {
    gap: 4px;
    margin-right: 16px;
}

.news-detail .more-information .infor-statis img {
    width: 20px;
    height: 20px;
}

.news-detail .more-information .infor-statis span {
    font-size: 14px;
}

.news-detail .more-information .infor-share {
    gap: 12px;
    margin-right: 16px;
    font-size: 14px;
}

.news-detail .more-information .infor-share .infor-share-box {
    gap: 12px;
}

.news-detail .more-information .infor-share .infor-share-box img {
    width: 24px;
}

.news-detail .img-banner {
    margin-bottom: 24px;
}

.news-detail .text-news {
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
}

.news-detail .title-category {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

.news-detail .table-major {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: auto;
    font-size: 18px;
    font-weight: 400;
    border: 1px solid #eee;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.news-detail .table-major th {
    background: linear-gradient(to bottom, #0F4D98, #199F5A);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 500;
}

.news-detail .table-major td {
    padding: 16px;
}

.news-detail .table-major tr {
    background: #fff;
}

.news-detail .table-major tr:nth-child(even) {
    background-color: #F8F9FA;
}

.news-detail .list-address li div {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.news-detail .list-address .mark-hotline {
    color: #FD1D1D;
    font-weight: 600;
}

.news-detail .highlight-news {
    padding: 24px;
    background: #EEFFF4;
    border-radius: 8px;
    margin-bottom: 16px;
}

.news-detail .form-register {
    background-image: url(../images/news/bg-register-form.jpg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 41px;
    border-radius: 13px;
    border-top-left-radius: 85px;
}

.news-detail .form-register h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
    text-align: center;
    line-height: 35px;
}

.news-detail .form-register .form-group {
    max-width: 591px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.news-detail .form-register .form-group:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(../images/icon/icon_mail.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
    opacity: 0.7;
}

.news-detail .form-register .form-group input {
    flex: 1;
    height: 50px;
    padding: 0 16px 0 52px !important;
    font-size: 15px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.news-detail .form-register .form-group input:focus {
    border-color: #ff6248;
    box-shadow: 0 0 0 3px rgba(255, 98, 72, 0.2);
}

.news-detail .form-register .form-group input::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

.news-detail .form-register .form-group button {
    height: 50px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #FF885C 0%, #FF6248 100%);
    border-radius: 8px;
    border: none;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 98, 72, 0.3);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-detail .form-register .form-group button:hover {
    background: linear-gradient(135deg, #FF7643 0%, #E54E34 100%);
    box-shadow: 0 6px 16px rgba(255, 98, 72, 0.4);
    transform: translateY(-1px);
}


@media (max-width: 1000px) {
    .main-content {
        flex-direction: column;
        gap: 0;
    }

    .list-news-left {
        width: 100%;
    }

    .list-news-right {
        width: 100%;
        display: flex;
    }

    .title_head {
        font-size: 32px;
        line-height: 140%;
    }

    .label_head {
        font-size: 16px;
        line-height: 160%;
        margin-bottom: 16px;
    }

    .wrap-news-detail {
        flex-direction: column;
    }

    .wrap-list-news {
        width: 50%;
    }

}

@media (max-width: 600px) {
    .main-news {
        flex-direction: column;
    }

    .list-news-left,
    .list-news-right {
        padding: 16px 0;
    }

    .list-news-new {
        .card-news {
            width: calc(50% - 8px);
        }
    }

    .list-news-right {
        flex-direction: column;
    }

    .news-detail {
        .title-news {
            font-size: 20px;
            line-height: 160%;
            font-weight: 500;
            margin-bottom: 16px;
        }

        .table-major {
            th:first-child {
                width: 58%;
            }

            th:last-child {
                width: 42%;
            }
        }

        .form-register {
            padding: 38px 16px 24px;
            border-top-left-radius: 66px;

            h4 {
                font-size: 16px;
                line-height: 160%;
            }

            .form-group {
                gap: 8px;
            }

            .form-group:before {
                left: 5px;
            }

            .form-group input {
                padding-left: 33px;
            }

            .form-group button {
                width: 87px;
                font-size: 14px;
                padding: 16px 10px;
            }
        }
    }

    .wrap-list-news {
        width: 100%;
    }

}

@media (max-width: 450px) {
    .list-news-new {
        .card-news {
            width: 100%;
        }
    }

    .wrap-menu-main-news {
        overflow-x: auto;
        width: 100%;

        .menu-main-news {
            display: flex;
            justify-content: center;
            flex-wrap: nowrap;
            width: max-content;
            gap: 8px;
            margin-bottom: 24px;

            li div {
                padding: 4px 16px;
            }
        }
    }

    .more-information {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
.news-content,
.news-content * {
    font-family: "Noto Sans JP", sans-serif !important;
}
.news-content img {
    max-width: 100%;
    height: auto;
}
.news-content .img-banner {
    display: block;
    margin: 15px auto;
    max-width: 100%;
    height: auto !important;
}
.news-content_tom .img-banner {
    width: 100% !important;
    max-width: 770px;
}

.news-content img.inline-icon {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    vertical-align: -2px !important;
    margin: 0 4px !important;
}

/* Styling for tables in news content */
.news-content table {
    width: 100% !important;
    max-width: 100%;
    margin: 20px 0;
    border-collapse: collapse !important;
    border: 1px solid #dcdcdc !important;
    font-size: 14px;
    line-height: 1.6;
    background-color: #fff;
}

.news-content table th,
.news-content table td {
    border: 1px solid #dcdcdc !important;
    padding: 10px 14px !important;
    vertical-align: middle;
    word-break: normal;
}

.news-content table th {
    background-color: #f4f6f9 !important;
    font-weight: 700;
    text-align: center;
}

.news-content table tr:hover td {
    background-color: #fbfbfb;
}

.news-content .table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.news-detail h4.title-category{
	font-size: 18px;
	line-height: 160%;
	background: var(--text-gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-transform: uppercase;
}
.news-detail h3.title-category{
	font-size: 20px;
	line-height: 160%;
	background: var(--text-gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-transform: uppercase;
}
.news-detail h2.title-category{
	font-size: 22px;
	line-height: 160%;
	background: var(--text-gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-transform: uppercase;
}
.trichdan{
    padding: 48px 24px 24px 24px;
    margin-bottom: 15px;
	border-radius: 16px;
	border-top: 1px solid #04A14A;
	border-bottom: 1px solid #04A14A;
	background: linear-gradient(180deg, #FFF 0%, #E5FFE7 100%);
}
.trichdan.trichdan2{
	border-top: 1px solid #006CBD;
	border-bottom: 1px solid #006CBD;
	background: linear-gradient(180deg, #FFF 0%, #F3F7FA 100%);
}
.trichdan.trichdan3{
	border-top: 1px solid #B93502;
	border-bottom: 1px solid #B93502;
	background: linear-gradient(180deg, #FFF 0%, #FFEFEF 100%);
}
p.news_detail_a{
	text-align: center;
}
p.news_detail_a a.style_button{
	padding: 8px 16px;
	display: inline-block;
	text-align: center;
	width: auto;
}
.news-content_tom{
	display: inline-block;
    margin-bottom: 20px;
	text-align: center;
}
.text-news-tom{
	text-transform: uppercase;
    text-align: center;
    font-size: 20px;
    line-height: 160%;
	background: var(--text-gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
hr.news_hr{
	background: linear-gradient(180deg, #0F4D98 0%, #199F5A 100%), linear-gradient(90deg, var(--color-orange-47, #F2B500) 0%, var(--color-rose-43, #D50578) 100%), var(--color-grey-88, #E0E0E0);
	height: 1px;
	border: 0px;
}
.text_nb{
	color: var(--8, #333);
	text-align: center;
	font-size: 22px;
	font-style: normal;
	font-weight: 500;
	line-height: 35px; 
	background: #D50578;
    background: -webkit-linear-gradient(to right, #F2B500, #D50578);
    background: -moz-linear-gradient(to right, #F2B500, #D50578);
    background: -o-linear-gradient(to right, #F2B500, #D50578);
    background: linear-gradient(to right, #F2B500, #D50578);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.news-content_tom img{
	text-align: center;
}

/* Đảm bảo chiều cao ảnh của card-news trong danh sách đồng bộ tỷ lệ 4:3, tránh lệch cột */
.list-news-new .card-news .main-news_image {
    height: auto !important;
    aspect-ratio: 4/3 !important;
}

/* Fix Japanese heading font weight */
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) h4, :lang(ja) h5, :lang(ja) h6,
:lang(ja) [class*="title_head"], :lang(ja) .title, :lang(ja) .label_head, :lang(ja) .font-baloo,
.lang-ja h1, .lang-ja h2, .lang-ja h3, .lang-ja h4, .lang-ja h5, .lang-ja h6,
.lang-ja [class*="title_head"], .lang-ja .title, .lang-ja .label_head, .lang-ja .font-baloo {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
}

/* Enforce fixed aspect ratios and crop shapes globally for Desktop and General screens */
.card-news.main-news-big .main-news_image,
.main-news .main-news-big .main-news_image {
    width: 100% !important;
    height: 202px !important;
}
.card-news.main-news-big .main-news_image img,
.main-news .main-news-big .main-news_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.card-news.card-horizontal .main-news_image,
.main-news .card-horizontal .main-news_image {
    width: 134px !important;
    height: 74px !important;
}
.card-news.card-horizontal .main-news_image img,
.main-news .card-horizontal .main-news_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Enforce equal heights and rectangular aspect-ratio for all grid cards to prevent layout skewing */
.list-news-new .card-news .main-news_image {
    width: 100% !important;
    aspect-ratio: 16/9 !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    border: 1px solid #eeeeee !important;
    background-color: #f8f9fa !important;
}

.list-news-new .card-news .main-news_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Prevent layout jumping and width shifting between tabs on Desktop */
@media (min-width: 768px) {
    .main-news .main-news-big {
        flex: 1 1 0% !important;
        min-width: 0 !important;
    }
    .main-news .list-main-news {
        flex: 0 0 330px !important;
        width: 330px !important;
    }
}

/* Mobile Responsive Styling for News Page (under 768px) */
@media (max-width: 767px) {
    /* Reset box-sizing to prevent padding/border overflows */
    .news,
    .news *,
    .list-news-left,
    .list-news-right,
    .wrap-list-news,
    .list-main-news,
    .card-news {
        box-sizing: border-box !important;
    }

    /* Reset Bootstrap row negative margins to prevent viewport overflow */
    .news .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    /* Reset Bootstrap column padding to let container padding handle spacing */
    .news [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }

    /* Keep horizontal layout but optimize space and padding */
    .card-news.card-horizontal {
        flex-direction: row !important;
        align-items: flex-start !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }
    
    .card-news.card-horizontal .main-news_image {
        width: 120px !important;
        height: 80px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .card-news.card-horizontal .main-news_image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .card-news.card-horizontal .main-news_content {
        padding: 5px 15px !important; /* Balanced left and right padding inside the card content */
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        min-height: 80px !important; /* Match image height */
    }

    .card-news.card-horizontal .main-news_content p {
        font-size: 14px !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
        margin: 0 0 6px 0 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
    }

    /* Move date from absolute badge to normal text flow under title */
    .card-news.card-horizontal .date-news {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        display: block !important;
        padding: 0 !important;
        background: none !important;
        color: #888888 !important;
        font-size: 12px !important;
        margin-top: auto !important; /* Push date to bottom of content area */
        border-radius: 0 !important;
        text-align: left !important;
    }

    /* Add uniform padding to news lists on mobile to prevent touching screen edges */
    .list-news-left,
    .list-news-right {
        padding: 16px 15px !important;
        width: 100% !important;
    }

    /* Stack sidebar viewed/related news containers to full width */
    .list-news-right {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .wrap-list-news {
        width: 100% !important;
    }
}

/* Responsive video wrapper styling for CKEditor video embedding */
.editor-video-wrapper {
    margin: 15px 0 !important;
}
.editor-video-wrapper iframe {
    display: inline-block !important;
}