﻿/* =========================
   GLOBAL (áp dụng mọi thiết bị)
========================= */
* {
    box-sizing: border-box;
}

/* =========================
   MOBILE + TABLET ONLY
   <= 1023px
========================= */
@media (max-width: 1023px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-title {
        margin-bottom: 20px;
    }
    .search-form{
        display:block;
    }
    /* =========================
       BANNER
       - Hiện Mobile + Tablet
       - Desktop KHÔNG ĐỤNG
    ========================= */
    .banner {
        display: block;
    }

    /* =========================
       ABOUT
    ========================= */
    .about-content h3 {
        font-size: 28px;
    }

    /* =========================
       ACADEMIC PROGRAM
    ========================= */
    .academic-program .col-md-6 {
        width: 100%;
    }

    .academic-program .item .box {
        padding: 0;
        margin-left: 0;
    }

        .academic-program .item .box .list-detail {
            padding: 0 20px;
            margin: 0;
        }

    /* =========================
       ADMISSION
    ========================= */
    .admission .item {
        padding: 10px;
    }

    .admission .box h3 {
        font-size: 18px;
        line-height: 1.4;
    }

    /* =========================
       VIDEO
    ========================= */
    #videoCarousel .card-title {
        font-size: 16px;
    }

    /* =========================
       NEWS
    ========================= */
    .news-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .news-card {
        background: #fff;
        padding: 15px;
        border-radius: 6px;
    }

    .news-title {
        font-size: 18px;
        margin: 10px 0;
    }

    .news-date {
        font-size: 14px;
        color: #888;
    }

    /* =========================
       RESEARCH
    ========================= */
    .research {
        margin-top: 30px;
    }

        .research ul li {
            font-size: 15px;
        }

    /* =========================
       FACILITIES
    ========================= */
    .box-facilities .item {
        text-align: center;
    }

    .box-facilities span {
        display: block;
    }

    /* =========================
       PARTNER
    ========================= */
    .partner-carousel img {
        max-height: 80px;
        margin: auto;
    }

    .about .about-img {
        display: none;
    }
}

/* =========================
   MOBILE ONLY
   <= 767px
========================= */
@media (max-width: 767px) {
    .banner {
        display: none;
    }
    /* ABOUT */
    .about .row {
        display: flex;
        flex-direction: column-reverse;
    }

    .about-img {
        width: 100%;
        margin-bottom: 20px;
    }

    .about-content h3 {
        font-size: 22px;
    }

    /* ACADEMIC PROGRAM */
    .academic-program .col-md-6 {
        width: 100%;
    }

    .academic-program .item .box {
        padding: 0;
        margin-left: 0;
    }

        .academic-program .item .box .list-detail {
            padding: 0 20px;
            margin: 0;
        }

    /* ADMISSION */
    .admission .box h3 {
        font-size: 16px;
    }

    /* VIDEO */
    .glyphicon-play {
        font-size: 60px;
        left: 40%;
        top: 35%;
    }

    /* NEWS */
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-title {
        font-size: 16px;
    }

    /* FACULTY */
    .faculty__box {
        width: 100%;
    }

    .header-top .box-menu-fix ul li a {
        font-size: 9px;
    }
}

/* =========================
   SMALL MOBILE
   <= 480px
========================= */
@media (max-width: 480px) {
    .box-facilities span {
        font-size: 14px;
    }
}
