﻿body {
    font-family: "Roboto Regular", sans-serif;
    font-size: 14px;
    color: #000;
}
html, body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}
a, p, li {
    color: #000;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: unset;
}

    a:hover {
        text-decoration: none;
        color: inherit;
    }

:root {
    --blue-color: #0683df;
    --gray-color: #959595;
    --white-color: #FFF;
    --font-family-all: "Roboto Regular";
    --font-family-bold: "Roboto Condensed Bold";
}

.mt-top-bottom {
    margin: 2em 0;
}

.header-title {
    background-color: var(--blue-color);
    padding: 10px 0;
}

.language ul.lang {
    padding: 0;
    margin: 0;
    float: left;
}

    .language ul.lang li {
        list-style: none;
        float: left;
        outline: none;
        padding-right: 0;
    }

        .language ul.lang li a {
            margin-right: 3px;
        }

            .language ul.lang li a img {
                height: 18px;
                width: 22px;
                opacity: .4;
            }

        .language ul.lang li.active img {
            opacity: 1;
        }

.box-menu-fix ul.dtuhome-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
}

.box-menu-fix ul li {
    float: left;
    display: inline-block;
    border-right: #FFF solid 1px;
    padding: 3px 15px 3px 15px;
    text-align: center;
}

    .box-menu-fix ul li a {
        color: #fff;
        padding: 5px 0px;
        font-size: 15px;
    }

.header-btn {
    margin: -2px 0 0;
    padding-left: 15px;
    float: right;
}

    .header-btn .btn {
        text-indent: -9999999px;
        background-image: url(../images/search.png);
        background-repeat: no-repeat;
        background-position: center;
        background-color: inherit;
        display: inline-block;
        border: 0;
        outline: none;
    }
.modal{
    z-index:9999;
}
.search-form {
    height: 106px;
    width: 100%;
    opacity: 1;
    filter: alpha(opacity=100);
    background-color: #fff;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    -webkit-transition: opacity .2s ease-in-out 0s, margin .3s ease-in-out 0s, height .2s ease-in-out 0s;
    -moz-transition: opacity .2s ease-in-out 0s, margin .3s ease-in-out 0s, height .2s ease-in-out 0s;
    -ms-transition: opacity .2s ease-in-out 0s, margin .3s ease-in-out 0s, height .2s ease-in-out 0s;
    -o-transition: opacity .2s ease-in-out 0s, margin .3s ease-in-out 0s, height .2s ease-in-out 0s;
    transition: opacity .2s ease-in-out 0s, margin .3s ease-in-out 0s, height .2s ease-in-out 0s;
}

    .search-form form {
        display: inline-block;
        width: 100%;
    }

    .search-form p {
        margin: 0;
    }

    .search-form #error-search {
        border: 0;
        height: 106px;
        font-size: 15px;
        padding: 20px 30px;
        z-index: 10;
        font-size: 30px;
        color: #555;
        outline: none;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .search-form input[type="text"] {
        background-color: #fff;
        float: left;
        padding-right: 45px;
        width: 100%;
        box-sizing: border-box;
    }

    .search-form input[type="submit"] {
        position: absolute;
        right: 30px;
        top: 0;
        width: 40px;
        height: 106px;
        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;
    }



.logo-dtu ul {
    width: 100%;
    list-style: none;
    margin: 15px 0 10px;
    padding: 0;
    display: inline-flex;
    overflow-x: visible;
    position: relative;
}

    .logo-dtu ul li {
        position: relative;
        display: inline-block;
        float: left;
        padding: 0px 3px;
    }
        .logo-dtu ul li.logo{
            padding:4px;
        }

        .main-menu-box {
            position: relative;
        }




.show_mobile {
    display: none;
}
.hide_desktop{
    display:none;
}

.icon_menu_repo {
    display: none;
    float: right;
    padding-right: 15px;
}

    .icon_menu_repo i {
        line-height: 60px;
        cursor: pointer;
        font-size: 30px;
        color: #888;        
    }
.icon_menu_repo i.show_menu_icon {
    display: block;
}

.icon_menu_repo i.show_hide_icon {
    display: none;
}
.content_repo {
    width: 100%;
    position: relative;
    height: auto;
}
    .content_repo .ovelay_menu {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(0,0,0,0.45);
        display: none;
        z-index: 8888;
    }
.hiden_ove {
    overflow: hidden;
}
.bg_banner {
    background: url(../images/bg_banner.png) no-repeat center;
    background-position: bottom;
    /*background-size: contain;*/
    position: absolute;
    width: 100%;
    height: 40%;
    bottom: -1px;
    z-index: 1;
}

.banner {
    position: relative;
}

    .banner .item {
        width: 100%;
        position: relative;
        z-index: 100;
        -webkit-backface-visibility: hidden;
        padding: 0;
        margin: 0;
    }

        .banner .item img {
            width: 100%;
        }

.owl-theme .owl-controls {
    position: absolute;
    width: 100%;
    top: 43%;
}

.owl-nav .owl-prev {
    position: absolute;
    left: 15px;
    opacity: 0;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    background: rgba(0, 0, 0, 0.5) !important;
    width: 40px;
    cursor: pointer;
    height: 40px;
    display: block;
    z-index: 10000;
    border-radius: 0;
}

    .owl-nav .owl-prev i {
        color: #b3b7be;
        padding-right: 4px;
        font-size: 1.6875rem;
    }

    .owl-nav .owl-prev:focus {
        outline: 0;
    }

    .owl-nav .owl-prev:hover {
        background: #000 !important;
    }

.owl-nav .owl-next {
    position: absolute;
    right: 15px;
    opacity: 0;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    background: rgba(0, 0, 0, 0.5) !important;
    width: 40px;
    cursor: pointer;
    height: 40px;
    display: block;
    z-index: 10000;
    border-radius: 0;
}

    .owl-nav .owl-next i {
        color: #b3b7be;
        padding-left: 4px;
        font-size: 1.6875rem;
    }

    .owl-nav .owl-next:focus {
        outline: 0;
    }

    .owl-nav .owl-next:hover {
        background: #000 !important;
    }

.owl-carousel:hover .owl-prev {
    left: 0px;
    opacity: 1;
}

.owl-carousel:hover .owl-next {
    right: 0px;
    opacity: 1;
}

.owl-carousel .owl-item img {
    display: block;
    max-width: 100%;
}

.about {
    background-color: var(--blue-color);
    padding: 30px 0;
}

.box_about {
}

    .box_about h2 {
        margin-bottom: 20px;
    }

        .box_about h2 a {
            font-family: var(--font-family-bold);
            color: var(--white-color);
            font-size: 28px;
            line-height: 1.8;
            border-bottom: 3px solid #FFF;
            padding-bottom: 5px;
            display: inline;
        }

    .box_about p {
        color: var(--white-color);
        line-height: 1.6;
        padding-bottom: 20px;
    }

    .box_about .about_img {
        width: 100%;
        margin-top: 20px;
    }

a.read-more {
    color: var(--white-color);
    padding: 8px 25px;
    border: 1px solid #FFF;
    border-radius: 6px;
    box-sizing: border-box;
    display: inline-block;
    text-transform: uppercase;
}

    a.read-more span {
        position: relative;
        padding-right: 25px;
    }

        a.read-more span::after {
            content: "\f061";
            color: #fff;
            font: normal normal normal 14px/1 FontAwesome;
            position: absolute;
            right: 0;
            top: 3px;
            display: block;
            font-weight: normal;
            font-style: normal;
        }

.news, .events, .nhip_song {
    margin: 30px 0;
}

.title_header {
    position: relative;
}

    .title_header::after {
        position: absolute;
        content: '';
        z-index: 1;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 3px;
        background: #0683df;
    }

    .title_header a {
        font-weight: bold;
        font-size: 28px;
        line-height: 1.8;
        padding-bottom: 5px;
        display: inline;
    }

a.view_all {
    color: var(--white-color);
    background-color: var(--blue-color);
    padding: 8px 25px;
    border-radius: 8px;
    box-sizing: border-box;
    display: inline-block;
    text-transform: uppercase;
    float: right;
    margin-top:10px;
}

    a.view_all span {
        position: relative;
        padding-right: 25px;
    }

        a.view_all span::after {
            content: "\f061";
            color: #fff;
            font: normal normal normal 14px/1 FontAwesome;
            position: absolute;
            right: 0;
            top: 3px;
            display: block;
            font-weight: normal;
            font-style: normal;
        }

.list_news {
    margin-top: 20px;
}

.box_news {
    position: relative;
}

.box-title {
    background-image: linear-gradient(to bottom, transparent, #000);
    background-size: cover;
    padding: 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

    .box-title .title_item a {
        font-weight: bold;
        display: inline-block;
        color: var(--white-color);
        font-size: 16px;
        line-height: 1.6;
    }

    .box-title p {
        color: var(--white-color);
        margin-bottom: 5px;
    }
.date_time{
    font-size:13px;
}
.date_time span {
}

    .date_time span.date::after {
        content: "|";
        padding-left: 3px;
    }

.box_events {
    margin-top: 30px;
}

.item_events {
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 20px;
}

    .item_events:last-child {
        border-bottom: none;
    }

    .item_events .thumb_img {
        padding-bottom: 10px;
    }

.box_events img {
    width: 100%;
    max-width: 371px;
}

.box_events p {
    margin-bottom: 5px;
}

.box_events span {
    color: var(--gray-color);
}

.item_events .title_item a {
    font-weight: bold;
    display: block;
    font-size: 16px;
    line-height: 1.6;
}

.box_right_event {
}

    .box_right_event .box_show_right {
        width: 100%;
        position: relative;
        clear: both;
        border-bottom: 1px solid #e1e1e1;
        margin-bottom: 10px;
        display:inline-block;
    }

        .box_right_event .box_show_right:last-child {
            border-bottom: none;
        }

        .box_right_event .box_show_right figure {
            width: 144px;
            overflow: hidden;
            float: left;
            margin-right: 10px;
        }

    .box_right_event .title_item a {
        font-weight: bold;
        font-size: 12px;
        display: block;
        line-height: 1.6;
    }

.box_achievement {
    display: none;
    /*margin-bottom: 20px;*/
}

    .box_achievement:first-child {
        display: block;
    }

    .box_achievement a.view_all {
        width: 100%;
        text-align: center;
        float: none;
    }
.news_none{
    display:none;
}
.box_achievementSV {
    display: none;
}

    .box_achievementSV:first-child {
        display: block;
    }



    .buffer_tab, .buffer_tabSV {
        font-weight: bold;
        font-size: 18px;
        line-height: 1.8;
        display: inline;
        padding: 0 20px;
        color: var(--gray-color);
        cursor: pointer;
    }

    .buffer_tabSV {
        padding: 0 10px;
    }

        .buffer_tab:first-child, .buffer_tabSV:first-child {
            padding-left: 0;
        }

    .active_tab {
        color: #000;
    }
.tabSV {
    margin: 12px 0;
}

.box_item {
    margin: 20px 0 10px;
    position:relative;
}
.list_news .item_img {
    width: 100%;
}

    .box_item .box-title .title_item a {
        font-size: 14px;
    }

    .box_item .box-title h3 {
        margin: 0;
        font-size: 14px;
    }

.plugin_fb {
    width: 100%;
    margin: 20px 0;
}
.plugin_fb_mobile {
    display:none;
}

.students {
    background-color: #f2f2f2;
    padding: 20px 0;
}

.item_student {
    padding: 45% 0 0;
    margin: 30px 20px 20px 0;
    background-size: cover !important;
}

    .item_student .box-title {
        position: relative;
    }

        .item_student .box-title .title_item a {
            text-transform: uppercase;
            font-size: 18px;
        }

        .item_student .box-title .note {
            color: #2edddf;
        }

        .item_student .box-title a.view_all {
            position: absolute;
            top: 30px;
            right: 20px;
            background-color: inherit;
            border: 1px solid #FFF;
        }
.students .title_header {
    margin-top: 20px;
}
.box_content {
    margin: 20px 0;
}

    .box_content .title_item a {
        font-weight: bold;
        display: block;
        font-size: 18px;
        line-height: 1.6;
    }

.bt_links {
    margin: 20px 0;
    display: flex;
}

    .bt_links .tieuchuan {
        background-color: var(--blue-color);
        color: var(--white-color);
        text-transform: uppercase;
        padding: 10px 15px;
        display: inline-grid;
        font-weight: bold;
    }

        .bt_links .tieuchuan:before {
            content: url(../images/icon_tieuchuan.png);
        }

    .bt_links .hoatdong {
        border: 1px solid #000;
        text-transform: uppercase;
        padding: 10px 15px;
        display: inline-grid;
        font-weight: bold;
        margin-left: 20px;
    }

        .bt_links .hoatdong:before {
            content: url(../images/icon_hoatdong.png);
        }
.bt_links_mobile {
    display: none;
}

.club {
    background-color: #03487a;
    padding: 30px 0;
}

    .club .title_header {
        color: #FFF;
    }

    .club a.view_all {
        background: none;
        border: 2px solid #FFF;
    }

    .club .box_item {
        /*transition: transform 0.2s;*/
    }

        .club .box_item .box-title .title_item a {
            /*font-size: 35px;
            padding: 25px;*/
            transition: transform 0.2s;
        }

        .club .box_item:hover .box-title .title_item a {
            -ms-transform: scale(1.1);
            -webkit-transform: scale(1.1);
            transform: scale(1.1);
            color: #3cf3f2;
        }

.footer {
    padding: 30px 0 0;
}

.box_footer {
    border-top: 1px solid #FFF;
    padding: 30px 0 0;
}

.box_logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo_dtu {
    width: 100%;
}

.title_footer {
    color: var(--white-color);
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.address {
    color: var(--white-color);
    padding: 0;
    margin: 0;
}

.social_copy{
    text-align:right;
}
.footer-social {
    margin: 0;
}

    .footer-social ul {
        padding: 0;
        margin: 0;
    }

        .footer-social ul li {
            list-style: none;
            display: inline-block;
            background-color: transparent;
            border-radius: 15%;
        }

            .footer-social ul li a.rounded-icon {
                display: block;
                height: 40px;
                width: 40px;
            }

            .footer-social ul li i {
                font-size: 34px;
                color:#FFF;
            }


.footer_copyright p {
    color: #FFF;
}

/*----------------------------------BACK TO TOP---------------------------------*/
#back-top a {
    width: 45px;
    height: 45px;
    right: 20px;
    bottom: 20px;
    position: fixed;
    padding-top: 10px;
    display: block;
    text-align: center;
    color: #FFF;
    background-color: #5D5D5D;
    border-radius: 50%;
    z-index: 9999;
    opacity: 0.5;
    filter: alpha(opacity=50);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}

    #back-top a i {
        font-size: 10px;
    }

    #back-top a:hover,
    #back-top a:focus {
        background-color: var(--blue-color);
        opacity: 1;
        filter: alpha(opacity=1);
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    }

/* ===== CSS GỐC GIỮ NGUYÊN ===== */
.navigation-dtu {
    z-index: 9996;
    position: relative;
}

    .navigation-dtu .nav-dtu {
        width: auto;
        list-style: none;
        margin: 25px 0;
        padding: 0;
        display: block;
        overflow-x: visible;
        position: relative;
    }

        .navigation-dtu .nav-dtu > li {
            position: relative;
            display: inline-block;
            text-align: center;
            float: left;
            padding: 0px 8px;
            text-transform: uppercase;
        }

            .navigation-dtu .nav-dtu > li:first-child {
                padding-left: 0;
            }

        .navigation-dtu .nav-dtu li a {
            padding: 0;
            line-height: 20px;
            color: #333;
            display: block;
            position: relative;
            font-size: 14px;
            font-family: var(--font-family-bold);
        }

            .navigation-dtu .nav-dtu li a:hover,
            .navigation-dtu .nav-dtu li a:focus,
            .navigation-dtu .nav-dtu li.active a {
                color: var(--blue-color);
            }

        /* ===== SUBMENU CẤP 2 (DESKTOP) ===== */
        .navigation-dtu .nav-dtu > li > .nav-dtu-child {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 220px;
            background: #fff;
            border: 1px solid #eaeaea;
            border-top: none;
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
            z-index: 9997;
            list-style: none;
            margin: 0;
            padding: 0;
            /* THAY ĐỔI: Ẩn bằng opacity/visibility thay vì display */
            opacity: 0;
            visibility: hidden;
            text-align: left;
            transition: opacity 0.2s ease, visibility 0.2s ease;
            transition-delay: 0s;
            margin-top: 24px;
        }

        .navigation-dtu .nav-dtu > li:hover > .nav-dtu-child {
            /* THAY ĐỔI: Hiện với độ trễ 0.1s */
            opacity: 1;
            visibility: visible;
            transition-delay: 0.1s;
        }

    /* ===== SUBMENU CẤP 3 (DESKTOP) ===== */
    .navigation-dtu .nav-dtu-child .nav-dtu-child {
        position: absolute;
        top: 0;
        left: 100%;
        min-width: 220px;
        background: #fff;
        border: 1px solid #eaeaea;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 9998;
        list-style: none;
        margin: 0;
        padding: 0;
        /* THAY ĐỔI: Ẩn bằng opacity/visibility */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        transition-delay: 0s;
    }

    .navigation-dtu .nav-dtu-child li:hover > .nav-dtu-child {
        /* THAY ĐỔI: Hiện với độ trễ 0.1s */
        opacity: 1;
        visibility: visible;
        transition-delay: 0.1s;
    }

    /* ===== STYLE CHUNG CHO ITEM SUBMENU ===== */
    .navigation-dtu .nav-dtu-child li {
        display: block;
        border-bottom: 1px solid #f0f0f0;
        margin: 0;
        padding: 0;
        position: relative;
    }

        .navigation-dtu .nav-dtu-child li:last-child {
            border-bottom: none;
        }

        .navigation-dtu .nav-dtu-child li a {
            display: block;
            padding: 10px 15px;
            line-height: 1.4;
            font-size: 14px;
            font-family: var(--font-family-bold);
            color: #333;
            text-transform: none;
            transition: all 0.2s ease;
        }

            .navigation-dtu .nav-dtu-child li a:hover {
                background: #f9f9f9;
                color: var(--blue-color);
                padding-left: 20px;
            }

/* ===== RESPONSIVE (MOBILE) ===== */
@media (max-width: 991px) {
    .navigation-dtu .nav-dtu {
        margin: 0;
    }

        .navigation-dtu .nav-dtu > li {
            float: none;
            display: block;
            text-align: left;
            padding: 0;
        }

    /* Submenu mặc định ẩn */
    .navigation-dtu .nav-dtu-child {
        position: static;
        box-shadow: none;
        border: none;
        background: #f5f5f5;
        display: none;
        /* Ghi đè để tránh ảnh hưởng từ opacity/visibility desktop */
        opacity: 1;
        visibility: visible;
    }

    /* Hiển thị submenu khi li cha có class .open */
    .navigation-dtu .nav-dtu li.open > .nav-dtu-child {
        display: block !important;
    }

    /* Đảm bảo submenu cấp 3 cũng hoạt động với class .open */
    .navigation-dtu .nav-dtu-child li.open > .nav-dtu-child {
        display: block !important;
    }

    /* ===== SUBMENU CẤP 2 (DESKTOP) ===== */
    .navigation-dtu .nav-dtu > li > .nav-dtu-child {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: #c4c4c4;
        border: 1px solid #eaeaea;
        border-top: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 9997;
        list-style: none;
        margin: 0;
        padding: 0;
        display: none;
        text-align: left;
        /* Ghi đè opacity/visibility */
        opacity: 1;
        visibility: visible;
    }

    /* ===== SUBMENU CẤP 3 (DESKTOP) ===== */
    .navigation-dtu .nav-dtu-child .nav-dtu-child {
        position: absolute;
        top: 0;
        left: 100%;
        min-width: 220px;
        background: #c4c4c4;
        border: 1px solid #eaeaea;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 9998;
        list-style: none;
        margin: 0;
        padding: 0;
        display: none;
        /* Ghi đè opacity/visibility */
        opacity: 1;
        visibility: visible;
    }
        /* ===== FIX MÀU SẮC CHO SUB3 (chữ đen, nền trắng) ===== */
        .navigation-dtu .nav-dtu-child .nav-dtu-child li a {
            background-color: #c4c4c4 !important;
        }

            .navigation-dtu .nav-dtu-child .nav-dtu-child li a:hover {
                background-color: #f5f5f5 !important;
                color: var(--blue-color) !important;
            }

    .navigation-dtu .nav-dtu-child li a:hover {
        background: #c4c4c4;
        color: var(--blue-color);
        padding-left: 20px;
    }
}
/* WRAPPER */
.events_wrapper {
    margin-top: 20px;
}

    /* BLOCK spacing */
    .events_wrapper .row {
        margin-bottom: 25px;
    }

/* ===== BIG ITEM (LEFT) ===== */
.item_events {
    position: relative;
}

    .item_events .thumb_img {
        overflow: hidden;
        border-radius: 6px;
    }

    .item_events img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        transition: 0.3s;
    }

    .item_events:hover img {
        transform: scale(1.05);
    }

    .item_events .title_item {
        font-size: 18px;
        font-weight: 600;
        margin-top: 10px;
        line-height: 1.4;
    }

        .item_events .title_item a {
            color: #222;
            text-decoration: none;
        }

            .item_events .title_item a:hover {
                color: #007bff;
            }

/* DATE TIME */
.date_time {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}


/* ===== RIGHT LIST ===== */
.box_right_event {
    display: flex;
    flex-direction: column;
}

/* ITEM SMALL */
.box_show_right {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

    .box_show_right figure {
        width: 90px;
        min-width: 90px;
        height: 70px;
        overflow: hidden;
        border-radius: 4px;
        margin: 0;
    }

    .box_show_right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.3s;
    }

    .box_show_right:hover img {
        transform: scale(1.05);
    }

    .box_show_right .title_item {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        margin: 0;
    }

        .box_show_right .title_item a {
            color: #333;
            text-decoration: none;
        }

            .box_show_right .title_item a:hover {
                color: #007bff;
            }

    /* DATE nhỏ bên phải */
    .box_show_right .date_time {
        font-size: 11px;
        margin-top: 3px;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .item_events img {
        height: 200px;
    }

    .box_show_right {
        gap: 8px;
    }

        .box_show_right figure {
            width: 70px;
            height: 55px;
        }

    .item_events .title_item {
        font-size: 16px;
    }
}


/* ===== KHỐI TAB ===== */
.tab {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #eef2f6;
    position: relative;
}

.buffer_tab {
    font-size: 18px;
    font-weight: 600;
    padding: 10px 0 12px 0;
    margin-right: 28px;
    cursor: pointer;
    color: #6c7a8e;
    background: transparent;
    border: none;
    position: relative;
    transition: color 0.2s ease;
}

    .buffer_tab::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 3px;
        background: var(--blue-color, #0066cc);
        transition: width 0.25s ease;
    }

    .buffer_tab:hover {
        color: var(--blue-color, #0066cc);
    }

    .buffer_tab.active_tab {
        color: var(--blue-color, #0066cc);
    }

        .buffer_tab.active_tab::after {
            width: 100%;
        }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== DANH SÁCH THÔNG BÁO ===== */
.thongbao_item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 15px 10px 15px;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
}

    /* Dấu gạch ngang đầu dòng */
    .thongbao_item::before {
        font-weight: bold;
        color: var(--blue-color, #0056b3);
        margin-right: 12px;
        font-size: 16px;
        flex-shrink: 0;
    }

    /* Phần nội dung chính (tiêu đề) */
    .thongbao_item .title_item {
        flex: 1;
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
    }

        .thongbao_item .title_item a {
            color: #1e2a3e;
            text-decoration: none;
            transition: color 0.2s;
        }

            .thongbao_item .title_item a:hover {
                color: var(--blue-color, #0056b3);
            }

    /* Ngày tháng */
    .thongbao_item .date {
        flex-shrink: 0;
        margin: 0 0 0 15px;
        font-size: 13px;
        color: #888;
        white-space: nowrap;
    }

/* Responsive: khi màn hình nhỏ, ngày xuống dòng */
@media (max-width: 576px) {
    .thongbao_item {
        flex-direction: column;
        align-items: flex-start;
    }

        .thongbao_item .date {
            margin: 6px 0 0 0;
            white-space: normal;
        }

        .thongbao_item::before {
            margin-top: 3px;
        }
}

/* ===== VIDEO & HÌNH ẢNH (DẠNG GRID) ===== */
.box_item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    transition: transform 0.25s, box-shadow 0.25s;
}

    .box_item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

.item_img_tab {
    width: 100%;
    height:160px;
    object-fit: cover;
    display: block;
}

.box-title {
    padding: 12px 15px 15px;
}

.date_time {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
    display: flex;
    gap: 8px;
}

    .date_time .date, .date_time .time {
        display: inline-block;
    }

.title_item {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

    .title_item a {
        color: #1e2a3e;
        text-decoration: none;
        transition: color 0.2s;
    }

        .title_item a:hover {
            color: var(--blue-color);
        }

/* ===== NÚT XEM TẤT CẢ ===== */
.view_all {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 24px;
    background: #f2f5f9;
    border-radius: 40px;
    color: var(--blue-color);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

    .view_all:hover {
        background: var(--blue-color);
        color: #fff;
        text-decoration: none;
    }

/* ===== PLUGIN FACEBOOK ===== */


    .plugin_fb iframe {
        width: 100%;
        border: none;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .tab {
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .buffer_tab {
        font-size: 15px;
        padding: 5px 14px;
    }

    .thongbao_item .title_item a {
        font-size: 14px;
    }

    .item_img_tab {
        height: 140px;
    }

    .title_item {
        font-size: 14px;
    }
}

/* ===== NỘI DUNG TAB ===== */
.content_tab {
    /*margin-bottom: 30px;*/
}

.box_achievement {
    display: none;
    animation: fadeIn 0.3s ease;
}

    .box_achievement:first-child {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 767px) {
    .tab {
        gap: 6px;
    }
    /* Phong cách 1 */
    .buffer_tab {
        font-size: 16px;
        margin-right: 16px;
        padding-bottom: 8px;
    }
    /* Phong cách 2 (nếu dùng) */
    .tab.pill-style {
        border-radius: 40px;
        padding: 6px 12px;
        width: 100%;
        justify-content: center;
    }

    .pill-style .buffer_tab {
        padding: 6px 16px;
        font-size: 14px;
    }
}

/* Container chính */
.box_achievement {
    /*margin-bottom: 30px;*/
    position: relative;
}

/* Tỉ lệ khung hình cố định cho ảnh slider (16:9 hoặc tùy chọn) */
.item_img_tab {
    width: 100%;
    height: 400px; /* Điều chỉnh chiều cao phù hợp */
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Wrapper cho video để chứa icon play */
.img_wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

    .img_wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.2);
        transition: 0.3s;
    }

.box_item:hover .img_wrapper::before {
    background: rgba(0,0,0,0.4);
}

/* Icon Play */
.play_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.8);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 0.3s;
    pointer-events: none;
}

.box_item:hover .play_icon {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Đảm bảo khung carousel hoạt động tốt */
.box_achievement {
    width: 100%;
    /*margin-bottom: 30px;*/
    padding: 20px 0;
}

/* Khung chứa ảnh */
.img_container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    display: block;
}

    /* Ảnh hiển thị 1 item/slide nên đặt chiều cao lớn hơn cho đẹp (vd: 350px hoặc 400px) */
    .img_container .main_img {
        width: 100%;
        height: 350px;
        object-fit: cover; /* Chống méo ảnh */
        display: block;
        transition: transform 0.3s ease;
    }

    .img_container:hover .main_img {
        transform: scale(1.03);
    }

    /* Lớp phủ đen nhạt khi hover */
    .img_container::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.2);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .img_container:hover::after {
        opacity: 1;
    }

/* Nút Play cho Video */
.play_overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px; /* To hơn một chút vì slide 1 item */
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.img_container:hover .play_overlay {
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.1);
}

/* =========================================
   ĐƯA NÚT NEXT/PREV VÀO CHÍNH GIỮA SLIDER
========================================= */

/* Đảm bảo khung carousel là điểm tựa (thường Owl đã có sẵn nhưng cứ thêm cho chắc) */
.owl-carousel {
    position: relative;
}

/* Tắt margin mặc định của Owl Carousel nav */
.owl-theme .owl-nav {
    margin-top: 0 !important;
}

    /* Định dạng chung cho 2 nút Next và Prev */
    .owl-theme .owl-nav [class*='owl-'] {
        position: absolute;
        top: 47%; /* Đẩy xuống giữa */
        transform: translateY(-50%); /* Căn lại chính xác tâm dọc */
        background: rgba(0, 123, 255, 0.8) !important; /* Màu nền xanh trong suốt */
        color: white !important;
        border-radius: 50%; /* Nút hình tròn */
        width: 40px;
        height: 40px;
        line-height: 40px; /* Căn giữa icon bên trong nút */
        text-align: center;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 10; /* Đảm bảo nút luôn nổi lên trên ảnh */
        transition: background 0.3s ease;
    }

        /* Hiệu ứng khi di chuột vào nút */
        .owl-theme .owl-nav [class*='owl-']:hover {
            background: #0056b3 !important; /* Màu nền đậm hơn khi hover */
        }

    /* Căn lề nút Prev (Trái) - Thụt vào trong ảnh 10px */
    .owl-theme .owl-nav .owl-prev {
        left: 10px;
    }

    /* Căn lề nút Next (Phải) - Thụt vào trong ảnh 10px */
    .owl-theme .owl-nav .owl-next {
        right: 10px;
    }

.box_achievementSV .box_item {
    overflow: hidden;
}

.box_achievementSV .item_img {
    width: 100%;
    height: 220px; /* fix chiều cao */
    object-fit: cover; /* QUAN TRỌNG */
}

/* Box bao quanh mỗi CLB */
.club-box {
    padding: 10px;
    text-align: center;
}

    /* Hiệu ứng khung trắng giống trong ảnh */
    .club-box .img-wrapper {
        background: #fff;
        padding: 15px;
        aspect-ratio: 1 / 1; /* Tạo hình vuông */
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .club-box img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Text tiêu đề */
    .club-box h5 {
        margin-top: 10px;
        height: 40px; /* Cố định chiều cao để đều dòng */
    }

        .club-box h5 a {
            font-size: 14px;
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* Giới hạn 2 dòng chữ */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }


/* Container chính cho mỗi bài viết */
.news-item {
    display: flex;
    gap: 20px; /* Khoảng cách giữa ảnh và nội dung */
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    align-items: flex-start; /* Căn đỉnh ảnh và text */
}

    /* Phần chứa hình ảnh */
    .news-item .img-part {
        flex: 0 0 300px; /* Độ rộng cố định cho ảnh là 300px, không co giãn */
        max-width: 300px;
    }

        .news-item .img-part img {
            width: 100%;
            height: 200px; /* Chiều cao cố định để các hàng đều nhau */
            object-fit: cover; /* Quan trọng: Giúp ảnh không bị méo khi tỷ lệ khác nhau */
            border-radius: 8px; /* Bo góc nhẹ cho hiện đại */
            display: block;
        }

    /* Phần chứa nội dung */
    .news-item .content-part,
    .news-item .content-part-full {
        flex: 1; /* Tự động lấy phần không gian còn lại */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Tiêu đề bài viết */
    .news-item .title {
        margin-bottom: 10px;
    }

        .news-item .title a {
            font-size: 1.25rem;
            font-weight: bold;
            color: #333;
            text-decoration: none;
            line-height: 1.4;
            transition: color 0.3s;
        }

            .news-item .title a:hover {
                color: #007bff; /* Màu khi rê chuột vào */
            }

    /* Mô tả ngắn */
    .news-item .desc {
        font-size: 0.95rem;
        color: #666;
        line-height: 1.6;
        margin-bottom: 15px;
        /* Tạo hiệu ứng giới hạn dòng nếu nội dung quá dài */
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Ngày tháng */
    .news-item .date {
        font-size: 0.85rem;
        color: #999;
        font-style: italic;
    }

/* Responsive: Trên điện thoại sẽ chuyển thành hàng dọc */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }

        .news-item .img-part {
            flex: 0 0 100%;
            max-width: 100%;
            margin-bottom: 15px;
        }

            .news-item .img-part img {
                height: auto;
                aspect-ratio: 16 / 9; /* Giữ tỷ lệ ảnh đẹp trên mobile */
            }
}



/* Sử dụng scope .news-section để khu trú vùng ảnh hưởng */
.news-section .box_news {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 380px; /* Bạn có thể điều chỉnh chiều cao tùy ý */
    background: #000; /* Nền đen để hỗ trợ khi ảnh chưa tải xong */
}

/* Chỉ tác động vào ảnh bên trong news-section */
.news-section .item_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    opacity: 0.8; /* Làm ảnh hơi tối lại một chút để chữ nổi lên */
}

.news-section .box_news:hover .item_img {
    transform: scale(1.1);
    opacity: 1;
}

/* Lớp phủ nội dung với Gradient để bảo vệ chữ */
.news-section .box-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    /* Gradient từ đen đậm ở đáy lên trong suốt ở giữa hình */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none; /* Để khi click vẫn ăn vào link của thẻ cha */
}

/* Tiêu đề */
.news-section .title_item {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
}

    .news-section .title_item a {
        color: #ffffff !important;
        font-size: 1.25rem !important;
        font-weight: bold !important;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Thêm bóng đổ cho chữ cực rõ */
        text-decoration: none;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
       

/* Ngày tháng & Mô tả */
.news-section .date_time {
    color: #ffd43b !important; /* Màu vàng nhẹ cho ngày tháng để dễ phân biệt */
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-section .box-title p:last-child {
    color: #e0e0e0 !important;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.news-section .box_news {
    display: block; /* Quan trọng để thẻ a bao được khối */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 380px;
    text-decoration: none !important; /* Bỏ gạch chân mặc định của thẻ a */
}


/* 1. CẤU HÌNH CƠ BẢN VÀ ẨN NÚT */
.studentSwiper {
    position: relative;
    padding: 0 10px;
}

    /* Ẩn nút mặc định bằng cách cho độ mờ về 0 và đẩy ra ngoài một chút */
    .studentSwiper .swiper-button-next,
    .studentSwiper .swiper-button-prev {
        opacity: 0;
        transition: all 0.4s ease-in-out;
        width: 45px;
        height: 45px;
        background-color: rgba(255, 255, 255, 0.9); /* Nền trắng trong suốt */
        border-radius: 50%; /* Nút hình tròn */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Đổ bóng nhẹ */
    }

    .studentSwiper .swiper-button-prev {
        transform: translateX(-20px);
    }

    .studentSwiper .swiper-button-next {
        transform: translateX(20px);
    }

    /* 2. HIỆU ỨNG HOVER: HIỂN THỊ NÚT */
    .studentSwiper:hover .swiper-button-next,
    .studentSwiper:hover .swiper-button-prev {
        opacity: 1;
        transform: translateX(0); /* Đưa nút về vị trí cũ */
    }

    /* 3. LÀM ĐẸP ICON BÊN TRONG */
    /* Thu nhỏ icon mũi tên mặc định của Swiper */
    .studentSwiper .swiper-button-next::after,
    .studentSwiper .swiper-button-prev::after {
        font-size: 18px; /* Chỉnh cỡ mũi tên nhỏ lại cho tinh tế */
        font-weight: bold;
        color: #007bff; /* Màu mũi tên - bạn có thể đổi theo tông web */
    }

    /* 4. HIỆU ỨNG KHI RÊ CHUỘT TRỰC TIẾP VÀO NÚT */
    .studentSwiper .swiper-button-next:hover,
    .studentSwiper .swiper-button-prev:hover {
        background-color: #007bff; /* Đổi nền thành màu chủ đạo */
    }

        .studentSwiper .swiper-button-next:hover::after,
        .studentSwiper .swiper-button-prev:hover::after {
            color: #fff; /* Đổi mũi tên thành màu trắng */
        }

    /* Tùy chỉnh vị trí để không bị đè quá sát vào nội dung */
    .studentSwiper .swiper-button-prev {
        left: 10px;
    }

    .studentSwiper .swiper-button-next {
        right: 10px;
    }

@media (max-width: 768px) {
    .studentSwiper .swiper-button-next,
    .studentSwiper .swiper-button-prev {
        opacity: 1;
        transform: translateX(0);
        width: 35px;
        height: 35px;
    }
}

/* 1. CONTAINER CHÍNH */
.club-carousel {
    position: relative;
    padding: 0 15px;
}

    /* 2. STYLE CHO CÁC NÚT ĐIỀU HƯỚNG (Owl-nav) */
    /* Mặc định Owl Carousel sinh ra class .owl-nav */
    .club-carousel .owl-nav button.owl-prev,
    .club-carousel .owl-nav button.owl-next {
        position: absolute;
        top: 47%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9) !important; /* Owl thường ưu tiên background mặc định nên dùng !important */
        color: #333 !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Hiệu ứng ẩn */
        opacity: 0;
        transition: all 0.4s ease;
        z-index: 10;
    }

    /* Vị trí cụ thể của từng nút */
    .club-carousel .owl-nav button.owl-prev {
        left: -10px;
    }

    .club-carousel .owl-nav button.owl-next {
        right: -10px;
    }

    /* 3. HIỆU ỨNG HOVER VÀO CAROUSEL THÌ HIỆN NÚT */
    .club-carousel:hover .owl-nav button.owl-prev {
        opacity: 1;
        left: 10px;
    }

    .club-carousel:hover .owl-nav button.owl-next {
        opacity: 1;
        right: 10px;
    }

    /* 4. STYLE CHO ICON/TEXT BÊN TRONG NÚT */
    .club-carousel .owl-nav button span {
        font-size: 24px;
        line-height: 1;
        margin-top: -4px; /* Căn chỉnh lại dấu mũi tên */
    }

    /* 5. HOVER TRỰC TIẾP VÀO NÚT */
    .club-carousel .owl-nav button:hover {
        background: #e67e22 !important; /* Màu cam đặc trưng của club */
        color: #fff !important;
    }

.content-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

