:root {
    --text-gradient-primary: linear-gradient(to bottom, #0F4D98, #199F5A);
}

.menu-child-left_list a,
.breadcrumb a {
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    color: #000;
    text-decoration: none;
}

.menu-child-left_list a:hover,
.menu-child-left_list a.active,
.breadcrumb a:hover,
.breadcrumb a.active {
    background: var(--text-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.d-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.title_head,
.label_head,
.text-center {
    float: unset;
}

.text-gradient {
    background: var(--text-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.banner_info {
    margin-top: 100px;
}

.banner_info .banner_info_ct {
    position: relative;
}

.banner_info .banner_info_ct .banner_info_title {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 500;
    line-height: 160%;
    text-align: center;
    background: var(--text-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
}

.breadcrumb {
    padding: 16px 0;
    background-color: #fff;
    margin-bottom: 0px;
}

.breadcrumb .breadcrumb_ct {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
}

.breadcrumb .breadcrumb_ct img {
    flex-shrink: 0;
}

.breadcrumb .breadcrumb_ct a {
    display: inline-flex;
    align-items: center;
}

/* Các liên kết trung gian (Trang chủ, Tin tức, Danh mục) luôn giữ nguyên chữ, không co lại */
.breadcrumb .breadcrumb_ct a:not(.active) {
    flex-shrink: 0;
    white-space: nowrap;
    overflow: visible;
}

/* Phần tử cuối cùng (tiêu đề bài viết) chiếm không gian còn lại và tự thu gọn với dấu ... */
.breadcrumb .breadcrumb_ct a.active {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.main-content {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.menu-child-left {
    padding: 16px 16px;
    min-width: 212px;
    background-color: #fff;
    height: fit-content;
    border-radius: 8px;
    position: relative;
}

.menu-child-left_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 160%;
    margin-bottom: 0;
}

.menu-child-left_list {
    padding-left: 0;
    list-style: none;
}

.menu-child-left_list li {
    margin-bottom: 16px;
    font-weight: 500;
}

.content-right {
    padding: 24px;
    background-color: #fff;
    border-radius: 8px;
    flex: 1;
}

.content-right .main-banner-about {
    margin-bottom: 16px;
}

.content-right .right_item_title {
    font-size: 32px;
    line-height: 160%;
}

.footer.about_child {
    margin-top: 60px;
}

/* menu danh much */
.menu-child-left_icon {
    display: none;
}

@media only screen and (max-width: 1250px) {
    .menu-child-left {
        min-width: auto;
        margin-bottom: 16px;
    }
}

/* responsive */
@media (max-width: 1000px) {
    .sp-none {
        display: none;
    }

    .banner_info_ct img {
        height: 100px;
    }

    .main-content {
        flex-direction: column;
    }

    .menu-child-left {
        width: fit-content;
        min-width: auto;
        margin-bottom: 16px;
    }

    .menu-child-left_title {
        cursor: pointer;
        white-space: nowrap;
    }

    .menu-child-left_icon {
        display: block;
    }

    .menu-child-left_list {
        display: none;
    }

    .menu-child-left_list.active {
        background-color: #fff;
        border-radius: 8px;
        display: block;
        width: 205px;
        padding-top: 20px;
        position: absolute;
        z-index: 1;
        top: 100%;
        left: 0;
        box-shadow: 0px 4px 8px 0px #00000029;
        padding: 16px 16px;
    }

    .breadcrumb {
        padding: 12px 0;
    }

    .breadcrumb .breadcrumb_ct {
        gap: 6px 8px;
    }

    .breadcrumb a {
        font-size: 14px;
    }

    .aboutus_head .news .row:has(.menu-child-left) > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .footer.about_child .footer_ct {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    .aboutus_head .news .row:has(.menu-child-left) > [class*="col-"] {
        flex: 0 0 83.33333% !important;
        max-width: 83.33333% !important;
        margin-left: 8.33333% !important;
        margin-right: 8.33333% !important;
    }
}

@media only screen and (max-width: 570px) {
    .banner_info .banner_info_ct .banner_info_title {
        font-size: 24px;
    }
}

.wrap_form_enroll_title{
	background: linear-gradient(to bottom, #0F4D98 0%, #199F5A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Baloo", sans-serif;
    font-size: 32px;
    line-height: 160%;
    text-align: center;
	margin-bottom: 20px;
}

.wrap_form_enroll_title.quy{
	font-size: 20px;
    line-height: 130%;
	text-align: left;
}

/* 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;
}
