/* ==========================================================================
   CUSTOM STYLES - public/custom/custom.css
   ========================================================================== */

input.hidden {
    display: none !important;
    visibility: hidden;
}

.light-width{
    width: 50%;
}

@media (max-width: 767.98px) {
  .light-width{
    width: 100%;
  }
}
 .image-large-fix {
    max-width: 700px;
    transform: scale(1.15);
}
.social-links li {
    margin: 0 18px;
}

/* BÀI VIẾT MỚI - Ẩn 2 nút mũi tên (owl-nav) */
.blog-section .owl-theme .owl-nav {
    display: none !important;
}

/* Client logo carousel - full width */
.clients-logo-section {
    overflow: hidden;
}
.clients-logo-section .owl-stage-outer {
    overflow: visible;
}

/* Logo đối tác: bounding tròn + tỷ lệ hợp mắt */
.clients-logo-section .single-client-logo {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.clients-logo-section .single-client-logo img {
    width: 200px !important;
    height: 200px !important;
    min-width: 100px;
    min-height: 100px;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
    padding: 18px;
    background: #ffffff;
    border: 2px solid rgba(8, 76, 148, 0.12);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Navigation logo styles */
.header-upper .logo img {
    max-height: 80px;
}

/* Logo và menu ngang bằng nhau - bỏ transform đẩy logo lên */
.main-header.header-style-two .header-upper .inner-container {
    align-items: center;
}
/*.main-header.header-style-two .header-upper .logo {
    transform: translateY(-0.3cm);
}*/
/*.sticky-header .logo img {
    max-height: 50px;
}*/

/* Menu một hàng: mobile-nav-toggler nằm ngoài .nav-outer → ẩn desktop, hiện khi màn ≤1139px (đồng bộ theme) */
.main-header.header-style-two .header-top .mobile-nav-toggler,
.main-header.header-style-two .sticky-header .header-top .mobile-nav-toggler {
    display: none !important;
}

@media only screen and (max-width: 1300px) {
    /* Góc trái: bỏ flex-end toàn header (rule .header-top .wrapper-box) */
    .main-header.header-style-two .header-top .wrapper-box,
    .main-header.header-style-two .sticky-header .header-top .wrapper-box {
        justify-content: flex-start !important;
    }

    .main-header.header-style-two .header-top .left-column.me-3,
    .main-header.header-style-two .sticky-header .header-top .left-column.me-3 {
        margin-right: 0 !important;
    }
    .main-header.header-style-two .header-top .left-column .nav-outer .main-menu,
    .main-header.header-style-two .sticky-header .header-top .left-column .nav-outer .main-menu {
        display: none !important;
    }

    /* Mobile: bỏ logo header, chỉ giữ nút 3 gạch bên trái (vị trí logo cũ) */
    .main-header.header-style-two .header-top .left-column .logo-box,
    .main-header.header-style-two .sticky-header .header-top .left-column .logo-box {
        display: none !important;
    }

    .main-header.header-style-two .header-top .left-column .nav-outer,
    .main-header.header-style-two .sticky-header .header-top .left-column .nav-outer {
        display: none !important;
    }

}

.text-justify{text-align:justify!important}
.text-width{
    width:95%;
}
.text-width-min{
    width:78%;
}

/* Contact Form Styles */
.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--theme_dark, #212121);
    margin-bottom: 8px;
    line-height: 1.5;
}

.contact-form input[type="tel"] {
    display: block;
    width: 100%;
    line-height: 28px;
    height: 60px;
    font-size: 16px;
    padding: 10px 22px;
    background: #ffffff;
    border: 2px solid rgb(8 76 148 / 20%);
    transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    border-radius: 5px;
    color: var(--theme_dark, #212121);
}

.contact-form input[type="tel"]:focus {
    border-color: var(--theme_primary, #084c94);
    outline: none;
}

.contact-form .theme-btn.btn-style-three {
    position: relative;
    display: inline-block;
    padding: 18px 35px;
    background: var(--theme_primary, #084c94);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.contact-form .theme-btn.btn-style-three:hover {
    background: var(--theme_primary, #084c94);
    opacity: 0.9;
    transform: translateY(-2px);
}

.contact-form .theme-btn.btn-style-three:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-form .theme-btn .btn-wrap {
    position: relative;
    display: inline-block;
}

.contact-form .theme-btn .btn-wrap .text-one,
.contact-form .theme-btn .btn-wrap .text-two {
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.contact-form .theme-btn .btn-wrap .text-one i,
.contact-form .theme-btn .btn-wrap .text-two i {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

.contact-form .theme-btn .btn-wrap .text-one i img,
.contact-form .theme-btn .btn-wrap .text-two i img {
    width: 16px;
    height: 16px;
    display: inline-block;
}

.contact-form .messages {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form .messages.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form .messages.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form .form-group {
        margin-bottom: 20px;
    }
    
    .contact-form .theme-btn.btn-style-three {
        width: 100%;
        padding: 16px 30px;
    }
}

.loading-bar-contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid rgb(0, 145, 247);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* FAQ Accordion - Fix text spacing */
.accordion-box .block .acc-btn {
    padding-right: 90px !important;
    position: relative;
}

.accordion-box .block .acc-btn-text {
    display: inline-block;
    padding-right: 15px;
    word-wrap: break-word;
    line-height: 1.4;
    max-width: 100%;
    box-sizing: border-box;
}

/* Pagination - Fix active and disabled states */
.page-pagination li.active a,
.page-pagination li a.active {
    color: #fff !important;
    background-color: var(--theme_primary) !important;
}

.page-pagination li.disabled a {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}

/* Tin tức: tổng số trang lẻ — prev/số trang/next nối từ trái sang phải */
.blog-page .page-pagination.page-pagination--from-left {
    text-align: left;
}
.blog-page .page-pagination.page-pagination--from-left ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.blog-page .page-pagination.page-pagination--from-left li {
    display: inline-block;
}
.post-share-info.post-share-info-reduced {
    margin-bottom: 0px;
}
 .news-widget .image img {
    width: 75px;
    height: 70px;
    object-fit: cover;
}
.news-widget .content {
    flex: 1;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.news-widget .content .title {
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.4;
}

.news-widget .content .title a {
    display: block;
    word-wrap: break-word;
}
/* ========== MAIN MENU - Cùng 1 hàng, giảm cỡ chữ, style gọn ========== */
.main-menu .navigation {
    flex-wrap: nowrap !important;
    margin-left: unset !important;
}
/*.main-menu .navigation > li {
    padding: 20px 0 !important;
    margin-right: 6px !important;
}*/
.main-menu .navigation > li > a {
    font-size: 17px !important;
    font-weight: 550;
    padding: 4px 8px !important;
    line-height: 1.4 !important;
    white-space: nowrap;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}
.main-menu .navigation > li > a:hover,
.main-menu .navigation > li.active > a,
.main-menu .navigation > li.current > a {
    color: var(--theme_primary, #0077C0) !important;
}

.main-menu .navigation > li > ul > li > a:hover {
    color: var(--theme_primary, #0077C0) !important;
}

/* Mũi tên dropdown nhỏ bên phải */
.main-menu .navigation > li.dropdown > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 4px;
    font-size: 9px;
    display: inline-block;
    vertical-align: middle;
    color: #222;
    transition: all 0.3s ease;
}

.main-menu .navigation > li.dropdown:hover > a::after {
    transform: rotate(180deg);
    color: var(--theme_primary, #0077C0);
}
.main-menu .navigation > li > a:hover {
    background: rgba(0, 119, 192, 0.06);
}
.product-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.price {
    font-size: 24px;
    font-weight: 700;
}

.product-meta {
    list-style: none;
    padding: 0;
}

.product-meta li {
    margin-bottom: 8px;
    font-size: 15px;
}

.product-meta strong {
    min-width: 160px;
    display: inline-block;
}

.contact-box {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.contact-box h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info {
    list-style: none;
    border-radius: 2%;
}

/*.contact-info li {
    margin-bottom: 6px;
}*/

/* ========== Contact Info Box (trang Liên hệ - khung thông tin bên phải) ========== */
.contact-info-box {
    padding: 40px 30px 40px;
    border-radius: 10px;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.contact-info-box__title {
    font-size: 1.75em;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 28px 0;
    letter-spacing: 0.02em;
}

.contact-info-box__list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.contact-info-box__item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
    color: #fff;
}

.contact-info-box__item:last-child {
    margin-bottom: 0;
}

.contact-info-box__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    border-radius: 10px;
}

.contact-info-box__content {
    flex: 1;
    min-width: 0;
}

.contact-info-box__label {
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.contact-info-box__text {
    font-size: 14px;
    line-height: 1.55;
    color: #fff;
    font-weight: 400;
}

.contact-info-box__link {
    color: #fff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-info-box__link:hover {
    opacity: 0.9;
    color: #fff !important;
}

@media (max-width: 991px) {
    .contact-info-box {
        min-height: auto;
        padding: 28px 24px 32px;
    }
    .contact-info-box__item {
        margin-bottom: 22px;
    }
    .contact-info-box__icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        font-size: 18px;
    }
}

.ingredient-box strong {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    color: var(--theme_dark, #212121);
}

.ingredient-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    background: #fafafa;
}

.ingredient-list li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    gap: 8px;
}

.ingredient-list li:last-child {
    margin-bottom: 0;
}

.ingredient-list .img-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}

.ingredient-list li b {
    color: var(--theme_dark, #212121);
    font-weight: 600;
    margin-right: 4px;
}

.ingredient-list li span {
    color: #555;
    font-weight: 400;
}

/* Thành phần ẩn (expand/collapse) */
.ingredient-list li.hidden.auto-show-hide {
    padding-left: 30px;
    font-size: 14px;
    color: #555;
}

.ingredient-list[data-state="collapsed"] li.hidden.auto-show-hide {
    display: none !important;
}

.ingredient-list[data-state="expanded"] li.hidden.auto-show-hide {
    display: flex !important;
}

/* Contact Widget Two - Image and Info Layout */
.contact-widget-two {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.contact-widget-two .image {
    flex: 0 0 40%;
    width: 100%;
    min-height: auto;
    overflow: hidden;
}

.contact-widget-two .image img {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: cover;
    display: block;
}

.contact-widget-two .contact-info {
    flex: 0 0 60%;
}

.flexbox{
    display: flex;
}
/* Cookie Consent */
#cookieConsent {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 1100px;
    margin: 0 auto;
    background: #1f2933;
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 9999;
    font-size: 14px;
}

/* Text */
#cookieConsent .text-cookie {
    margin: 0;
    line-height: 1.6;
    color: #e5e7eb;
    flex: 1;
}

/* Action buttons wrapper */
#cookieConsent .cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Buttons */
#cookieConsent .btn-cookies {
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

/* Accept */
#cookieConsent #acceptCookies {
    background: #0077C0;
    color: #ffffff;
}

#cookieConsent #acceptCookies:hover {
    background: #0077C0;
}

/* Reject */
#cookieConsent #rejectCookies {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid #9ca3af;
}

#cookieConsent #rejectCookies:hover {
    background: #374151;
    border-color: #d1d5db;
}

/* Header-top: Chuẩn icon vs text + Giữ canh phải khi thu nhỏ màn hình */

/* Lý do khoảng trống bên phải: .auto-container có max-width:1200px + padding:0 15px
   → trên màn rộng, nội dung nằm trong hộp 1200px giữa màn hình, tạo khoảng trống xanh bên phải.
   Cách sửa: cho header-top dùng full width, chỉ giữ padding phải tối thiểu để cân đối 2 bên */
/*.header-top .auto-container {
  max-width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}*/

.logo-zalo {
  width: 68px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Mobile menu: thu hẹp khoảng trống dưới logo */
.mobile-menu .nav-logo {
  margin-bottom: 24px;
  margin-top: 12px;
  padding: 20px 20px 12px;
}

/* Section mission/vision: mobile ưu tiên text trước, ảnh sau */
@media (max-width: 991.98px) {
  .features-section .row.no-gutters {
    display: flex;
    flex-direction: column-reverse;
  }

  .features-section .image-column,
  .features-section .content-column {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .features-section .image-column .image,
  .features-section .image-column .image img {
    width: 100%;
    max-width: 100%;
    display: block;
  }
}
/* Chỉ mobile ≤900px mới gom cụm liên hệ qua phải.
   Desktop (≥901px) giữ form 1 hàng: logo | menu | dải xanh */
@media (max-width: 900px) {
  .header-top .wrapper-box {
    justify-content: flex-end !important;
  }
  .header-top .right-column {
    margin-left: auto;
  }
  .header-top .info-list {
    justify-content: flex-end;
    margin-left: auto;
    padding-left: 20px;
  }
}
.header-top .info-list li {
  margin-left: 27px !important;
  margin-right: unset;
  display: inline-flex;
  align-items: center;
}
.header-top .info-list li i {
  margin-right: 8px;
  font-size: 14px;
  opacity: 0.95;
}
.header-top .info-list li i.fa-solid {
  width: 1em;
  text-align: center;
  color: white;
}

/* Đồng bộ 1 bộ rule cho header thường + sticky */
/* Biến chung để đồng nhất laptop/desktop mọi trang */
.main-header {
  position: fixed;
  --top-right-padding-y: 9px;
  --top-right-padding-bottom: 18px;
  --top-right-padding-x: clamp(12px, 1.4vw, 22px);
}

.main-header .header-top .right-column,
.main-header .sticky-header .header-top .right-column {
  position: relative;
  padding: var(--top-right-padding-y) 0 var(--top-right-padding-bottom);
}

.main-header .header-top .right-column:before,
.main-header .sticky-header .header-top .right-column:before {
  background: var(--theme_primary, #084c94);
  position: absolute;
  content: '';
  left: 3px !important;
  top: 0px !important;
  bottom: 0px !important;
  width: 500%;
  transform: skewX(40deg);
  z-index: 0;
}

/* Desktop ≥901px: giữ đúng form 1 hàng tới 900px, co logo/chữ theo màn hình */
@media (min-width: 901px) {
  .main-header.header-style-two .header-top .wrapper-box,
  .main-header.header-style-two .sticky-header .header-top .wrapper-box {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2.5vw, 40px);
  }

  /* Tránh nền skew đè lên chữ menu */
  .main-header.header-style-two .header-top .left-column,
  .main-header.header-style-two .sticky-header .header-top .left-column {
    position: relative;
    z-index: 2;
    background: #fff;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .main-header .header-top .right-column,
  .main-header .sticky-header .header-top .right-column {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    align-self: stretch;
    /* Khóa padding dọc để dải nền không "nhảy" khi sticky bật/tắt */
    padding: var(--top-right-padding-y) var(--top-right-padding-x) var(--top-right-padding-bottom);
  }

  /* Desktop: nền skew phủ full chiều cao right-column để không lệch 1-2px khi scroll */
  .main-header.header-style-two .header-top .right-column:before,
  .main-header.header-style-two .sticky-header .header-top .right-column:before,
  .main-header.fixed-header .sticky-header .header-top .right-column:before {
    top: 0;
    bottom: 0;
  }

  .main-header.header-style-two .header-top .info-list,
  .main-header.header-style-two .sticky-header .header-top .info-list {
    flex-wrap: nowrap;
    justify-content: flex-end;
    /*padding-left: 10px;*/
  }

  .main-header.header-style-two .header-top .info-list li a,
  .main-header.header-style-two .sticky-header .header-top .info-list li a {
    white-space: nowrap;
    font-size: clamp(10px, 0.45vw + 8px, 14px);
    line-height: 1.25;
  }

  /* Laptop/Desktop: icon email/phone to hơn nhẹ */
  .main-header.header-style-two .header-top .info-list li i.fa-solid,
  .main-header.header-style-two .sticky-header .header-top .info-list li i.fa-solid {
    font-size: clamp(14px, 0.3vw + 12px, 16px);
    margin-right: 6px;
  }

  /*.main-header.header-style-two .header-top .info-list li,
  .main-header.header-style-two .sticky-header .header-top .info-list li {
    margin-right: clamp(8px, 1.5vw, 30px);
  }*/

  .main-header.header-style-two .header-top .header-logo-dynamic,
  .main-header.header-style-two .sticky-header .header-top .header-logo-dynamic {
    max-height: clamp(38px, 4.2vw, 58px);
    width: auto;
    height: 50px;
  }

  .main-header.header-style-two .header-top .logo-zalo,
  .main-header.header-style-two .sticky-header .header-top .logo-zalo {
    width: clamp(48px, 10vw, 68px);
    height: auto;
  }

  .main-header.header-style-two .header-top .main-menu .navigation,
  .main-header.header-style-two .sticky-header .header-top .main-menu .navigation {
    flex-wrap: nowrap;
    margin-left: clamp(4px, 1.2vw, 30px);
  }

  .main-header.header-style-two .header-top .main-menu .navigation > li,
  .main-header.header-style-two .sticky-header .header-top .main-menu .navigation > li {
    padding: clamp(6px, 1.2vw, 20px) 0;
    margin-right: clamp(2px, 0.35vw, 8px);
  }

  .main-header.header-style-two .header-top .main-menu .navigation > li > a,
  .main-header.header-style-two .sticky-header .header-top .main-menu .navigation > li > a {
    font-size: clamp(11px, 0.55vw + 8px, 17px);
    padding: 2px clamp(3px, 0.4vw, 8px);
  }
}

.main-header.header-style-two .header-top .right-column *,
.main-header.header-style-two .sticky-header .header-top .right-column * {
  position: relative;
  z-index: 1;
}

/* Header-top mobile: giữ nguyên format, chỉ thu nhỏ dần theo màn hình */
@media (max-width: 767.98px) {
  /* Sticky nav mobile: ép full viewport để không nhỏ hơn nav ban đầu */
  .main-header .sticky-header,
  .main-header.fixed-header .sticky-header {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  .main-header.header-style-two > .sticky-header > .header-top,
  .main-header.header-style-two > .sticky-header > .header-upper {
    width: 100%;
  }

  .main-header.header-style-two > .sticky-header > .header-top .auto-container,
  .main-header.header-style-two > .sticky-header > .header-upper .auto-container {
    max-width: 100% !important;
  }

  /* Mobile: giữ nguyên mũi skew gốc, chỉ khóa cùng kích thước giữa 2 trạng thái */
  .main-header.header-style-two .header-top .right-column:before,
  .main-header.header-style-two .sticky-header .header-top .right-column:before,
  .main-header.fixed-header .sticky-header .header-top .right-column:before {
    width: 500% !important;
    left: -20px !important;
    top: 0px;
    bottom: 0px;
    transform: skewX(40deg);
  }

  /* Đồng bộ tuyệt đối kích thước giữa trạng thái thường và fixed-header */
  .main-header.header-style-two > .header-top,
  .main-header.fixed-header .sticky-header > .header-top {
    padding:0 !important;
  }

  .main-header.header-style-two > .header-top .auto-container,
  .main-header.fixed-header .sticky-header > .header-top .auto-container,
  .main-header.header-style-two > .header-upper .auto-container,
  .main-header.fixed-header .sticky-header > .header-upper .auto-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .main-header.header-style-two > .header-top .right-column,
  .main-header.fixed-header .sticky-header > .header-top .right-column {
    padding: 9px 0 10px !important;
  }

  /* Khóa cùng kích thước nav trước/sau khi sticky xuất hiện */
  .main-header.header-style-two > .header-upper .inner-container,
  .main-header.header-style-two > .sticky-header > .header-upper .inner-container,
  .main-header.fixed-header .sticky-header .header-upper .inner-container {
    min-height: 64px;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    align-items: center;
  }

  .main-header.header-style-two > .header-upper .logo,
  .main-header.header-style-two > .sticky-header > .header-upper .logo,
  .main-header.fixed-header .sticky-header .header-upper .logo {
    transform: none !important;
  }

  .main-header.header-style-two > .header-upper .logo img,
  .main-header.header-style-two > .sticky-header > .header-upper .logo img,
  .main-header.fixed-header .sticky-header .header-upper .logo img {
    max-height: 46px !important;
    width: auto;
  }

  .main-header.header-style-two > .header-upper .mobile-nav-toggler,
  .main-header.header-style-two > .sticky-header > .header-upper .mobile-nav-toggler,
  .main-header.fixed-header .sticky-header .header-upper .mobile-nav-toggler {
    margin: 0 !important;
  }
  .left-column{
    padding-left: 20px;
  }

  .header-top .auto-container,
  .sticky-header .header-top .auto-container {
    padding-left: clamp(10px, 2.8vw, 20px);
    padding-right: clamp(10px, 2.8vw, 20px);
  }

  .header-top .right-column,
  .sticky-header .header-top .right-column {
    padding: 9px 0 10px !important;
  }

  .header-top .info-list,
  .sticky-header .header-top .info-list {
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(10px, 2.5vw, 16px);
    padding-left: 20px;
  }

  .header-top .info-list li,
  .header-top .info-list li a,
  .sticky-header .header-top .info-list li,
  .sticky-header .header-top .info-list li a {
    font-size: clamp(11px, 2.7vw, 13px);
    line-height: 1.35;
    white-space: nowrap;
  }

  /* Mobile: chỉ hiển thị icon email/phone, giữ 1 hàng */
  .header-top .info-list li:not(:last-child) a,
  .sticky-header .header-top .info-list li:not(:last-child) a {
    font-size: 0;
    line-height: 0;
  }

  .header-top .info-list li i,
  .sticky-header .header-top .info-list li i {
    margin-right: 0;
    font-size: clamp(25px, 3.6vw, 28px);
  }

  .logo-zalo {
    width: clamp(59px, 14vw, 66px);
    top: 1px;
  }
}

.gioihantu1{
  display: -webkit-box;
  -webkit-line-clamp: 2;    /* Số dòng muốn hiển thị */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gioihantu2 {
    display: -webkit-box;
    -webkit-line-clamp: 18;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    white-space: normal;
    line-height: 1.5;
    max-height: calc(1.5em * 18);

    word-break: break-word;
}

/* Table/news page: căn giữa khung để trái/phải cân nhau */
.blog-page > .container-fluid{
  max-width: 1320px;
  margin: 0 auto;
}

/* Tin tức: ảnh lớn hơn, full width cột */
.blog-page .news-block.style-three .image img{
  width: 100%;
  height: 260px;
  object-fit: cover;
}
@media (max-width: 991.98px){
  .blog-page .news-block.style-three .image img{
    height: 220px;
  }
}

/* About home (who-we-are-two): tránh chữ bị chồng/đè trên mobile */
.who-we-are-two .feature-icon-block.style-one .inner-box .text {
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/*
  Nội dung điều khoản thường có HTML (h2, p, ul...).
  -webkit-line-clamp không hoạt động tốt với block elements và có thể gây chồng chữ.
  => Dùng max-height + overflow để cắt nội dung an toàn.
*/
.who-we-are-two .feature-icon-block.style-one .inner-box .text.gioihantu1{
  display: block;
  overflow: hidden;
  max-height: 22em; /* kéo dài nội dung hiển thị */
}

/* Chuẩn hoá typography cho HTML bên trong để không bị phóng to / đè chữ */
.who-we-are-two .feature-icon-block.style-one .inner-box .text h1,
.who-we-are-two .feature-icon-block.style-one .inner-box .text h2,
.who-we-are-two .feature-icon-block.style-one .inner-box .text h3,
.who-we-are-two .feature-icon-block.style-one .inner-box .text h4,
.who-we-are-two .feature-icon-block.style-one .inner-box .text h5,
.who-we-are-two .feature-icon-block.style-one .inner-box .text h6{
  font-size: 16px;
  line-height: 1.45;
  margin: 10px 0 8px;
  font-weight: 700;
}
.who-we-are-two .feature-icon-block.style-one .inner-box .text p{
  margin: 0 0 10px;
  line-height: 1.7;
}
.who-we-are-two .feature-icon-block.style-one .inner-box .text ul,
.who-we-are-two .feature-icon-block.style-one .inner-box .text ol{
  margin: 0 0 10px 18px;
  padding: 0;
}
.who-we-are-two .feature-icon-block.style-one .inner-box .text li{
  margin: 0 0 6px;
  line-height: 1.7;
}

/* About home video: fix hiển thị khung phải + nút play luôn nằm giữa */
.who-we-are-two .video-box {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: clamp(260px, 36vw, 460px);
}

.who-we-are-two .video-box > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.who-we-are-two .video-box .video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Tạo nền fallback khi ảnh rỗng để nút play không "bay" lên trên */
.who-we-are-two .video-box:empty,
.who-we-are-two .video-box > img[src=""] {
  background: #eef3f8;
}

@media (max-width: 576px) {
  .who-we-are-two .feature-icon-block.style-one .inner-box .upper-box h4 {
    font-size: 18px !important;
    line-height: 1.35;
    margin: 0;
  }
  .who-we-are-two .feature-icon-block.style-one .inner-box .text {
    font-size: 14px;
    line-height: 1.65;
  }
  .who-we-are-two .feature-icon-block.style-one .inner-box .text.gioihantu1{
    max-height: 26em; /* kéo dài nội dung hiển thị trên mobile */
  }
  .who-we-are-two .feature-icon-block.style-one .inner-box .text h1,
  .who-we-are-two .feature-icon-block.style-one .inner-box .text h2,
  .who-we-are-two .feature-icon-block.style-one .inner-box .text h3{
    font-size: 15px;
  }
}
/* ===== Pagination Blue Theme ===== */
.styled-pagination {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.styled-pagination li {
    display: inline-block;
}

.styled-pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 500;
    color: #0d6efd; /* xanh dương chính */
    background: #ffffff;
    border: 1.5px solid #0d6efd;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Service home: CHỈ style cho div.icon có img (giữ nguyên các phần khác) */
.why-chooseus-two .feature-icon-block.style-two .upper-box .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0099FF;
  overflow: hidden;
}
.why-chooseus-two .feature-icon-block.style-two .upper-box .icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

/* Hover */
.styled-pagination li a:hover {
    background: #0077C0;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    transform: translateY(-2px);
}

/* Trang đang active */
.styled-pagination li a.active {
    background: #0077C0;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.35);
}

/* Nút prev/next */
.styled-pagination li.prev a,
.styled-pagination li.next a {
    font-size: 16px;
}

/* Disabled */
.styled-pagination li.disabled a {
    background: #e9f2ff;
    border-color: #b6d4fe;
    color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Responsive nhỏ */
@media (max-width: 576px) {
    .styled-pagination li a {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
.ptb-custom {
    padding-top: 20px;
    padding-bottom: 40px;
}
.header-logo-dynamic {
    width: auto;
    height: auto;
    max-height: clamp(42px, 5vw, 58px);
}
.bg-primary1 {
    background-color: #0077C0 !important;
}
.sticky-header .header-top .auto-container{
    max-width: 100%;
    padding-left: 30px;
    padding-right: 0px;
}
.header-top{
    border-bottom:1px solid var(--theme_primary);
}
.img_hover_3 img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.banner-slider .swiper-wrapper {
    transform: translate3d(0px, 0, 0) !important; /* Luôn giữ slide đầu tiên */
    transition-duration: 0ms !important; /* Triệt tiêu thời gian chuyển cảnh */
}
.pb_37 {
    padding-bottom: 37px !important;
}
.mobile-menu .menu-backdrop{
    background-color: rgb(24 23 22 / 68%);
}
.mobile-menu .menu-box {
    left: 2px;
    width: 100%;
}
.contact-section .wrapper-box{
    margin-top: -49px;
}
.mobile-nav-toggler{
    cursor: pointer;
}
.clients-logo-section .single-client-logo {
    padding: unset;
}