.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
}

    .header-top > div {
        flex: 1;
    }

        .header-top > div:nth-child(1) {
            padding: 0 10px;
            white-space: nowrap;
            font-size: 20px;
            color: #eb410e;
        }

            .header-top > div:nth-child(1) img {
                max-width: 100px !important;
            }

        .header-top > div:nth-child(2) {
            text-align: center;
            font-size: 50px;
            color: #eb410e;
            font-weight: 700;
            text-transform: uppercase;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7), 0 0 10px rgba(255,255,255,0.8), 0 0 20px rgba(255,255,255,0.6);
            pointer-events: none;
        }

        .header-top > div:nth-child(3) {
            position: relative;
            overflow: hidden;
            flex: 2;
            height: 200px;
        }

            .header-top > div:nth-child(3) img {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
                /* Mờ rộng hơn và viền bên trái rõ hơn */
                mask: radial-gradient(ellipse 120% 70% at 15% 20%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.8) 75%, rgba(255,255,255,1) 100%), linear-gradient(to right, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 15%, rgba(255,255,255,0.3) 40%, rgba(255,255,255,0.7) 65%, rgba(255,255,255,1) 100%);
                -webkit-mask: radial-gradient(ellipse 120% 70% at 15% 20%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.8) 75%, rgba(255,255,255,1) 100%), linear-gradient(to right, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 15%, rgba(255,255,255,0.3) 40%, rgba(255,255,255,0.7) 65%, rgba(255,255,255,1) 100%);
                mask-composite: intersect;
                -webkit-mask-composite: source-in;
                transition: all 0.3s ease;
                filter: brightness(1.1) contrast(0.9);
                border-left: 3px solid rgba(255,255,255,0.8);
            }

.div-gioithieusach,
.div-tainguyenthuvien,
.div-tintuc {
    margin-bottom: 20px;
}

    .div-gioithieusach > p,
    .div-tainguyenthuvien > p,
    .div-tintuc > p > a {
        color: #012169;
        font-weight: bold;
        font-family: 'Inter bold' !important;
        font-size: 1.25rem;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

        .div-tintuc > p > a:hover {
            color: #0d6efd;
        }

    .div-tainguyenthuvien .item,
    .div-tintuc .owl-item,
    .div-gioithieusach .owl-item {
        font-size: 14px;
    }

        .div-gioithieusach .owl-item img,
        .div-tainguyenthuvien .item img,
        .div-tintuc .owl-item img {
            aspect-ratio: 3 / 4;
            object-fit: cover;
            border-radius: 8px;
            border: 1px solid #dddddd !important;
            padding: 10px;
        }

    .div-gioithieusach h3,
    .div-tainguyenthuvien h3,
    .div-tintuc h3 {
        font-size: 18px;
        font-weight: 600;
        margin: 10px 0 10px 0;
        text-align: center;
    }

        .div-gioithieusach h3 a,
        .div-tainguyenthuvien h3 a,
        .div-tintuc h3 a {
            color: #333;
        }

    .div-gioithieusach .owl-nav,
    .div-tintuc .owl-nav {
        display: none;
    }

.div-tainguyenso .owl-nav {
    display: none;
}

.div-tainguyenso .owl-item img {
    /*aspect-ratio: 3 / 2;*/
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #bcbebd;
    padding: 5px;
}

.div-tainguyenso .owl-dots {
    padding-top: 5px;
}

.div-chidan {
    display: flex;
    flex-direction: column;
    /*gap: 10px;*/
}

    .div-chidan > p {
        color: #012169;
        font-weight: bold;
        font-family: 'Inter bold' !important;
        font-size: 1.25rem;
        text-transform: uppercase;
        margin-bottom: 0px;
    }

.div-chidan-item > a > img, .div-tainguyenso-item > a > img {
    /*aspect-ratio: 5 / 3;
    border-radius: 8px;*/
    /*object-fit: cover;*/
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    padding: 2px;
}

.div-chidan-item > p {
    color: #012169;
    font-weight: bold;
    font-family: 'Inter bold' !important;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.div-chidan-item-thongbao ul {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

    .div-chidan-item-thongbao ul li {
        padding-bottom: 10px !important;
        margin-bottom: 10px !important;
    }

        .div-chidan-item-thongbao ul li a {
            display: flex;
            align-items: start;
            color: #333 !important;
            line-height: 1.3;
        }

            .div-chidan-item-thongbao ul li a i {
                font-size: 20px;
                min-width: 25px;
                margin-top: 5px;
            }

.div-tainguyenso > p {
    color: #012169;
    font-weight: bold;
    font-family: 'Inter bold' !important;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}


.div-chidan > p {
    color: #012169;
    font-weight: bold;
    font-family: 'Inter bold' !important;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .header-top > div:nth-child(1) span {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-top > div:nth-child(1) img {
        max-width: 80px !important;
    }

    .header-top > div:nth-child(3) {
        height: 150px;
        flex: 4;
    }

    .header-top > div:nth-child(2) {
        font-size: 36px;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
    }
}

@media (max-width: 479px) {
    .header-top > div:nth-child(2) {
        left: auto;
        right: 40px;
        transform: translateX(0);
        text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
    }
}


.gioithieusach-item img, .tintuc-item img {
    border: 1px solid #bcbebd;
    padding: 10px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.search-bar {
    position: relative;
    border: 5px solid #0d6efd7a;
    border-radius: 2rem !important;
}

.input_search {
    height: 50px;
    padding: 0 60px 0 30px;
    width: 100%;
    border: 1px solid rgb(229 229 229);
    /*background: rgb(243 243 243);*/
    outline: none;
    font-size: 20px;
    border-radius: 2rem !important;
}

.btn_search {
    position: absolute;
    width: 49px;
    height: 48px;
    right: 1px;
    top: 1px;
    border: 0;
    border-left: 1px solid rgb(229 229 229);
    background: white;
    /*background-size: 25px;*/
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.show_search_popup {
    color: #444;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 5px;
    font-size: 14px;
}

.banner-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 0 0 0 20px; */
    background-color: #ffffff;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .banner-top .left .logo {
        width: 160px;
    }

    .banner-top .center {
        text-align: center;
        flex: 1;
    }

    .banner-top .school-name {
        color: #e94c2d;
        font-size: 22px;
        font-weight: 700;
        margin: 0;
    }

    .banner-top .school-eng {
        color: #555;
        font-size: 14px;
        margin: 0;
        letter-spacing: 1px;
    }

    .banner-top .library-title {
        font-size: 80px;
        color: #0056ff;
        margin: 10px 0 0 0;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .banner-top .right .building {
        width: 400px;
        /* border-radius: 40px; */
        object-fit: cover;
        border-top-left-radius: 60px;
        border-bottom-left-radius: 60px;
    }


    .banner-top img {
        max-height: 300px;
    }

.div-tainguyenso-item {
    padding-bottom: 10px;
}

    .div-tainguyenso-item > a > img {
        padding: 10px;
        max-height: 100px;
        height: 85px;
    }


.ftsn {
    padding-right: 5px !important;
}

.stns {
    padding-left: 5px !important;
}


.tainguyenthuvien-item {
    width: 75%;
}

    .tainguyenthuvien-item > div {
        overflow: hidden;
    }

    .tainguyenthuvien-item img {
        height: 100%;
        /* overflow: hidden; */
        object-fit: contain;
    }

.gioithieusach-item {
    width: 75%;
}


    .tainguyenthuvien-item a:hover, .tintuc-item a:hover, .gioithieusach-item a:hover {
        color: #0d6efd;
    }


.div-tintuc .owl-item img {
    height: 300px;
}


.jstree-default .jstree-themeicon {
    background-image: url(../images/icon-tree.png) !important;
    background-position: center center !important;
    background-size: auto;
}
