#bitnami-banner{display: none}
#nav-notification {
    list-style: none;
    line-height: 1;
    display: inline-block;
    margin: 30px 10px 0px 0;
}
#nav-notification .item {
    display: inline-block;
    width: 36px;
    height: 40px;
    /*margin: 0 8px;*/
    cursor: pointer;
    position: relative;
    text-align: center;
}
#nav-notification .item .off { display: inline-block; }
#nav-notification .item .on { display: none; }
#nav-notification .active .off { display: none; }
#nav-notification .active .on { display: inline-block; }
#nav-notification .counter {
    color: #fff; font-size: 11px; text-align: center; display: block; position: absolute; right: 0; top:-7px; min-width: 18px;
    background-color: #cc1f1a; border-radius: 50%; padding: 3px; text-align: center; display: none;
}
.navigation ul li a::after{display: none;}
.navigation ul li.current_page_item a, .navigation ul li a:hover{color: #0568ac;}
.user_profile{
    float: left;
    width: 45px;
    text-align: center;
    font-size: 28px;
}
.user_profile a{
    color: #f7922a
}
.user_phone{
    float: left;
    text-align: center;
    font-size: 23px;
    color: #cc1f1a;
}
.user_phone a{
    color: #cc1f1a;
    font-family: "Mariadpro";
    font-weight: bold
}
.user_cart{
    float: left;
    text-align: center;
    font-size: 25px;
    position: relative;
    width: 36px;
}
.user_cart i{
    color: #c6c6c6;
}
.menu_mobile .icon_menu{
    display: none;
}

a.slidebar-close-btn {
    position: absolute;
    right: 0;
    top: -20px;
}
a.slidebar-close-btn img {
    display: block;
    width: 20px;
}
.box-point a.box-email i:before{
    background: url("../images/envelope.svg") no-repeat;
    background-size: contain;
    content: '';
    display: block; 
    margin-bottom: 5px;
    width: 40px;
    height: 40px;
}
.box-point a.box-form i:before{
    background: url("../images/forms.svg") no-repeat;
    background-size: contain;
    content: '';
    display: block;
    margin-bottom: 5px;
    width: 40px;
    height: 40px;
}
.box-button{
    position: fixed;
    top: 23%;
    left: 0;
}
.box-button .box-toggle{
    width: 45px;
    display: flex;
    text-align: left;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.box-button a.box-toggle i:before{
    background: url("../images/transfer.svg") no-repeat;
    background-size: contain;
    content: '';
    display: block;
    width: 40px;
    height: 40px;
}
footer {
  background: #ac2026;
  padding: 20px 0 10px;
  color: #F3F4F6;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

footer a {
  color: #E0F7FF;
  transition: color 0.3s;
}

footer a:hover {
  color: #FFF;
}

footer h5 {
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 20px;
  color: #FFFFFF;
  border-bottom: 2px solid #FFF;
  padding-bottom: 5px;
  display: inline-block;
}

footer ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

footer ul li {
  margin-top: 10px;
}

.footer-main ul li a:before {
  content: "\003e";
  font-weight: 900;
  display: inline-block;
  margin-right: 10px;
  color: #FFF;
}

footer .address p {
  margin: 20px 0 0 0;
  line-height: 1.6;
  color: #fff;
}

footer .address i {
  margin-right: 10px;
  color: #FFF;
}

footer .dnv,
footer .leed {
  margin-bottom: 30px;
  margin-top: 10px;
}

footer .dnv img,
footer .leed img {
  display: block;
  width: 78px;
  float: left;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

footer .dnv span,
footer .leed span {
  display: block;
  margin-left: 85px;
  color: #E5E7EB;
}

footer .line {
  height: 1px;
  border-top: 1px solid #ffffff3b;
  margin: 15px 0;
}

footer ul.social {
  float: right;
}

footer ul.social li {
  display: inline-block;
  margin-left: 20px;
}

footer ul.social li a {
  color: #FFF;
  font-size: 22px;
  transition: transform 0.3s;
}

footer ul.social li a:hover {
  transform: scale(1.2);
}


/* Responsive */
@media (max-width: 768px) {
  footer ul.social {
    float: none;
    text-align: center;
    margin-top: 20px;
  }
}

/* ---------------------------------------------------- */
/* BASE STYLES: Áp dụng chung và làm nền trung lập */
/* ---------------------------------------------------- */

.header {
    width: 100%;
    z-index: 10;
    height: auto;
    background-color: transparent;
}

/* Container giới hạn nội dung 1170px và căn giữa cho tất cả các style */
.header_container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Base Top Bar Styling */
.header_top, .header_bottom {
    width: 100%;
    padding: 0;
}
/* Loại bỏ display: flex để sử dụng float cho Style 1 */
.header_top {
    /* Đã loại bỏ display: flex */
}


.logo a{display: inline-block;}

/* Navigation Menu Links (Dùng chung) */
.navigation ul li a{
    font-family: Roboto;
    text-transform: inherit;
    font-size: 16px;
    color: #333
}

/* ---------------------------------------------------- */
/* STYLE 1: MẶC ĐỊNH (Sử dụng CSS GỐC của người dùng) */
/* ---------------------------------------------------- */

.header-style1 .header {  
    height: auto;  /* Đã chỉnh: Loại bỏ height cố định để spacer có thể hoạt động */
} 

/* Logo và Text Inline */
.header-style1 .logo {
    display: block;
    float: left; /* Logo float trái */
}

.header-style1 .company-name {  
    color: #999999; /* Màu gốc: #999999 */
    font-size: 30px;  
    line-height: 40px;  
    font-weight: 700;  
    text-transform: uppercase;  
    display: inline-block;  
    margin-left: 20px;  
}  
.header-style1 .company-name span {  
    color: #ff0100; /* Màu gốc: #ff0100 */ 
}  
@media screen and (max-width: 1100px){.header-style1 .company-name{display:none;} .header-style1 .header_top { overflow: hidden;} .logo a img{width: 40%;} .home #content{padding-top: 10px;}}
@media screen and (max-width: 767px) {.header-style1 .header_right{display: none!important;}}
@media screen and (min-width: 1100px) and (max-width: 1920px){.header-style1 .company-name{font-size:20px;} .logo a img{width: 50%} .home #content{padding-top: 80px;}}
/* Khu vực Contact/Email (Header Right) */
.header-style1 .header_top {
    width: 100%; /* Đảm bảo chiếm đủ độ rộng để chứa */
    padding-top: 25px; /* Tạo khoảng trống trên top bar */
}
.header-style1 .header_right {  
    width: 395px; 
    float: right; /* Header Right float phải */
    display: block; 
}  
.header-style1 .top-navs {
    width: 100%;
}
.header-style1 .contact-us {  
    /* Áp dụng border và padding từ code người dùng */
    border-left: 1px solid #ccc;  
    padding-left: 10px;  
    width: 45%;  
    float: left; /* Sử dụng float gốc */
    min-width: 180px;  
}  
.header-style1 .email-us {  
    width: 44%;  
    float: left; /* Sử dụng float gốc */
}  
.header-style1 .contact-us i, .header-style1 .email-us i{  
    display: inline-block;  
    width: 33px;  
    height: 33px;  
    float: left;  
    color: #ac2026; /* Màu gốc: #ac2026 */ 
    font-size: 30px;  
    text-align: center;  
    line-height: 33px;  
    margin-right: 5px;  
}  
.header-style1 .contact-us .title, .header-style1 .email-us .title {  
    text-transform: uppercase;  
    font-weight: 700;  
    font-size: 16px;  
    line-height: 20px;  
    color: #ac2026; /* Màu gốc: #ac2026 */ 
    display: inline-block;  
}  
.header-style1 .contact-us .description, .header-style1 .email-us .description {  
    display: block;  
    margin-left: 38px;  
    font-size: 13px;  
    line-height: 22px;  
    margin-top: -5px;  
}  
.header-style1 .description a {  
    color: #555;  
}  

/* Menu Bottom (Cố định - Fixed) */
.header-style1 .header_bottom{  
    position: fixed;  
    left: 0;  
    top: 80px;  
    width: 100%;  
    z-index: 9;  
    background-color: #fff;  
    text-align: center;  
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
}  
.header-style1 .admin-bar .header_bottom{  
    top: 112px;  
} 
/* FIX: Đảm bảo menu links có đủ padding để không bị cắt và áp dụng font/color */
.header-style1 .navigation ul li a:hover {
    color: #ff0100;
}

/* ĐÃ CHỈNH: Spacer bù đắp toàn bộ chiều cao 130px của header trong luồng tài liệu */
.header-style1 .fixed-menu-spacer {
    height: 80px; /* Chiều cao = Chiều cao Top Bar (khoảng 80px) + Chiều cao Menu (khoảng 50px) */
    width: 100%;
    display: block;
    /* Ẩn spacer đi để không thấy nó, nhưng nó vẫn giữ chỗ */
    visibility: hidden; 
}

/* --- HEADER STYLE 2: MODERN LAYOUT (Logo - Menu - Search) --- */

/* Base Header */
.header-style2 .header {
    background-color: #ffffff; /* Nền trắng */
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s;
}

.header-style2 .header-core {
    display: flex;
    justify-content: space-between; /* Logo, Menu, Search/Buttons */
    align-items: center;
    min-height: 70px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Logo */
.header-style2 .header-one-logo img {
    max-height: 40px; 
    width: auto;
    transition: max-height 0.3s;
}

/* Menu Chính (Desktop) */
.header-style2 .main-menu {
    flex-grow: 1; /* Cho menu chiếm hết không gian giữa */
    text-align: center;
}

.header-style2 .main-menu-list {
    display: inline-block;
}

.header-style2 .main-menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-style2 .main-menu-list ul li {
    position: relative;
    list-style: none;
}

.header-style2 .main-menu-list ul li a:hover {
    color: #007bff; /* Màu nhấn */
}

/* Dropdown Menu (Cấp 2) */
.header-style2 .main-menu-list ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    min-width: 200px;
    z-index: 10;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

.header-style2 .main-menu-list ul li:hover > ul {
    display: flex;
}

.header-style2 .main-menu-list ul ul li a {
    padding: 10px 15px;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}

.header-style2 .main-menu-list ul ul li a:hover {
    background-color: #f7f7f7;
    color: #007bff;
}

.header-style2 .navigation ul li a:hover {
    color: #ff0100;
}


/* ---------------------------------------------------- */
/* STYLE 3 PLACEHOLDER */
/* ---------------------------------------------------- */

.header-style3 .header {
    /* Style 3 CSS will go here later */
}


/* ========================================= */
/* 1. STYLE A (5 CỘT ĐỀU - FIX TỶ LỆ VÀ CHIỀU CAO) */
/* ========================================= */
/* Tiêu đề Style B: Căn trái */
.section-posts.style-a h2{
    color: #fff;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-left: 15px;
}
.section-posts.style-b h2,.section-posts.style-c h2, .section-posts.style-d h2, .section-posts.style-e h2 {
    color: #ac2026;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-left: 15px;
}

/* Thanh gạch chân căn trái */
.section-posts.style-a h2:after, .section-posts.style-b h2:after,.section-posts.style-c h2:after, .section-posts.style-d h2:after, .section-posts.style-e h2:after {
    content: "";
    display: block;
    width: 60px; /* Độ dài vừa phải, không cố định */
    height: 3px;
    background-color: #ac2026; /* Dùng màu chủ đạo */
    margin: 10px auto 0 auto; /* Đặt dưới tiêu đề và căn giữa */
}
.section-posts.style-a h2:hover, .section-posts.style-b h2:hover,.section-posts.style-c h2:hover, .section-posts.style-d h2:hover, .section-posts.style-e h2:hover {
    color: #ac2026;
}
.section-posts.style-a,.section-posts.style-b,.section-posts.style-c,
.section-posts.style-d, .section-posts.style-e {
    padding: 10px 0;
}


/* --- Bố cục 5 cột (CUSTOM GRID) --- */
.section-posts.style-a .container{
    /* Lựa chọn 1: Màu nền nhẹ (Ví dụ: xám nhạt hoặc màu kem) */
    background-color: #ac202699; 
    
    /* Lựa chọn 2: Đường viền nhẹ để tạo sự tách biệt */
    border-top: 3px solid #ac2026;
    border-bottom: 3px solid #ac2026;
}
.section-posts.style-a .container 

/* Kích hoạt Flexbox và Custom Grid cho cột */
.section-posts.style-a .col-md-2-4 {
    position: relative;
    min-height: 1px;
    padding-right: 15px; /* Gutter mặc định */
    padding-left: 15px; /* Gutter mặc định */
    display: flex; /* QUAN TRỌNG: Kích hoạt Flexbox để cân bằng chiều cao */
}

/* Chiều rộng 20% cho 5 cột trên màn hình Desktop (>= 992px) */
@media (min-width: 992px) {
    .section-posts.style-a .col-md-2-4 {
        width: 20%; 
        float: left; 
    }
}

/* --- Cấu trúc Item (Bài viết) --- */

.section-posts.style-a .item {
    padding: 15px; 
    border: 1px solid #eee; 
    border-radius: 6px; 
    transition: box-shadow 0.3s ease-in-out; 
    margin-bottom: 30px; 
    height: 100%; /* QUAN TRỌNG: Chiếm 100% chiều cao cột (nhờ display: flex) */
    width: 100%;
    display: flex; /* Bật Flexbox để phần description chiếm hết không gian */
    flex-direction: column;
}

.section-posts.style-a .item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); 
}

/* Tỷ lệ ảnh cho Style A (3:2) */
.section-posts.style-a .img-wrapper {
    display: block;
    overflow: hidden; 
    border-radius: 4px;
    position: relative; /* Kích hoạt Padding Hack */
    padding-bottom: 66.66%; /* Tỷ lệ 3:2 (chiều cao / chiều rộng) */
    height: 0;
}

.section-posts.style-a .img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.section-posts.style-a .item:hover img {
    transform: scale(1.05); 
}

/* Mô tả */
.section-posts.style-a .description {
    padding-top: 15px;
    flex-grow: 1; /* Rất quan trọng: Đẩy nội dung xuống đáy để giữ chiều cao item */
}

/* Tiêu đề bài viết */
.section-posts.style-a .description h4 {
    font-size: 18px; 
    color: #fdfdfd;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;

    /* Giới hạn tiêu đề 2-3 dòng (Tùy chọn, nên sử dụng) */
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
}

.section-posts.style-a .description a:hover h4 {
    color: #ac2026;
}

/* Đoạn trích */
.section-posts.style-a .description p {
    font-size: 14px;
    color: #f6e7d7;
    text-align:justify;
}
/* ========================================= */
/* 2. STYLE B (1/2 FEATURED + 1/2 LIST NGANG) */
/* ========================================= */

/* Bài viết Nổi bật (Featured - Cột trái) */
.section-posts.style-b .featured {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 100%;
    width: 100%;
    background-color: #f9f9f9;
}

/* Tỷ lệ ảnh cho Featured Style B (16:9) */
.section-posts.style-b .featured .img-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Tỷ lệ 16:9 */
    height: 0;
    overflow: hidden;
    display: block;
}
.section-posts.style-b .featured img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.section-posts.style-b .featured:hover img {
    transform: scale(1.05);
}

.section-posts.style-b .featured .description {
    padding: 10px 0;
}
.section-posts.style-b .featured h4, .section-posts.style-c .featured h4,
.section-posts.style-d .featured h4{
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 5px;
    color: #333;
}

/* Bài viết Danh sách (Latest - Cột phải, Bố cục NGANG) */
.section-posts.style-b .latest {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    display: flex; /* Bật Flexbox cho bố cục ngang */
    gap: 15px; 
    align-items: flex-start;
}

/* Ảnh của bài danh sách (kích thước cố định) */
.section-posts.style-b .latest .img-wrapper {
    flex-shrink: 0;
    width: 150px; 
    height: 100px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}
.section-posts.style-b .latest .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mô tả List */
.section-posts.style-b .latest .description {
    flex-grow: 1;
}

.section-posts.style-b .col-md-6:nth-child(2) .latest:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
/* ========================================= */
/* 3. STYLE C & D (CÂN BẰNG CHIỀU CAO VÀ BỎ MÔ TẢ LIST) */
/* ========================================= */

/* --- A. Featured Column (col-md-6) --- */

/* Đảm bảo cột Featured có Flexbox để item chiếm 100% chiều cao */
.section-posts.style-c .featured-col,
.section-posts.style-d .featured-col{
    display: flex;
    flex-direction: column;
}
.section-posts.style-c .featured-col .featured,
.section-posts.style-d .featured-col .featured{
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 100%; 
    width: 100%;
    background-color: #f9f9f9;
}

/* Tỷ lệ ảnh Featured C/D (16:9) */
.section-posts.style-c .featured-col .img-wrapper,
.section-posts.style-d .featured-col .img-wrapper{
    position: relative;
    padding-bottom: 56.25%; /* Tỷ lệ 16:9 */
    overflow: hidden;
    display: block;
}
.section-posts.style-c .featured-col img,
.section-posts.style-d .featured-col img,
.section-posts.style-e .featured-col img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tiêu đề Featured */
.section-posts.style-c .featured-col h4,
.section-posts.style-d .featured-col h4,
.section-posts.style-e .featured-col h4{
    font-size: 22px;
    line-height: 2.3;
    margin-bottom: 5px; /* Khoảng cách với mô tả */
    color:#333;
}
.section-posts.style-c .featured-col h4:hover,
.section-posts.style-d .featured-col h4:hover,
.section-posts.style-e .featured-col h4:hover, .section-column-posts .post-featured .entry-title a:hover, .section-column-posts .post-compact h5 a:hover{color:#ff0100;}

/* Mô tả Featured */
.section-posts.style-c .featured-col p,
.section-posts.style-d .featured-col p,
.section-posts.style-e .featured-col p{
    font-size: 14px;
    color: #666;
    margin-bottom: 0; /* Loại bỏ margin dưới cùng */
}


/* --- B. CÂN BẰNG CHIỀU CAO CHO CÁC CỘT LIST (col-md-3) --- */

/* 1. Kích hoạt Flexbox trên cột để cân bằng chiều cao item */
.section-posts.style-c .latest-list-row .latest-col-1,
.section-posts.style-c .latest-list-row .latest-col-2,
.section-posts.style-d .latest-list-row .latest-col-1,
.section-posts.style-d .latest-list-row .latest-col-2,
.section-posts.style-e .latest-list-row .latest-col-1,
.section-posts.style-e .latest-list-row .latest-col-2{
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}

/* 2. Item trong List (BỐ CỤC DỌC & CÂN BẰNG) */
.section-posts.style-c .latest,
.section-posts.style-d .latest,
.section-posts.style-e .latest{
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Rất quan trọng: Item chiếm hết chiều cao còn lại */
    
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    
    transition: box-shadow 0.3s ease;
    overflow: hidden;
    width: 100%;
}
.section-posts.style-c .latest:hover,
.section-posts.style-d .latest:hover,
.section-posts.style-e .latest:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* 3. Tỷ lệ ảnh cho List Item (4:3) */
.section-posts.style-c .latest .img-wrapper,
.section-posts.style-d .latest .img-wrapper,
.section-posts.style-e .latest .img-wrapper{
    position: relative;
    padding-bottom: 75%; /* Tỷ lệ 4:3 */
    height: 0;
    width: 100%;
    overflow: hidden;
    margin-bottom: 8px;
    display: block;
}
.section-posts.style-c .latest img,
.section-posts.style-d .latest img,
.section-posts.style-e .latest img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 4. Tối ưu Tiêu đề và Mô tả */
.section-posts.style-c .latest .description,
.section-posts.style-d .latest .description,
.section-posts.style-e .latest .description{
    padding: 0 5px;
    flex-grow: 1; /* Tự mở rộng để cân bằng chiều cao */
}

/* Tiêu đề List */
.section-posts.style-b .latest h4{
    font-size: 16px;
    line-height: 1.3; /* QUAN TRỌNG: Dùng để tính toán min-height */
    margin-top: 0;
    margin-bottom: 0; 
    
    /* FIX CHIỀU CAO: Áp dụng các quy tắc giới hạn dòng và min-height trực tiếp lên H4 */
    display: block; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Giới hạn 3 dòng tiêu đề */
    -webkit-box-orient: vertical;
    color:#333;
}
.section-posts.style-b .latest h4:hover,
.section-posts.style-c .latest h4:hover,
.section-posts.style-d .latest h4:hover,
.section-posts.style-e .latest h4:hover{color:#FF0100;}

.section-posts.style-c .latest h4,
.section-posts.style-d .latest h4,
.section-posts.style-e .latest h4{
    font-size: 16px;
    line-height: 1.3; /* QUAN TRỌNG: Dùng để tính toán min-height */
    margin-top: 0;
    margin-bottom: 0; 
    
    /* FIX CHIỀU CAO: Áp dụng các quy tắc giới hạn dòng và min-height trực tiếp lên H4 */
    display: block; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Giới hạn 3 dòng tiêu đề */
    -webkit-box-orient: vertical;
    
    /* FIX CHỐT: Đặt chiều cao TỐI THIỂU để cân bằng item (3 dòng * 16px * 1.3 = ~62.4px) */
    min-height: 65px; 
    color:#333;
}

/* ẨN MÔ TẢ LIST (Dù đã xóa trong PHP, vẫn nên có quy tắc này) */
.section-posts.style-c .latest p,
.section-posts.style-d .latest p,
.section-posts.style-e .latest p{
    display: none; 
}

/* Loại bỏ border dưới cho bài cuối cùng trong mỗi cột con */
.section-posts.style-c .latest-col-1 .latest:last-child,
.section-posts.style-c .latest-col-2 .latest:last-child,
.section-posts.style-d .latest-col-1 .latest:last-child,
.section-posts.style-d .latest-col-2 .latest:last-child,
.section-posts.style-e .latest-col-1 .latest:last-child,
.section-posts.style-e .latest-col-2 .latest:last-child{
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
/* ========================================= */
/* C. Định hình Style D (Đảo ngược 5-7) - ĐÃ KIỂM TRA LẠI ORDER */
/* ========================================= */
@media (min-width: 992px) { 
    .section-posts.style-d > .container > .row {
        display: flex;
    }
    .section-posts.style-d .featured-col {
        order: 2; /* Cột Featured (col-md-7) ra sau */
    }
    .section-posts.style-d .latest-list-row {
        order: 1; /* Cột List (col-md-5) ra trước */
    }
}
/* ========================================= */
/* 4. STYLE E (LIST 2.5 - FEATURED 7 - LIST 2.5) */
/* FIX: Custom Grid Class cho STYLE E (2.5/12) */
/* ========================================= */
/* --- A. Featured Column (col-md-7) --- */
.section-posts.style-e .featured-col {
    display: flex;
    flex-direction: column;
    padding: 0 15px; 
}
.section-posts.style-e .featured-col .featured {
    height: 100%;
    /* Tái sử dụng style C/D */
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}
/* Tái sử dụng tỷ lệ ảnh 16:9 và style text của Featured C/D */
.section-posts.style-e .featured-col .img-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Tỷ lệ 16:9 */
    overflow: hidden;
    display: block;
}
.section-posts.style-e .col-md-2-5 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .section-posts.style-e .col-md-2-5 {
        /* Chiều rộng cho 2.5/12 (Tỷ lệ chính xác là 20.833%) */
        width: 20.83333333%; 
        float: left; 
    }
}

/* ========================================= */
/* CSS CHUNG CHO SECTION COLUMN POSTS (Kích thước chữ đồng bộ) */
/* ========================================= */

.section-column-posts {
    padding: 30px 0; /* Khoảng cách trên dưới cho toàn section */
}

/* Định dạng chung cho mỗi cột */
.section-column-posts .column-inner {
    padding: 15px;
    margin-bottom: 25px; 
    border: 1px solid #e0e0e0;
    border-top: 3px solid #333; /* Đường viền nổi bật phía trên */
    background-color: #ffffff;
    border-radius: 4px;
    height: 100%; 
}

/* Tiêu đề cột (Category) */
.section-column-posts .column-title {
    /* ĐỒNG BỘ: Tiêu đề cột nên nổi bật hơn một chút */
    font-size: 20px; /* Tương đương 1.25rem */
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.section-column-posts .column-title a {
    color: #ac2026;
    text-decoration: none;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid #ac2026;
}

.section-column-posts .column-title a:hover {
    color: #FF0100;;
    border-bottom-color: #007bff;
}

/* Đường phân cách giữa Featured Post và Compact Posts */
.section-column-posts hr {
    margin: 15px 0;
    border: 0;
    border-top: 1px solid #eee; /* Chỉ dùng màu #eee cho nền trắng */
}

/* ========================================= */
/* CSS CHO BÀI FEATURED (Bài đầu tiên) */
/* ========================================= */

.section-column-posts .post-featured {
    margin-bottom: 20px;
}

.section-column-posts .post-featured .post-thumb {
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 4px;
}

.section-column-posts .post-featured img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.section-column-posts .post-featured img:hover {
    transform: scale(1.05);
}

.section-column-posts .post-featured .entry-title {
    /* ĐỒNG BỘ: Tiêu đề Featured */
    font-size: 18px; /* Tăng từ 1.2rem lên 18px */
    line-height: 1.4;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 5px;
}

.section-column-posts .post-featured .entry-title a {
    color: #333;
    text-decoration: none;
}

.section-column-posts .post-featured .entry-meta {
    /* ĐỒNG BỘ: Meta data */
    font-size: 12px; /* Tăng từ 0.85rem lên 12px */
    color: #999;
    margin-bottom: 10px;
}

.section-column-posts .post-featured .entry-excerpt {
    /* ĐỒNG BỘ: Đoạn trích Featured */
    font-size: 14px; /* Tăng từ 0.9rem lên 14px */
    color: #666;
    line-height: 1.5;
}

/* ========================================= */
/* CSS CHO BÀI COMPACT (Các bài mới nhất) */
/* ========================================= */

.section-column-posts .post-compact {
    display: flex; 
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #f0f0f0;
}

.section-column-posts .post-compact:last-child {
    border-bottom: none; 
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-column-posts .compact-thumb {
    flex-shrink: 0; 
    width: 70px; /* Tăng nhẹ kích thước ảnh nhỏ */
    height: 70px;
    margin-right: 12px;
    overflow: hidden;
    border-radius: 4px;
}

.section-column-posts .compact-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.section-column-posts .compact-details {
    flex-grow: 1; 
}

.section-column-posts .post-compact h5 {
    /* ĐỒNG BỘ: Tiêu đề Compact */
    font-size: 15px; /* Tăng từ 1rem lên 15px */
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 3px;
    font-weight: 600; /* Tăng độ đậm */
}

.section-column-posts .post-compact h5 a {
    color: #333;
    text-decoration: none;
}

.section-column-posts .entry-meta-compact {
    /* ĐỒNG BỘ: Meta data Compact */
    font-size: 12px; /* Tăng từ 0.8rem lên 12px */
    color: #999;
}
/*.project-detail #bx-pager li a img.youtube-img {
    height: 150px;
}*/
/* ---------------------------------------------------- */
/* CSS cho Tiêu đề Danh mục (H2 a) */
/* ---------------------------------------------------- */
.section-posts.style-a h2 a{color: #fff!important;}
.section-posts.style-a h2 a:hover{color: #007dcb;}
.custom-section.section-posts h2 a {
    /* Màu mặc định cho tiêu đề */
    color: #AC2026; 
    /* Loại bỏ gạch chân nếu có, nếu muốn giữ thì bỏ dòng này */
    text-decoration: none; 
    /* Đảm bảo tiêu đề luôn in đậm, dễ nhìn */
    font-weight: 700; 
    /* Thêm hiệu ứng chuyển đổi mượt mà khi hover */
    transition: color 0.3s ease; 
}

.custom-section.section-posts h2 a:hover {
    /* Màu khi di chuột (hover) */
    /* Bạn có thể chọn màu tối hơn hoặc màu phụ để phù hợp */
    color: #FF0100; /* Ví dụ: Sử dụng màu đỏ rực hơn khi hover */
    text-decoration: underline; /* Thêm gạch chân khi hover để nổi bật */
}

/* ---------------------------------------------------- */
/* Tùy chọn: Nếu muốn style cho thẻ H2 bao quanh */
/* ---------------------------------------------------- */

.custom-section.section-posts h2 {
     margin-top: 20px;
    /* Đặt khoảng cách dưới tiêu đề */
    margin-bottom: 20px; 
    /* Căn chỉnh tiêu đề */
    text-align: center; 
    /* Kích thước font phù hợp cho tiêu đề chính */
    font-size: 28px; 
}
/* Đảm bảo chiều cao của đoạn trích (excerpt) luôn cố định 2 dòng */
.item-content p {
    /* Đây là thuộc tính quan trọng để giới hạn số dòng */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Đặt số dòng bạn muốn hiển thị */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Tùy chọn: Thêm dấu ... ở cuối */
    
    /* Thêm một line-height cố định để đảm bảo chiều cao block không đổi */
    line-height: 1.4em; 
    max-height: 2.8em; /* 2 dòng * 1.4em = 2.8em */
}

.penci-grid li.list-post{
    width: calc(50% - 10px) !important;
    clear: unset !important;
}
.penci-grid li.list-post .item>.thumbnail{
    width: 100%;
    margin-bottom: 15px;
    max-width: inherit;
}
.penci-grid li.list-post .item .content-list-right{
    padding: 0;
    display: inline-block;
    width: 100%;
}
.penci-grid li .item h2 a, .penci-masonry .item-masonry h2 a{
    color: #333;
    font-size: 18px;
}
.penci-grid li:hover .item h2 a, .penci-masonry .item-masonry:hover h2 a{
    color: #ac2026
}
.list-post .header-list-style h2{
    min-height: 50px;
}
.penci-grid li .item .item-content, .penci-masonry .item-masonry .item-content, .penci-grid .mixed-detail .item-content{
    min-height: 65px;
    color: #333;
    font-weight: 500
}
.penci-image-holder {
    height: 0 !important;
    padding-bottom: 75% !important; /* Set aspect ratio to 4:3 (75%) */
    background-size: contain !important; /* Ensure the full image is visible */
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.penci-grid li.list-post:first-child{
    width: 100% !important;
}
.penci-grid li.list-post:first-child .item>.thumbnail{
    width: 100%;
    max-width: inherit;
}
.penci-grid li.list-post:first-child .penci-image-holder:before{
    padding-top: 490px;
}
.penci-grid li.list-post:first-child .header-list-style h2 a{
    text-transform: uppercase;
    font-size: 22px;
    color: #ac2026;
}
.list-post:first-child .header-list-style h2{
    min-height: inherit;
}
.penci-grid li.list-post:first-child .grid-post-box-meta{
    display: none;
}
.penci-grid li.list-post:first-child .item .item-content{
    min-height: inherit;
}

.penci-sidebar-content .penci-border-arrow .inner-arrow{
    background-color: inherit;
    border: none;
    color: #ac2026;
    font-size: 20px;
    text-transform: capitalize;
    padding: 0;
    letter-spacing: 0;
}

.widget .right-menu ul li {
    margin-bottom: 11px;
    color: #333;
    padding: 0;
    font-size: 15px;
    font-weight: normal;
    border: none;
}
.widget .right-menu ul li a{
    border: 1px solid #ccc;
    padding: 15px;
    display: inline-block;
    width: 100%;
    position: relative;
}

.widget .right-menu ul li a:hover, .widget .right-menu ul li a.active{
    border-color: #66aede;
    background-color: #66aede;
    color: #fff;
}
.widget .right-menu ul ul{
    display: none;
}
.widget .right-menu ul ul li{
    margin: 0;
}
.widget .right-menu ul ul li a{
    border-top: none;
    border-bottom: none;
}
.widget .right-menu ul ul li a:hover{
    background-color: transparent;
    color: #66aede;
}
.widget .right-menu ul ul li:last-child a{
    border-bottom: 1px solid #ccc;
}
.penci-sidebar-content{
    width: 25.06%;
}
.container.penci_sidebar #main{
    width: 74.94%;
}
.right-menu ul li a:after{
    content: '\f2fb';
    font-family: 'Material-Design-Iconic-Font';
    position: absolute;
    right: 15px;
    top: 14px;
    font-size: 18px;
}
.widget .right-menu ul#menu-download-brochure li a:before{
    content: '\f14d';
    font-family: 'Material-Design-Iconic-Font';
    font-size: 22px;
    position: absolute;
    left: 15px;
    top: 10px;
    
}
.widget .right-menu ul#menu-download-brochure li a:after{
    display: none;
}
.widget .right-menu ul#menu-download-brochure li a{
    padding-left: 45px;
}
.penci-sidebar-content .widget, .penci-sidebar-content .widget-title{
    margin-bottom: 20px;
}
.penci-grid li.list-post:nth-child(2n+3){
    margin-left: 20px;
}

.subheader {
    padding: 0;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.subheader_image {
    width: 100%;
    height: 40vh; /* Chiều cao linh hoạt theo viewport */
    max-height: 500px;
    min-height: 250px;
    overflow: hidden;
}

.subheader_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    .subheader_image {
        height: 30vh;
        min-height: 180px;
    }
}
.breadcrumbs_box{
    padding: 20px 0;
}
ul.breadcrumbs li a, ul.breadcrumbs a, ul.breadcrumbs span{
    color: #ccc;
    
}
ul.breadcrumbs span{
    color: #333;
    font-weight: bold;
}
ul.breadcrumbs .breadcrumbs_icon{
    color: #ccc
}
.content h1{
    text-transform: uppercase;
    margin: 0 0 20px;
    font-size: 32px;
    color: #ac2026;
}
.post-entry h2,.post-entry h3,.post-entry h4{
    color: #ac2026;
}
.contactus-headquarter {
    margin-top: 20px;
}
.contactus-offices {
    margin-top: 20px;
    margin-bottom: 20px;
}
.contactus-office {
    min-height: 200px;
}

.contactus-office h2 {
    font-size: 19px;
    color: #ac2026;
    margin: 10px 0;
    text-transform: uppercase;
}
.contactus-office img {
    display: inline-block;
    margin-top: -6px;
    margin-right: 5px;
}
.contactus-office div {
    margin: 5px 0;
    text-align: justify;
}
.contactus-office .left {
    width: 45%;
    float: left;
}
.contactus-office .right {
    float: right;
    width: 53%;
}
.contactus-form {
    margin-top: 15px;
}
.map-wrapper iframe{
    max-width: 100%;
}

.form_item{display:inline-block;width:100%;margin-bottom:12px;text-align: left;}
.form_item input, .form_item input[type="text"], .form_item input[type="email"], .form_item input[type="tel"]{border:none;border:1px solid #c4c5c7;background-color:#fff;height:43px;width:100%;line-height:45px;padding:0 15px;font-weight:300;font-size:15px}
.form_item input[type=file]{line-height:inherit;padding-top:8px;padding-left:15px}
.form_item textarea{border:none;border:1px solid #c4c5c7;background-color:#fff;width:100%;max-width:100%;line-height:45px;padding:0 15px;height:200px;font-weight:300;font-size:15px}
input:focus,textarea:focus{outline:none;border-bottom:1px solid #960c22}
.form_item input[type="submit"]{background-color:transparent;color:#960C22;font-weight:bold;border:1px solid #960C22;width:auto;padding:0 45px;font-size:18px;float:right;border-radius:5px}
.form_item input[type="submit"]:hover{background-color:#960C22;color:#fff}
.form_item select{height:43px;width:100%;font-size:15px;padding:5px 15px;border:1px solid #c4c5c7; background-color: #fff;}
.form_item label{font-weight: normal;}

.job_list {
    margin: 30px 15px;
    padding: 0;
    list-style-type: decimal;
}
.job_list li {
    margin: 10px 0;
    font-weight: 700;
    color: #ac2026;
}
.job_list li a {
    color: #ac2026;
    font-weight: 700;
}
.careers h2{
    color: #ac2026;
    font-size: 20px;
}
.careers h2:before {
    content: " ";
    display: block;
    width: 50px;
    border-bottom: 3px solid #ac2026;
    margin-bottom: 20px;
}

.page_tab{
    display: inline-block;
    width: 100%;    
    padding: 25px 0 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.page_tab li{
    text-align: center;
    float: left;
    border-left: unset;
    border-right: 1px solid #ccc;
}
.page_tab_item_2 li{
    width: calc(100%/2);
}
.page_tab_item_3 li{
    width: calc(100%/3);
}
.page_tab li:last-child{
    border-right: unset;
}
.page_tab li a{
    color: #66aede;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
}
.page_tab li a.active{
    color: #ac2026
}
.tab_content_item{
    display: none
}
.tab_content_item.active{
    opacity: 1;
    display: block;
}
#nav-main .menu{position: relative;}
.navigation .mega_menu{
    position: relative;
}
.navigation .mega_menu ul{
    position: absolute;
    width: 800px;
    background-color: rgba(0,103,172,0.9);
    left: -300px;
    top: 100%;
    box-shadow: 1px 10px 15px rgb(10 10 10 / 56%);
    text-align: left;
    display: none;
}
.navigation .mega_menu:hover ul {
    display: block;
}
.navigation .mega_menu.mega_menu_3 ul li{
     width: calc(100%/3);
}
.navigation .mega_menu.mega_menu_5{
    position: static;
}
.navigation .mega_menu.mega_menu_5 ul li:nth-child(1){
     width: calc(20% + 4px);
}
.navigation .mega_menu.mega_menu_5 ul li:nth-child(2){
     width: calc(20% - 14px);
}
.navigation .mega_menu.mega_menu_5 ul li:nth-child(3){
     width: calc(20% + 0px);
}
.navigation .mega_menu.mega_menu_5 ul li:nth-child(4){
     width: calc(20% + 18px);
}
.navigation .mega_menu.mega_menu_5 ul li:nth-child(5){
     width: calc(20% - 16px);
}

.navigation .mega_menu.mega_menu_5 ul {
    width: calc(143% + 100px);
    left: -215px;
    top: 50px;
}
.navigation .mega_menu ul li{
    background-color: transparent;
    border-right: 1px solid #157dc3;
    box-sizing: border-box;
    float: left;
    padding: 0 0 15px;
}
.navigation .mega_menu ul li a{
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    padding: 10px 15px;
    border-bottom: 1px solid #157dc3;
    margin: 0 0 10px;
}
.navigation .mega_menu ul li a:hover{color:#55baff !important}
.navigation .mega_menu ul ul{
    position: static;
    width: 100%;
}
.navigation .mega_menu ul ul li{
    width: 100% !important;
    border: none;
    padding: 0;
}
.navigation .mega_menu ul ul li a{
    font-size: 15px;
    text-transform: inherit;
    line-height: 25px;
    font-weight: normal;
    border: none;
    margin-bottom: 0;
	padding: 0 15px;
}

.navigation ul li{position: relative}
.navigation li ul{padding:0;position:absolute;top:100%;left:13px;width:300px;display:none;opacity:0;visibility:hidden;-webkit-transiton:opacity 0.2s;-moz-transition:opacity 0.2s;-ms-transition:opacity 0.2s;-o-transition:opacity 0.2s;-transition:opacity 0.2s;}
.navigation li:hover ul{display:block;opacity:1;visibility:visible;z-index:2}
.navigation li ul li{width: 100%;font-size:16px;display:block;color:#fff;padding:8px 0;text-align:left;background-color:rgba(0,103,172,0.9)}
.navigation li ul li a{margin:0 20px;padding-right:1.25em;line-height:22px;display:block;font-size:15px;color:#fff !important}
.navigation li ul li a:hover{color: #ccc !important}

.projects-category .item {
    border: 1px solid #ccc;
    display: block;
    margin-bottom: 30px;
    overflow: hidden;
}
.projects-category .item .image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.projects-category .item img {
    height: 200px;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all .35s ease-in-out;
    -moz-transition: all .35s ease-in-out;
    -ms-transition: all .35s ease-in-out;
    -o-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out;
}
.projects-category .item:hover img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}
.projects-category .item h4 {
    font-size: 15px;
    padding: 10px;
    margin: 0;
    height: 58px;
    overflow: hidden;
}
.projects-category .item h5 {
    font-size: 15px;
    padding: 0 10px 5px;
    margin: 0;
    color: #333;
    font-weight: normal;
    overflow: hidden;
    /*background: url(../images/project-icon-grey.png) 235px 35px no-repeat;*/
}
.projects-category .item:hover h5 {
    /*background: url(../images/project-icon-blue.png) 235px 35px no-repeat;*/
}

.project-detail .summary dt {
    display: inline-block;
    float: left;
    width: 100px;
    color: #ac2026;
}
.project-detail dd {
    margin: 0 0 20px;
}


.project-detail .other-projects{
    margin-bottom: 40px;
}
.project-detail .other-projects h3 {
    margin: 20px 0;
    font-size: 16px;
    background-color: #ccc;
    padding: 7px 30px;
    border-left: 5px solid #ac2026;
    color: #333
}

.project-detail .slideshow {
    margin-bottom: 30px;
}
@media (max-width: 812px){
.project-detail .slideshow .bx-wrapper:nth-child(2) .bx-controls{display: none}}
.navigation ul a .indicator{margin-left: 5px;}
.navigation .mega_menu ul a .indicator{display: none;}
.header_bottom_search{
    display: inline-block;
    vertical-align: middle;
}

.featured_image{
    width: 100%;
}
.featured_image a{
    display: inline-block;
    width: 100%;
    height: 480px;
    background-color: #000
}
.featured_image img{
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    opacity: 0.7
}
.featured_content{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 35%;
    text-align: center;
}
.featured_content_box{
    display: inline-block;
    max-width: 600px;
}
.featured_content h2{
    font-size: 35px;
    line-height: 40px;
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 25px;
}
.featured_content a{
color: #fff;
    display: inline-block;
    padding: 5px 25px;
    text-transform: uppercase;
    border: 1px solid #fff;
}
@media (min-width: 1200px){
    .featured_content .container{
        width: 1170px;
    }  
}

.box_featured_content{
    position: absolute;
    top: 50%;
    right: 0;
    width: 50%;
    color: #fff;
    max-width: 450px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    font-size: 18px;
    line-height: 25px;
    font-weight: 300;    
    background: -webkit-linear-gradient(270deg,#59ba33 0,rgba(0,0,0,.0001) 100%);
    text-align: center;
    padding: 35px 25px
}
.box_featured_content h2{
    font-size: 48px;
    color: #fff;
    font-weight: normal;
    margin-bottom: 25px;
    line-height: 62px;
}
.box_featured_content span{
    font-size: 20px;
    line-height: 25px;
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
    margin-bottom: 20px;
}
.box_featured_content span:before{
    content: '';
    height: 1px;
    width: 100%;
    background-color: #fff;
    position: absolute;
    bottom: 0;
}
.box_featured_content p{
    font-size: 26px;
    font-weight: bold;
    line-height: 30px;
    margin-bottom: 55px;
    display: block
}
.box_featured_content a{
    display: inline-block;
    background-color: #f23d2a;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all .5s;
}
.box_featured_content a:hover{
    background-color: #f11700;
}
.featured-nav-circle{font-size:0;line-height:0;position:absolute;bottom:45px;left:50%;transform:translateX(-50%); z-index: 6}
.featured-nav-circle a{
    background:#fff;
    text-indent:-9999px;
    display:block;
    width:15px;
    height:15px;
    margin:0 5px;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    border-radius:50%;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    position: relative;
}
.featured-nav-circle ul li a:before{
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 0;
}
.featured-nav-circle a.active:before{
    opacity: 1;
}
.featured-nav-circle ul{margin:0;padding:0;list-style:none;text-align:center}
.featured-nav-circle ul li{display:inline-block;}
.featured-arrow{
    position: absolute;
    top: 50%;
    z-index: 90;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    font-size: 50px;
}
.featured-arrow a{
    color: #fff;
    text-shadow: 2px 0px 2px #000
}
#featured-prev{
    left: 35px;
}
#featured-next{
    right: 35px;
}
#featured-prev a:last-child{display: none}
#featured-next a:last-child{display: none}
.home-banner .bx-wrapper{margin-bottom: 0}
.home-banner .bx-wrapper .bx-viewport{box-shadow: none;border: none}
@media (max-width: 812px){
#featured-prev a:last-child{display: contents;}
#featured-next a:last-child{display: contents;}
.featured-nav-circle{display: none;}
.featured-arrow a{color: #00ADEE;}
}

/* Định nghĩa biến */
:root {
    --primary-color: #c30c1d;
    --secondary-color: #333;
    --hover-color: #ffcc00;
    --bg-color: #f9f9f9;
    --border-color: #ccc;
    --text-color: #555;
    --quote-size: 40px;
    --item-width: 166px;
    --img-size: 80px;
    --icon-size: 20px;
}

/* Slider chính */
.bxslider-main {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
}

.bxslider-main .partner-item {
    width: var(--item-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bxslider-main .partner-item img {
    display: block;
    border-radius: 100px;
    width: var(--img-size);
    height: var(--img-size);
    border: 1px solid var(--border-color);
    background: #fff;
    padding: 5px;
}

.bxslider-main .partner-item h3 {
    margin-top: 10px;
    font-size: 14px;
    color: var(--secondary-color);
    width: 100%;
    transition: color 0.3s ease;
}

.bxslider-main .partner-item.active h3 {
    color: var(--primary-color);
    font-weight: bold;
    transform: scale(1.1); 
}

/* Giao diện bx-wrapper */
.bx-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
    overflow: visible !important;
}

/* Nút điều hướng */
.bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-indent: 0;
    line-height: 0;
    font-size: 0;
}

.home .bx-wrapper .bx-prev {
    left: 10%;
}

.home .bx-wrapper .bx-next {
    right: 10%;
}

/* Thêm mũi tên bằng ::before */
.bx-wrapper .bx-prev::before {
    content: '◀';
    font-size: var(--icon-size);
    color: #fff;
}

.bx-wrapper .bx-next::before {
    content: '▶';
    font-size: var(--icon-size);
    color: #fff;
}

/* Hiệu ứng Hover */
.bx-wrapper .bx-controls-direction a:hover::before {
    color: var(--hover-color);
}

/* Mô tả đối tác */
.bxslider-desc {
    text-align: center;
    display: flex;
    justify-content: center;
    min-height: 150px;
}
@media (max-width: 425px){
.bxslider-desc{ min-height: 530px;
}}
.bxslider-desc blockquote {
    font-style: italic;
    font-size: 20px;
    color: var(--text-color);
    padding: 20px 30px;
    border-left: 4px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 70%;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
}

.bxslider-desc blockquote::before,
.bxslider-desc blockquote::after {
    font-size: var(--quote-size);
    color: var(--border-color);
    position: absolute;
}

.bxslider-desc blockquote::before {
    content: open-quote;
    top: -10px;
    left: -20px;
}

.bxslider-desc blockquote::after {
    content: close-quote;
    bottom: -10px;
    right: -20px;
}

.bx-viewport {
    min-height: 150px;
}



