@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.4.1
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* =========================================
   HOCDII - HEADER PC
========================================= */
@media screen and (min-width: 1024px) {

  /* =========================================
     TOÀN BỘ THANH MENU
  ========================================= */

  .navi-in > ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .navi-in > ul > li {
    display: flex !important;
    align-items: center !important;
    justify-content: center;

    height: 56px !important;
    margin: 0 !important;
  }

  /* Font tiếng Việt */
  .navi-in,
  .navi-in a {
    font-family: "Segoe UI", Arial, sans-serif !important;
    letter-spacing: 0 !important;
    font-kerning: normal;
  }

  /* Căn tất cả link */
  .navi-in > ul > li > a {
    box-sizing: border-box !important;

    height: 38px !important;
    min-height: 38px !important;

    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center;

    white-space: nowrap;
    line-height: normal !important;
  }


  /* =========================================
     5 MENU CHÍNH
     Tiếng Nhật / Luyện thi / Chứng chỉ /
     Kiến thức / Ứng dụng
  ========================================= */

  .navi-in > ul > li:not(:nth-last-child(-n+3)) > a {
    padding: 0 16px !important;

    background: #f5f9ff;
    border: 1px solid #d7e7ff;
    border-radius: 8px;

    color: #172033 !important;

    font-size: 16px !important;
    font-weight: 600 !important;

    transition:
      background 0.2s ease,
      border-color 0.2s ease,
      color 0.2s ease;
  }

  /* Hover 5 menu chính */
  .navi-in > ul > li:not(:nth-last-child(-n+3)) > a:hover {
    background: #e8f2ff;
    border-color: #1677ff;
    color: #1677ff !important;
  }


  /* =========================================
     3 MỤC CUỐI
     Search / Đăng nhập / Đăng ký
  ========================================= */

  .navi-in > ul > li:nth-last-child(-n+3) {
    flex: 0 0 auto;

    height: 56px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center;
  }


  /* =========================================
     Ô TÌM KIẾM THẬT
  ========================================= */

  .navi-in > ul > li:nth-last-child(3) {
    width: 190px;
  }

  .hocdii-header-search {
    box-sizing: border-box;

    width: 190px;
    height: 38px;

    display: flex;
    align-items: center;

    padding: 0 12px;
    margin: 0;

    background: #f1f6ff;

    border: 1px solid transparent;
    border-radius: 9px;

    transition:
      background 0.2s ease,
      border-color 0.2s ease;
  }

  /* Khi click vào search */
  .hocdii-header-search:focus-within {
    background: #ffffff;
    border-color: #1677ff;
  }

  /* Kính lúp */
  .hocdii-search-icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 7px;

    font-family: "Segoe UI Symbol", "Segoe UI", sans-serif;
    font-size: 19px;
    line-height: 1;

    color: #687386;
  }

  /* Input */
  .hocdii-header-search input {
    box-sizing: border-box;

    width: 100%;
    min-width: 0;
    height: 34px;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    outline: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400;

    line-height: normal !important;

    color: #172033 !important;
  }

  /* Chữ gợi ý trong search */
  .hocdii-header-search input::placeholder {
    color: #7c8798;
    opacity: 1;
  }


  /* =========================================
     ĐĂNG NHẬP
  ========================================= */

  .navi-in > ul > li:nth-last-child(2) {
    width: 120px;
  }

  .navi-in > ul > li:nth-last-child(2) > a {
    box-sizing: border-box;

    width: 120px !important;
    height: 38px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: #ffffff;

    border: 2px solid #1677ff;
    border-radius: 8px;

    color: #1677ff !important;

    font-size: 15px !important;
    font-weight: 600 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    transition:
      background 0.2s ease,
      color 0.2s ease;
  }

  /* Hover đăng nhập */
  .navi-in > ul > li:nth-last-child(2) > a:hover {
    background: #eef6ff;
    color: #1677ff !important;
  }


  /* =========================================
     ĐĂNG KÝ
  ========================================= */

  .navi-in > ul > li:last-child {
    width: 120px;
  }

  .navi-in > ul > li:last-child > a {
    box-sizing: border-box;

    width: 120px !important;
    height: 38px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: #1677ff;

    border: 2px solid #1677ff;
    border-radius: 8px;

    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 600 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    transition:
      background 0.2s ease,
      border-color 0.2s ease;
  }

  /* Hover đăng ký */
  .navi-in > ul > li:last-child > a:hover {
    background: #0868e5;
    border-color: #0868e5;

    color: #ffffff !important;
  }

}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

/* 1023px以下 */
@media screen and (max-width: 1023px) {

  /* Mobile/tablet giữ giao diện Cocoon */

}


/* 834px以下 */
@media screen and (max-width: 834px) {

  /*必要ならばここにコードを書く*/

}


/* 480px以下 */
@media screen and (max-width: 480px) {

  /*必要ならばここにコードを書く*/

}
/* =========================================
   HOCDII - TRANG KẾT QUẢ TÌM KIẾM
   Ẩn các ô search mặc định của Cocoon
========================================= */

/* Ô tìm kiếm lớn phía trên kết quả */
body.search .main .search-form {
  display: none !important;
}

/* Ô tìm kiếm trong sidebar */
body.search .sidebar .widget_search {
  display: none !important;
}
/* =========================================
   HOCDII - TRANG KẾT QUẢ TÌM KIẾM
========================================= */

/* 1. Ẩn ô tìm kiếm mặc định nằm dưới tiêu đề */
body.search #main form[role="search"],
body.search #main .search-form,
body.search #main .search-box {
  display: none !important;
}


/* 2. Ẩn toàn bộ sidebar bên phải */
body.search #sidebar,
body.search .sidebar {
  display: none !important;
}


/* 3. Cho phần kết quả tìm kiếm chiếm toàn bộ chiều rộng */
body.search #main,
body.search .main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}


/* 4. Khu vực chứa main không chừa khoảng trống cho sidebar */
body.search #content {
  display: block !important;
}
/* =========================================
   HOCDII - GIỮ FOOTER Ở ĐÁY MÀN HÌNH
   Trang kết quả tìm kiếm
========================================= */

/* =========================================
   HOCDII - FOOTER LUÔN Ở ĐÁY MÀN HÌNH
   Áp dụng cho toàn bộ website
========================================= */

html,
body {
  min-height: 100%;
}

#container {
  min-height: 100vh;
  min-height: 100dvh;

  display: flex;
  flex-direction: column;
}

/* Phần nội dung chính tự giãn */
#content {
  flex: 1 0 auto;
}

/* Footer nằm dưới cùng */
#footer,
.footer {
  margin-top: auto;
  flex-shrink: 0;
}

/* Phần nội dung giữa tự giãn */
body.search #content {
  flex: 1 0 auto;
}

/* Footer luôn xuống đáy khi nội dung ít */
body.search #footer,
body.search .footer {
  margin-top: auto;
  flex-shrink: 0;
}
/* =========================================
   HOCDII - PHẦN CUỐI BÀI NẰM SÁT FOOTER
========================================= */

/* Main tự giãn hết chiều cao còn lại */
#main {
  display: flex;
  flex-direction: column;
}

/* Article tự giãn */
#main article {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* Đẩy Share cuối bài xuống phía dưới khi nội dung ngắn */
#main .sns-share.ss-bottom {
  margin-top: auto;
}

/* Không tạo khoảng trống lớn dưới breadcrumb */
#main .breadcrumb {
  margin-bottom: 0 !important;
}
/* =========================================
   HOCDII - MENU CON LUÔN XỔ XUỐNG DƯỚI
========================================= */

@media screen and (min-width: 1024px) {

  /* Cho phép menu con tràn ra ngoài thanh header */
  .navi,
  .navi-in,
  .navi-in > ul {
    overflow: visible !important;
  }

  /* Menu cha làm mốc cho menu con */
  .navi-in > ul > li {
    position: relative !important;
    overflow: visible !important;
  }

  /* Menu cấp 2 */
  .navi-in > ul > li > ul.sub-menu {
    position: absolute !important;

    top: 100% !important;
    bottom: auto !important;

    left: 0 !important;
    right: auto !important;

    margin-top: 0 !important;

    transform: none !important;

    z-index: 99999 !important;
  }

  /* Menu cấp 3 nếu sau này có */
  .navi-in > ul > li > ul.sub-menu li {
    position: relative !important;
  }

  .navi-in > ul > li > ul.sub-menu li > ul.sub-menu {
    position: absolute !important;

    top: 0 !important;
    bottom: auto !important;

    left: 100% !important;
    right: auto !important;

    transform: none !important;

    z-index: 100000 !important;
  }
}
/* =========================================
   HOCDII - FIX HEADER SAU KHI GỘP LOGIN
========================================= */
@media screen and (min-width: 1024px) {

  /* Ứng dụng trở lại thành nút menu bình thường */
  .navi-in > ul > li:nth-last-child(3) {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  .navi-in > ul > li:nth-last-child(3) > a {
    box-sizing: border-box !important;
    width: auto !important;
    height: 38px !important;
    padding: 0 16px !important;
    margin: 0 !important;

    background: #f5f9ff !important;
    border: 1px solid #d7e7ff !important;
    border-radius: 8px !important;

    color: #172033 !important;
    font-size: 16px !important;
    font-weight: 600 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
  }

  .navi-in > ul > li:nth-last-child(3) > a:hover {
    background: #e8f2ff !important;
    border-color: #1677ff !important;
    color: #1677ff !important;
  }

  /* Ô tìm kiếm bây giờ là mục áp chót */
  .navi-in > ul > li:nth-last-child(2) {
    width: 190px !important;
    flex: 0 0 190px !important;
  }

  .hocdii-header-search {
    width: 190px !important;
  }

  /* Đăng nhập / Đăng ký */
  .navi-in > ul > li:last-child {
    width: 165px !important;
    flex: 0 0 165px !important;
  }

  .navi-in > ul > li:last-child > a {
    width: 165px !important;
  }
}
/* HOCDII - Search tím nhạt */
@media screen and (min-width: 1024px) {

  .hocdii-header-search {
    background: #faf7ff !important;
    border: 1px solid #b794f6 !important;
  }

  .hocdii-header-search:hover {
    background: #f5efff !important;
    border-color: #8b5cf6 !important;
  }

  .hocdii-header-search:focus-within {
    background: #ffffff !important;
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.12);
  }

}
/* HOCDII - Tăng chiều rộng ô tìm kiếm */
@media screen and (min-width: 1024px) {

  .navi-in > ul > li:nth-last-child(2) {
    width: 230px !important;
    flex: 0 0 230px !important;
  }

  .hocdii-header-search {
    width: 230px !important;
  }

}
/* =========================================
   HOCDII - USER ACCOUNT DROPDOWN
========================================= */

@media screen and (min-width: 1024px) {

  .navi-in > ul > li.hocdii-user-menu {
    position: relative !important;
    overflow: visible !important;
  }

  .hocdii-account-dropdown {
    display: none;

    position: absolute;
    top: calc(100% + 7px);
    right: 0;

    width: 270px;
    padding: 16px;

    background: #ffffff;
    border: 1px solid #e1e6ee;
    border-radius: 12px;

    box-shadow:
      0 8px 30px rgba(23, 32, 51, 0.16);

    z-index: 999999;
  }

  .hocdii-user-menu.hocdii-account-open
  .hocdii-account-dropdown {
    display: block;
  }

  .hocdii-account-info {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .hocdii-account-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    border-radius: 50%;
    object-fit: cover;
  }

  .hocdii-account-text {
    min-width: 0;
    text-align: left;
  }

  .hocdii-account-name {
    color: #172033;
    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hocdii-account-email {
    margin-top: 3px;

    color: #697386;
    font-size: 12px;
    font-weight: 400;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hocdii-account-divider {
    height: 1px;
    margin: 14px 0 8px;

    background: #edf0f4;
  }

  .hocdii-account-dropdown
  .hocdii-account-logout {
    box-sizing: border-box !important;

    width: 100% !important;
    height: 38px !important;
    padding: 0 12px !important;

    display: flex !important;
    align-items: center !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 7px !important;

    color: #e5484d !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    text-decoration: none !important;
  }

  .hocdii-account-dropdown
  .hocdii-account-logout:hover {
    background: #fff1f1 !important;
    color: #d9363e !important;
  }

}
/* =========================================
   HOCDII - Về Hocdii nổi bật
========================================= */
@media screen and (min-width: 1024px) {

  .navi-in > ul > li:first-child > a {
    padding: 0 19px !important;

    /* Nền cam nhạt */
    background: #fff7ed !important;

    /* Viền cam rõ */
    border: 2px solid #f97316 !important;
    border-radius: 9px !important;

    /* Chữ cam đậm */
    color: #c2410c !important;
    font-size: 15px !important;
    font-weight: 800 !important;

    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.18);

    transition: all 0.2s ease;
  }

  .navi-in > ul > li:first-child > a:hover {
    /* Hover nổi hơn */
    background: #f97316 !important;
    border-color: #ea580c !important;
    color: #ffffff !important;

    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.30);
    transform: translateY(-1px);
  }

}
/* =========================================
   HOCDII - Vùng click nút ưu đãi Hero
========================================= */

.hocdii-hero {
    position: relative !important;
}

.hocdii-hero .hocdii-hero-promo-link {
    position: absolute;
    
    /* Vị trí nút "Xem ưu đãi ngay" trong ảnh */
    left: 45.6%;
    top: 74.2%;
    width: 17.5%;
    height: 10%;

    display: block;
    z-index: 10;
    cursor: pointer;
}
/* =========================================
   HOCDII - Click map ảnh Về Hocdii
========================================= */

.hocdii-about-map {
    position: relative !important;
}

.hocdii-about-map .hocdii-about-link {
    position: absolute;
    display: block;
    z-index: 10;
    cursor: pointer;
}
/* =========================================
   HOCDII - KHÁM PHÁ NỘI DUNG
========================================= */

.hocdii-discover {
    width: 100%;
    margin: 14px 0 20px;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Tiêu đề */
.hocdii-discover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hocdii-discover-title {
    color: #102a56;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
}

.hocdii-discover-all {
    color: #0875ff !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
}

.hocdii-discover-all span {
    margin-left: 5px;
    font-size: 20px;
}

/* 5 card */
.hocdii-discover-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.hocdii-discover-card {
    box-sizing: border-box;
    position: relative;

    min-width: 0;
    height: 152px;

    padding: 14px 20px 16px;

    border: 1px solid rgba(20, 50, 90, 0.05);
    border-radius: 10px;

    text-decoration: none !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.hocdii-discover-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(20, 50, 90, .10);
}

/* Icon */
.hocdii-discover-icon {
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 31px;
    line-height: 1;

    margin-bottom: 5px;
}

/* Tên */
.hocdii-card-title {
    margin: 0 0 6px !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;

    color: #102a56 !important;

    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;

    text-align: left;
}

/* Mô tả */
.hocdii-card-text {
    color: #56657c;

    font-size: 13px;
    line-height: 1.4;

    text-align: left;
}

/* Mũi tên */
.hocdii-card-arrow {
    position: absolute;
    right: 14px;
    bottom: 13px;

    font-size: 21px;
    line-height: 1;
    font-weight: 700;
}

/* Màu từng card */

.card-promo {
    background: linear-gradient(
        135deg,
        #fff2f2,
        #fff9f9
    );
}

.card-promo .hocdii-card-arrow {
    color: #ff3650;
}

.card-exam {
    background: linear-gradient(
        135deg,
        #eef6ff,
        #f8fbff
    );
}

.card-exam .hocdii-card-arrow {
    color: #0875ff;
}

.card-cert {
    background: linear-gradient(
        135deg,
        #ecfbf2,
        #f7fffa
    );
}

.card-cert .hocdii-card-arrow {
    color: #11a36a;
}

.card-app {
    background: linear-gradient(
        135deg,
        #fff6e8,
        #fffbf3
    );
}

.card-app .hocdii-card-arrow {
    color: #ff7a00;
}

.card-knowledge {
    background: linear-gradient(
        135deg,
        #f5ecff,
        #fbf8ff
    );
}

.card-knowledge .hocdii-card-arrow {
    color: #7b2fe9;
}


/* =========================================
   HOCDII - KHÁM PHÁ NỘI DUNG
========================================= */

.hocdii-discover {
    width: 100%;
    margin: 18px 0 28px;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ===== Tiêu đề section ===== */

.hocdii-discover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.hocdii-discover-title {
    position: relative;

    padding-left: 14px;

    color: #102a56;

    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
}

.hocdii-discover-title::before {
    content: "";

    position: absolute;
    left: 0;
    top: 3px;

    width: 6px;
    height: 27px;

    border-radius: 10px;

    background: #1677ff;
}

.hocdii-discover-all {
    display: flex;
    align-items: center;
    gap: 6px;

    color: #1677ff !important;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;
}

.hocdii-discover-all span {
    font-size: 20px;
    line-height: 1;
}


/* ===== Grid 5 card ===== */

.hocdii-discover-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 12px;
}


/* ===== Card ===== */

.hocdii-discover-card {
    box-sizing: border-box;

    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 178px;

    padding: 15px 18px 48px;

    border:
        1px solid rgba(20, 55, 100, 0.06);

    border-radius: 14px;

    overflow: hidden;

    text-decoration: none !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.hocdii-discover-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 22px
        rgba(20, 50, 90, 0.10);

    border-color:
        rgba(20, 70, 150, 0.11);
}


/* ===== Icon ===== */

.hocdii-discover-icon {
    width: 100%;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 7px;
}

.icon-symbol {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 25px;
    line-height: 1;
    font-weight: 900;
}


/* ===== Tiêu đề card ===== */

.hocdii-card-title {
    width: 100%;

    margin: 0 0 8px !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;

    color: #102a56 !important;

    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;

    text-align: center;
}


/* ===== Mô tả ===== */

.hocdii-card-text {
    width: 100%;

    color: #53627a;

    font-size: 13.5px;
    line-height: 1.45;

    text-align: center;
}


/* ===== Nút mũi tên ===== */

.hocdii-card-arrow {
    position: absolute;

    right: 14px;
    bottom: 13px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.72);

    box-shadow:
        0 2px 7px
        rgba(0,0,0,0.06);

    font-size: 17px;
    line-height: 1;
    font-weight: 800;
}


/* =========================================
   MÀU TỪNG CARD
========================================= */

/* Mã giảm giá */

.card-promo {
    background:
        linear-gradient(
            180deg,
            #fff0f3 0%,
            #fff8f9 100%
        );
}

.card-promo .icon-symbol {
    color: #ffffff;
    background: #ff3155;
}

.card-promo .hocdii-card-arrow {
    color: #ff3155;
}


/* Luyện thi */

.card-exam {
    background:
        linear-gradient(
            180deg,
            #edf5ff 0%,
            #f8fbff 100%
        );
}

.card-exam .icon-symbol {
    color: #ffffff;
    background: #1677ff;
}

.card-exam .hocdii-card-arrow {
    color: #1677ff;
}


/* Chứng chỉ */

.card-cert {
    background:
        linear-gradient(
            180deg,
            #ecfbf3 0%,
            #f7fffb 100%
        );
}

.card-cert .icon-symbol {
    color: #ffffff;
    background: #17a66b;
}

.card-cert .hocdii-card-arrow {
    color: #17a66b;
}


/* Ứng dụng */

.card-app {
    background:
        linear-gradient(
            180deg,
            #fff6e8 0%,
            #fffdf8 100%
        );
}

.card-app .icon-symbol {
    color: #ffffff;
    background: #ff8218;
}

.card-app .hocdii-card-arrow {
    color: #ff8218;
}


/* Kiến thức */

.card-knowledge {
    background:
        linear-gradient(
            180deg,
            #f5edff 0%,
            #fcf9ff 100%
        );
}

.card-knowledge .icon-symbol {
    color: #ffffff;
    background: #823ee8;
}

.card-knowledge .hocdii-card-arrow {
    color: #823ee8;
}


/* =========================================
   HOCDII - KHÁM PHÁ NỘI DUNG FINAL
========================================= */

.hocdii-discover {
  width: 100%;
  margin: 18px 0 28px;
  font-family: "Segoe UI", Arial, sans-serif;
}


/* =========================================
   SECTION HEADER
========================================= */

.hocdii-discover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hocdii-discover-title {
  position: relative;

  padding-left: 14px;

  color: #102a56;

  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
}

.hocdii-discover-title::before {
  content: "";

  position: absolute;
  left: 0;
  top: 2px;

  width: 6px;
  height: 27px;

  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      #1677ff,
      #46a4ff
    );
}

.hocdii-discover-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  color: #1677ff !important;

  font-size: 14px;
  font-weight: 600;

  text-decoration: none !important;
}

.hocdii-discover-all span {
  font-size: 20px;
  line-height: 1;

  transition: transform .18s ease;
}

.hocdii-discover-all:hover span {
  transform: translateX(3px);
}


/* =========================================
   GRID
========================================= */

.hocdii-discover-grid {
  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 12px;
}


/* =========================================
   CARD
========================================= */

.hocdii-discover-card {
  box-sizing: border-box;

  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 0;
  min-height: 184px;

  padding:
    15px 16px 50px;

  overflow: hidden;

  border:
    1px solid
    rgba(15, 45, 90, 0.07);

  border-radius: 15px;

  text-decoration: none !important;

  box-shadow:
    0 3px 10px
    rgba(15, 42, 86, 0.025);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.hocdii-discover-card:hover {
  transform: translateY(-3px);

  border-color:
    rgba(30, 80, 160, 0.11);

  box-shadow:
    0 10px 24px
    rgba(16, 42, 86, 0.10);
}


/* =========================================
   ICON
========================================= */

.hocdii-discover-icon {
  width: 100%;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 7px;
}

.svg-icon-badge {
  width: 46px;
  height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  box-shadow:
    0 7px 16px
    rgba(20, 40, 80, 0.12),
    inset 0 1px 0
    rgba(255,255,255,0.45);

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.svg-icon {
  width: 25px;
  height: 25px;

  display: block;

  fill: currentColor;

  color: #ffffff;
}


/* Hover icon */

.hocdii-discover-card:hover
.svg-icon-badge {
  transform:
    translateY(-2px)
    scale(1.04);

  box-shadow:
    0 10px 20px
    rgba(20, 40, 80, 0.15),
    inset 0 1px 0
    rgba(255,255,255,0.45);
}


/* =========================================
   TITLE
========================================= */

.hocdii-card-title {
  width: 100%;

  margin:
    0 0 8px !important;

  padding: 0 !important;

  border: 0 !important;

  background:
    transparent !important;

  color:
    #102a56 !important;

  font-size: 16.5px;

  line-height: 1.28;

  font-weight: 800;

  text-align: center;
}


/* =========================================
   DESCRIPTION
========================================= */

.hocdii-card-text {
  width: 100%;

  color: #55647b;

  font-size: 13px;

  line-height: 1.45;

  text-align: center;
}


/* =========================================
   ARROW
========================================= */

.hocdii-card-arrow {
  position: absolute;

  right: 14px;
  bottom: 13px;

  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    rgba(255,255,255,0.78);

  box-shadow:
    0 3px 8px
    rgba(20, 40, 80, 0.07);

  font-size: 17px;

  line-height: 1;

  font-weight: 800;

  transition:
    transform .18s ease,
    background .18s ease;
}

.hocdii-discover-card:hover
.hocdii-card-arrow {
  transform: translateX(2px);
  background: #ffffff;
}


/* =========================================
   PROMO
========================================= */

.card-promo {
  background:
    linear-gradient(
      180deg,
      #fff0f3 0%,
      #fff8f9 100%
    );
}

.promo-icon .svg-icon-badge {
  background:
    linear-gradient(
      135deg,
      #ff607f,
      #ff3157
    );

  transform:
    rotate(-6deg);
}

.card-promo:hover
.promo-icon .svg-icon-badge {
  transform:
    translateY(-2px)
    rotate(-6deg)
    scale(1.04);
}

.card-promo
.hocdii-card-arrow {
  color: #ff3e62;
}


/* =========================================
   EXAM
========================================= */

.card-exam {
  background:
    linear-gradient(
      180deg,
      #edf5ff 0%,
      #f8fbff 100%
    );
}

.exam-icon .svg-icon-badge {
  background:
    linear-gradient(
      135deg,
      #4c9aff,
      #176af5
    );

  transform:
    rotate(-5deg);
}

.card-exam:hover
.exam-icon .svg-icon-badge {
  transform:
    translateY(-2px)
    rotate(-5deg)
    scale(1.04);
}

.card-exam
.hocdii-card-arrow {
  color: #1677ff;
}


/* =========================================
   CERTIFICATE
========================================= */

.card-cert {
  background:
    linear-gradient(
      180deg,
      #ebfaf2 0%,
      #f7fffb 100%
    );
}

.cert-icon .svg-icon-badge {
  background:
    linear-gradient(
      135deg,
      #37c98a,
      #139d64
    );
}

.card-cert
.hocdii-card-arrow {
  color: #16a268;
}


/* =========================================
   APP
========================================= */

.card-app {
  background:
    linear-gradient(
      180deg,
      #fff6e9 0%,
      #fffdf8 100%
    );
}

.app-icon .svg-icon-badge {
  background:
    linear-gradient(
      135deg,
      #ffad45,
      #ff7c16
    );

  border-radius: 12px;
}

.card-app
.hocdii-card-arrow {
  color: #ff7c16;
}


/* =========================================
   KNOWLEDGE
========================================= */

.card-knowledge {
  background:
    linear-gradient(
      180deg,
      #f5edff 0%,
      #fcf9ff 100%
    );
}

.knowledge-icon
.svg-icon-badge {
  background:
    linear-gradient(
      135deg,
      #a35cff,
      #7936eb
    );

  border-radius: 50%;
}

.card-knowledge
.hocdii-card-arrow {
  color: #813be9;
}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 768px) {

  .hocdii-discover {
    margin:
      14px 0 22px;
  }

  .hocdii-discover-head {
    margin-bottom: 10px;
  }

  .hocdii-discover-title {
    font-size: 21px;
  }

  .hocdii-discover-title::before {
    top: 2px;

    height: 23px;
  }

  .hocdii-discover-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 9px;
  }

  .hocdii-discover-card {
    min-height: 178px;

    padding:
      13px 12px 47px;

    border-radius: 13px;
  }

  .hocdii-discover-icon {
    height: 49px;

    margin-bottom: 6px;
  }

  .svg-icon-badge {
    width: 41px;
    height: 41px;

    border-radius: 12px;
  }

  .svg-icon {
    width: 22px;
    height: 22px;
  }

  .hocdii-card-title {
    font-size: 15px;
  }

  .hocdii-card-text {
    font-size: 12px;

    line-height: 1.45;
  }

  .hocdii-card-arrow {
    right: 12px;
    bottom: 11px;

    width: 27px;
    height: 27px;

    font-size: 15px;
  }
}


/* =========================================
   MOBILE NHỎ
========================================= */

@media screen and (max-width: 430px) {

  .hocdii-discover-title {
    font-size: 19px;
  }

  .hocdii-discover-all {
    font-size: 12px;
  }

  .hocdii-discover-card {
    min-height: 182px;
  }

}
/* =========================================
   HOCDII - LUYỆN TIẾNG NHẬT THEO CẤP ĐỘ
========================================= */

.hocdii-levels {
  width: 100%;
  margin: 20px 0 28px;

  font-family:
    "Segoe UI",
    Arial,
    sans-serif;
}


/* =========================================
   HEADER
========================================= */

.hocdii-levels-head {
  display: flex;
  align-items: center;

  gap: 18px;

  margin-bottom: 11px;
}

.hocdii-levels-title {
  position: relative;

  flex: 0 0 auto;

  padding-left: 14px;

  color: #102a56;

  font-size: 24px;
  line-height: 1.2;

  font-weight: 800;
}

.hocdii-levels-title::before {
  content: "";

  position: absolute;

  left: 0;
  top: 2px;

  width: 6px;
  height: 27px;

  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      #1677ff 0%,
      #46a4ff 100%
    );
}

.hocdii-levels-desc {
  color: #74819a;

  font-size: 14px;
  line-height: 1.5;
}


/* =========================================
   GRID 6 ẢNH
========================================= */

.hocdii-levels-grid {
  display: grid;

  grid-template-columns:
    repeat(6, minmax(0, 1fr));

  gap: 8px;

  width: 100%;
}


/* =========================================
   CARD ẢNH
========================================= */

.hocdii-level-image {
  display: block;

  min-width: 0;

  overflow: hidden;

  border-radius: 12px;

  text-decoration: none !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.hocdii-level-image img {
  display: block;

  width: 100%;
  height: auto;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 12px;

  object-fit: cover;
}


/* =========================================
   HOVER
========================================= */

.hocdii-level-image:hover {
  transform: translateY(-2px);

  box-shadow:
    0 8px 18px
    rgba(20, 40, 80, 0.13);
}


/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 1024px) {

  .hocdii-levels-head {
    align-items: flex-start;

    flex-direction: column;

    gap: 5px;
  }

  .hocdii-levels-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 9px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 768px) {

  .hocdii-levels {
    margin:
      16px 0 24px;
  }

  .hocdii-levels-head {
    margin-bottom: 10px;
  }

  .hocdii-levels-title {
    font-size: 21px;
  }

  .hocdii-levels-title::before {
    top: 1px;

    height: 24px;
  }

  .hocdii-levels-desc {
    font-size: 12.5px;

    line-height: 1.5;
  }

  .hocdii-levels-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 8px;
  }

  .hocdii-level-image {
    border-radius: 10px;
  }

  .hocdii-level-image img {
    border-radius: 10px;
  }

}


/* =========================================
   MOBILE NHỎ
========================================= */

@media screen and (max-width: 430px) {

  .hocdii-levels-title {
    font-size: 19px;
  }

  .hocdii-levels-desc {
    font-size: 12px;
  }

}
/* =========================================
   HOCDII - ỨNG DỤNG HỌC TẬP NỔI BẬT
========================================= */

.hocdii-apps {
  width: 100%;
  margin: 22px 0 30px;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* HEAD */
.hocdii-apps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hocdii-apps-title {
  position: relative;
  padding-left: 14px;
  color: #102a56;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.hocdii-apps-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 6px;
  height: 27px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1677ff, #46a4ff);
}

.hocdii-apps-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1677ff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}

.hocdii-apps-all span {
  font-size: 20px;
}

/* GRID */
.hocdii-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

/* CARD */
.hocdii-app-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(30, 60, 100, .10);
  border-radius: 16px;
  background: #fff;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(20, 40, 80, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}

.hocdii-app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(20, 40, 80, .12);
}

.hocdii-app-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
  border: 0 !important;
  transition: transform .22s ease;
}

.hocdii-app-card:hover img {
  transform: scale(1.02);
}

/* TABLET */
@media screen and (max-width: 1024px) {
  .hocdii-apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */
@media screen and (max-width: 768px) {
  .hocdii-apps {
    margin: 18px 0 24px;
  }

  .hocdii-apps-head {
    gap: 8px;
  }

  .hocdii-apps-title {
    font-size: 21px;
  }

  .hocdii-apps-title::before {
    height: 24px;
  }

  .hocdii-apps-all {
    font-size: 12px;
  }

  .hocdii-apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
}

/* MOBILE NHỎ */
@media screen and (max-width: 430px) {
  .hocdii-apps-title {
    font-size: 19px;
  }

  .hocdii-apps-all {
    white-space: nowrap;
  }
}
/* =========================================
   HOCDII - STICKY HEADER PC
========================================= */

@media screen and (min-width: 1024px) {

  #header-container {
    position: sticky !important;
    top: 0 !important;
    z-index: 999999 !important;

    background: #ffffff !important;

    box-shadow:
      0 2px 10px rgba(20, 40, 80, 0.08);
  }

}
/* =========================================
   HOCDII - BÀI VIẾT MỚI NHẤT
========================================= */

.hocdii-latest-posts {
  margin: 22px 0 30px;
}

/* Danh sách thành grid 4 cột */
.hocdii-latest-posts.wp-block-latest-posts,
.hocdii-latest-posts .wp-block-latest-posts {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
}

/* từng bài */
.hocdii-latest-posts li {
  margin: 0 !important;
  padding: 0 0 12px !important;

  overflow: hidden;

  border: 1px solid #e6ebf2;
  border-radius: 14px;

  background: #fff;

  box-shadow:
    0 3px 10px rgba(20, 40, 80, 0.05);
}

/* ảnh */
.hocdii-latest-posts .wp-block-latest-posts__featured-image {
  margin: 0 0 10px !important;
}

.hocdii-latest-posts .wp-block-latest-posts__featured-image img {
  display: block;
  width: 100% !important;
  height: 140px !important;
  object-fit: cover;
  margin: 0 !important;
}

/* tiêu đề */
.hocdii-latest-posts li > a {
  display: block;
  padding: 0 12px;

  color: #102a56 !important;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;

  text-decoration: none !important;
}

/* mô tả */
.hocdii-latest-posts .wp-block-latest-posts__post-excerpt {
  padding: 0 12px;
  margin: 7px 0 0 !important;

  color: #667085;
  font-size: 12.5px;
  line-height: 1.5;
}

/* ngày */
.hocdii-latest-posts .wp-block-latest-posts__post-date {
  display: block;
  padding: 0 12px;
  margin-top: 8px;

  color: #98a2b3;
  font-size: 11px;
}

/* tablet */
@media screen and (max-width: 1024px) {
  .hocdii-latest-posts.wp-block-latest-posts,
  .hocdii-latest-posts .wp-block-latest-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================
   HOCDII - LATEST POSTS HOVER
========================================= */

.hocdii-latest-posts li {
  position: relative;
  cursor: pointer;

  transition:
    transform .20s ease,
    box-shadow .20s ease,
    border-color .20s ease,
    background .20s ease;
}

.hocdii-latest-posts li:hover {
  transform: translateY(-5px);

  border-color: #bcd7ff !important;

  background: #ffffff;

  box-shadow:
    0 12px 28px rgba(22, 119, 255, 0.13);
}

/* Ảnh zoom rất nhẹ */
.hocdii-latest-posts
.wp-block-latest-posts__featured-image {
  overflow: hidden;
}

.hocdii-latest-posts
.wp-block-latest-posts__featured-image img {
  transition: transform .25s ease;
}

.hocdii-latest-posts li:hover
.wp-block-latest-posts__featured-image img {
  transform: scale(1.035);
}

/* Tiêu đề đổi xanh khi hover card */
.hocdii-latest-posts li:hover > a {
  color: #1677ff !important;
}
/* =========================================
   HOCDII - HEADER BÀI VIẾT MỚI NHẤT
========================================= */

.hocdii-latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 22px 0 12px;
}

.hocdii-latest-title {
  position: relative;

  padding-left: 14px;

  color: #102a56;

  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.hocdii-latest-title::before {
  content: "";

  position: absolute;
  left: 0;
  top: 2px;

  width: 6px;
  height: 27px;

  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      #1677ff,
      #46a4ff
    );
}

.hocdii-latest-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: #1677ff !important;

  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;

  text-decoration: none !important;
}

.hocdii-latest-all span {
  font-size: 20px;
  line-height: 1;

  transition: transform .18s ease;
}

.hocdii-latest-all:hover span {
  transform: translateX(3px);
}

/* Mobile */
@media screen and (max-width: 768px) {

  .hocdii-latest-title {
    font-size: 21px;
  }

  .hocdii-latest-title::before {
    height: 24px;
  }

  .hocdii-latest-all {
    font-size: 12px;
  }
}
/* =========================================
   HOCDII - BÀI VIẾT MOBILE CUỘN NGANG
========================================= */
@media screen and (max-width: 768px) {

  /* 4 bài nằm trên cùng một hàng */
  .hocdii-latest-posts.wp-block-latest-posts,
  .hocdii-latest-posts .wp-block-latest-posts {
    display: flex !important;
    flex-wrap: nowrap !important;

    gap: 12px;

    overflow-x: auto !important;
    overflow-y: hidden;

    padding: 3px 3px 14px !important;
    margin: 0 !important;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
  }

  /* Ẩn thanh scrollbar */
  .hocdii-latest-posts.wp-block-latest-posts::-webkit-scrollbar,
  .hocdii-latest-posts .wp-block-latest-posts::-webkit-scrollbar {
    display: none;
  }

  /* Mỗi card */
  .hocdii-latest-posts li {
    flex: 0 0 78% !important;
    width: 78% !important;
    min-width: 78% !important;

    scroll-snap-align: start;

    margin: 0 !important;
  }

  /* Ảnh */
  .hocdii-latest-posts
  .wp-block-latest-posts__featured-image img {
    width: 100% !important;
    height: 180px !important;

    object-fit: cover;
  }

}
/* =========================================
   HOCDII - MOBILE FOOTER NAV
========================================= */
@media screen and (max-width: 768px) {

  /* Thanh menu dưới */
  .mobile-footer-menu-buttons {
    height: 64px !important;
    background: rgba(255,255,255,.97) !important;
    border-top: 1px solid #e6edf7 !important;
    box-shadow: 0 -4px 18px rgba(23,32,51,.08) !important;

    padding-bottom: env(safe-area-inset-bottom) !important;
    box-sizing: content-box !important;

    z-index: 99999 !important;
  }

  /* 4 nút chia đều */
  .mobile-footer-menu-buttons > li {
    width: 25% !important;
    flex: 0 0 25% !important;
  }

  .mobile-footer-menu-buttons > li > a {
    height: 64px !important;
    padding: 7px 2px 5px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 3px !important;

    color: #64748b !important;
    background: transparent !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;

    text-decoration: none !important;

    transition:
      color .18s ease,
      background .18s ease,
      transform .18s ease !important;
  }

  /* Icon Cocoon */
  .mobile-footer-menu-buttons .menu-icon {
    font-size: 21px !important;
    line-height: 1 !important;
    margin: 0 !important;

    color: #64748b !important;
  }

  /* Hover / chạm */
  .mobile-footer-menu-buttons > li > a:active {
    background: #eff6ff !important;
    color: #2563eb !important;
  }

  .mobile-footer-menu-buttons > li > a:active .menu-icon {
    color: #2563eb !important;
  }


  /* =====================================
     TRANG CHỦ - trạng thái nổi bật
  ===================================== */

  body.home
  .mobile-footer-menu-buttons
  a[href="#home"] {
    color: #2563eb !important;
    background: #eff6ff !important;
    border-radius: 12px !important;
    margin: 5px 6px !important;
    height: 54px !important;
    width: calc(100% - 12px) !important;
  }

  body.home
  .mobile-footer-menu-buttons
  a[href="#home"] .menu-icon {
    color: #2563eb !important;
  }


  /* =====================================
     ACCOUNT PANEL
  ===================================== */

  .hocdii-mobile-account-panel {
    position: fixed !important;

    left: 14px !important;
    right: 14px !important;

    bottom: calc(
      76px + env(safe-area-inset-bottom)
    ) !important;

    padding: 16px !important;

    background: #fff !important;

    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;

    box-shadow:
      0 12px 40px rgba(15,23,42,.18) !important;

    z-index: 999999 !important;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
      opacity .18s ease,
      transform .18s ease,
      visibility .18s ease;
  }

  .hocdii-mobile-account-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }


  /* Avatar + thông tin */
  .hocdii-mobile-account-info {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .hocdii-mobile-account-avatar {
    width: 46px !important;
    height: 46px !important;

    border-radius: 50% !important;
    object-fit: cover !important;

    border: 2px solid #dbeafe !important;
  }

  .hocdii-mobile-account-user {
    min-width: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    gap: 3px !important;
  }

  .hocdii-mobile-account-user strong {
    color: #172033 !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  .hocdii-mobile-account-user span {
    color: #64748b !important;
    font-size: 12px !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }


  /* Đăng xuất */
  .hocdii-mobile-account-logout {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 42px !important;

    margin-top: 14px !important;

    border-top: 1px solid #eef2f7 !important;
    padding-top: 12px !important;

    color: #dc2626 !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    text-decoration: none !important;
  }
}
/* HOCDII - Màu riêng icon Tài khoản mobile */
@media screen and (max-width: 768px) {

  .mobile-footer-menu-buttons > li:last-child .menu-icon {
    color: #0ea5a4 !important;
  }

}
/* =========================================
   HOCDII - MOBILE HEADER GỌN
========================================= */
@media screen and (max-width: 768px) {

  /* Ẩn menu lớn đang nằm dưới logo */
  #header-container .navi,
  #header-container .navi-in,
  #header-container .menu-header {
    display: none !important;
  }

  /* Header chỉ còn logo */
  #header,
  #header-in,
  .header-in {
    min-height: 0 !important;
  }

  /* Thu gọn khu vực logo */
  .logo-header {
    margin: 0 !important;
    padding: 10px 0 8px !important;
  }

  .logo-header img {
    max-height: 72px !important;
    width: auto !important;
  }

  /* Giảm khoảng trống dưới header */
  #content {
    margin-top: 0 !important;
  }
}
/* =========================================
   HOCDII - HOME MOBILE: KÉO NỘI DUNG LÊN
========================================= */
@media screen and (max-width: 768px) {

  body.home #content {
    margin-top: 0 !important;
  }

  body.home #main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.home #main article,
  body.home #main .article {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Banner đầu trang */
  body.home .hocdii-hero {
    margin-top: 0 !important;
  }
}
/* =========================================
   HOME - ẨN ARTICLE HEADER / TITLE THỪA
========================================= */

body.home header.article-header.entry-header {
  display: none !important;
}



  /* =====================================
     TÊN THƯƠNG HIỆU
  ===================================== */

  #navi-menu-content::before {
    content: "hocdii";
    display: block;

    padding: 27px 65px 4px 25px;

    color: #fff;

    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 31px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: -.8px;
  }

  #navi-menu-content::after {
    content: "Học rẻ hơn, học dễ hơn.";
    display: block;

    position: absolute;
    top: 63px;
    left: 26px;

    color: rgba(255,255,255,.72);

    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;

    pointer-events: none;
  }


  /* =====================================
     NÚT ĐÓNG
  ===================================== */

  #navi-menu-content .navi-menu-close-button {
    position: absolute !important;

    top: 20px !important;
    right: 20px !important;
    left: auto !important;

    width: 38px !important;
    height: 38px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 10px !important;

    background: rgba(255,255,255,.12) !important;

    color: #fff !important;

    font-size: 22px !important;

    z-index: 10;
  }


  /* =====================================
     DANH SÁCH MENU
  ===================================== */

  #navi-menu-content .menu-drawer {
    margin: 31px 18px 0 !important;
    padding: 0 !important;

    background: transparent !important;
  }

  #navi-menu-content .menu-drawer li {
    border: 0 !important;
    background: transparent !important;
  }


  /* Các mục chính */
  #navi-menu-content .menu-drawer > li > a {
    min-height: 49px !important;

    display: flex !important;
    align-items: center !important;

    padding: 0 14px !important;

    border-radius: 10px !important;

    color: rgba(255,255,255,.95) !important;
    background: transparent !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;

    text-decoration: none !important;

    transition:
      background .18s ease,
      transform .18s ease !important;
  }


  /* Chạm vào menu */
  #navi-menu-content .menu-drawer > li > a:active {
    background: rgba(255,255,255,.15) !important;
    transform: scale(.98);
  }


  /* =====================================
     SUBMENU JLPT / BJT
  ===================================== */

  #navi-menu-content .menu-drawer .sub-menu {
    margin: 0 5px 8px 42px !important;
    padding: 3px 0 5px 13px !important;

    border-left: 1px solid rgba(255,255,255,.22) !important;

    background: transparent !important;
  }

  #navi-menu-content .menu-drawer .sub-menu li {
    margin: 0 !important;
    padding: 0 !important;
  }

  #navi-menu-content .menu-drawer .sub-menu a {
    min-height: 35px !important;

    display: flex !important;
    align-items: center !important;

    padding: 5px 10px !important;

    color: rgba(255,255,255,.72) !important;
    background: transparent !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    border-radius: 7px !important;
  }

  #navi-menu-content .menu-drawer .sub-menu a:active {
    color: #fff !important;
    background: rgba(255,255,255,.12) !important;
  }


  /* =====================================
     ICON CHO CÁC MỤC CHÍNH
  ===================================== */

  #navi-menu-content .menu-drawer > li > a::before {
    width: 30px;
    flex: 0 0 30px;

    margin-right: 8px;

    font-family: FontAwesome;
    font-size: 18px;
    font-weight: normal;

    text-align: center;

    color: #fff;
  }

  /* Về Hocdii */
  #navi-menu-content .menu-drawer > li:nth-child(1) > a::before {
    content: "\f015";
  }

  /* Tiếng Nhật */
  #navi-menu-content .menu-drawer > li:nth-child(2) > a::before {
    content: "\f02d";
  }

  /* Luyện thi */
  #navi-menu-content .menu-drawer > li:nth-child(3) > a::before {
    content: "\f044";
  }

  /* Chứng chỉ */
  #navi-menu-content .menu-drawer > li:nth-child(4) > a::before {
    content: "\f19d";
  }

  /* Kiến thức */
  #navi-menu-content .menu-drawer > li:nth-child(5) > a::before {
    content: "\f02e";
  }

  /* Ứng dụng */
  #navi-menu-content .menu-drawer > li:nth-child(6) > a::before {
    content: "\f10b";
  }

  /* Tìm kiếm */
  #navi-menu-content .menu-drawer > li:nth-child(7) > a::before {
    content: "\f002";
  }

  /* Tài khoản / Login */
  #navi-menu-content .menu-drawer > li:nth-child(8) > a::before {
    content: "\f007";
  }


  /* =====================================
     CHIA NHÓM
  ===================================== */

  #navi-menu-content .menu-drawer > li:nth-child(3) {
    margin-top: 10px !important;
    padding-top: 10px !important;

    border-top:
      1px solid rgba(255,255,255,.14) !important;
  }

  #navi-menu-content .menu-drawer > li:nth-child(7) {
    margin-top: 10px !important;
    padding-top: 10px !important;

    border-top:
      1px solid rgba(255,255,255,.14) !important;
  }


  /* =====================================
     LOGIN / ACCOUNT
  ===================================== */

  #navi-menu-content .menu-drawer > li:nth-child(8) > a {
    margin-top: 8px !important;

    background: rgba(255,255,255,.12) !important;
    border: 1px solid rgba(255,255,255,.18) !important;

    color: #fff !important;
  }


  /* Scrollbar */
  #navi-menu-content {
    scrollbar-width: none;
  }

  #navi-menu-content::-webkit-scrollbar {
    display: none;
  }

/* ==================================================
   HOCDII - MOBILE SLIDE MENU NEW DESIGN
   ================================================== */
@media screen and (max-width: 768px) {

  /* Khung menu */
  #navi-menu-content.navi-menu-content {
    width: 84vw !important;
    max-width: 360px !important;
    height: 100dvh !important;

    padding: 0 0 26px !important;

    background:
      radial-gradient(
        circle at 88% 18%,
        rgba(178,255,120,.20) 0,
        rgba(178,255,120,0) 28%
      ),
      radial-gradient(
        circle at 72% 58%,
        rgba(126,240,115,.16) 0,
        rgba(126,240,115,0) 34%
      ),
      linear-gradient(
        160deg,
        #fbfffa 0%,
        #f3ffed 48%,
        #eaffdc 100%
      ) !important;

    box-shadow: 8px 0 30px rgba(40,80,55,.16) !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
  }

  #navi-menu-content::-webkit-scrollbar {
    display: none;
  }


  /* =====================================
     BRAND / LOGO
  ===================================== */

  .hocdii-mobile-menu-brand {
    position: relative;

    padding: 22px 70px 14px 22px;

    border-bottom: 1px solid rgba(40,90,70,.08);
  }

  .hocdii-mobile-menu-logo {
    width: 180px;
  }

  .hocdii-mobile-menu-logo img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 68px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .hocdii-mobile-menu-slogan {
    margin-top: 1px;

    color: #536276;

    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
  }


  /* =====================================
     CLOSE BUTTON
  ===================================== */

  #navi-menu-content .navi-menu-close-button {
    position: absolute !important;

    top: 18px !important;
    right: 18px !important;
    left: auto !important;

    width: 42px !important;
    height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(255,255,255,.76) !important;
    border: 1px solid rgba(38,80,75,.14) !important;

    border-radius: 12px !important;

    color: #27496d !important;

    font-size: 22px !important;

    box-shadow: 0 4px 12px rgba(25,65,55,.05) !important;

    z-index: 20;
  }


  /* =====================================
     MENU BASE
  ===================================== */

  #navi-menu-content .menu-drawer {
    margin: 9px 20px 0 !important;
    padding: 0 !important;

    background: transparent !important;
  }

  #navi-menu-content .menu-drawer li {
    border: 0 !important;
    background: transparent !important;
  }

  #navi-menu-content .menu-drawer > li {
    margin: 0 !important;
    padding: 0 !important;
  }


  /* Mục chính */
  #navi-menu-content .menu-drawer > li > a {
    min-height: 52px !important;

    display: flex !important;
    align-items: center !important;

    position: relative;

    padding: 0 38px 0 58px !important;

    border-radius: 12px !important;

    color: #274766 !important;
    background: transparent !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;

    text-decoration: none !important;

    transition:
      background .18s ease,
      transform .18s ease !important;
  }

  #navi-menu-content .menu-drawer > li > a:active {
    background: rgba(91,220,145,.10) !important;
    transform: scale(.985);
  }


  /* =====================================
     ICON BOX CHO MENU CHÍNH
  ===================================== */

  #navi-menu-content .menu-drawer > li > a::before {
    position: absolute;

    left: 7px;
    top: 50%;

    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(255,255,255,.60);
    border: 1px solid rgba(62,215,150,.14);

    font-family: FontAwesome;
    font-size: 19px;
    font-weight: normal;

    color: #18a978;

    box-shadow: 0 3px 10px rgba(48,140,95,.05);
  }


  /* Icon từng mục */
  #navi-menu-content .menu-drawer > li:nth-child(1) > a::before {
    content: "\f015";
  }

  #navi-menu-content .menu-drawer > li:nth-child(2) > a::before {
    content: "\f02d";
  }

  #navi-menu-content .menu-drawer > li:nth-child(3) > a::before {
    content: "\f044";
  }

  #navi-menu-content .menu-drawer > li:nth-child(4) > a::before {
    content: "\f19d";
  }

  #navi-menu-content .menu-drawer > li:nth-child(5) > a::before {
    content: "\f02e";
  }

  #navi-menu-content .menu-drawer > li:nth-child(6) > a::before {
    content: "\f10b";
  }

  #navi-menu-content .menu-drawer > li:nth-child(7) > a::before {
    content: "\f002";
  }

  #navi-menu-content .menu-drawer > li:nth-child(8) > a::before {
    content: "\f007";
  }


  /* =====================================
     MŨI TÊN BÊN PHẢI
  ===================================== */

  #navi-menu-content .menu-drawer > li > a::after {
    content: "\f105";

    position: absolute;
    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    font-family: FontAwesome;
    font-size: 17px;
    font-weight: normal;

    color: #365b77;
  }


  /* =====================================
     TIẾNG NHẬT / SUB MENU
  ===================================== */

  #navi-menu-content .menu-drawer > li:nth-child(2) > a {
    margin-bottom: 4px !important;
  }

  #navi-menu-content .menu-drawer > li:nth-child(2) > a::after {
    content: "\f106";
  }

  #navi-menu-content .menu-drawer .sub-menu {
    position: relative;

    margin: 0 0 12px 47px !important;
    padding: 3px 0 3px 20px !important;

    background: transparent !important;

    border-left: 1px solid rgba(41,170,120,.18) !important;
  }

  #navi-menu-content .menu-drawer .sub-menu li {
    position: relative;

    margin: 0 !important;
    padding: 0 !important;
  }

  #navi-menu-content .menu-drawer .sub-menu li::before {
    content: "";

    position: absolute;
    left: -25px;
    top: 50%;

    width: 7px;
    height: 7px;

    transform: translateY(-50%);

    background: #fff;

    border: 2px solid #57dcb2;
    border-radius: 50%;

    z-index: 2;
  }

  #navi-menu-content .menu-drawer .sub-menu a {
    min-height: 35px !important;

    display: flex !important;
    align-items: center !important;

    padding: 4px 8px !important;

    background: transparent !important;

    color: #53657b !important;

    font-size: 14px !important;
    font-weight: 500 !important;

    border-radius: 7px !important;

    text-decoration: none !important;
  }

  #navi-menu-content .menu-drawer .sub-menu a:active {
    background: rgba(70,215,145,.08) !important;
    color: #173f61 !important;
  }


  /* =====================================
     DIVIDER
  ===================================== */

  #navi-menu-content .menu-drawer > li:nth-child(3) {
    margin-top: 10px !important;
    padding-top: 10px !important;

    border-top: 1px solid rgba(47,120,90,.12) !important;
  }

  #navi-menu-content .menu-drawer > li:nth-child(7) {
    margin-top: 10px !important;
    padding-top: 10px !important;

    border-top: 1px solid rgba(47,120,90,.12) !important;
  }


  /* =====================================
     LOGIN / ACCOUNT BUTTON
  ===================================== */

  #navi-menu-content .menu-drawer > li:nth-child(8) {
    margin-top: 8px !important;
  }

  #navi-menu-content .menu-drawer > li:nth-child(8) > a {
    min-height: 58px !important;

    padding-left: 62px !important;

    background:
      linear-gradient(
        135deg,
        #56cf7d 0%,
        #48c76d 52%,
        #3eb85f 100%
      ) !important;

    border: 1px solid rgba(44,160,80,.18) !important;

    border-radius: 16px !important;

    color: #fff !important;

    box-shadow:
      0 7px 18px rgba(58,180,93,.18) !important;
  }

  #navi-menu-content .menu-drawer > li:nth-child(8) > a::before {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    color: #fff !important;

    font-size: 22px !important;
  }

  #navi-menu-content .menu-drawer > li:nth-child(8) > a::after {
    color: #fff !important;
  }

}
/* =========================================
   HOCDII - FIX MOBILE MENU LOGO
========================================= */
@media screen and (max-width: 768px) {

  .hocdii-mobile-menu-brand {
    height: 105px !important;
    min-height: 105px !important;
    max-height: 105px !important;

    box-sizing: border-box !important;

    padding: 16px 70px 12px 20px !important;
    margin: 0 !important;

    overflow: hidden !important;
  }

  .hocdii-mobile-menu-logo {
    width: 145px !important;
    height: 58px !important;
    max-height: 58px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
  }

  .hocdii-mobile-menu-logo a {
    display: block !important;

    width: 145px !important;
    height: 58px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .hocdii-mobile-menu-logo img {
    display: block !important;

    width: 145px !important;
    height: 58px !important;

    max-width: 145px !important;
    max-height: 58px !important;

    min-width: 0 !important;
    min-height: 0 !important;

    object-fit: contain !important;
    object-position: left center !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
  }

  .hocdii-mobile-menu-slogan {
    height: 17px !important;

    margin: 1px 0 0 !important;
    padding: 0 !important;

    font-size: 11px !important;
    line-height: 17px !important;

    color: #536276 !important;
  }

  #navi-menu-content .menu-drawer {
    margin-top: 8px !important;
  }

}
/* =========================================
   HOCDII - RESTORE MOBILE DRAWER CONTENT
========================================= */
@media screen and (max-width: 768px) {

  #navi-menu-content .menu-drawer {
    display: block !important;
    position: static !important;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 10px 20px 30px !important;
    padding: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;

    background: transparent !important;
  }

  #navi-menu-content .menu-drawer > li {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;
  }

  #navi-menu-content .menu-drawer > li > a {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 48px !important;

    padding: 10px 12px !important;

    color: #274766 !important;
    background: transparent !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    opacity: 1 !important;
    visibility: visible !important;

    text-decoration: none !important;
  }

  #navi-menu-content .menu-drawer .sub-menu {
    position: static !important;

    height: auto !important;

    margin: 0 0 8px 35px !important;
    padding: 0 0 0 15px !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
  }

  #navi-menu-content .menu-drawer .sub-menu li,
  #navi-menu-content .menu-drawer .sub-menu a {
    display: block !important;
    position: static !important;

    height: auto !important;

    opacity: 1 !important;
    visibility: visible !important;
  }

  #navi-menu-content .menu-drawer .sub-menu a {
    padding: 7px 10px !important;

    color: #53657b !important;

    font-size: 14px !important;
    line-height: 1.4 !important;
  }

}
/* ==========================================================
   HOCDII MOBILE DRAWER - FINAL VISUAL
========================================================== */
@media screen and (max-width: 768px) {

  /* ===== KHUNG MENU ===== */
  #navi-menu-content.navi-menu-content {
    width: 82vw !important;
    max-width: 350px !important;
    height: 100dvh !important;

    padding: 0 0 24px !important;

    background:
      radial-gradient(circle at 88% 20%,
        rgba(168,255,120,.20) 0 18%,
        transparent 42%),
      radial-gradient(circle at 80% 63%,
        rgba(72,225,150,.11) 0 18%,
        transparent 42%),
      linear-gradient(
        155deg,
        #ffffff 0%,
        #f7fff1 43%,
        #eaffdc 72%,
        #dfffbd 100%
      ) !important;

    box-shadow: 7px 0 28px rgba(24,53,72,.15) !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
  }


  /* ===== PHẦN LOGO ===== */
  .hocdii-mobile-menu-brand {
    position: relative !important;

    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;

    padding: 16px 65px 10px 20px !important;
    margin: 0 !important;

    overflow: hidden !important;
    box-sizing: border-box !important;

    border-bottom: 1px solid rgba(34,120,85,.08);
  }

  .hocdii-mobile-menu-logo {
    width: 150px !important;
    height: 63px !important;

    display: flex !important;
    align-items: center !important;

    margin: 0 !important;
  }

  .hocdii-mobile-menu-logo a {
    display: block !important;
    width: 150px !important;
    height: 63px !important;
  }

  .hocdii-mobile-menu-logo img {
    display: block !important;

    width: 150px !important;
    height: 63px !important;

    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 150px !important;
    max-height: 63px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: left center !important;
  }

  .hocdii-mobile-menu-slogan {
    margin: -1px 0 0 !important;

    color: #536276 !important;

    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 16px !important;
  }


  /* ===== NÚT X ===== */
  #navi-menu-content .navi-menu-close-button {
    position: absolute !important;

    top: 17px !important;
    right: 17px !important;
    left: auto !important;

    width: 40px !important;
    height: 40px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(255,255,255,.75) !important;

    border: 1px solid rgba(36,73,101,.15) !important;
    border-radius: 11px !important;

    color: #274766 !important;

    font-size: 20px !important;

    box-shadow: 0 3px 10px rgba(31,63,78,.05);

    z-index: 50;
  }


  /* ===== DANH SÁCH ===== */
  #navi-menu-content .menu-drawer {
    display: block !important;

    width: auto !important;

    margin: 8px 16px 22px !important;
    padding: 0 !important;

    background: transparent !important;

    opacity: 1 !important;
    visibility: visible !important;
  }

  #navi-menu-content .menu-drawer > li {
    display: block !important;
    position: relative !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;
  }


  /* ===== MỤC CHÍNH ===== */
  #navi-menu-content .menu-drawer > li > a {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 48px !important;

    padding:
      5px 30px 5px 52px !important;

    box-sizing: border-box !important;

    color: #294866 !important;
    background: transparent !important;

    border-radius: 11px !important;

    font-family:
      "Segoe UI", Arial, sans-serif !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;

    text-decoration: none !important;
  }


  /* ===== Ô ICON ===== */
  #navi-menu-content
  .menu-drawer > li > a::before {

    position: absolute;

    left: 4px;
    top: 50%;

    transform: translateY(-50%);

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border-radius: 10px;

    background: rgba(255,255,255,.68);

    border:
      1px solid rgba(47,205,145,.11);

    font-family: FontAwesome;
    font-size: 18px;
    font-weight: normal;

    color: #16a878;

    box-shadow:
      0 3px 10px rgba(30,150,100,.04);
  }


  /* Về Hocdii */
  #navi-menu-content
  #menu-item-77 > a::before {
    content: "\f015";
  }

  /* Tiếng Nhật */
  #navi-menu-content
  #menu-item-48 > a::before {
    content: "\f02d";
  }

  /* Luyện thi */
  #navi-menu-content
  #menu-item-47 > a::before {
    content: "\f044";
  }

  /* Chứng chỉ */
  #navi-menu-content
  #menu-item-46 > a::before {
    content: "\f19d";
  }

  /* Kiến thức */
  #navi-menu-content
  #menu-item-44 > a::before {
    content: "\f02e";
  }

  /* Ứng dụng */
  #navi-menu-content
  #menu-item-45 > a::before {
    content: "\f10b";
  }

  /* Tìm kiếm */
  #navi-menu-content
  #menu-item-69 > a::before {
    content: "\f002";
  }

  /* Tài khoản */
  #navi-menu-content
  #menu-item-70 > a::before {
    content: "\f007";
  }


  /* ===== MŨI TÊN PHẢI ===== */
  #navi-menu-content
  .menu-drawer > li > a::after {

    content: "\f105";

    position: absolute;

    right: 7px;
    top: 50%;

    transform: translateY(-50%);

    font-family: FontAwesome;
    font-size: 17px;
    font-weight: normal;

    color: #365b77;
  }


  /* Tiếng Nhật đang mở -> mũi tên lên */
  #navi-menu-content
  #menu-item-48 > a::after {

    content: "\f106";
  }


  /* ===== JLPT SUBMENU ===== */
  #navi-menu-content
  #menu-item-48 > .sub-menu {

    position: relative !important;

    width: auto !important;
    height: auto !important;

    margin:
      0 0 9px 44px !important;

    padding:
      1px 0 3px 19px !important;

    border-left:
      1px solid rgba(35,177,123,.18) !important;

    background: transparent !important;

    opacity: 1 !important;
    visibility: visible !important;
  }


  #navi-menu-content
  #menu-item-48 > .sub-menu > li {

    display: block !important;
    position: relative !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;
  }


  /* Chấm JLPT */
  #navi-menu-content
  #menu-item-48 > .sub-menu > li::before {

    content: "";

    position: absolute;

    left: -24px;
    top: 50%;

    width: 7px;
    height: 7px;

    transform: translateY(-50%);

    box-sizing: border-box;

    background: #f8fff5;

    border: 2px solid #55dbae;

    border-radius: 50%;

    z-index: 2;
  }


  #navi-menu-content
  #menu-item-48 > .sub-menu > li > a {

    display: flex !important;
    align-items: center !important;

    min-height: 31px !important;
    height: auto !important;

    padding: 3px 5px !important;

    color: #53677e !important;
    background: transparent !important;

    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;

    text-decoration: none !important;

    opacity: 1 !important;
    visibility: visible !important;
  }


  /* ===== DIVIDER 1 ===== */
  #navi-menu-content #menu-item-47 {

    margin-top: 7px !important;
    padding-top: 8px !important;

    border-top:
      1px solid rgba(37,130,92,.11) !important;
  }


  /* ===== DIVIDER 2 ===== */
  #navi-menu-content #menu-item-69 {

    margin-top: 7px !important;
    padding-top: 8px !important;

    border-top:
      1px solid rgba(37,130,92,.11) !important;
  }


  /* ===== LOGIN / ACCOUNT ===== */
  #navi-menu-content #menu-item-70 {

    margin-top: 6px !important;
  }

  #navi-menu-content #menu-item-70 > a {

    min-height: 54px !important;

    padding-left: 57px !important;

    background:
      linear-gradient(
        135deg,
        #57cf7d 0%,
        #48c86d 55%,
        #3fbb62 100%
      ) !important;

    border-radius: 14px !important;

    color: #fff !important;

    box-shadow:
      0 6px 16px rgba(57,175,91,.16);
  }

  #navi-menu-content
  #menu-item-70 > a::before {

    background: transparent !important;
    border: 0 !important;

    color: #fff !important;

    box-shadow: none !important;

    font-size: 21px !important;
  }

  #navi-menu-content
  #menu-item-70 > a::after {

    color: #fff !important;
  }


  /* ===== TOUCH ===== */
  #navi-menu-content
  .menu-drawer > li > a:active {

    background:
      rgba(64,205,132,.10) !important;
  }

  #navi-menu-content
  #menu-item-70 > a:active {

    opacity: .9 !important;
  }

}
/* =========================================
   HOCDII - MOBILE MENU TOP BRAND TEXT
========================================= */
@media screen and (max-width: 768px) {

  #navi-menu-content::before {
    content: "hocdii.com" !important;

    display: inline-block !important;

    color: transparent !important;

    background:
      linear-gradient(
        100deg,
        #123f88 0%,
        #126bc5 38%,
        #16b8c8 68%,
        #38c976 100%
      ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;

    letter-spacing: -0.8px !important;

    text-shadow:
      0 2px 8px rgba(18, 107, 197, .08) !important;
  }
}
/* =========================================
   HOCDII - MOBILE AUTO SUBMENU
========================================= */
@media screen and (max-width: 768px) {

  /* -----------------------------------------
     MỤC KHÔNG CÓ MENU CON
     → không hiển thị mũi tên
  ----------------------------------------- */

  #navi-menu-content
  .menu-drawer > li:not(.menu-item-has-children) > a::after {
    display: none !important;
    content: none !important;
  }


  /* -----------------------------------------
     MỤC CÓ MENU CON
  ----------------------------------------- */

  #navi-menu-content
  .menu-drawer li.menu-item-has-children {
    position: relative !important;
  }

  /* Xóa mũi tên giả cũ */
  #navi-menu-content
  .menu-drawer li.menu-item-has-children > a::after {
    display: none !important;
    content: none !important;
  }

  /* Chừa vùng bên phải cho nút */
  #navi-menu-content
  .menu-drawer li.menu-item-has-children > a {
    padding-right: 48px !important;
    cursor: pointer !important;
  }


  /* -----------------------------------------
     NÚT MŨI TÊN
  ----------------------------------------- */

  #navi-menu-content
  .hocdii-submenu-toggle {
    position: absolute !important;

    top: 4px !important;
    right: 2px !important;

    width: 40px !important;
    height: 40px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    outline: 0 !important;

    border-radius: 10px !important;

    background: transparent !important;
    box-shadow: none !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    cursor: pointer !important;

    z-index: 5 !important;
  }


  /* Mũi tên > */
  #navi-menu-content
  .hocdii-submenu-toggle::before {
    content: "\f105";

    display: block;

    font-family: FontAwesome;
    font-size: 17px;
    font-weight: normal;

    color: #35627b;

    transform: rotate(0deg);

    transition:
      transform .22s ease,
      color .18s ease;
  }


  /* Bỏ viền đen khi bấm */
  #navi-menu-content
  .hocdii-submenu-toggle:focus,
  #navi-menu-content
  .hocdii-submenu-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }


  /* -----------------------------------------
     SUBMENU MẶC ĐỊNH ĐÓNG
  ----------------------------------------- */

  #navi-menu-content
  .menu-drawer
  li.menu-item-has-children:not(.hocdii-submenu-open)
  > .sub-menu {
    display: none !important;
  }


  /* -----------------------------------------
     SUBMENU ĐANG MỞ
  ----------------------------------------- */

  #navi-menu-content
  .menu-drawer
  li.menu-item-has-children.hocdii-submenu-open
  > .sub-menu {
    display: block !important;
  }


  /* > xoay xuống khi mở */
  #navi-menu-content
  .menu-drawer
  li.menu-item-has-children.hocdii-submenu-open
  > .hocdii-submenu-toggle::before {
    transform: rotate(90deg);
    color: #18a978;
  }


  /* Feedback nhẹ khi chạm */
  #navi-menu-content
  .menu-drawer
  li.menu-item-has-children > a:active {
    background: rgba(40, 200, 125, .08) !important;
  }

}
/* =========================================
   HOCDII - MOBILE AUTO SUBMENU FINAL
========================================= */
@media screen and (max-width: 768px) {

  /* =====================================
     MENU CÓ MỤC CON
  ===================================== */

  #navi-menu-content
  .menu-drawer li.menu-item-has-children {
    position: relative !important;
  }

  /* Cả dòng menu cha có thể bấm */
  #navi-menu-content
  .menu-drawer li.menu-item-has-children > a {
    position: relative !important;
    padding-right: 50px !important;
    cursor: pointer !important;
  }

  /* Xóa mũi tên giả cũ */
  #navi-menu-content
  .menu-drawer li.menu-item-has-children > a::after {
    display: none !important;
    content: none !important;
  }


  /* =====================================
     MENU KHÔNG CÓ MỤC CON
     → KHÔNG CÓ MŨI TÊN
  ===================================== */

  #navi-menu-content
  .menu-drawer > li:not(.menu-item-has-children) > a::after {
    display: none !important;
    content: none !important;
  }


  /* =====================================
     NÚT MŨI TÊN
  ===================================== */

  #navi-menu-content
  .hocdii-submenu-toggle {
    position: absolute !important;

    top: 4px !important;
    right: 2px !important;

    width: 42px !important;
    height: 40px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    outline: 0 !important;

    border-radius: 10px !important;

    background: transparent !important;
    box-shadow: none !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    cursor: pointer !important;

    z-index: 10 !important;
  }


  /* Mũi tên > */
  #navi-menu-content
  .hocdii-submenu-toggle::before {
    content: "\f105";

    font-family: FontAwesome !important;
    font-size: 17px !important;
    font-weight: normal !important;

    color: #35627b !important;

    transform: rotate(0deg);

    transition:
      transform .22s ease,
      color .18s ease;
  }


  /* Không hiện khung đen khi bấm */
  #navi-menu-content
  .hocdii-submenu-toggle:focus,
  #navi-menu-content
  .hocdii-submenu-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }


  /* =====================================
     TRẠNG THÁI ĐÓNG
  ===================================== */

  #navi-menu-content
  .menu-drawer
  li.menu-item-has-children:not(.hocdii-submenu-open)
  > .sub-menu {
    display: none !important;
  }


  /* =====================================
     TRẠNG THÁI MỞ
  ===================================== */

  #navi-menu-content
  .menu-drawer
  li.menu-item-has-children.hocdii-submenu-open
  > .sub-menu {
    display: block !important;
  }


  /* Xoay mũi tên khi mở */
  #navi-menu-content
  .menu-drawer
  li.menu-item-has-children.hocdii-submenu-open
  > .hocdii-submenu-toggle::before {
    transform: rotate(90deg) !important;
    color: #18a978 !important;
  }


  /* Hiệu ứng khi chạm */
  #navi-menu-content
  .menu-drawer
  li.menu-item-has-children > a:active {
    background: rgba(40, 200, 125, .08) !important;
  }

}
/* =========================================
   HOCDII - PARENT MENU FULL CLICK AREA
========================================= */
@media screen and (max-width: 768px) {

  #navi-menu-content
  .menu-drawer
  li.menu-item-has-children {
    position: relative !important;
  }

  #navi-menu-content
  .menu-drawer
  li.menu-item-has-children > a {

    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 48px !important;

    padding-right: 52px !important;

    cursor: pointer !important;
  }

}
/* =========================================
   HOCDII - MOBILE BOTTOM NAV MINT STYLE
========================================= */
@media screen and (max-width: 768px) {

  /* Thanh menu tổng */
  .mobile-footer-menu-buttons {
    background:
      linear-gradient(
        180deg,
        rgba(250,255,248,.98) 0%,
        rgba(238,255,231,.98) 100%
      ) !important;

    border-top:
      1px solid rgba(46,170,110,.12) !important;

    box-shadow:
      0 -6px 20px rgba(31,92,70,.08) !important;
  }


  /* Từng mục */
  .mobile-footer-menu-buttons > li {
    border: 0 !important;
    background: transparent !important;
  }


  /* Link */
  .mobile-footer-menu-buttons > li > a {
    margin: 4px 5px !important;
    padding: 5px 4px !important;

    border-radius: 14px !important;

    background: transparent !important;

    color: #4f6478 !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;

    transition:
      background .18s ease,
      color .18s ease,
      transform .15s ease,
      box-shadow .18s ease !important;
  }


  /* Icon chung */
  .mobile-footer-menu-buttons .menu-icon {
    font-size: 20px !important;

    color: #159d78 !important;

    transition:
      transform .18s ease,
      color .18s ease !important;
  }


  /* ===== MENU ===== */
  .mobile-footer-menu-buttons
  .navi-menu-button > a {

    color: #294866 !important;
  }

  .mobile-footer-menu-buttons
  .navi-menu-button > a .menu-icon {

    color: #149e7b !important;
  }


  /* ===== TRANG CHỦ ACTIVE ===== */
  body.home
  .mobile-footer-menu-buttons
  a[href="#home"] {

    background:
      linear-gradient(
        145deg,
        #dfffd5 0%,
        #c9f7bd 100%
      ) !important;

    color: #176d55 !important;

    box-shadow:
      0 3px 10px rgba(53,170,100,.13) !important;
  }

  body.home
  .mobile-footer-menu-buttons
  a[href="#home"] .menu-icon {

    color: #14a978 !important;
    transform: translateY(-1px) scale(1.05);
  }


  /* ===== SEARCH ===== */
  .mobile-footer-menu-buttons
  .search-menu-button > a {

    color: #375a70 !important;
  }

  .mobile-footer-menu-buttons
  .search-menu-button > a .menu-icon {

    color: #2d7f88 !important;
  }


  /* ===== ACCOUNT ===== */
  .mobile-footer-menu-buttons
  > li:last-child > a {

    color: #23756b !important;
  }

  .mobile-footer-menu-buttons
  > li:last-child > a .menu-icon {

    color: #10a792 !important;
  }


  /* Khi bấm */
  .mobile-footer-menu-buttons > li > a:active {

    transform: scale(.94) !important;

    background:
      rgba(207,249,194,.75) !important;
  }


  /* Xóa đường chia cũ */
  .mobile-footer-menu-buttons > li + li {
    border-left: 0 !important;
  }

}
/* =========================================
   HOCDII - MOBILE FOOTER ICON UPGRADE
========================================= */
@media screen and (max-width: 768px) {

  /* Icon chung: thành badge mềm */
  .mobile-footer-menu-buttons .menu-icon {
    width: 34px !important;
    height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 auto 2px !important;

    border-radius: 11px !important;

    background:
      linear-gradient(
        145deg,
        rgba(255,255,255,.95),
        rgba(242,251,246,.95)
      ) !important;

    border:
      1px solid rgba(40,150,105,.10) !important;

    box-shadow:
      0 3px 9px rgba(25,80,70,.07) !important;

    font-size: 17px !important;
    line-height: 1 !important;

    transition:
      transform .18s ease,
      box-shadow .18s ease,
      background .18s ease !important;
  }


  /* MENU */
  .mobile-footer-menu-buttons
  .navi-menu-button .menu-icon {
    color: #3d6f91 !important;

    background:
      linear-gradient(
        145deg,
        #f4f9ff,
        #eaf3ff
      ) !important;
  }


  /* HOME */
  body.home
  .mobile-footer-menu-buttons
  a[href="#home"] .menu-icon {

    color: #ffffff !important;

    background:
      linear-gradient(
        145deg,
        #4fd38a,
        #25b874
      ) !important;

    box-shadow:
      0 4px 11px rgba(40,180,110,.22) !important;

    transform: translateY(-1px);
  }


  /* SEARCH */
  .mobile-footer-menu-buttons
  .search-menu-button .menu-icon {
    color: #2b7d8c !important;

    background:
      linear-gradient(
        145deg,
        #f3fbfc,
        #e7f6f8
      ) !important;
  }


  /* ACCOUNT */
  .mobile-footer-menu-buttons
  > li:last-child .menu-icon {

    color: #11967f !important;

    background:
      linear-gradient(
        145deg,
        #effcf6,
        #ddf7ea
      ) !important;
  }


  /* Khi chạm */
  .mobile-footer-menu-buttons
  > li > a:active .menu-icon {

    transform: scale(.92) !important;

    box-shadow:
      0 2px 6px rgba(25,80,70,.10) !important;
  }

}
/* =========================================
   HOCDII - ACCOUNT TRONG MENU TRÁI
========================================= */
@media screen and (max-width: 768px) {

  #navi-menu-content
  .hocdii-drawer-account-detail {

    display: none;

    margin:
      -2px 8px 10px !important;

    padding:
      12px 14px 13px !important;

    background:
      rgba(255,255,255,.72) !important;

    border:
      1px solid rgba(33,150,105,.12) !important;

    border-radius:
      0 0 14px 14px !important;

    box-shadow:
      0 5px 14px
      rgba(30,100,70,.07) !important;
  }


  /* Khi mở */
  #navi-menu-content
  .hocdii-user-menu.hocdii-account-expanded
  .hocdii-drawer-account-detail {

    display: block !important;
  }


  /* Email */
  #navi-menu-content
  .hocdii-drawer-account-email {

    padding:
      3px 2px 11px !important;

    color:
      #53677e !important;

    font-size:
      12.5px !important;

    line-height:
      1.4 !important;

    word-break:
      break-all;
  }


  /* Đăng xuất */
  #navi-menu-content
  .hocdii-drawer-account-logout {

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    height:
      39px !important;

    background:
      #fff !important;

    border:
      1px solid #f2caca !important;

    border-radius:
      10px !important;

    color:
      #d83a3a !important;

    font-size:
      14px !important;

    font-weight:
      700 !important;

    text-decoration:
      none !important;
  }


  #navi-menu-content
  .hocdii-drawer-account-logout:active {

    background:
      #fff2f2 !important;
  }

}

/* =========================================
   HOCDII - PROFESSIONAL FOOTER FINAL
========================================= */

.hocdii-footer-extra {
  width: 100%;
  padding: 30px 20px 24px;
  background: #f3f4f6;
  border-top: 1px solid #e2e8ec;
  box-sizing: border-box;
}

.hocdii-footer-extra-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
   TOP
========================= */

.hocdii-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* LEFT */

.hocdii-footer-about {
  flex: 1 1 auto;
}

.hocdii-footer-name {
  color: #274766;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.4px;
}

.hocdii-footer-slogan {
  margin-top: 5px;
  color: #18a978;
  font-size: 14px;
  font-weight: 700;
}

.hocdii-footer-description {
  max-width: 520px;
  margin-top: 8px;
  color: #6d7c89;
  font-size: 13px;
  line-height: 1.65;
}

/* =========================
   RIGHT CONTACT
========================= */

.hocdii-footer-contact {
  flex: 0 0 auto;
  min-width: 360px;
  text-align: left;
}

.hocdii-footer-contact-title {
  color: #274766;
  font-size: 17px;
  font-weight: 800;
}

.hocdii-footer-contact-note {
  margin-top: 5px;
  color: #7d8a96;
  font-size: 12px;
  font-weight: 600;
}

.hocdii-footer-contact-note span {
  margin: 0 6px;
  color: #aeb7bf;
}

/* =========================
   ICON ROW
========================= */

.hocdii-footer-contact-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.hocdii-footer-social {
  min-width: 102px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 0 12px;

  background: #ffffff;

  border: 1px solid #e3eaee;
  border-radius: 12px;

  color: #294866 !important;
  text-decoration: none !important;

  box-shadow:
    0 5px 14px
    rgba(39, 71, 102, .07);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.hocdii-footer-social:hover {
  transform: translateY(-2px);

  background: #ffffff;

  box-shadow:
    0 9px 20px
    rgba(39, 71, 102, .12);
}

.hocdii-footer-social img {
  width: 25px;
  height: 25px;

  display: block;
  object-fit: contain;

  flex-shrink: 0;
}

.hocdii-footer-social span {
  font-size: 12.5px;
  font-weight: 700;
}

/* =========================
   BOTTOM
========================= */

.hocdii-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-top: 24px;
  padding-top: 17px;

  border-top: 1px solid #dde5e9;
}

.hocdii-footer-copyright {
  color: #7b8996;
  font-size: 12px;
}

.hocdii-footer-copyright span {
  margin: 0 5px;
  color: #b2bcc5;
}

/* DMCA */

.hocdii-footer-dmca {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.hocdii-footer-dmca img {
  width: 150px;
  height: auto;

  display: block;
  border: 0;

  opacity: .92;

  transition:
    opacity .18s ease,
    transform .18s ease;
}

.hocdii-footer-dmca:hover img {
  opacity: 1;
  transform: translateY(-1px);
}

/* =========================
   TABLET
========================= */

@media screen and (max-width: 900px) {

  .hocdii-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hocdii-footer-contact {
    width: 100%;
    min-width: 0;
  }

}

/* =========================
   MOBILE
========================= */

@media screen and (max-width: 768px) {

  .hocdii-footer-extra {
    padding:
      24px 16px
      calc(88px + env(safe-area-inset-bottom));
  }

  .hocdii-footer-name {
    font-size: 20px;
  }

  .hocdii-footer-description {
    font-size: 12.5px;
  }

  .hocdii-footer-contact-title {
    font-size: 16px;
  }

  .hocdii-footer-contact-icons {
    gap: 8px;
  }

  .hocdii-footer-social {
    min-width: 0;
    flex: 1;

    height: 46px;

    padding: 0 8px;

    border-radius: 11px;
  }

  .hocdii-footer-social img {
    width: 24px;
    height: 24px;
  }

  .hocdii-footer-social span {
    font-size: 11.5px;
  }

  .hocdii-footer-bottom {
    flex-direction: column;
    align-items: flex-start;

    gap: 12px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 768px) {

  .hocdii-footer-extra {
    padding:
      24px 20px
      calc(88px + env(safe-area-inset-bottom));
  }


  .hocdii-footer-name {
    font-size: 19px;
  }


  .hocdii-footer-description {
    font-size: 12.5px;

    line-height: 1.6;
  }


  .hocdii-footer-bottom {
    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

    margin-top: 18px;
    padding-top: 15px;
  }


  .hocdii-footer-dmca img {
    width: 86px;
  }

}
/* =========================================
   HOCDII - HIDE MOBILE ACCOUNT ON DESKTOP
========================================= */

@media screen and (min-width: 769px) {

  .hocdii-mobile-account-panel {
    display: none !important;
  }

}

/* =========================================
   HOCDII - FOOTER BACKGROUND FIX
========================================= */

#footer,
.footer,
.footer-in,
.footer-bottom,
.footer-bottom-content {
  background: #f3f4f6 !important;
}

/* ========================================
   HOCDII - FLOATING CONTACT FINAL
======================================== */

.hocdii-contact-widget {
  position: fixed;
  right: 18px;
  bottom: 250px;
  z-index: 99999;

  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 14px;
}

/* =========================
   Nút floating chính
========================= */
.hocdii-contact-toggle {
  position: relative;
  width: 68px;
  height: 68px;

  border: 2px solid #173142;
  border-radius: 50%;
  overflow: hidden;

  background: #7ed957; /* xanh lá mạ */
  box-shadow: 0 12px 26px rgba(21, 78, 68, 0.28);

  padding: 0;
  margin: 0;

  cursor: pointer;
  appearance: none;
  outline: none;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.hocdii-contact-toggle-icon {
  position: absolute;
  inset: 0; /* sát ra ngoài viền */
  border-radius: 50%;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #7ed957; /* xanh lá mạ */
}

.hocdii-contact-toggle-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
}

.hocdii-contact-toggle-icon img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center center;

  border-radius: 50%;
}

/* =========================
   Panel contact
========================= */
.hocdii-contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(10px) scale(.96);
  transform-origin: bottom right;

  transition:
    opacity .22s ease,
    transform .22s ease,
    visibility .22s ease;
}

.hocdii-contact-widget.is-open .hocdii-contact-links {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* =========================
   Từng item
========================= */
.hocdii-contact-link {
  width: 180px;
  min-height: 58px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 14px 10px 12px;
  box-sizing: border-box;

  border-radius: 18px;
  text-decoration: none !important;

  background: linear-gradient(180deg, #ffffff 0%, #f4f6f7 100%);
  box-shadow: 0 10px 22px rgba(22, 43, 59, 0.12);

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.hocdii-contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(22, 43, 59, 0.16);
}

/* icon box */
.hocdii-contact-link-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;

  border-radius: 14px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

.hocdii-contact-link-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* nền từng item */
.hocdii-contact-link.is-email .hocdii-contact-link-icon {
  background: linear-gradient(145deg, #fff2de 0%, #ffd79c 100%);
}

.hocdii-contact-link.is-zalo .hocdii-contact-link-icon {
  background: linear-gradient(145deg, #e7f2ff 0%, #bedcff 100%);
}

.hocdii-contact-link.is-line .hocdii-contact-link-icon {
  background: linear-gradient(145deg, #e4ffe8 0%, #bef3c6 100%);
}

/* text */
.hocdii-contact-link-content {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.hocdii-contact-link-title {
  color: #2b4967;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.2px;
}

.hocdii-contact-link-subtitle {
  margin-top: 3px;
  color: #788897;
  font-size: 11px;
  font-weight: 600;
}

/* =========================
   Mobile
========================= */
@media screen and (max-width: 768px) {
  .hocdii-contact-widget {
    right: 12px;
    bottom: 220px;
    gap: 10px;
  }

  .hocdii-contact-toggle {
    width: 62px;
    height: 62px;
  }

  .hocdii-contact-toggle-icon {
    inset: 0;
  }
}

  .hocdii-contact-link {
    width: 168px;
    min-height: 56px;
    border-radius: 16px;
    padding: 9px 12px 9px 10px;
    gap: 10px;
  }

  .hocdii-contact-link-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 13px;
  }

  .hocdii-contact-link-title {
    font-size: 14px;
  }

  .hocdii-contact-link-subtitle {
    font-size: 10px;
  }
/* ========================================
   HOCDII - FLOATING DRAG + HOVER
======================================== */

.hocdii-contact-toggle {
  touch-action: none;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}


/* Hover desktop */
@media screen and (hover: hover) {

  .hocdii-contact-toggle:hover {
    transform: scale(1.12);

    box-shadow:
      0 18px 34px
      rgba(17, 116, 84, .34);

    filter:
      brightness(1.05)
      saturate(1.08);
  }

}


/* Khi đang kéo */
.hocdii-contact-widget.is-dragging
.hocdii-contact-toggle {
  transform: scale(1.08);

  cursor: grabbing;

  box-shadow:
    0 18px 38px
    rgba(17, 116, 84, .38);

  transition: none;
}


.hocdii-contact-toggle {
  cursor: grab;
}
.hocdii-contact-toggle {
  touch-action: none !important;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.hocdii-contact-widget.is-dragging
.hocdii-contact-toggle {
  cursor: grabbing;
}
/* ========================================
   HOCDII - DRAG FULL SCREEN FIX
======================================== */

/* Widget chỉ chiếm diện tích nút tròn */
.hocdii-contact-widget {
  width: 68px !important;
  height: 68px !important;

  display: block !important;
}

/* Menu liên hệ không chiếm diện tích widget */
.hocdii-contact-links {
  position: absolute !important;

  right: 0 !important;
  top: calc(100% + 14px) !important;
  bottom: auto !important;

  width: max-content;

  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
}

/* Nút chính nằm đúng trong widget */
.hocdii-contact-toggle {
  position: absolute !important;

  left: 0 !important;
  top: 0 !important;

  width: 68px;
  height: 68px;
}


/* MOBILE */
@media screen and (max-width: 768px) {

  .hocdii-contact-widget {
    width: 42px !important;
    height: 42px !important;
  }

  .hocdii-contact-toggle {
    width: 42px;
    height: 42px;
  }

  .hocdii-contact-links {
    bottom: calc(100% + 10px) !important;
  }

}
/* =========================================
   HOCDII - FOOTER COPYRIGHT NOTE
========================================= */

.hocdii-footer-copyright-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hocdii-footer-copyright-note {
  max-width: 560px;

  color: #8a98a5;

  font-size: 11px;
  line-height: 1.55;
}
/* =========================================
   HOCDII - CENTER DMCA UNDER CONTACT
========================================= */

.hocdii-footer-bottom {
  position: relative;
}

.hocdii-footer-dmca {
  position: absolute;

  right: 70px;
  top: 18px;

  transform: translateX(-50%);
}
/* =========================================
   HOCDII - FIX DMCA MOBILE
========================================= */
@media screen and (max-width: 768px) {

  .hocdii-footer-bottom {
    position: static !important;
  }

  .hocdii-footer-dmca {
    position: static !important;

    right: auto !important;
    top: auto !important;

    transform: none !important;

    display: flex !important;
    justify-content: center !important;

    width: 100% !important;

    margin-top: 12px !important;
  }

  .hocdii-footer-dmca img {
    width: 110px !important;
    height: auto !important;
  }

}
/* =========================================
   HOCDII - KHAM PHA NOI DUNG FINAL
========================================= */

.hocdii-feature-grid {
  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 12px;
}


/* CARD */

.hocdii-feature-card {
  position: relative;

  min-height: 190px;

  padding:
    18px
    16px
    18px;

  box-sizing: border-box;

  border:
    1px solid
    rgba(39, 71, 102, .10);

  border-radius: 16px;

  text-decoration: none !important;

  box-shadow:
    0 4px 12px
    rgba(39, 71, 102, .04);

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}


.hocdii-feature-card:hover {
  transform:
    translateY(-4px);

  box-shadow:
    0 10px 24px
    rgba(39, 71, 102, .10);
}


/* ICON */

.hocdii-feature-icon {
  width: 66px;
  height: 66px;

  margin:
    0 auto
    12px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  background:
    rgba(255,255,255,.65);

  box-shadow:
    0 4px 12px
    rgba(39, 71, 102, .06);

  overflow: hidden;
}


.hocdii-feature-icon img {
  width: 52px;
  height: 52px;

  display: block;

  object-fit: contain;
}


/* TITLE */

.hocdii-feature-title {
  margin:
    0
    0
    8px;

  color: #173f6a;

  text-align: center;

  font-size: 16px;
  font-weight: 800;

  line-height: 1.35;
}


/* DESC */

.hocdii-feature-desc {
  margin: 0;

  color: #68798b;

  text-align: center;

  font-size: 12.5px;

  line-height: 1.55;
}


/* ARROW */

.hocdii-feature-arrow {
  position: absolute;

  right: 12px;
  bottom: 12px;

  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    rgba(255,255,255,.78);

  box-shadow:
    0 3px 9px
    rgba(39, 71, 102, .07);

  font-size: 16px;

  font-weight: 700;
}


/* MÀU TỪNG CARD */

.hocdii-feature-card.sale {
  background:
    linear-gradient(
      145deg,
      #fff2f6 0%,
      #ffecef 100%
    );
}


.hocdii-feature-card.exam {
  background:
    linear-gradient(
      145deg,
      #eef5ff 0%,
      #e7f1ff 100%
    );
}


.hocdii-feature-card.cert {
  background:
    linear-gradient(
      145deg,
      #eefaf4 0%,
      #e5f7ed 100%
    );
}


.hocdii-feature-card.apps {
  background:
    linear-gradient(
      145deg,
      #fff7ec 0%,
      #fff0dc 100%
    );
}


.hocdii-feature-card.knowledge {
  background:
    linear-gradient(
      145deg,
      #f7f0ff 0%,
      #f1e8ff 100%
    );
}


/* ARROW COLOR */

.hocdii-feature-card.sale
.hocdii-feature-arrow {
  color: #ff5f87;
}


.hocdii-feature-card.exam
.hocdii-feature-arrow {
  color: #4085ff;
}


.hocdii-feature-card.cert
.hocdii-feature-arrow {
  color: #20ad73;
}


.hocdii-feature-card.apps
.hocdii-feature-arrow {
  color: #ff922e;
}


.hocdii-feature-card.knowledge
.hocdii-feature-arrow {
  color: #8a56e8;
}


/* TABLET */

@media screen and (max-width: 1050px) {

  .hocdii-feature-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

}


/* MOBILE */

@media screen and (max-width: 768px) {

  .hocdii-feature-grid {
    display: flex;

    gap: 12px;

    overflow-x: auto;

    padding-bottom: 8px;

    scroll-snap-type:
      x mandatory;

    -webkit-overflow-scrolling:
      touch;
  }


  .hocdii-feature-card {
    flex:
      0
      0
      78%;

    min-height: 185px;

    scroll-snap-align:
      start;

    border-radius: 15px;
  }


  .hocdii-feature-icon {
    width: 62px;
    height: 62px;

    border-radius: 17px;
  }


  .hocdii-feature-icon img {
    width: 48px;
    height: 48px;
  }


  .hocdii-feature-title {
    font-size: 15px;
  }


  .hocdii-feature-desc {
    font-size: 12px;
  }

}
/* =========================================
   HOCDII - KHÁM PHÁ NỘI DUNG (BẢN ĐẸP HƠN)
========================================= */

.hocdii-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.hocdii-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  min-height: 330px;
  padding: 26px 20px 64px;

  border-radius: 18px;
  border: 1px solid #dfe7ef;
  box-shadow: 0 8px 22px rgba(28, 52, 84, 0.06);

  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}

.hocdii-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(28, 52, 84, 0.10);
}

/* Màu từng card */
.hocdii-feature-card.sale {
  background: #faeef2;
}

.hocdii-feature-card.exam {
  background: #edf4fc;
}

.hocdii-feature-card.cert {
  background: #edf7f1;
}

.hocdii-feature-card.apps {
  background: #f8f1e5;
}

.hocdii-feature-card.knowledge {
  background: #f3ecfb;
}

/* ICON */
.hocdii-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 74px;
  height: 74px;
  margin-bottom: 18px;

  background: rgba(255,255,255,0.72);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.hocdii-feature-icon img {
  max-width: 50px;
  max-height: 50px;
  width: auto;
  height: auto;
  display: block;
}

/* TIÊU ĐỀ */
.hocdii-feature-title {
  margin: 0 0 14px;
  color: #173e72;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.2px;
}

/* bỏ khung tiêu đề cũ nếu đang có */
.hocdii-feature-card h3,
.hocdii-feature-card .feature-title-box {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* MÔ TẢ */
.hocdii-feature-desc {
  margin: 0;
  color: #667788;
  font-size: 15px;
  line-height: 1.7;
}

/* NÚT MŨI TÊN */
.hocdii-feature-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;

  width: 36px;
  height: 36px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.88);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);

  font-size: 18px;
  font-weight: 700;
}

.hocdii-feature-card.sale .hocdii-feature-arrow {
  color: #f06a93;
}
.hocdii-feature-card.exam .hocdii-feature-arrow {
  color: #5a8df6;
}
.hocdii-feature-card.cert .hocdii-feature-arrow {
  color: #4cbc7a;
}
.hocdii-feature-card.apps .hocdii-feature-arrow {
  color: #f2a24a;
}
.hocdii-feature-card.knowledge .hocdii-feature-arrow {
  color: #a06df4;
}

/* Tablet */
@media screen and (max-width: 1100px) {
  .hocdii-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .hocdii-feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hocdii-feature-card {
    min-height: auto;
    padding: 22px 18px 58px;
  }

  .hocdii-feature-icon {
    width: 68px;
    height: 68px;
  }

  .hocdii-feature-icon img {
    max-width: 46px;
    max-height: 46px;
  }

  .hocdii-feature-title {
    font-size: 22px;
  }

  .hocdii-feature-desc {
    font-size: 15px;
  }
}
.hocdii-feature-icon {
  width: 128px;
  height: 128px;
  margin-bottom: 20px;

  background: rgba(255,255,255,0.82);
  border-radius: 28px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.hocdii-feature-icon img {
  max-width: 96px;
  max-height: 96px;
  width: auto;
  height: auto;
  display: block;
}
.hocdii-feature-card {
  min-height: 380px;
  padding: 30px 20px 64px;
}
/* =========================================
   HOCDII - KHÁM PHÁ NỘI DUNG BALANCED
========================================= */

/* Giữ tiêu đề section */
.hocdii-feature-section-title,
.hocdii-section-title {
  display: block !important;
}

/* Grid 5 ô */
.hocdii-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

/* Card */
.hocdii-feature-card {
  position: relative;

  min-height: 250px;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 18px 16px 48px;

  box-sizing: border-box;

  border-radius: 16px;
}

/* Icon vừa phải */
.hocdii-feature-icon {
  width: 88px;
  height: 88px;

  margin: 0 auto 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 20px;

  background: rgba(255,255,255,.75);
  box-shadow: 0 6px 16px rgba(39,71,102,.07);
}

.hocdii-feature-icon img {
  width: 68px;
  height: 68px;

  object-fit: contain;
  display: block;
}

/* Tiêu đề card */
.hocdii-feature-title {
  min-height: 52px;

  margin: 0 0 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #173f6a;

  text-align: center;

  font-size: 16px;
  font-weight: 800;

  line-height: 1.3;
}

/* Mô tả */
.hocdii-feature-desc {
  margin: 0;

  color: #68798b;

  text-align: center;

  font-size: 12.5px;
  line-height: 1.55;
}

/* Mũi tên luôn cùng hàng */
.hocdii-feature-arrow {
  position: absolute;

  right: 12px;
  bottom: 12px;

  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
}

/* Mobile */
@media screen and (max-width: 768px) {

  .hocdii-feature-card {
    min-height: 230px;
    padding: 16px 14px 44px;
  }

  .hocdii-feature-icon {
    width: 78px;
    height: 78px;
  }

  .hocdii-feature-icon img {
    width: 60px;
    height: 60px;
  }

  .hocdii-feature-title {
    min-height: 46px;
    font-size: 15px;
  }

  .hocdii-feature-desc {
    font-size: 12px;
  }
}

/* =========================================
   KHÁM PHÁ NỘI DUNG - ĐỒNG BỘ SECTION TITLE
========================================= */

.hocdii-feature-heading {
  margin: 0 0 16px !important;
  padding: 0 !important;
}

.hocdii-feature-heading h2 {
  margin: 0 !important;
  padding: 0 0 0 10px !important;

  background: transparent !important;
  box-shadow: none !important;

  border: none !important;
  border-left: 6px solid #2f8cff !important;
  border-radius: 3px !important;

  color: #082f63 !important;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif !important;

  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.4px !important;
}

.hocdii-feature-heading h2::before,
.hocdii-feature-heading h2::after {
  display: none !important;
  content: none !important;
}


/* MOBILE */
@media screen and (max-width: 768px) {

  .hocdii-feature-heading {
    margin-bottom: 14px !important;
  }

  .hocdii-feature-heading h2 {
    padding-left: 9px !important;

    font-size: 25px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;

    border-left-width: 6px !important;
    border-radius: 3px !important;
  }

}

/* =========================================
   HOCDII - FEATURE HEADING MATCH SECTION
========================================= */

.hocdii-feature-heading {
  display: flex !important;
  align-items: center !important;

  margin: 0 0 14px !important;
}

.hocdii-feature-heading h2 {
  margin: 0 !important;

  padding-left: 10px !important;

  border-left: 4px solid #2f8cff !important;

  color: #082f63 !important;

  font-family: inherit !important;

  font-size: 20px !important;
  font-weight: 800 !important;

  line-height: 1.25 !important;

  background: transparent !important;

  box-shadow: none !important;
}
/* =========================================
   HOCDII - HIDE TOC ON HOMEPAGE
========================================= */

body.home .toc,
body.home .toc-content,
body.home .entry-content > .toc {
  display: none !important;
}
/* =========================================
   HOCDII - MATCH KHAM PHA TITLE
========================================= */

.hocdii-feature-heading h2 {
  margin: 0 !important;
  padding: 0 0 0 10px !important;

  border: 0 !important;
  border-left: 5px solid #2f8cff !important;

  background: transparent !important;
  box-shadow: none !important;

  color: #082f63 !important;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif !important;

  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;

  letter-spacing: -0.4px !important;
}

/* Xóa decoration mặc định của Cocoon */
.hocdii-feature-heading h2::before,
.hocdii-feature-heading h2::after {
  display: none !important;
  content: none !important;
}
/* =========================================
   HOCDII - KHÁM PHÁ NỘI DUNG MATCH FINAL
========================================= */

.hocdii-feature-heading {
  display: flex !important;
  align-items: center !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

.hocdii-feature-heading h2 {
  margin: 0 !important;
  padding: 0 0 0 10px !important;

  border: 0 !important;
  border-left: 5px solid #2f8cff !important;

  background: transparent !important;
  box-shadow: none !important;

  color: #082f63 !important;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif !important;

  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;

  letter-spacing: -0.7px !important;
}

.hocdii-feature-heading h2::before,
.hocdii-feature-heading h2::after {
  display: none !important;
  content: none !important;
}
/* =========================================
   HOCDII - KHÁM PHÁ NỘI DUNG FINAL FIX
========================================= */

.hocdii-feature-section {
  margin-top: 18px !important;
}

.hocdii-feature-heading {
  margin: 0 0 12px !important;
  padding: 0 !important;
}

.hocdii-feature-heading h2 {
  margin: 0 !important;
  padding-left: 10px !important;

  border: 0 !important;
  border-left: 4px solid #2f8cff !important;

  background: transparent !important;
  box-shadow: none !important;

  color: #082f63 !important;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif !important;

  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;

  letter-spacing: -0.3px !important;
}

.hocdii-feature-heading h2::before,
.hocdii-feature-heading h2::after {
  display: none !important;
  content: none !important;
}

/* =========================================
   HOCDII - FEATURE CARDS SHORT RECTANGLE
========================================= */

/* giữ nguyên tiêu đề section */
.hocdii-feature-heading h2 {
  font-size: 20px !important;
  font-weight: 800 !important;
}

/* 5 card thấp xuống */
.hocdii-feature-card {
  min-height: 195px !important;
  height: 195px !important;

  padding:
    12px
    14px
    38px !important;

  border-radius: 14px !important;
}

/* icon nhỏ vừa phải */
.hocdii-feature-icon {
  width: 58px !important;
  height: 58px !important;

  margin:
    0 auto
    8px !important;

  border-radius: 15px !important;
}

.hocdii-feature-icon img {
  width: 46px !important;
  height: 46px !important;
}

/* tiêu đề trong card */
.hocdii-feature-title {
  min-height: 30px !important;

  margin:
    0
    0
    6px !important;

  color: #0b3767 !important;

  font-size: 14.5px !important;
  font-weight: 800 !important;

  line-height: 1.2 !important;
}

/* mô tả */
.hocdii-feature-desc {
  margin: 0 !important;

  color: #40566c !important;

  font-size: 12.5px !important;
  font-weight: 600 !important;

  line-height: 1.45 !important;

  text-align: center !important;
}

/* mũi tên */
.hocdii-feature-arrow {
  right: 9px !important;
  bottom: 9px !important;

  width: 26px !important;
  height: 26px !important;

  font-size: 14px !important;
}
/* =========================================
   HOCDII - FEATURE CARDS MOBILE FIX
========================================= */

@media screen and (max-width: 768px) {

  /* 5 card chuyển thành hàng cuộn ngang */
  .hocdii-feature-grid {
    display: flex !important;
    gap: 12px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    padding: 2px 2px 12px !important;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
  }

  .hocdii-feature-grid::-webkit-scrollbar {
    display: none;
  }

  /* Mỗi card có chiều rộng cố định */
  .hocdii-feature-card {
    flex: 0 0 220px !important;

    width: 220px !important;
    height: 170px !important;
    min-height: 170px !important;

    padding: 12px 14px 34px !important;

    scroll-snap-align: start;

    box-sizing: border-box !important;
  }

  /* Icon */
  .hocdii-feature-icon {
    width: 54px !important;
    height: 54px !important;

    margin: 0 auto 7px !important;
  }

  .hocdii-feature-icon img {
    width: 43px !important;
    height: 43px !important;
  }

  /* Tiêu đề card */
  .hocdii-feature-title {
    min-height: 25px !important;

    margin: 0 0 5px !important;

    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;

    white-space: normal !important;
  }

  /* Mô tả */
  .hocdii-feature-desc {
    margin: 0 !important;

    color: #40566c !important;

    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;

    white-space: normal !important;
  }

  /* Heading Khám phá nội dung */
  .hocdii-feature-heading h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
  }

}
/* =========================================
   HOCDII - FEATURE SWIPE HINT
========================================= */

.hocdii-feature-swipe-hint {
  display: none;
}

@media screen and (max-width: 768px) {

  .hocdii-feature-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;

    margin: -5px 3px 10px 0;

    color: #718399;
    font-size: 12px;
    font-weight: 600;
  }

  .hocdii-feature-swipe-hint span {
    color: #2f8cff;
    font-size: 17px;
    font-weight: 800;

    animation: hocdiiSwipeArrow 1.4s ease-in-out infinite;
  }

  @keyframes hocdiiSwipeArrow {
    0%, 100% {
      transform: translateX(0);
    }

    50% {
      transform: translateX(5px);
    }
  }
}
/* =========================================
   HOCDII - FEATURE ICON FINAL FIX
   PC + TABLET + MOBILE
========================================= */

/* Khóa kích thước khung icon */
.hocdii-feature-card .hocdii-feature-icon {
  width: 58px !important;
  height: 58px !important;

  min-width: 58px !important;
  min-height: 58px !important;

  max-width: 58px !important;
  max-height: 58px !important;

  flex: 0 0 58px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 auto 8px !important;
  padding: 5px !important;

  box-sizing: border-box !important;

  background: rgba(255, 255, 255, 0.82) !important;
  border-radius: 15px !important;

  overflow: visible !important;

  line-height: 0 !important;
}

/* Khóa ảnh bên trong */
.hocdii-feature-card .hocdii-feature-icon img {
  display: block !important;

  width: 46px !important;
  height: 46px !important;

  min-width: 46px !important;
  min-height: 46px !important;

  max-width: 46px !important;
  max-height: 46px !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain !important;
  object-position: center !important;

  position: static !important;

  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  transform: none !important;

  border: 0 !important;
  border-radius: 0 !important;
}

/* =========================================
   HOCDII - LUYEN THI TILES FINAL
========================================= */

.hocdii-exam-list {
  width: 100%;
  max-width: 1180px;
  margin: 34px 0 56px;
}

/* TILE */
.hocdii-exam-list-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;

  width: 100%;
  min-height: 220px;

  margin-bottom: 24px;
  padding: 28px 30px;

  border-radius: 24px;
  border: 1px solid #dbe6f1;
  box-sizing: border-box;
  overflow: hidden;

  text-decoration: none !important;
  color: inherit !important;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

/* dải màu bên trái */
.hocdii-exam-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 8px;
  border-radius: 0 10px 10px 0;
}

/* hover */
.hocdii-exam-list-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(19, 46, 76, 0.12);
}

/* =========================
   MÀU RIÊNG TỪNG TILE
========================= */

/* JLPT */
.hocdii-exam-list-item:nth-child(1) {
  background: linear-gradient(135deg, #eef6ff 0%, #ffffff 65%);
  border-color: #cfe1f5;
}

.hocdii-exam-list-item:nth-child(1)::before {
  background: linear-gradient(180deg, #1f78ff 0%, #1558c9 100%);
}

/* BJT */
.hocdii-exam-list-item:nth-child(2) {
  background: linear-gradient(135deg, #fff5ec 0%, #ffffff 65%);
  border-color: #f4dbc6;
}

.hocdii-exam-list-item:nth-child(2)::before {
  background: linear-gradient(180deg, #ff8a24 0%, #e55d0a 100%);
}

/* 建築資格 */
.hocdii-exam-list-item:nth-child(3) {
  background: linear-gradient(135deg, #eefaf2 0%, #ffffff 65%);
  border-color: #cfe7d6;
}

.hocdii-exam-list-item:nth-child(3)::before {
  background: linear-gradient(180deg, #1ca55a 0%, #107b41 100%);
}


/* =========================
   THUMBNAIL
========================= */
.hocdii-exam-list-thumb {
  flex: 0 0 150px;
  width: 150px;
  height: 150px;

  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;

  box-shadow: 0 10px 22px rgba(28, 51, 84, 0.10);
}

.hocdii-exam-list-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================
   NỘI DUNG
========================= */
.hocdii-exam-list-content {
  flex: 1;
  min-width: 0;
}

.hocdii-exam-list-title {
  margin: 0 0 14px;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

/* màu tiêu đề riêng */
.hocdii-exam-list-item:nth-child(1) .hocdii-exam-list-title {
  color: #1265d8;
}

.hocdii-exam-list-item:nth-child(2) .hocdii-exam-list-title {
  color: #e56310;
}

.hocdii-exam-list-item:nth-child(3) .hocdii-exam-list-title {
  color: #148948;
}

.hocdii-exam-list-desc {
  max-width: 860px;
  color: #2f4a63;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.7;
}


/* =========================
   NÚT MŨI TÊN
========================= */
.hocdii-exam-list-arrow {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  border-radius: 50%;

  font-size: 30px;
  font-weight: 900;
  line-height: 1;

  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 36, 60, 0.08);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hocdii-exam-list-item:hover .hocdii-exam-list-arrow {
  transform: translateX(4px);
  box-shadow: 0 12px 24px rgba(15, 36, 60, 0.14);
}

.hocdii-exam-list-item:nth-child(1) .hocdii-exam-list-arrow {
  color: #1f78ff;
}

.hocdii-exam-list-item:nth-child(2) .hocdii-exam-list-arrow {
  color: #f07a1b;
}

.hocdii-exam-list-item:nth-child(3) .hocdii-exam-list-arrow {
  color: #1ca55a;
}


/* =========================
   MOBILE
========================= */
@media screen and (max-width: 768px) {
  .hocdii-exam-list {
    margin: 22px 0 36px;
  }

  .hocdii-exam-list-item {
    gap: 16px;
    min-height: 142px;
    padding: 18px 18px 18px 20px;
    border-radius: 18px;
    margin-bottom: 14px;
  }

  .hocdii-exam-list-item::before {
    top: 14px;
    bottom: 14px;
    width: 6px;
  }

  .hocdii-exam-list-thumb {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    border-radius: 14px;
  }

  .hocdii-exam-list-title {
    margin-bottom: 8px;
    font-size: 26px;
  }

  .hocdii-exam-list-desc {
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
  }

  .hocdii-exam-list-arrow {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
}
/* =========================================
   HOCDII - LUYEN THI PAGE TITLE (TÍM)
========================================= */

.page .entry-title {
  position: relative;
  display: inline-block;

  margin: 0 0 26px;
  padding: 10px 18px 10px 20px;

  color: #6b3df0;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans",
    Arial,
    sans-serif;

  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.6px;

  background: linear-gradient(
    90deg,
    #f4efff 0%,
    rgba(244,239,255,0) 100%
  );

  border-radius: 10px;
}

.page .entry-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;

  width: 6px;
  border-radius: 6px;

  background: linear-gradient(
    180deg,
    #9b6bff 0%,
    #6b3df0 100%
  );
}

@media screen and (max-width: 768px) {
  .page .entry-title {
    margin-bottom: 18px;
    padding: 8px 14px 8px 16px;
    font-size: 30px;
    letter-spacing: -0.3px;
  }

  .page .entry-title::before {
    width: 5px;
  }
}
/* =========================================
   HOCDII - SUBMENU GLOSSY FINAL
   Màu tươi + chữ to + căn giữa
========================================= */


/* =========================================
   STYLE CHUNG
========================================= */

#navi .sub-menu li > a,
#navi-menu-content .sub-menu li > a {
  position: relative;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 54px;

  margin: 7px 8px;
  padding: 10px 16px !important;

  box-sizing: border-box;

  border: 2px solid transparent;
  border-radius: 14px;

  overflow: hidden;

  text-align: center !important;

  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.2px;

  text-shadow: 0 1px 0 rgba(255,255,255,.40);

  box-shadow:
    0 7px 16px rgba(0,0,0,.09),
    inset 0 1px 0 rgba(255,255,255,.75),
    inset 0 -2px 5px rgba(0,0,0,.04);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}


/* lớp bóng phía trên */
#navi .sub-menu li > a::before,
#navi-menu-content .sub-menu li > a::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;

  width: 100%;
  height: 48%;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.48),
    rgba(255,255,255,.15),
    rgba(255,255,255,0)
  );

  pointer-events: none;
}


/* đảm bảo chữ nằm trên lớp bóng */
#navi .sub-menu li > a *,
#navi-menu-content .sub-menu li > a * {
  position: relative;
  z-index: 2;
}


/* hover */
#navi .sub-menu li > a:hover,
#navi-menu-content .sub-menu li > a:hover {
  transform: translateX(4px) translateY(-1px);

  filter: saturate(1.08);

  box-shadow:
    0 11px 22px rgba(0,0,0,.13),
    inset 0 1px 0 rgba(255,255,255,.82),
    inset 0 -2px 5px rgba(0,0,0,.05);
}


/* =========================================
   TIẾNG NHẬT
========================================= */


/* N5 - đỏ hồng */
#navi .menu-n5 > a,
#navi-menu-content .menu-n5 > a {
  background:
    linear-gradient(
      180deg,
      #ffd7df 0%,
      #ffb2c0 100%
    ) !important;

  color: #c90024 !important;
  border-color: #ff7f9d !important;
}


/* N4 - cam vàng */
#navi .menu-n4 > a,
#navi-menu-content .menu-n4 > a {
  background:
    linear-gradient(
      180deg,
      #ffe9bf 0%,
      #ffc971 100%
    ) !important;

  color: #d95700 !important;
  border-color: #ffad32 !important;
}


/* N3 - xanh lá */
#navi .menu-n3 > a,
#navi-menu-content .menu-n3 > a {
  background:
    linear-gradient(
      180deg,
      #d9f7d8 0%,
      #a9ecad 100%
    ) !important;

  color: #157438 !important;
  border-color: #57cb6d !important;
}


/* N2 - xanh dương */
#navi .menu-n2 > a,
#navi-menu-content .menu-n2 > a {
  background:
    linear-gradient(
      180deg,
      #d9ecff 0%,
      #afd6ff 100%
    ) !important;

  color: #005bbb !important;
  border-color: #5aa9ff !important;
}


/* N1 - tím */
#navi .menu-n1 > a,
#navi-menu-content .menu-n1 > a {
  background:
    linear-gradient(
      180deg,
      #eadcff 0%,
      #d2b5ff 100%
    ) !important;

  color: #6818a5 !important;
  border-color: #aa72ff !important;
}


/* =========================================
   LUYỆN THI
========================================= */


/* JLPT - xanh dương */
#navi .menu-jlpt > a,
#navi-menu-content .menu-jlpt > a {
  background:
    linear-gradient(
      180deg,
      #d9ecff 0%,
      #afd5ff 100%
    ) !important;

  color: #0056b8 !important;
  border-color: #5aa9ff !important;
}


/* BJT - cam */
#navi .menu-bjt > a,
#navi-menu-content .menu-bjt > a {
  background:
    linear-gradient(
      180deg,
      #ffe4c8 0%,
      #ffc188 100%
    ) !important;

  color: #d55300 !important;
  border-color: #ff963e !important;
}


/* 建築資格 - xanh lá */
#navi .menu-kenchiku > a,
#navi-menu-content .menu-kenchiku > a {
  background:
    linear-gradient(
      180deg,
      #daf5df 0%,
      #afe3b9 100%
    ) !important;

  color: #13793d !important;
  border-color: #56bf72 !important;
}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 768px) {

  #navi-menu-content .sub-menu li > a {
    min-height: 56px;

    margin: 7px 8px;
    padding: 11px 14px !important;

    font-size: 17px !important;
    font-weight: 900 !important;

    text-align: center !important;

    border-radius: 14px;
  }

}

/* =========================================
   MOBILE SUBMENU TIMELINE
   TIẾNG NHẬT + LUYỆN THI
   GIỮ NGUYÊN CƠ CHẾ ĐÓNG / MỞ
========================================= */

/*
  Tiếng Nhật = menu-item-48
  Luyện thi  = menu-item-47
*/

/* Chỉ tạo hình dáng timeline.
   KHÔNG can thiệp display / visibility / height */
#navi-menu-content #menu-item-48 > .sub-menu,
#navi-menu-content #menu-item-47 > .sub-menu {
  position: relative !important;

  margin: 0 0 9px 44px !important;
  padding: 1px 0 3px 19px !important;

  border-left: 1px solid rgba(35, 177, 123, .28) !important;

  background: transparent !important;
}


/* Từng mục con */
#navi-menu-content #menu-item-48 > .sub-menu > li,
#navi-menu-content #menu-item-47 > .sub-menu > li {
  position: relative !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* Chấm tròn của từng mục */
#navi-menu-content #menu-item-48 > .sub-menu > li::before,
#navi-menu-content #menu-item-47 > .sub-menu > li::before {
  content: "";

  position: absolute;

  left: -24px;
  top: 50%;

  width: 7px;
  height: 7px;

  transform: translateY(-50%);

  box-sizing: border-box;

  background: #f8fff5;
  border: 2px solid #55dbae;
  border-radius: 50%;

  z-index: 2;
}

/* =========================================
   HOCDII - MOBILE SUBMENU COMPACT
========================================= */

@media screen and (max-width: 768px) {

  #navi-menu-content #menu-item-48 > .sub-menu > li > a,
  #navi-menu-content #menu-item-47 > .sub-menu > li > a {

    /* ô nhỏ hơn */
    width: calc(100% - 120px) !important;
    min-height: 37px !important;

    margin: 5px auto !important;
    padding: 5px 9px !important;

    /* chữ nhỏ hơn nhưng vẫn đậm */
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;

    text-align: center !important;
    letter-spacing: 0 !important;

    border-radius: 9px !important;
  }

}

/* =========================================
   HOCDII - DESKTOP SUBMENU COMPACT FINAL
========================================= */

@media screen and (min-width: 769px) {

  /* Khung dropdown */
  #navi #menu-item-48 > .sub-menu,
  #navi #menu-item-47 > .sub-menu {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    left: 0 !important;

    margin: 0 !important;
    padding: 4px 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    box-sizing: border-box !important;
  }


  /* Từng dòng submenu */
  #navi #menu-item-48 > .sub-menu > li,
  #navi #menu-item-47 > .sub-menu > li {
  margin: 0 !important;
  padding: 0 !important;

  height: auto !important;
  min-height: 0 !important;
  line-height: normal !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


  /* Ô màu */
  #navi #menu-item-48 > .sub-menu > li > a,
  #navi #menu-item-47 > .sub-menu > li > a {
    width: calc(100% - 12px) !important;

    min-width: 0 !important;
    min-height: 36px !important;
    height: 36px !important;

    margin: 3px 6px !important;
    padding: 4px 8px !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    border-radius: 9px !important;

    /* bỏ hiệu ứng trắng bị lem */
    box-shadow: none !important;
  }


  /* Vẫn giữ lớp bóng nhẹ bên trong,
     nhưng không tràn ra ngoài */
  #navi #menu-item-48 > .sub-menu > li > a::before,
  #navi #menu-item-47 > .sub-menu > li > a::before {
    height: 42% !important;
    opacity: .55 !important;
    border-radius: 7px 7px 0 0 !important;
  }


  /* Hover gọn, không phóng to */
  #navi #menu-item-48 > .sub-menu > li > a:hover,
  #navi #menu-item-47 > .sub-menu > li > a:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 7px rgba(0,0,0,.08) !important;
  }

}

/* ==================================================
   HOCDII - KHÁM PHÁ NỘI DUNG
   Đồng bộ tiêu đề với các section khác
================================================== */

body.home .hocdii-feature-heading {
  margin: 0 0 16px !important;
  padding: 0 !important;
}

body.home .hocdii-feature-heading h2 {
  position: relative !important;

  margin: 0 !important;
  padding: 0 0 0 14px !important;

  /* Xóa style heading mặc định */
  border: none !important;
  border-left: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  /* Chữ */
  color: #082f63 !important;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif !important;

  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.3px !important;
}


/* Thanh xanh bên trái */
body.home .hocdii-feature-heading h2::before {
  content: "" !important;

  display: block !important;
  position: absolute !important;

  left: 0 !important;
  top: 50% !important;

  width: 6px !important;
  height: 27px !important;

  transform: translateY(-50%) !important;

  background: #2f8cff !important;
  border: none !important;
  border-radius: 6px !important;
}


/* Tắt pseudo-element thừa */
body.home .hocdii-feature-heading h2::after {
  content: none !important;
  display: none !important;
}


/* ==================================================
   MOBILE
================================================== */

@media screen and (max-width: 768px) {

  body.home .hocdii-feature-heading {
    margin-bottom: 14px !important;
  }

  body.home .hocdii-feature-heading h2 {
    padding-left: 14px !important;

    font-size: 21px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px !important;
  }

  body.home .hocdii-feature-heading h2::before {
    width: 6px !important;
    height: 25px !important;
    border-radius: 6px !important;
  }

}

/* ==========================================================
   HOCDII - DESKTOP UNIFIED 1200PX
   Header / Menu / Main / Hero / Sections / Footer
   cùng một trục 1200px
   KHÔNG zoom - KHÔNG scale
========================================================== */

@media screen and (min-width: 1120px) {

  /* ========================================================
     1. HEADER
  ======================================================== */

  .header-in,
  #header-in,
  .header-container-in {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }


  /* ========================================================
     2. MENU CHÍNH
  ======================================================== */

  .navi-in,
  #navi-in,
  .navi-container-in {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }


  /* ========================================================
     3. KHUNG CONTENT CỦA COCOON
  ======================================================== */

  #content,
  .content,
  #content-in,
  .content-in {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }


  /* ========================================================
     4. MAIN / ARTICLE
  ======================================================== */

  #main,
  .main,
  article,
  .article,
  .entry-content {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }


  /* ========================================================
     5. HERO
  ======================================================== */

  .hocdii-hero {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .hocdii-hero img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }


  /* ========================================================
     6. CÁC SECTION HOMEPAGE
  ======================================================== */

  .hocdii-feature-section,
  .hocdii-feature-grid,
  .hocdii-feature-heading {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }


  /* ========================================================
     7. FOOTER COCOON
     Nền footer vẫn full màn hình,
     nội dung bên trong chỉ rộng 1320px
  ======================================================== */

  .footer-in,
  #footer-in,
  .footer-container-in {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }


  /* ========================================================
     8. FOOTER HOCDII TỰ TẠO
  ======================================================== */

  .hocdii-footer-inner,
  .hocdii-footer-container,
  .hocdii-footer-content {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }


  /* ========================================================
     9. CHỐNG TRÀN NGANG
  ======================================================== */

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

}


/* ==========================================================
   HOCDII - USER FEEDBACK CAROUSEL FINAL
========================================================== */


/* ===== SECTION ===== */

.hocdii-feedback-section {
  width: 100%;
  margin: 48px auto 55px;
}


/* ===== TITLE ===== */

.hocdii-feedback-heading {
  margin-bottom: 22px;
}

body.home .entry-content
.hocdii-feedback-heading h2 {
  position: relative !important;

  margin: 0 !important;

  padding:
    0 0 0 14px !important;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif !important;

  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;

  letter-spacing: -0.2px !important;

  color: #082f63 !important;

  background: transparent !important;

  border: none !important;

  box-shadow: none !important;
}

body.home .entry-content
.hocdii-feedback-heading h2::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  width: 6px;
  height: 27px;

  transform:
    translateY(-50%);

  border-radius: 6px;

  background: #2f8cff;
}

body.home .entry-content
.hocdii-feedback-heading h2::after {
  content: none !important;
  display: none !important;
}


/* ===== SLIDER ===== */

.hocdii-feedback-slider {
  position: relative;
}


/* ===== VIEWPORT ===== */

.hocdii-feedback-viewport {
  width: 100% !important;

  overflow-x: auto !important;
  overflow-y: hidden !important;

  padding:
    4px 0 12px !important;

  box-sizing: border-box !important;

  -webkit-overflow-scrolling: touch;

  scrollbar-width: none !important;
  -ms-overflow-style: none !important;

  scroll-snap-type:
    x mandatory;

  overscroll-behavior-x:
    contain;

  touch-action:
    pan-x pan-y;

  cursor: grab;

  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none;
}

.hocdii-feedback-viewport::-webkit-scrollbar {
  display: none !important;
}


/* Desktop đang kéo */

.hocdii-feedback-viewport.hocdii-is-dragging {
  cursor: grabbing !important;
}


/* Tắt snap tạm thời khi JS cần */

.hocdii-feedback-viewport.hocdii-no-snap {
  scroll-snap-type:
    none !important;
}


/* ===== TRACK ===== */

.hocdii-feedback-track {
  display: flex !important;

  width: max-content !important;
  max-width: none !important;

  gap: 16px !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;
  transition: none !important;

  box-sizing: border-box !important;
}


/* ===== CARD ===== */

body.home .entry-content
.hocdii-feedback-card {
  position: relative !important;

  flex:
    0 0
    var(
      --hocdii-feedback-card-width
    ) !important;

  width:
    var(
      --hocdii-feedback-card-width
    ) !important;

  min-width:
    var(
      --hocdii-feedback-card-width
    ) !important;

  max-width:
    var(
      --hocdii-feedback-card-width
    ) !important;

  min-height: 315px !important;

  padding:
    22px 18px 20px !important;

  box-sizing:
    border-box !important;

  text-align:
    center !important;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfdff 100%
    ) !important;

  border:
    1px solid
    #e2eaf4 !important;

  border-radius:
    18px !important;

  box-shadow:
    0 6px 20px
    rgba(
      20,
      61,
      100,
      .07
    ) !important;

  scroll-snap-align:
    start;

  scroll-snap-stop:
    normal;

  user-select:
    none !important;

  -webkit-user-select:
    none !important;

  backface-visibility:
    hidden;
}


/* Hover card */

@media screen and (min-width:769px) {

  body.home .entry-content
  .hocdii-feedback-card:hover {
    box-shadow:
      0 10px 26px
      rgba(
        20,
        61,
        100,
        .11
      ) !important;
  }

}


/* ===== AVATAR ===== */

.hocdii-feedback-avatar {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 66px;
  height: 66px;

  margin:
    0 auto 10px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      #e7f2ff,
      #d8f8ed
    );

  color: #0a5798;

  font-size: 20px;
  font-weight: 900;

  border:
    3px solid
    #ffffff;

  box-shadow:
    0 3px 12px
    rgba(
      20,
      75,
      120,
      .13
    );

  user-select: none;
}


/* ===== NAME ===== */

body.home .entry-content
.hocdii-feedback-card h3 {
  margin:
    8px 0 4px !important;

  padding:
    0 !important;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif !important;

  font-size:
    15px !important;

  font-weight:
    800 !important;

  line-height:
    1.3 !important;

  color:
    #0b3767 !important;

  background:
    transparent !important;

  border:
    none !important;

  box-shadow:
    none !important;
}

body.home .entry-content
.hocdii-feedback-card h3::before,
body.home .entry-content
.hocdii-feedback-card h3::after {
  content:
    none !important;

  display:
    none !important;
}


/* ===== STARS ===== */

.hocdii-feedback-stars {
  margin-bottom:
    12px;

  color:
    #ffb400;

  font-size:
    17px;

  letter-spacing:
    2px;
}


/* ===== TEXT ===== */

body.home .entry-content
.hocdii-feedback-card p {
  margin:
    8px 0 15px !important;

  padding:
    0 !important;

  font-size:
    12.5px !important;

  font-weight:
    500 !important;

  line-height:
    1.55 !important;

  color:
    #40566c !important;
}


/* ===== TAG ===== */

.hocdii-feedback-tag {
  display:
    inline-block;

  margin-top:
    auto;

  padding:
    6px 11px;

  border-radius:
    20px;

  background:
    #edf6ff;

  color:
    #1764a3;

  font-size:
    11.5px;

  font-weight:
    800;
}


/* ===== NO SELECT / NO IMAGE DRAG ===== */

.hocdii-feedback-card,
.hocdii-feedback-card * {
  user-select:
    none !important;

  -webkit-user-select:
    none !important;
}

.hocdii-feedback-card img {
  -webkit-user-drag:
    none !important;

  pointer-events:
    none;
}


/* ===== ARROWS ===== */

.hocdii-feedback-prev,
.hocdii-feedback-next {
  position:
    absolute;

  top:
    50%;

  z-index:
    10;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  width:
    38px;

  height:
    38px;

  padding:
    0;

  transform:
    translateY(-50%);

  border:
    1px solid
    #dce6f1;

  border-radius:
    50%;

  background:
    #ffffff;

  color:
    #0b4e88;

  font-size:
    27px;

  line-height:
    1;

  cursor:
    pointer;

  box-shadow:
    0 4px 14px
    rgba(
      20,
      61,
      100,
      .12
    );
}

.hocdii-feedback-prev {
  left:
    -19px;
}

.hocdii-feedback-next {
  right:
    -19px;
}


/* ===== DOTS ===== */

.hocdii-feedback-dots {
  display:
    flex;

  justify-content:
    center;

  gap:
    7px;

  margin-top:
    5px;
}

.hocdii-feedback-dots button {
  width:
    8px;

  height:
    8px;

  margin:
    0;

  padding:
    0;

  border:
    none;

  border-radius:
    50%;

  background:
    #cad5df;

  cursor:
    pointer;

  transition:
    all .25s ease;
}

.hocdii-feedback-dots button.active {
  width:
    21px;

  border-radius:
    10px;

  background:
    #2f8cff;
}


/* ==========================================================
   MOBILE
========================================================== */

@media screen and (max-width:768px) {

  .hocdii-feedback-section {
    width:
      100% !important;

    margin:
      38px 0 45px !important;
  }


  .hocdii-feedback-heading {
    margin-bottom:
      17px !important;
  }


  body.home .entry-content
  .hocdii-feedback-heading h2 {
    font-size:
      20px !important;

    font-weight:
      800 !important;
  }


  body.home .entry-content
  .hocdii-feedback-heading h2::before {
    height:
      25px;
  }


  .hocdii-feedback-track {
    gap:
      12px !important;
  }


  body.home .entry-content
  .hocdii-feedback-card {
    min-height:
      320px !important;

    padding:
      20px 16px 18px !important;

    border-radius:
      16px !important;
  }


  .hocdii-feedback-avatar {
    width:
      62px;

    height:
      62px;

    font-size:
      18px;
  }


  body.home .entry-content
  .hocdii-feedback-card h3 {
    font-size:
      16px !important;
  }


  body.home .entry-content
  .hocdii-feedback-card p {
    font-size:
      13px !important;

    line-height:
      1.6 !important;
  }


  .hocdii-feedback-prev,
  .hocdii-feedback-next {
    display:
      none !important;
  }


  .hocdii-feedback-dots {
    margin-top:
      3px;
  }

}

/* ===== FEEDBACK AVATAR IMAGE ===== */

.hocdii-feedback-avatar {
  overflow: hidden !important;
  padding: 0 !important;
}

.hocdii-feedback-avatar img {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center !important;

  border-radius: 50% !important;

  pointer-events: none !important;

  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
}

/* =========================================
   HOCDII - 建築資格 SUBMENU
========================================= */

@media screen and (min-width: 769px) {

  #navi .menu-kenchiku > .sub-menu {
    width: 135% !important;
    min-width: 135% !important;
    max-width: 135% !important;

    left: 100% !important;
    top: 0 !important;

    margin: 0 !important;
    padding: 4px 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    box-sizing: border-box !important;
  }

  #navi .menu-kenchiku > .sub-menu > li {
    margin: 0 !important;
    padding: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Kích thước chung */
  #navi .menu-kenchiku > .sub-menu > li > a {
    position: relative !important;

    width: calc(100% - 12px) !important;

    height: 36px !important;
    min-height: 36px !important;

    margin: 3px 6px !important;
    padding: 4px 10px !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    white-space: nowrap !important;

    border: 2px solid !important;
    border-radius: 9px !important;

    box-shadow: none !important;
  }


  /* ===== 2級BIM - TÍM ===== */
  #navi .menu-kenchiku > .sub-menu > li:nth-child(1) > a {
    background:
      linear-gradient(
        180deg,
        #eee1ff 0%,
        #d7bfff 100%
      ) !important;

    color: #6b21a8 !important;
    border-color: #a46cff !important;
  }


  /* ===== 1級建築施工（一次） - XANH DƯƠNG ===== */
  #navi .menu-kenchiku > .sub-menu > li:nth-child(2) > a {
    background:
      linear-gradient(
        180deg,
        #dceeff 0%,
        #b8d8ff 100%
      ) !important;

    color: #075eb5 !important;
    border-color: #5ba5f5 !important;
  }


  /* lớp bóng */
  #navi .menu-kenchiku > .sub-menu > li > a::before {
    content: "" !important;

    position: absolute !important;
    left: 0 !important;
    top: 0 !important;

    width: 100% !important;
    height: 42% !important;

    background:
      linear-gradient(
        to bottom,
        rgba(255,255,255,.48),
        rgba(255,255,255,.15),
        rgba(255,255,255,0)
      ) !important;

    border-radius: 7px 7px 0 0 !important;

    pointer-events: none !important;
  }

}

/* ==================================================
   HOCDII - MOBILE 建築資格 FINAL
   SUBMENU CẤP 3 + TIMELINE
   PHẢI ĐỂ CUỐI STYLE.CSS
================================================== */

@media screen and (max-width: 768px) {

  /* =====================================
     CĂN GIỮA JLPT / BJT / 建築資格
  ===================================== */

  #navi-menu-content
  .menu-drawer
  #menu-item-47 > .sub-menu > li > a {

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    line-height: 1 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;
  }


  /* =====================================
     建築資格
     GIỮ KÍCH THƯỚC CẤP CHA
  ===================================== */

  #navi-menu-content
  .menu-drawer
  li.menu-kenchiku > a {

    background: transparent !important;

    color: #13793d !important;

    border: 2px solid #56bf72 !important;
    border-radius: 9px !important;

    box-shadow: none !important;

    font-weight: 900 !important;
  }


  /* =====================================
     KHUNG CHỨA 2 MỤC CẤP 3
  ===================================== */

  #navi-menu-content
  .menu-drawer
  li.menu-kenchiku > ul.sub-menu {

    position: relative !important;

    margin: 4px 0 5px 32px !important;
    padding: 1px 0 1px 16px !important;

    border-left:
      1px solid rgba(85, 219, 174, .45) !important;

    background: transparent !important;
  }


  /* =====================================
     TỪNG MỤC CẤP 3
  ===================================== */

  #navi-menu-content
  .menu-drawer
  li.menu-kenchiku
  > ul.sub-menu
  > li {

    position: relative !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
  }


  /* =====================================
     CHẤM TIMELINE CẤP 3
  ===================================== */

  #navi-menu-content
  .menu-drawer
  li.menu-kenchiku
  > ul.sub-menu
  > li::before {

    content: "" !important;

    position: absolute !important;

    left: -20px !important;
    top: 50% !important;

    width: 7px !important;
    height: 7px !important;

    transform: translateY(-50%) !important;

    box-sizing: border-box !important;

    background: #f8fff5 !important;
    border: 2px solid #55dbae !important;
    border-radius: 50% !important;

    z-index: 3 !important;
  }


  /* =====================================
     KÍCH THƯỚC CHUNG MỤC CẤP 3
  ===================================== */

  #navi-menu-content
  .menu-drawer
  li.menu-kenchiku
  > ul.sub-menu
  > li > a {

    width: calc(100% - 45px) !important;

    min-height: 32px !important;
    height: 32px !important;

    margin: 5px auto !important;
    padding: 0 8px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    white-space: nowrap !important;

    background: transparent !important;

    border-radius: 8px !important;

    box-shadow: none !important;
  }


  /* =====================================
     2級BIM - TÍM
  ===================================== */

  #navi-menu-content
  .menu-drawer
  li.menu-kenchiku
  > ul.sub-menu
  > li:nth-child(1)
  > a {

    color: #6b21a8 !important;

    border: 2px solid #a46cff !important;
  }


  /* =====================================
     1級建築施工（一次） - XANH DƯƠNG
  ===================================== */

  #navi-menu-content
  .menu-drawer
  li.menu-kenchiku
  > ul.sub-menu
  > li:nth-child(2)
  > a {

    color: #075eb5 !important;

    border: 2px solid #5ba5f5 !important;
  }

}


/* =========================================
   HOCDII - 2級BIM LIST COMPACT
========================================= */

.hocdii-bim-list .hocdii-exam-list-item {
  min-height: 175px !important;
  margin-bottom: 18px !important;
  padding: 22px 26px !important;
  gap: 22px !important;
}

.hocdii-bim-list .hocdii-exam-list-thumb {
  flex: 0 0 120px !important;
  width: 120px !important;
  height: 120px !important;
  border-radius: 16px !important;
}

.hocdii-bim-list .hocdii-exam-list-title {
  margin-bottom: 10px !important;

  font-size: 32px !important;
  line-height: 1.15 !important;
}

.hocdii-bim-list .hocdii-exam-list-desc {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.hocdii-bim-list .hocdii-exam-list-arrow {
  width: 50px !important;
  height: 50px !important;

  font-size: 25px !important;
}

/* ==========================================================
   HOCDII - ACCOUNT PACKAGE DISPLAY
========================================================== */


/* ===== KHỐI GÓI ===== */

.hocdii-account-packages {
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;

  box-sizing: border-box;

  border-top: 1px solid #edf0f4;

  text-align: left;
}


/* ===== TÊN GÓI ===== */

.hocdii-account-plan-title {
  display: inline-flex;

  max-width: 100%;

  padding: 7px 11px;

  box-sizing: border-box;

  border-radius: 9px;

  background:
    linear-gradient(
      135deg,
      #2188f5 0%,
      #4438dc 100%
    );

  color: #ffffff;

  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;

  word-break: break-word;
}


/* ===== 1 GÓI ===== */

.hocdii-account-single-expiry {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: 6px;

  margin-top: 9px;
  padding: 8px 9px;

  border-radius: 8px;

  background: #f8fafc;

  color: #64748b;

  font-size: 12px;
}


.hocdii-account-single-expiry strong {
  color: #172033;

  font-size: 12.5px;
  font-weight: 800;

  white-space: nowrap;
}


/* ===== NHIỀU GÓI ===== */

.hocdii-account-package-list {
  display: flex;
  flex-direction: column;

  gap: 6px;

  margin-top: 9px;
}


.hocdii-account-package-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  width: 100%;

  padding: 8px 9px;

  box-sizing: border-box;

  border-radius: 8px;

  background: #f8fafc;
}


.hocdii-account-package-name {
  min-width: 0;

  color: #334155;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.35;
}


.hocdii-account-package-expiry {
  flex: 0 0 auto;

  color: #172033;

  font-size: 12px;
  font-weight: 800;

  white-space: nowrap;
}


/* ===== KHÔNG CÓ GÓI ===== */

.hocdii-account-no-package {
  margin-top: 9px;

  color: #94a3b8;

  font-size: 12px;
}


/* ==========================================================
   PC
========================================================== */

@media screen and (min-width: 1024px) {

  .hocdii-account-dropdown {
    width: 320px !important;
  }

}


/* ==========================================================
   MOBILE
========================================================== */

@media screen and (max-width: 768px) {

  .hocdii-mobile-account-panel
  .hocdii-account-packages {
    margin-top: 14px;
    padding-top: 14px;
  }


  .hocdii-mobile-account-panel
  .hocdii-account-plan-title {
    font-size: 13px;
  }


  .hocdii-mobile-account-panel
  .hocdii-account-package-name,
  .hocdii-mobile-account-panel
  .hocdii-account-package-expiry,
  .hocdii-mobile-account-panel
  .hocdii-account-single-expiry {
    font-size: 12.5px;
  }


  /* Trong menu trái */
  #navi-menu-content
  .hocdii-account-packages {
    margin: 4px 0 11px !important;

    padding:
      11px 2px 0 !important;
  }

}
/* Account entitlement list: preserve the existing row styling. */
.hocdii-account-package-list{max-height:240px;overflow-y:auto}

