/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* Chỉ áp dụng cho trang chi tiết bài viết */
.single-post #content.blog-single .large-9.col {
    box-shadow: 0 4px 16px rgba(30, 48, 70, 0.07);
    padding: clamp(18px, 2.2vw, 26px) !important;
}
/* CSS cho HERO PHÁP LÝ - dùng cùng với phần HTML của section */
  .acc-hero * { box-sizing: border-box; }

  .acc-hero {
    position: relative;
    margin: 0 auto;
    /* padding: 64px 24px; */
    background-image:
      linear-gradient(rgba(59,89,152,.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(59,89,152,.06) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: center;
  }

  .acc-hero__grid {
    display: flex;
    align-items: center;
    gap: 56px;
  }

  .acc-hero__content { flex: 1 1 50%; min-width: 0; }
  .acc-hero__media   { flex: 1 1 50%; min-width: 0; position: relative; }

  /* Eyebrow badge */
  .acc-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eaf1fb;
    color: #2258b8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
  }
  .acc-hero__eyebrow span.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2258b8;
    display: inline-block;
  }

  /* Heading */
  .acc-hero__title {
    font-family: 'Arial', Helvetica, sans-serif;
    line-height: 1.08;
    letter-spacing: -0.01em;
    font-size: clamp(32px, 4.4vw, 52px);
    margin: 0 0 24px;
  }
  .acc-hero__title .line1 {
    display: block;
    color: #0d1b3e;
    position: relative;
    width: fit-content;
  }
  .acc-hero__title .line1::before {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 6px;
    height: 14px;
    background: #ffe3b0;
    z-index: -1;
    border-radius: 2px;
  }
  .acc-hero__title .line2 {
    display: block;
    color: #2f6fed;
  }

  .acc-hero__text {
    color: #56617a;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 16px;
    max-width: 560px;
  }

  /* Buttons */
  .acc-hero__actions {
    display: flex;
    gap: 14px;
    margin: 30px 0 34px;
    flex-wrap: wrap;
  }
  .acc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    border: 1px solid transparent;
    white-space: nowrap;
  }
  .acc-btn:hover { transform: translateY(-2px); }
  .acc-btn--primary {
    background: #1c6e78;
    color: #fff;
    box-shadow: 0 8px 20px rgba(28,110,120,.28);
  }
  .acc-btn--primary:hover { background: #175a62; color: #fff; }
  .acc-btn--outline {
    background: #fff;
    color: #0d1b3e;
    border-color: #e3e7f0;
  }
  .acc-btn--outline:hover { border-color: #c7cee0; color: #0d1b3e; }

  /* Trust row */
  .acc-hero__trust {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .acc-hero__avatars {
    display: flex;
  }
  .acc-hero__avatars img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    margin-left: -10px;
    box-shadow: 0 0 0 1px #e3e7f0;
  }
  .acc-hero__avatars img:first-child { margin-left: 0; }
  .acc-hero__trust p {
    margin: 0;
    font-size: 13.5px;
    color: #56617a;
  }
  .acc-hero__trust strong { color: #0d1b3e; }

  /* Media card */
  .acc-hero__card {
    position: relative;
    background: linear-gradient(180deg,#fbfcfe,#eef1f6);
    border-radius: 24px;
    padding: 60px 30px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px -20px rgba(20,30,60,.18);
    overflow: visible;
  }

  .acc-hero__icon svg { width: 100%; max-width: 300px; height: auto; }

  /* Floating badges */
  .acc-badge {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(20,30,60,.12);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .acc-badge--rating {
    top: -18px;
    right: -10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .acc-badge--rating .stars { color: #ffb020; font-size: 14px; letter-spacing: 1px; }
  .acc-badge--rating .label { font-size: 12.5px; font-weight: 700; color: #0d1b3e; white-space: nowrap; }

  .acc-badge--success {
    left: -18px;
    bottom: -22px;
  }
  .acc-badge--success .ic {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e6f7ef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .acc-badge--success .ic svg { width: 18px; height: 18px; }
  .acc-badge--success .tt {
    font-size: 11px;
    color: #8992a5;
    font-weight: 700;
    letter-spacing: .03em;
    margin-bottom: 2px;
  }
  .acc-badge--success .val {
    font-size: 18px;
    font-weight: 800;
    color: #0d1b3e;
    line-height: 1;
  }

  /* ============== MOBILE ============== */
  @media (max-width: 991px) {
    .acc-hero { padding: 48px 20px; }
    .acc-hero__grid { flex-direction: column; gap: 48px; }
    .acc-hero__content, .acc-hero__media { flex: 1 1 100%; width: 100%; }
    .acc-hero__media { order: -1; }
    .acc-hero__text { max-width: 100%; }
    .acc-hero__card { min-height: 320px; padding: 46px 24px; }
    .acc-hero__actions { width: 100%; }
    .acc-btn { flex: 1 1 auto; justify-content: center; }
  }

  @media (max-width: 480px) {
    .acc-hero { padding: 36px 16px; }
    .acc-hero__title { font-size: 30px; }
    .acc-hero__actions { flex-direction: column; }
    .acc-btn { width: 100%; }
    .acc-badge--rating { top: -14px; right: -6px; padding: 9px 12px; }
    .acc-badge--success { left: -10px; bottom: -18px; padding: 9px 12px; }
    .acc-badge--success .val { font-size: 15px; }
    .acc-hero__card { min-height: 260px; padding: 40px 16px 48px; }
    .acc-hero__icon svg { max-width: 200px; }
  }

.bgphuong {
  position: relative;
  background-color: #fbfcfe;
  background-image:linear-gradient(rgba(59, 89, 152, .06) 1px, transparent 1px),linear-gradient(90deg, rgba(59, 89, 152, .06) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center;
}
@media screen and (min-width: 1600px) {
    .header-full-width .container {
        padding: 0 100px;
    }

    .header-nav-main.nav>li {
        margin: 0 20px;
    }

    .header-nav-main.nav>li>a {
        font-size: 16px;
    }
}
.entry-header .entry-divider{
	display: none!important;
}
.entry-header .entry-header-text {
	padding-bottom: 0px!important;
}
.center-page .entry-header, .blog-archive .archive-page-header {
    text-align: center;
    box-shadow: 2px 2px 20px #2162AE;
    background-color: #2162AE;
    background-repeat: no-repeat;
    min-height: 155px;
    padding: 40px 0;
    margin-bottom: 20px;
}
.archive-page-header h1 {
    color: #fff;
    font-size: 35px;
    margin-bottom: 0px !important;
    margin-top: 20px;
}
/* Card bài viết */
.post-item .col-inner{
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

/* Phần nội dung */
.post-item .box-text{
    flex: 1;
    display: flex;
}

.post-item .box-text-inner{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px;
}

/* Title luôn chiếm 2 dòng */
.post-item .post-title{
    line-height: 1.4;
    margin-bottom: 14px; /* khoảng cách với mô tả */
    min-height: 56px;    /* 2 dòng */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Chỉ áp dụng cho trang danh mục/blog listing */
.post-item .box-image .image-cover {
    padding-top: 49% !important;
}
/* Bỏ divider nếu không cần */
.post-item .is-divider{
    display: none;
}

/* Mô tả */
.post-item .from_the_blog_excerpt{
    line-height: 1.7;
    margin-top: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Flatsome - Nội dung bài viết */
.blog-wrapper .entry-content p,
.blog-wrapper .entry-content li {
    text-align: justify;
}
.entry-content p {
  line-height: 1.8;
  font-size: 17px;
}
.entry-content li::marker{
  color: #cba54e;
}
.entry-content h2 {
  color: #2162AE;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: .4rem;
  border-bottom: 2px solid #eef1f6;
}
.entry-content h3 {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 12px;
}
/* ============================================
   GLOBAL TABLE STYLE — Flatsome  (v4)
   Dán toàn bộ file này vào:
   Flatsome > Theme Options > Advanced > Custom CSS
   (hoặc Customizer > Additional CSS)
   Áp dụng cho MỌI bảng <table> trên toàn site.

   v4: sửa lỗi ở màn hình hẹp — bảng bị ép co lại vừa
   khung màn hình (thay vì cuộn ngang) khiến cột "Bước..."
   quá hẹp, chữ bị bẻ dòng lung tung ("Bư/ớc/1"). Giờ ép
   bảng có min-width để buộc trình duyệt cuộn ngang thay
   vì bóp nhỏ cột.
   ============================================ */

/* table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 28px 0 !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: #3A3F47 !important;
  background: #FFFFFF !important;
  border: 1px solid #E4E0D5 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px rgba(20, 25, 40, 0.04) !important;
}

table thead tr {
  background: #16233B !important;
}

table thead th {
  background: #16233B !important;
  color: #F1EAD9 !important;
  font-weight: 600 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  padding: 14px 20px !important;
  border: none !important;
  border-bottom: 2px solid #AD8A54 !important;
  white-space: normal !important;
}

table thead th * {
  color: #F1EAD9 !important;
}

table tbody td {
  padding: 16px 20px !important;
  vertical-align: top !important;
  border: none !important;
  border-bottom: 1px solid #EDEAE0 !important;
  color: #3A3F47 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

table tbody tr:last-child td {
  border-bottom: none !important;
}

table tbody tr:nth-child(even) {
  background: #FAF8F2 !important;
}

table tbody tr:nth-child(odd) {
  background: #FFFFFF !important;
}

table tbody tr:hover {
  background: #F3ECDC !important;
  transition: background 0.15s ease !important;
}

/* Cột đầu tiên đọc như nhãn hàng — đệm trái, KHÔNG ép nowrap
   ở desktop (câu dài sẽ tự xuống dòng thay vì đẩy bảng tràn khung) */

table a {
  color: #16233B !important;
  text-decoration: underline !important;
  text-decoration-color: #AD8A54 !important;
  text-underline-offset: 2px !important;
}

table strong {
  color: #16233B !important;
}

/* Responsive: bảng tự cuộn ngang trên di động, không cần sửa HTML.
   min-width buộc bảng rộng hơn màn hình để trình duyệt CUỘN thay vì
   bóp nhỏ từng cột (nguyên nhân gây bẻ chữ lung tung). */
@media (max-width: 780px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 8px !important;
    min-width: 100% !important;
  }

  table thead,
  table tbody {
    display: table !important;
    width: 100% !important;
    min-width: 640px !important;
  }

  table thead th,
  table tbody td {
    padding: 12px 16px !important;
    font-size: 13.5px !important;
  }

  /* Cột nhãn ngắn ("Bước 1"...) — không xuống dòng vì bảng đã cuộn ngang được */
  table tbody td:first-child {
    padding-left: 18px !important;
    white-space: nowrap !important;
  }
} */


/* ============================================
   Hết phần CSS
   ============================================ */
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}