/* ==============================================
   FOOTER - DARK LAYOUT
   ============================================== */

.them-footer-section.footer {
    background: var(--footer-bg-color-2);
    color: var(--footer-color-text);
    font-family: 'Roboto', sans-serif;
}

.them-footer-section .footer-section {
    padding-top: 48px;
    padding-bottom: 0;
}

/* ===== GRID 2 HÀNG ===== */

/* Hàng 1: Tên công ty | (trống) | Tiêu đề menu */
.footer-row-top {
    display: grid;media (max-width: 767px) 
    grid-template-columns: 2fr 2fr 1fr;
    gap: 0 48px;
    margin-bottom: 20px;
    align-items: end;
}

/* Hàng 2: Trụ sở | Chi nhánh | Menu list */
.footer-row-bottom {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 0 48px;
    align-items: start;
    padding-bottom: 40px;
}

/* ===== TÊN CÔNG TY (hàng 1, cột 1) ===== */
.footer-company-name-wrap {
    grid-column: 1;
}

.footer-company-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.4;
}

/* ===== FOOTER ITEM ===== */
.footer-item {
    padding: 0;
    min-height: auto;
}

/* Tiêu đề cột: TRỤ SỞ, CHI NHÁNH, CHÍNH SÁCH */
.footer-item__title,
.them-footer-section .footer-section .footer-item > h3,
.them-footer-section .footer-section .footer-item > h {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 16px;
    line-height: 1.4;
}

/* ===== NỘI DUNG (địa chỉ, tel, hotline...) ===== */
.footer-item__body {
    font-size: 14px;
    line-height: 1.9;
    color: var(--footer-color-text);
}

.footer-item__body p {
    margin: 0 0 6px;
    color: var(--footer-color-text);
    font-size: 14px;
    line-height: 1.9;
}

.footer-item__body strong,
.footer-item__body b {
    color: #ffffff;
    font-weight: 600;
}

.footer-item__body a {
    color: var(--footer-color-text);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-item__body a:hover {
    color: #ffffff;
}

/* ===== MENU LIST ===== */
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li {
    margin-bottom: 10px;
    border-bottom: none;
    padding: 0;
}

.footer-menu-list li a {
    font-size: 14px;
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    line-height: 1.5;
}

.footer-menu-list li a:hover {
    color: #ffffff;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom-item {
    border-top: 1px solid #2e2e2e;
    padding: 16px 0;
    margin-top: 0;
}

.footer-bottom-item p {
    color: #666666;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

.footer-bottom-item a {
    color: #888888;
    text-decoration: none;
}

.footer-bottom-item a:hover {
    color: #cccccc;
}

/* ===== RESPONSIVE TABLET ===== */
@media (max-width: 991px) {
    .footer-row-top,
    .footer-row-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 24px 32px;
    }

    .footer-company-name-wrap {
        grid-column: 1 / -1;
        margin-bottom: 4px;
    }

    .footer-col--menu {
        grid-column: 1 / -1;
    }
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 767px) {
    .them-footer-section .footer-section {
        padding-top: 30px;
    }

    .footer-row-top,
    .footer-row-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-company-name-wrap {
        grid-column: auto;
    }

    .footer-col--menu {
        grid-column: auto;
    }

    .footer-company-name {
        font-size: 14px;
    }

    .footer-item__title,
    .them-footer-section .footer-section .footer-item > h3 {
        font-size: 13px;
    }

    .footer-item__body,
    .footer-item__body p {
        font-size: 13px;
    }

    .footer-menu-list li a {
        font-size: 13px;
    }
}

.section_slider {
  --section-slider-header-height: 0px;
  position: relative;
  width: 100%;
  height: calc(100vh - var(--section-slider-header-height));
  height: calc(100dvh - var(--section-slider-header-height));
  min-height: 520px;
  overflow: hidden;
  background-color: #05080e;
}

.section_slider__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section_slider__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.section_slider__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 8, 14, 0.82) 0%,
    rgba(5, 8, 14, 0.55) 50%,
    rgba(5, 8, 14, 0.1) 100%
  );
  pointer-events: none;
}

.section_slider__video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1520 0%, #1a2535 50%, #0d1520 100%);
}

.section_slider__video-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.section_slider__play-button {
  position: relative;
  z-index: 1;
  width: 90px;
  height: 90px;
  border: 2px solid rgba(224, 32, 32, 0.5);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.section_slider__play-button:hover {
  border-color: #005cb9;
}

.section_slider__play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 30px solid rgba(255, 255, 255, 0.85);
}

.section_slider__accent-lines {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  width: 48px;
  overflow: hidden;
}

.section_slider__accent-line {
  position: absolute;
  top: -20%;
  display: block;
  width: 2px;
  height: 140%;
  background-color: #005cb9;
  transform: rotate(15deg);
  transform-origin: top center;
}

.section_slider__accent-line--primary {
  left: 14px;
  opacity: 0.9;
}

.section_slider__accent-line--secondary {
  left: 26px;
  opacity: 0.55;
}

.section_slider__content-panel {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 10;
  width: auto;
  max-width: min(520px, calc(100% - 64px));
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.section_slider__content-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 12, 16, 0.88) 60%,
    transparent 100%
  );
  border-left: 3px solid #005cb985;
  border-radius: 0 10px 10px 0;
  transform: none;
}

.section_slider__content {
  position: relative;
  z-index: 1;
  padding: 22px 28px;
}

.section_slider.section_slider--content-visible .section_slider__content-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: sectionSliderPopupIn 0.6s ease forwards;
}

.section_slider__title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #ffffff;
}

.section_slider__title-highlight {
  color: #005cb9;
  font-style: normal;
}

.section_slider__description {
  max-width: 340px;
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-top:0;
}
.section_slider__description p{
    margin:0;
    color:#fff;
}
.section_slider__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  display:none;
}

.section_slider__button {
  padding: 13px 32px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.section_slider__button--primary {
  border: none;
  background-color: #005cb9;
  color: #ffffff;
  font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.section_slider__button--primary:hover {
  background-color: #005bb5;
}

.section_slider__button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.section_slider__button--secondary:hover {
  border-color: #005cb9;
  color: #ffffff;
}

@keyframes sectionSliderPopupIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {

    /* Section không còn full viewport height */
    .section_slider {
        height: auto;
        min-height: unset;
    }

    /* Video hiển thị đúng tỉ lệ tự nhiên */
    .section_slider__media {
        position: relative;
        width: 100%;
    }

    .section_slider__video {
        display: block;
        width: 100%;
        height: auto;
        max-height: unset;
        object-fit: unset;
    }

    /* Overlay không che video */
    .section_slider__media-overlay {
        display: none;
    }

    /* Content panel tách ra, không absolute nữa */
    .section_slider__content-panel {
        position: relative !important;
        left: unset !important;
        right: unset !important;
        bottom: unset !important;
        max-width: 100% !important;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: #111;
        padding: 0;
        animation: none !important;
    }

    /* Xóa pseudo overlay của content panel */
    .section_slider__content-panel::before {
        display: none;
    }

    .section_slider__content {
        padding: 18px 16px 22px;
    }

    /* Các dòng chữ accent bên trái */
    .section_slider__accent-lines {
        display: none;
    }

}

       /* ===== NEWS CATEGORY PAGE ===== */
.cleanza-list-blog-page {
    padding: 10px 0 30px;
}

.cleanza-list-blog-page .title-head.d-none {
    display: block !important;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
    margin: 0 0 30px;
}

/* row card đều nhau */
.cleanza-list-blog-page .list-blogs .row {
    display: flex;
    flex-wrap: wrap;
}

.cleanza-list-blog-page .list-blogs .row > [class*="col-"] {
    display: flex;
    margin-bottom: 30px;
}

/* card bài viết */
.blog-item {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1);
}

/* ảnh bài viết */
.blog-item-thumbnail {
    position: relative;
    overflow: hidden;
    background: #f3f4f6;
    min-height: 220px;
}

.blog-item-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-item-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-item:hover .blog-item-thumbnail img {
    transform: scale(1.05);
}

/* nội dung */
.blog-item-mains {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 500;
}

.post-time img {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

.blog-item-name {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 700;

    min-height: calc(1.45em * 2); /* giữ card đều nhau */
}

.blog-item-name a {
    color: #111827;
    text-decoration: none;
    transition: color 0.25s ease;
      display: -webkit-box;
    -webkit-line-clamp: 2;      /* 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-item-name a:hover {
    color: #0d6efd;
}

/* mô tả */

.blog-item-summary {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;

    display: -webkit-box;
    -webkit-line-clamp: 2;      /* 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: calc(1.7em * 2); /* giữ card đều nhau */
}

/* nút xem thêm */
.readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0d6efd;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.readmore:after {
    content: "→";
    transition: transform 0.25s ease;
}

.readmore:hover {
    color: #084298;
    text-decoration: none;
}

.readmore:hover:after {
    transform: translateX(4px);
}

/* pagination */
.pagging-css {
    margin-top: 10px;
}

.pagging-css .pagination {
    margin: 10px 0 0;
}

.pagging-css .pagination > li > a,
.pagging-css .pagination > li > span {
    border-radius: 10px !important;
    margin: 0 4px;
    border: 1px solid #dbe2ea;
    color: #374151;
    min-width: 42px;
    height: 42px;
    line-height: 28px;
    text-align: center;
    transition: all 0.25s ease;
}

.pagging-css .pagination > li > a:hover,
.pagging-css .pagination > li > span:hover,
.pagging-css .pagination > .active > a,
.pagging-css .pagination > .active > span {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* khoảng cách tổng thể */
.margin-top-30 {
    margin-top: 30px !important;
}

.margin-bottom-5 {
    margin-bottom: 5px !important;
}

/* responsive */
@media (max-width: 991px) {
    .cleanza-list-blog-page .title-head.d-none {
        font-size: 34px;
        margin-bottom: 24px;
    }

    .blog-item-thumbnail img,
    .blog-item-thumbnail {
        height: 210px;
        min-height: 210px;
    }
}

@media (max-width: 767px) {
    .cleanza-list-blog-page .title-head.d-none {
        font-size: 28px;
    }

    .blog-item {
        border-radius: 12px;
    }

    .blog-item-mains {
        padding: 16px;
    }

    .blog-item-name {
        font-size: 18px;
    }

    .blog-item-summary {
        font-size: 14px;
        min-height: auto;
    }

    .blog-item-thumbnail img,
    .blog-item-thumbnail {
        height: 200px;
        min-height: 200px;
    }
}
/* =========================
   NEWS / ARTICLE PAGE
   ========================= */

.article-wraper {
    padding-top: 24px;
    padding-bottom: 32px;
}

.article-main {
    position: relative;
}


/* tiêu đề bài viết */
.title-head {
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.28;
    
    color: #0f172a;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 14px;
}

.title-head:after {
    content: "";
    width: 90px;
    height: 4px;
    background: #005cb9;
    border-radius: 999px;
    position: absolute;
    left: 0;
    bottom: 0;
}

/* mô tả ngắn */
.article-details > p:first-of-type strong {
    display: block;
    font-size: 18px;
    line-height: 1.7;
    color: #1e293b;
    background: #f3f9ff;
    border-left: 4px solid #005cb9;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 0 0 22px;
}

/* vùng nội dung */
.article-details {
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

.article-details p {
    margin: 0 0 18px;
}

.article-details h2,
.article-details h3,
.article-details h4,
.article-details h5,
.article-details h6 {
    color: #0f172a;
    
    line-height: 1.4;
    margin-top: 32px;
    margin-bottom: 14px;
}

.article-details h2 {
    font-size: 30px;
    padding-left: 14px;
    border-left: 5px solid #005cb9;
}

.article-details h3 {
    font-size: 24px;
}

.article-details h4 {
    font-size: 20px;
    color: #005cb9;
}

.article-details a {
    color: #005cb9;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 115, 230, 0.25);
    transition: all 0.25s ease;
}

.article-details a:hover {
    color: #005bb5;
    border-bottom-color: #005bb5;
}

.article-details ul,
.article-details ol {
    margin: 0 0 20px 22px;
    padding: 0;
}

.article-details li {
    margin-bottom: 10px;
}

.article-details ul li::marker,
.article-details ol li::marker {
    color: #005cb9;
    font-weight: 700;
}

.article-details img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.article-details blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    background: #f8fbff;
    border-left: 5px solid #005cb9;
    border-radius: 14px;
    color: #1e293b;
    font-style: italic;
    box-shadow: 0 8px 20px rgba(0, 115, 230, 0.06);
}

.article-details table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    overflow: hidden;
}

.article-details table th,
.article-details table td {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.article-details table th {
    background: #005cb9;
    color: #ffffff;
    font-weight: 700;
}

.article-details code {
    background: #eef6ff;
    color: #005cb9;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 90%;
}

.article-details pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 18px;
    border-radius: 14px;
    overflow: auto;
    margin: 22px 0;
}

/* TOC / mục lục */
.cleanza-toc-content .toc,
.cleanza-toc-content .toc_container,
.cleanza-toc-content #toc_container,
.cleanza-toc-content .ez-toc-container,
.cleanza-toc-content .table-of-contents {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid #cfe5ff;
    border-radius: 16px;
    padding: 18px 20px;
    margin: 0 0 24px;
    box-shadow: 0 10px 24px rgba(0, 115, 230, 0.08);
}

.cleanza-toc-content .toc_title,
.cleanza-toc-content .ez-toc-title,
.cleanza-toc-content .toc-container-title {
    color: #005cb9;
    font-size: 18px;
    
    margin-bottom: 12px;
}

.cleanza-toc-content .toc ul,
.cleanza-toc-content .toc_container ul,
.cleanza-toc-content #toc_container ul,
.cleanza-toc-content .ez-toc-container ul,
.cleanza-toc-content .table-of-contents ul {
    margin: 0;
    padding-left: 18px;
}

.cleanza-toc-content .toc li,
.cleanza-toc-content .toc_container li,
.cleanza-toc-content #toc_container li,
.cleanza-toc-content .ez-toc-container li,
.cleanza-toc-content .table-of-contents li {
    margin-bottom: 8px;
}

.cleanza-toc-content .toc a,
.cleanza-toc-content .toc_container a,
.cleanza-toc-content #toc_container a,
.cleanza-toc-content .ez-toc-container a,
.cleanza-toc-content .table-of-contents a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cleanza-toc-content .toc a:hover,
.cleanza-toc-content .toc_container a:hover,
.cleanza-toc-content #toc_container a:hover,
.cleanza-toc-content .ez-toc-container a:hover,
.cleanza-toc-content .table-of-contents a:hover {
    color: #005cb9;
    padding-left: 4px;
}

/* meta */
/* toolbar dưới bài */
.cleanza-article-toolbar {
    margin-top: 20px;
    background: #ffffff;
    border: 1px solid #e6eef8;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 8px 20px rgba(0, 115, 230, 0.05);
}

.cleanza-article-toolbar-head {
    color: #64748b;
    font-weight: 600;
}

.cleanza-article-toolbar-title {
    color: #005cb9;
    font-weight: 700;
}

/* tags */
.tag_article {
    margin-top: 18px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e6eef8;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 115, 230, 0.05);
    font-size: 15px;
    line-height: 1.8;
}

.tag_article .inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef6ff;
    color: #005cb9;
    margin-right: 8px;
}

.tag_article a {
    display: inline-block;
    color: #005cb9;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 10px;
    margin: 4px 6px 4px 0;
    background: #f3f9ff;
    border: 1px solid #d7eaff;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.tag_article a:hover {
    background: #005cb9;
    color: #ffffff;
    border-color: #005cb9;
}

/* tin liên quan */
.block-recent {
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 115, 230, 0.08);
}

.block-recent h2 {
    margin: 0 0 18px;
    font-size: 28px;
    
    color: #0f172a;
    position: relative;
    padding-bottom: 12px;
}

.block-recent h2:after {
    content: "";
    width: 70px;
    height: 4px;
    background: #005cb9;
    border-radius: 999px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.block-recent ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.block-recent li {
    margin-bottom: 12px;
}

.block-recent li:last-child {
    margin-bottom: 0;
}

.block-recent a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e6eef8;
    border-radius: 14px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.block-recent a:hover {
    border-color: #005cb9;
    color: #005cb9;
    transform: translateX(4px);
    box-shadow: 0 10px 20px rgba(0, 115, 230, 0.08);
}

.block-recent a i {
    color: #005cb9;
    margin-top: 3px;
    flex: 0 0 auto;
}

/* sidebar tin tức */
.cleanza-toc-sidebar .module,
.cleanza-toc-sidebar .box,
.cleanza-toc-sidebar .panel,
.left-content .module,
.left-content .box,
.left-content .panel {
    background: #ffffff;
    border: 1px solid #e6eef8;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(0, 115, 230, 0.06);
}

.cleanza-toc-sidebar .module-title,
.cleanza-toc-sidebar .box-heading,
.cleanza-toc-sidebar .panel-heading,
.left-content .module-title,
.left-content .box-heading,
.left-content .panel-heading {
    font-size: 18px;
    
    color: #0f172a;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef6ff;
    position: relative;
}

.cleanza-toc-sidebar .module-title:after,
.cleanza-toc-sidebar .box-heading:after,
.cleanza-toc-sidebar .panel-heading:after,
.left-content .module-title:after,
.left-content .box-heading:after,
.left-content .panel-heading:after {
    content: "";
    width: 50px;
    height: 3px;
    background: #005cb9;
    border-radius: 999px;
    position: absolute;
    left: 0;
    bottom: -2px;
}

.cleanza-toc-sidebar a,
.left-content a {
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cleanza-toc-sidebar a:hover,
.left-content a:hover {
    color: #005cb9;
}

/* khoảng cách tổng thể */
.cleanza-article + .col-md-12,
.cleanza-article-toolbar + .tag_article,
.tag_article + .col-xs-12 {
    margin-top: 10px;
}

/* responsive */
@media (max-width: 991px) {
    .cleanza-article {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .title-head {
        font-size: 30px;
    }

    .article-details {
        font-size: 16px;
        line-height: 1.85;
    }

    .article-details h2 {
        font-size: 25px;
    }

    .article-details h3 {
        font-size: 22px;
    }

    .block-recent {
        padding: 20px;
    }

    .block-recent h2 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .article-wraper {
        padding-top: 16px;
        padding-bottom: 24px;
    }

    .cleanza-article {
        padding: 18px 14px;
    }

    .title-head {
        font-size: 26px;
        line-height: 1.35;
    }

    .article-details {
        font-size: 15px;
    }

    .article-details h2 {
        font-size: 22px;
    }

    .article-details h3 {
        font-size: 20px;
    }

    .block-recent,
    .tag_article,
    .cleanza-article-toolbar {
        padding: 16px;
    }

    .block-recent a {
        padding: 12px 14px;
    }
}
/* =========================
   HEADER CUSTOM
   ========================= */

/* Ẩn topbar cũ */
.top_col {
  display: none !important;
}

/* Ẩn form search cũ */
.navbar-search,
.top_search {
  display: none !important;
}

/* Khung header */
.navbar.navbar-inverse {
  min-height: auto;
  margin-bottom: 0;
  background: #ffffff;
  border: none;
  box-shadow: none;
}

.navbar .container {
  margin-top: 0;
}

/* Logo */
.navbar-header {
  display: flex;
  align-items: center;
}

.navbar-brand {
  height: auto;
  padding: 15px;
}

.navbar-brand > img {
  display: block;
  width: auto;
  max-height: 72px;
  margin: 0;
}

/* Menu */
.navbar-inverse .navbar-collapse {
  padding-left: 0;
  padding-right: 0;
  border-top: none;
  box-shadow: none;
}

.navbar-nav {
  margin: 0;
}

.navbar-nav > li {
  float: none;
}

.navbar-inverse .navbar-nav > li > a {
  color: #111111;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 12px;
  background: transparent;
  transition: all 0.2s ease;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #005cb9;
  background: transparent;
}

/* =========================
   SEARCH
   ========================= */
.header-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 30;
}

.header-search-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #d8e7f7;
  border-radius: 999px;
  background: #ffffff;
  color: #005cb9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.header-search-toggle:hover,
.header-search-toggle:focus {
  border-color: #005cb9;
  color: #005cb9;
  outline: none;
}

.header-search-toggle i {
  font-size: 16px;
  line-height: 1;
}

.header-search-form {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  height: 46px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  border: 1px solid #d8e7f7;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.header-search-wrap.is-open .header-search-form {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.header-search-form input[type="text"] {
  width: 100%;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0 48px 0 16px;
  color: #333333;
  font-size: 14px;
  box-shadow: none;
}

.header-search-form input[type="text"]::placeholder {
  color: #999999;
}

.header-search-form input[type="text"]:focus {
  outline: none;
  box-shadow: none;
}

.header-search-submit {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: #005cb9;
  cursor: pointer;
}

.header-search-submit:focus {
  outline: none;
}

/* =========================
   LANGUAGE
   ========================= */
.header-language {
  float: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4b4b4b;
  font-size: 14px;
}

.header-language > li {
  float: none;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: normal;
}

.header-language > li:first-child {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #005cb9;
}

.header-language > li:first-child i {
  font-size: 18px;
  line-height: 1;
}

.header-language > li.language {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
}

.header-language > li.language > a {
  color: #4b4b4b;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  line-height: 42px;
  padding: 0;
  transition: all 0.2s ease;
}

.header-language > li.language > a:hover,
.header-language > li.language > a:focus {
  color: #005cb9;
  background: transparent;
  outline: none;
}

.header-language > li.language ul {
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  min-width: 170px;
  z-index: 999;
}

/* =========================
   DESKTOP LAYOUT
   ========================= */
@media (min-width: 992px) {
  .navbar .container {
    display: flex;
    align-items: center;
  }

  .navbar-header {
    flex: 0 0 auto;
  }

  .navbar-inverse .navbar-collapse {
    flex: 1 1 auto;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  .navbar-nav {
    float: none !important;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
  }

  .navbar-nav > li {
    flex: 0 0 auto;
  }

  .header-tools {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #e8eef5;
    position: relative;
    z-index: 20;
  }
}
@media (min-width:1200px){
    .single-product-details-top .col-lg-5{
                width: 45%;
    }
    .single-product-details-top .col-lg-7{
                width: 55%;
    }
}

/* =========================
   TABLET
   ========================= */
@media (max-width: 991px) {
  .navbar .container {
    display: block;
  }

  .navbar-header {
    display: block;
  }

  .navbar-brand {
    padding: 0 15px;
  }

  .navbar-brand > img {
    max-height: 58px;
  }

  .navbar-toggle {
    margin-top: 20px;
    margin-right: 15px;
  }

  .navbar-nav {
    display: block;
    margin: 0;
  }

  .navbar-nav > li {
    display: block;
  }

  .navbar-inverse .navbar-nav > li > a {
    padding: 12px 15px;
  }

  .header-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 15px 0;
    padding: 12px 0;
    border-top: 1px solid #e8eef5;
  }

  .header-search-wrap {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-search-form {
    position: static;
    width: 0;
    height: 42px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    margin-left: 0;
    overflow: hidden;
  }

  .header-search-wrap.is-open .header-search-form {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-left: 10px;
  }

  .header-search-form input[type="text"] {
    width: 100%;
    height: 40px;
    padding: 0 42px 0 14px;
  }

  .header-search-submit {
    width: 40px;
    height: 40px;
  }
}
@media (min-width:992px) and (max-width:1199px){
    .navbar .container{
        display:block;
    }
.navbar-header{
    float:none;
    justify-content: center;
}
.navbar-brand{
    padding:0;
    padding-top:10px;
}
.navbar-inverse .navbar-collapse{
    padding:10px 0;
}
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 767px) {
  .header-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .header-search-wrap {
    order: 1;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-language {
    order: 2;
    margin-left: 0;
    flex: 0 0 auto;
  }

  .header-search-wrap.is-open {
    width: auto;
    flex: 1 1 auto;
    flex-wrap: nowrap;
  }

  .header-search-wrap.is-open .header-search-form {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 10px;
    margin-top: 0;
  }

  .header-search-form input[type="text"] {
    width: 100%;
    min-width: 0;
  }
  .single-item-Wrapper .single-Text-item h5{
      font-size:16px;
      line-height:22px;
  }
  .single-item-Wrapper .single-Text-item p{
      font-size:14px;
      line-height:20px;
      margin-top:5px;
          -webkit-line-clamp: 2;
      margin-bottom:10px;
      min-height:40px;
  }
  .single-item-Wrapper .single-Text-item h5{
      margin-bottom:0.5rem;
      margin-top:1rem;
      min-height:44px;
  }
  .single-item-Wrapper{
      margin-bottom:20px;
  }
  .single-item-Wrapper .single-Text-item > a{
      line-height:32px;
      font-size:14px;
  }
  .About-us-section .About-us-img-section .img-text-border .About-us-img-text{
      padding:0;
  }
  .news-Sidebar-item-wrapper .Categories > ul > li{
          padding-bottom: 8px;
    margin-bottom: 8px;
  }
  .blog-Vtwo-sidebar{
      margin-bottom:20px;
  }
  .sidebar-popular-product{
      margin-bottom:0;
  }
  .section-container {
        margin: 30px 0 60px;
    }
    .Enar-page-banner .Enar-page-banner-opact h1{
        font-size:18px;
        line-height:24px;
    }
    .sidebar{
        clear:left;
    }
    .news-Sidebar-item-wrapper h3{
        margin-bottom:10px;
    }
    .blog-Vtwo-sidebar{
        padding:10px;
    }
}
@media (max-width:767px){
    .section-container > .container > .row{
        display:flex;
        flex-direction:column;
    }
    .section-container > .container > .row > .col-lg-3{
        order:2;
    }
    .header-language > li.language{
            flex-direction: column;
    }
}
.single-item-Wrapper .shop-img-item > a{
     display: block;
  aspect-ratio: 1 / 1; /* khóa khung vuông */
  overflow: hidden;
}
.single-item-Wrapper .shop-img-item > a img{
      width: 100%;
  height: 100%;
  object-fit: contain; /* giữ nguyên tỷ lệ, không cắt */
  object-position: center;
}
