@import url("https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css");
@import url("https://owlcarousel2.github.io/OwlCarousel2/assets/css/animate.css");

.UIBannerSlider {
    clear: both;
    position:relative;
    width: 100%;
}
.UIBannerSlider:before {
    content: '';
    background: #000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}
.UIBannerSlider .item a {
    display: block;
    position:relative;
}
.UIBannerSlider .item a .title {
    position: absolute;
    z-index: 99;
    left: 8%;
    bottom: 40%;
    
    /* Thêm các thuộc tính sau để thu gọn và căn trái: */
    max-width: 600px; /* Giới hạn chiều rộng tối đa của khối chữ (chị có thể tăng giảm số px này tùy ý) */
    width: 100%;       /* Đảm bảo responsive tốt trên màn hình nhỏ */
    text-align: left;  /* Căn chữ về bên trái khung */
    
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    line-height:50px;
}
/*owl-custom*/
.UIBannerSlider .owl-item .p-item {
    width: 100% !important;
}

.UIBannerSlider .custom-nav .owl-nav {
    margin: 0 !important;
}

.UIBannerSlider .custom-nav .owl-nav button {
        position: absolute;
        color: #fff !important;
        top: 50%;
        transition: all 0.2s ease;
        outline: none;
        z-index: 99999;
        opacity: .3;
        transform: translate(0, -50%);
    }

.UIBannerSlider .custom-nav .owl-nav button i {
            font-size: 50px;
        }

.UIBannerSlider .custom-nav .owl-nav .owl-prev {
        left: 10px;
        border-radius: 0 4px 4px 0;
    }

.UIBannerSlider .custom-nav .owl-nav .owl-next {
        right: 10px;
    }

.UIBannerSlider .custom-nav .owl-nav button:hover {
        opacity: 1;
        background: none !important;
    }

.UIBannerSlider .custom-dots .owl-dots {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 0;
    z-index: 9;
}

.UIBannerSlider .custom-dots .owl-dots .owl-dot {
        outline: none;
    }

.UIBannerSlider .custom-dots .owl-dots .owl-dot.active span {
            background-color: #f7941d;
            border: solid 1px #ffffff;
        }

.UIBannerSlider .custom-dots .owl-dots .owl-dot span {
            height: 15px;
            width: 15px;
            margin: 5px;
            display: block;
            border-radius: 100%;
            background: #ffbd6f;
        }

/* Đảm bảo khung slide làm mốc định vị cho lớp phủ */
.UIBannerSlider .item {
    position: relative;
}

/* Tạo lớp phủ màu tối dạng linear-gradient đè lên ảnh slide */
.UIBannerSlider .item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(30deg, rgb(10 15 30 / 44%) 0%, rgb(10 15 30 / 34%) 50%, rgb(10 15 30 / 0%) 100%);
    z-index: 1;
    pointer-events: none; /* Giúp các sự kiện click chuột xuyên qua lớp phủ vào ảnh/link bình thường */
}