.row-container {
    max-width: 1400px;
}
/* Triệt tiêu hoàn toàn khối và ảnh của đường kẻ */
div.hero-line, 
.hero-line img,
[class*="hero-line"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}
/* Ép khung chứa tiêu đề và khung chứa đoạn văn nằm ngang hàng nhau */
.orixo-hero-banner .row,
[class*="hero-banner"] .container > .row,
[class*="hero"] .row {
    display: flex !important;
    flex-wrap: nowrap !important; /* Không cho phép các khối tự động nhảy xuống dòng */
    align-items: flex-start !important; /* Căn lề các khối bắt đầu từ phía trên */
}

/* Giới hạn lại độ rộng của tiêu đề để chừa không gian cho đoạn văn */
.orixo-hero-banner h1,
.orixo-hero-banner .hero-title {
    max-width: 70% !important; /* Tiêu đề chiếm tối đa 70% bề ngang */
    width: 70% !important;
}

/* Ép đoạn văn (khối ô đỏ) dịch lên và chiếm phần diện tích còn lại */
.orixo-hero-banner .hero-text,
.orixo-hero-banner [class*="content"] {
    max-width: 30% !important; /* Khối ô đỏ chiếm 30% bề ngang còn lại */
    width: 30% !important;
    margin-top: 0 !important; /* Xóa khoảng trống thừa phía trên */
}
/* ==========================================================================
   1. ĐỊNH DẠNG DÀNH CHO MÁY TÍNH (DESKTOP)
   ========================================================================== */
@media (min-width: 992px) {
    /* Ép khung chứa tiêu đề và đoạn văn nằm ngang hàng song song trên PC */
    .orixo-hero-banner .row,
    [class*="hero-banner"] .container > .row,
    [class*="hero"] .row {
        display: flex !important;
        flex-wrap: nowrap !important; /* Giữ song song */
        align-items: flex-start !important;
    }

    /* Tiêu đề (bên trái) chiếm 70% */
    .orixo-hero-banner h1, .orixo-hero-banner .hero-title, .orixo-hero-banner h1[class*="title"] {
        max-width: 70% !important;
        width: 70% !important;
        line-height: 0.9 !important;
        overflow: visible !important;
    }

    /* Đoạn văn (bên phải) chiếm 30% */
    .orixo-hero-banner .hero-text, .orixo-hero-banner [class*="content"], .orixo-hero-banner .row > div:last-child {
        max-width: 30% !important;
        width: 30% !important;
    }

    /* Định dạng độ to nhỏ và khoảng cách sát dòng trên PC */
    .orixo-hero-banner .text-1, .text-1 {
        display: block !important;
        font-size: clamp(80px, 4.3vw, 125px) !important; 
        font-weight: 500 !important;
        margin-bottom: -45px !important;
    }
    .orixo-hero-banner .text-2, .text-2 {
        display: inline-block !important;
        white-space: nowrap !important;
        font-size: clamp(80px, 4.3vw, 125px) !important; 
        font-weight: 500 !important;
        width: max-content !important;
        max-width: none !important;
        margin-bottom: -25px !important;
    }
    .orixo-hero-banner .text-3, .text-3 {
        display: block !important;
        font-size: clamp(50px, 3.2vw, 90px) !important; 
        font-weight: 300 !important;
    }
}


/* ==========================================================================
   2. ĐẶC TRỊ SỬA LỖI TRÊN ĐIỆN THOẠI (MOBILE) - ÉP KHỐI PHẢI NHẢY XUỐNG DƯỚI
   ========================================================================== */
@media (max-width: 991px) {
    /* CHÌA KHÓA: Ép các cột phải chuyển thành hàng dọc để khối phải tự động nhảy xuống dưới */
    .orixo-hero-banner .row,
    [class*="hero-banner"] .container > .row,
    [class*="hero"] .row {
        display: flex !important;
        flex-direction: column !important; /* Chuyển bố cục từ ngang thành dọc */
        flex-wrap: wrap !important;
        align-items: flex-start !important;
    }

    /* Tiêu đề (bên trái) phình hết 100% bề ngang trên điện thoại */
    .orixo-hero-banner h1, 
    .orixo-hero-banner .hero-title,
    .orixo-hero-banner h1[class*="title"],
    .orixo-hero-banner .row > div:first-child {
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
        margin-bottom: 30px !important; /* Tạo khoảng cách trống an toàn trước khi đến khối chữ tiếp theo */
    }

    /* Đoạn văn mô tả (bên phải) phình hết 100% và nằm ngay ngắn ở phía dưới */
    .orixo-hero-banner .hero-text,
    .orixo-hero-banner [class*="content"],
    .orixo-hero-banner .row > div:last-child {
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
        clear: both !important;
    }

    /* Cấu hình hiển thị chữ tiêu đề trên Mobile gọn gàng, không đè nhau */
    .orixo-hero-banner .text-3, .text-3 {
        display: block !important;
        font-size: 24px !important;
        font-weight: 300 !important;
        margin: 5px 0 !important;
    }
  .orixo-hero-banner .text-1, .text-1,  
  .orixo-hero-banner .text-2, .text-2 {
        display: block !important;
        white-space: normal !important; /* Cho phép bẻ hàng tự nhiên nếu màn hình quá hẹp */
        font-size: 32px !important;
        font-weight: 500 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 5px 0 !important;
    }

    /* Giữ khoảng cách dòng tự nhiên trên điện thoại */
    .orixo-hero-banner h1, .orixo-hero-banner .hero-title, .orixo-hero-banner [class*="title"] div, .orixo-hero-banner [class*="title"] span {
        line-height: 1.3 !important;
        height: auto !important;
    }
}
/* ========================================================
   CSS TOÀN CỤC: THU HẸP KHOẢNG TRỐNG CHO TOÀN BỘ TRANG WEB
   ======================================================== */

/* 1. Ép giảm khoảng cách trong (padding) của tất cả các khối lớn trên trang */
section, 
.section, 
[class*="-section"],
.about-section-2,
.fix-section-padding {
    padding-top: 5px !important;    /* Giảm khoảng trống phía trên khối */
    padding-bottom: 5px !important; /* Giảm khoảng trống phía dưới khối */
}

/* 2. Triệt tiêu khoảng cách ngoài (margin) dư thừa giữa các khối sát nhau */
section + section,
div + section,
.mt-40, 
.mb-40 {
    margin-top: 5px !important;    /* Giảm khoảng đẩy phía trên */
    margin-bottom: 5px !important; /* Giảm khoảng đẩy phía dưới */
}

/* 3. Sửa riêng cho vùng tiêu đề nhỏ (như dòng "Our Services" trong ô đỏ số 2) */
.section-title-area,
[class*="-title"] {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

/* 4. Loại bỏ khoảng trống ẩn do các phần tử rỗng hoặc đường kẻ tạo ra */
hr {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}
/* 1. Giảm khoảng cách ngoài của khối Section chính chứa toàn bộ nội dung */
section.content-term.mt-50.mb-50 {
    margin-top: 25px !important;   /* Thay vì 50px mặc định */
    margin-bottom: 15px !important;/* Thay vì 50px mặc định */
    padding-top: 15px !important;  /* Thu hẹp khoảng trống phía trên nội dung */
}

/* 2. Triệt tiêu khoảng trống thừa của thẻ div container bên trong */
section.content-term .container-fluid.mt-50 {
    margin-top: 10px !important;    /* Loại bỏ khoảng đẩy 50px của container */
}

/* 3. Thu hẹp khoảng đệm của khối chi tiết nội dung */
.content-detail.font-md {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* 4. Xử lý khối hàng ngang chứa chữ rỗng (&nbsp;) đang tạo khoảng trống ẩn */
.content-detail .row-container {
    margin-bottom: 120px !important; /* Thu nhỏ tối đa khoảng cách của hàng đệm này */
}

/* 5. Giảm khoảng cách trong khối hero chứa hai cột văn bản chính */
section.hero-section-2 .hero-2 {
    padding-top: 50px !important;   /* Kéo chữ sát lên phía trên */
    padding-bottom: 50px !important;/* Thu gọn khoảng trống phía dưới cụm chữ */
}

/* 6. Kéo khít khoảng cách dòng của hai cột chữ (Cột tiêu đề lớn và cột mô tả bên phải) */
section.hero-section-2 .col-xl-7,
section.hero-section-2 .col-xl-5 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}