@media only screen and (min-width: 1600px) {
    .container {
        max-width: 1440px;
    }
}

@media (min-width: 993px) {
    .main-navigation .nav-menu-list .nav-item .nav-menu-child {
        display: block !important;
    }
}

@media only screen and (max-width: 1599px) {
    .content-news .box_content .notice-board-card .board-body {
        max-height: 690px;
    }
}

@media only screen and (max-width: 1399px) {
    .banner .banner-content .title_header{font-size:28px;}
}

@media only screen and (max-width: 1199px) {
    .main-navigation .nav-menu-list .nav-item:last-child .simple-dropdown,
    .main-navigation .nav-menu-list .nav-item:nth-last-child(2) .simple-dropdown {
        right: 0;
        left: auto;
    }
    .footer-dtu .footer-bottom .footer-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
        .footer-dtu .footer-bottom .footer-gallery .gallery-img {
            height: 180px;
        }
    .content-news .box_content .box_new .news-grid-side .sub-card .card-body {
        padding: 16px;
    }

    .content-news .box_content .notice-board-card .board-header {
        padding: 22px 18px 17px 18px;
    }

    .content-news .box_content .notice-board-card .board-body {
        padding: 0 18px;
    }
}


@media only screen and (max-width: 992px) {
    .main-navigation {
        flex-direction: row-reverse;
        justify-content: center;
    }

    .mega-menu-dropdown {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    .mega-menu-container {
        grid-template-columns: 1fr;
        /* Co lại thành 1 cột đứng cuộn dài */
        gap: 0;
    }

    .navigation-portrait .mega-menu-dropdown .container {
        padding: 0;
    }

    .navigation-portrait .mega-menu-container .mega-column {
        padding: 16px 16px 0;
        border-right: none;
    }

    .mega-menu-container .mega-column .column-title {
        margin: 0 0 8px 0;
    }

    .main-navigation .nav-menu-list .nav-item .simple-dropdown {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        display: none;
        padding: 16px 16px 0 20px;
        opacity: 1;
        visibility: visible;
    }
    .nav-container {
        justify-content: center;
    }
    .footer-session {
        padding: 60px 0 40px;
    }

    .footer-session .footer-top-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 50px;
    }

    .footer-session .footer-bottom-bar {
        padding-top: 30px;
    }

    .nav-utils .box_search {
        display: none;
    }

    .navigation-portrait .search-form_mobile {
        display: block;
        width: calc(100% - 32px);
        position: relative;
        float: left;
        background-color: #ffffff;
        border: 1px solid #C3C6D04D;
        margin: 0 16px;
        border-radius: 8px;
    }

    .navigation-portrait .search-form_mobile form {
        display: flex;
        gap: 15px;
        width: 100%;
    }

    .navigation-portrait .search-form_mobile .textsearch {
        border: 0;
        height: 42px;
        width: calc(100% - 30px);
        z-index: 10;
        padding: 8px 15px;
        outline: none;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        background-color: #ffffff !important;
    }

    .navigation-portrait .search-form_mobile input::placeholder {
        color: #969696;
    }

    .navigation-portrait .search-form_mobile input[type="submit"] {
        position: absolute;
        right: 0;
        top: 0;
        height: 50px;
        border: none;
        background: url(../images/bt_search.png) center center no-repeat;
        z-index: 15;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        border-radius: 0;
        padding: 10px 15px;
    }
    .content-news {
        margin: 60px 0;
    }
        .content-news .box_content {
            grid-template-columns: 1fr;
            gap: 30px;
        }

            .content-news .box_content .notice-board-card .board-body {
                max-height: 430px;
            }
    .main-title {
        font-size: 30px;
    }
    .title_name {
        font-size: 30px;
    }
    .content_box_detail{
        flex-direction:column;
    }
    .left-content {
        flex: 0 0 100%;
        width: 100%;
    }

    .right-content {
        position: static;
        flex: 0 0 100%;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;        
    }
    .register-dtu .widget-main .widget-content .register-title{font-size:28px;}
    .footer-dtu .footer-bottom .footer-gallery .gallery-img {
        height: 150px;
    }
}

@media only screen and (max-width: 991px) {
    
    .bg_banner .banner-content .title_header {
        font-size: 26px;
    }
    .news-dtu .widget-main .widget-content .news-list .news-item .news-content {
        margin-top: 20px;
    }
    .navbar-inner{display: none;}
    .header-top{justify-content: center;}
    .hide-mobile{display:none;}
}

@media (max-width: 768px) {
    .banner .item .banner-img {
        min-height: 250px;
    }
    .footer-dtu .footer-bottom .footer-gallery .gallery-img {
        height: 120px;
    }
}

@media only screen and (max-width: 767px) {
    .title_name {
        font-size: 26px;
    }
    
    .register-dtu .arrow-bg {
        display: none;
    }
    .register-dtu .widget-main .widget-content {
        width: 100%;
        text-align: center;
    }
    .register-dtu .widget-main .widget-content .register-title{
        font-size: 26px;
    }
    .academic-dtu .widget-main .widget-content .owl-dots .owl-dot span {
        width: 10px;
        height: 10px;
        border-radius: 3px;
    }
    .news-dtu .widget-main .widget-content .news-list .news-item {
        margin-bottom: 15px;
    }
    .news-dtu .widget-main .widget-content .news-list .news-item .news-content {
        margin-top: 0;
    }
    .footer-dtu {
        padding-top: 40px;
    }
    .footer-dtu .footer-middle {
        padding-bottom: 40px;
    }
    .footer-dtu .footer-middle .footer-col{margin-bottom: 20px;}
   
        .footer-dtu .footer-top .footer-logo h2{font-size:18px;}
        .title-subpage .title-site {
            font-size: 18px;
            text-align: center;
            float: none;
            width: 100%;
            padding: 10px 0 0 0;
        }
    .entry-post .entry-content .entry-title {
        margin-top: 15px;
    }
    
   
    .section-wrapper {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .content-news {
        margin: 50px 0;
    }
    .form-group >div >div {
        margin-bottom: 20px;
    }
    .form-group > div > div:last-child{margin-bottom:0;}
}

@media only screen and (max-width: 575px) {
    .banner .item {
        background-position-x: left !important;
    }
        .banner .item .banner-box-content {
            display: none;
        }
    .news-dtu .widget-main .widget-content .news-list .news-item .news-thumb {
        width: 100%;
    }
    .news-dtu .widget-main .widget-content .news-list .news-item .news-content {
        width: 100%;
        margin-top: 20px;
    }
    
    .footer-dtu .footer-middle .footer-col.hide-mobile {
        display: none;
    }
    /*.footer-dtu .footer-bottom .footer-gallery .gallery-img {
        width: 50%;
    }*/
    .logo-main .logo {
        display: none;
    }
        .logo-main .logo.logho-res {
            display: block;
            text-transform: capitalize;
            width: 300px;
        }
    .banner .item .banner-img {
        min-height: auto;
    }
    .title-subpage .title-site {
        font-size: 16px;
    }
    .pagination-dtu .pagination li a {
        margin-right: 10px;
    }
    .content-news .box_content .notice-board-card .board-footer {
        padding: 16px;
    }
    .img-captcha{margin-top:15px;}
    .content-news .box_content .box_new .news-grid-side {
        grid-template-columns: 1fr; /* 4 bài viết phụ cũng chuyển thành 1 cột dọc */
    }

        .content-news .box_content .box_new .news-grid-side .sub-card .card-thumb {
            max-height: 100%;
        }
    .content-events .event-card .event-thumb-wrapper {
        max-height: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .footer-dtu .footer-bottom .footer-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .register-form-two .list-course {
        grid-template-columns: 1fr;        
    }
}

@media only screen and (max-width: 430px) {

    .content-news .box_content .box_new .news-hero-card .hero-content {
        padding: 24px;
    }
}

@media only screen and (max-width: 390px) {
   
}