/* v99 handbook clean overrides for Bưu cục viên */

/* Remove decorative icons in headings and lists (keep content clean & readable) */
.kt-emp-hb-content h2,
.kt-emp-hb-content h3,
.kt-emp-hb-content h4{padding-left:0 !important;}
.kt-emp-hb-content h2:before,
.kt-emp-hb-content h3:before,
.kt-emp-hb-content h4:before{content:none !important;display:none !important;}

.kt-emp-hb-content ul{padding-left:1.15em !important;margin:10px 0 14px !important;}
.kt-emp-hb-content ul li{list-style:disc !important;padding-left:0 !important;margin:6px 0 !important;}
.kt-emp-hb-content ul li:before{content:none !important;display:none !important;}

/* Keep links obvious but not too loud */
.kt-emp-hb-content a{color:var(--kt-navy) !important;font-weight:800 !important;text-decoration:underline !important;}
.kt-emp-hb-content a:hover{text-decoration:underline !important;}

/* Typography + section layout */
.kt-emp-hb-content{font-size:14px !important;line-height:1.75 !important;color:#0f172a !important;}

.kt-emp-hb-content h2{
  margin:26px 0 14px !important;
  font-size:22px !important;
  font-weight:1000 !important;
  letter-spacing:.3px;
  text-align:center;
  color:#d97706 !important;
  position:relative;
}
.kt-emp-hb-content h2.kt-hb-major{
  text-align:center;
  color:#f97316 !important;
  /* smaller + more stable on various screens */
  font-size:clamp(20px, 2.0vw, 22px) !important;
  font-weight:1100 !important;
  text-transform:uppercase;
  letter-spacing:.45px;
  line-height:1.22;
  /* avoid ugly wraps */
  max-width:880px;
  margin-left:auto;
  margin-right:auto;
  text-decoration:none !important;
}
.kt-emp-hb-content h2.kt-hb-major:after{
  content:"";
  display:block;
  height:3px;
  width:33%;
  max-width:280px;
  min-width:160px;
  margin:10px auto 0;
  border-radius:999px;
  /* soft underline: fade on both ends */
  background:linear-gradient(90deg, transparent 0%, rgba(249,115,22,.70) 18%, rgba(249,115,22,.70) 82%, transparent 100%);
}
.kt-emp-hb-content h2:after{
  content:"";
  display:block;
  height:2px;
  width:200px;
  background:rgba(217,119,6,.25);
  margin:10px auto 0;
  border-radius:999px;
}

.kt-emp-hb-content h3{
  margin:18px 0 10px !important;
  font-size:16px !important;
  font-weight:900 !important;
  color:#0f172a !important;
  border-left:none !important;
  padding:0 !important;
}

.kt-emp-hb-content h4{
  margin:14px 0 8px !important;
  font-size:14px !important;
  font-weight:900 !important;
  color:#0f172a !important;
}


/* Ordered list numbers should match heading size */
.kt-emp-hb-content ol{padding-left:1.35em !important;margin:10px 0 14px !important;}
.kt-emp-hb-content ol li{margin:8px 0 !important;}
.kt-emp-hb-content ol li::marker{
  font-size:18px !important;
  font-weight:900 !important;
  color:#0f172a !important;
}
/* Numbered sub-section headings (1. 2. 3.) */
.kt-emp-hb-content h4.kt-hb-num{
  font-weight:900 !important;
  color:#0f172a !important;
  font-size:18px !important;
  text-align:left !important;
  letter-spacing:0 !important;
  line-height:1.35 !important;
}

/* Titles that belong to numbered steps (1., 2., 3...) should look like document subsections */
.kt-emp-hb-content ol li h2:not(.kt-hb-major),
.kt-emp-hb-content ol li h3,
.kt-emp-hb-content ol li h4{
  margin:10px 0 8px !important;
  font-size:18px !important;
  font-weight:900 !important;
  color:#0f172a !important;
  text-align:left !important;
  text-transform:none !important;
  letter-spacing:0 !important;
  line-height:1.35 !important;
  max-width:none !important;
}
.kt-emp-hb-content ol li h2:not(.kt-hb-major):after,
.kt-emp-hb-content ol li h3:after,
.kt-emp-hb-content ol li h4:after{
  content:none !important;
  display:none !important;
}

/* Hide all images/icons inside imported handbook content */
.kt-emp-hb-content img{display:none !important;}

/* Make long "Cách 1/Cách 2/Sự cố" blocks easier to scan */
.kt-emp-hb-content blockquote{
  margin:12px 0 !important;
  padding:12px 14px !important;
  border-left:none !important;
  border:1px solid rgba(15,41,66,.14) !important;
  background:rgba(15,41,66,.03) !important;
  border-radius:12px !important;
}

/* Tables */
.kt-emp-hb-content table{border-radius:12px;overflow:hidden;}

/* Slightly tighten the top section so it looks more "enterprise" */
.kt-emp-hb-top-title{font-size:18px !important;}
.kt-emp-hb-top-sub{font-size:12.5px !important;color:#64748b !important;}

/* Cards: keep consistent spacing */
.kt-emp-hb-top-grid{gap:14px !important;}
.kt-emp-hb-card{min-height:118px !important;}


/* v101: richer card content (links/buttons + mini lists) */
.kt-emp-hb-card-desc .kt-emp-hb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(15,41,66,.18);
  background:#fff;
  color:var(--kt-navy);
  font-weight:900;
  font-size:12px;
  text-decoration:none;
}
.kt-emp-hb-card-desc .kt-emp-hb-btn:hover{border-color:rgba(254,134,1,.55);}
.kt-emp-hb-card-desc .kt-emp-hb-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;}

.kt-emp-hb-card-desc ul.kt-emp-hb-mini,
.kt-emp-hb-card-desc ol.kt-emp-hb-mini-ol{
  margin:8px 0 0 18px;
  padding:0;
  font-size:12px;
  line-height:1.45;
  color:#556;
}
.kt-emp-hb-card-desc ul.kt-emp-hb-mini li,
.kt-emp-hb-card-desc ol.kt-emp-hb-mini-ol li{margin:4px 0;}


/* v108 safety: remove any leftover decorative left bars */
.kt-emp-hb-content h2,
.kt-emp-hb-content h3,
.kt-emp-hb-content h4{border-left:none !important;}



/* Specific lines requested to be size 18 only (do not affect other content) */
.kt-emp-hb-content .kt-hb-line18{
  font-size:18px !important;
  line-height:1.55 !important;
}

/* v112+: Training section formatting (ONLY affects the specific title line
   "Các danh mục đào tạo, hướng dẫn bưu cục viên:") */
.kt-emp-hb-content .kt-hb-training-head{
  font-size:16px !important;
  font-weight:900 !important;
  color:#0f172a !important;
  margin:14px 0 10px !important;
}

/* For the FIRST ordered list right after that title line, keep numbering NORMAL (same size as text).
   This prevents global side-effects on other sections. */
.kt-emp-hb-content ol.kt-hb-ol-normal li::marker{
  font-size:1em !important;
  font-weight:900 !important;
  color:#0f172a !important;
}
.kt-emp-hb-content ol.kt-hb-ol-normal h4.kt-hb-num{
  font-size:inherit !important;
}
.kt-emp-hb-content ol.kt-hb-ol-normal li h2:not(.kt-hb-major),
.kt-emp-hb-content ol.kt-hb-ol-normal li h3,
.kt-emp-hb-content ol.kt-hb-ol-normal li h4{
  font-size:inherit !important;
  text-align:left !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}


/* v114: normalize specific lines (only nodes tagged .kt-hb-normal) */
.kt-emp-hb-content .kt-hb-normal{
  font-size:inherit !important;
  font-weight:400 !important;
  color:#0f172a !important;
  text-transform:none !important;
  letter-spacing:0 !important;
  text-decoration:none !important;
}
.kt-emp-hb-content h2.kt-hb-normal,
.kt-emp-hb-content h3.kt-hb-normal,
.kt-emp-hb-content h4.kt-hb-normal{
  margin:10px 0 8px !important;
  line-height:1.55 !important;
  max-width:none !important;
}
.kt-emp-hb-content li.kt-hb-normal::marker{
  font-size:1em !important;
  font-weight:700 !important;
  color:#0f172a !important;
}
