/* =====================================================================
   IPAS – CSS CẬP NHẬT 10/2026 (MỘT FILE DUY NHẤT)
   V3: chép thành /assets/css/A01_ipas_updates_2026-10.css và nạp sau style.css, trước D00.
   Mỗi file CSS chỉ nạp một lần; không đồng thời dán A01 vào style.css rồi nạp lại bằng <link>.
   Thay thế mọi đoạn CSS rời đã gửi trước (các file 02, 14, 15, 19, 21, 26, 27 bản cũ). Dùng biến màu sẵn có của site.
   Mục lục:  1 Thang chữ · 2 Khoảng cách & xuống dòng · 3 Ấn phẩm (Publications, thẻ, hồ sơ năng lực)
             4 Bài viết (Further reading, ghi chú, câu chốt) · 5 Case study & khối bảo mật
             6 Phòng dịch vụ, khối cấu trúc, đoạn căn giữa, điện thoại · 7 Thẻ dịch vụ (9 thẻ) · 8 Bài viết (bổ sung)
   ===================================================================== */

/* ---------- 1. THANG CHỮ ---------- */
:root {
  --fs-body: 17px;      /* đoạn văn, danh sách, bảng */
  --fs-small: 15px;     /* ghi chú, chú thích, meta */
  --fs-lead: 19px;      /* đoạn mở đầu */
  --fs-h4: 18px;
  --fs-h3: 21px;
  --fs-h2: clamp(24px, 2vw, 27px);           /* tiêu đề trong bài */
  --fs-sec: clamp(28px, 2.6vw, 38px);         /* tiêu đề khu (sec-title) */
  --fs-hero: clamp(32px, 3vw, 44px);          /* H1 trang con */
  --fs-hero-sub: clamp(16px, 1.2vw, 18px);
}

/* H1 + mô tả trên banner các trang con */
.page-hero__title { font-size: var(--fs-hero); line-height: 1.15; max-width: 24ch; text-wrap: balance; }
.page-hero__sub { font-size: var(--fs-hero-sub); line-height: 1.65; max-width: 62ch; }

/* Tiêu đề khu */
.sec-title { font-size: var(--fs-sec); line-height: 1.2; text-wrap: balance; }

/* Nội dung bài/trang */
.prose p, .prose li, .prose td, .prose th, .case-step .prose p { font-size: var(--fs-body); line-height: 1.7; }
.prose--lead p { font-size: var(--fs-lead); line-height: 1.7; }
.prose .lead, .detail__lead { font-size: var(--fs-lead); line-height: 1.6; }
.prose h2 { font-size: var(--fs-h2); line-height: 1.3; margin: 1.8em 0 .6em; }
.prose h3 { font-size: var(--fs-h3); line-height: 1.35; margin: 1.6em 0 .5em; }
.prose h4 { font-size: var(--fs-h4); line-height: 1.4; font-weight: 700; color: var(--navy); margin: 1.4em 0 .4em; }
.prose blockquote, .prose blockquote p { font-size: var(--fs-lead); line-height: 1.6; }
.prose small, .prose figcaption, .wp-series__note, .pubs-note { font-size: var(--fs-small); }

/* Thẻ (card) */
.card h3, .post-card__title, .case h3 { font-size: 19px; line-height: 1.4; }
.card p, .post-card p, .case dd { font-size: 16px; line-height: 1.6; }

/* Nhãn nhỏ (eyebrow) giữ 13px, đậm, giãn chữ – không đổi */

/* Điện thoại */
@media (max-width: 720px) {
  :root { --fs-body: 16px; --fs-lead: 17px; --fs-h3: 19px; --fs-h4: 17px; }
}


/* ---------- 2. KHOẢNG CÁCH & XUỐNG DÒNG ---------- */
/* 1. Khoảng cách giữa các khu: gọn hơn, co giãn theo màn hình */
.section { padding: clamp(56px, 6vw, 88px) 0; }
/* Hai khu cùng nền trắng đứng liền nhau: bỏ khoảng trên của khu sau */
.section:not(.section--soft):not(.section--navy) + .section:not(.section--soft):not(.section--navy) { padding-top: 0; }
.section--soft + .section--soft { padding-top: 0; }
.sec-head { margin-bottom: clamp(28px, 3vw, 44px); }

/* 2. Không để tiêu đề, câu nổi bật rớt 1 chữ cuối */
h1, h2, h3, .sec-title, .page-hero__title, .philosophy-line { text-wrap: balance; }
p, li, .sec-desc, .page-hero__sub, blockquote { text-wrap: pretty; }
.sec-head--center .sec-desc, .sec-head--center p { max-width: 62ch; margin-left: auto; margin-right: auto; }

/* 3. Khối cam kết (biểu tượng khiên, "No material conclusion…"): chữ thường, không đậm cả câu */
.evidence-rule { font-weight: 500; text-wrap: balance; }   /* trang chủ và /methodology */


/* ---------- 3. ẤN PHẨM ---------- */
/* ---- Khung trang ---- */
.pubs-intro { max-width: 820px; margin: 0 0 28px; color: var(--text); font-size: 17px; line-height: 1.7; }
.pubs-group { padding: 40px 0 8px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.pubs-group:first-of-type { border-top: 0; padding-top: 12px; }
.pubs-group__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.pubs-group__kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.pubs-group__title { margin: 6px 0 6px; font-family: var(--f-serif); font-size: 30px; line-height: 1.25; color: var(--navy); }
.pubs-group__desc { margin: 0; max-width: 720px; color: var(--text); font-size: 16px; line-height: 1.65; }
.pubs-folder { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--navy); border-radius: 4px;
  color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.pubs-folder:hover { background: var(--navy); color: #fff; }
.pubs-folder svg { width: 18px; height: 18px; }

/* ---- Thẻ ấn phẩm (dùng ngoài .prose) ---- */
.pubs .wp-series { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin: 0 0 8px; }
.pubs .wp-series__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--line); padding-bottom: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.pubs .wp-series__kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.pubs .wp-series__title { margin: 6px 0 0; font-size: 21px; line-height: 1.35; color: var(--navy); }
.pubs .wp-series__issue { background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 4px; white-space: nowrap; }
.pubs .wp-series__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.pubs .wp-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: flex; flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.05); transition: transform .3s var(--ease), box-shadow .3s; }
.pubs .wp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -10px rgba(11,27,63,.15); }
.pubs .wp-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.pubs .wp-card__part { font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--soft-2); color: var(--blue); white-space: nowrap; }
.pubs .wp-card--gold .wp-card__part { background: var(--gold-soft); color: #8F6F22; border: 1px solid #E6D9B8; }
.pubs .wp-card h3, .pubs .wp-card h4 { margin: 0 0 8px; font-size: 18px; line-height: 1.4; color: var(--navy); }
.pubs .wp-card__series { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--gold-2); }
.pubs .wp-card p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--text); flex: 1; }
.pubs .wp-card__btn { display: block; text-align: center; text-decoration: none; background: var(--navy); color: #fff; font-weight: 700;
  font-size: 15px; padding: 11px 14px; border-radius: 4px; transition: background .2s; }
.pubs .wp-card--gold .wp-card__btn { background: var(--gold); color: var(--navy); }
.pubs .wp-card__btn:hover { background: var(--blue-2); color: #fff; }
.pubs .wp-card__btn small { font-weight: 500; opacity: .8; }
.pubs .wp-series__note, .pubs-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }

/* ---- Bảng lưu trữ ấn phẩm hằng tháng ---- */
.pubs-archive { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 15px; }
.pubs-archive th { background: var(--navy); color: #fff; text-align: left; font-weight: 600; font-size: 13px; letter-spacing: .04em; padding: 12px 16px; }
.pubs-archive td { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--text); vertical-align: top; }
.pubs-archive tr:nth-child(even) td { background: #FBFAF6; }
.pubs-archive td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.pubs-archive a { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); white-space: nowrap; }
.pubs-archive a + a { margin-left: 14px; }
.pubs-archive a:hover { color: var(--gold-2); }
.pubs-archive .pubs-tag { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--gold-2); }

/* ---- Dải dẫn từ trang Insights sang Publications ---- */
.pubs-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0 0 32px;
  padding: 22px 26px; background: var(--navy); color: #fff; border-radius: var(--radius-lg); border-left: 4px solid var(--gold); }
.pubs-banner strong { display: block; font-family: var(--f-serif); font-size: 21px; font-weight: 500; margin-bottom: 4px; color: #fff; }
.pubs-banner span { color: #C9D3E3; font-size: 15px; }
.pubs-banner a { background: var(--gold); color: var(--navy); font-weight: 700; padding: 11px 18px; border-radius: 4px; text-decoration: none; white-space: nowrap; }
.pubs-banner a:hover { background: #fff; }

/* ---- Liên kết ấn phẩm chèn trong bài viết ---- */
.pub-inline { margin: 28px 0; padding: 18px 22px; background: var(--soft); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.pub-inline strong { color: var(--navy); }
.pub-inline a { color: var(--navy); font-weight: 700; }

/* ---- Điện thoại ---- */
@media (max-width: 720px) {
  .pubs-group__title { font-size: 25px; }
  .pubs .wp-series { padding: 20px 16px; }
  .pubs-archive thead { display: none; }
  .pubs-archive, .pubs-archive tbody, .pubs-archive tr, .pubs-archive td { display: block; width: 100%; }
  .pubs-archive tr { border-top: 1px solid var(--line); padding: 10px 0; }
  .pubs-archive td { border: 0; padding: 4px 16px; }
  .pubs-archive a { display: inline-block; margin: 4px 14px 0 0; }
  .pubs-archive a + a { margin-left: 0; }
}

/* ---- Hồ sơ năng lực (Corporate Profile) ---- */
.profile-card { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 30px 32px; background: var(--navy); color: #fff; border-radius: var(--radius-lg); border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-lg); }
.profile-card__text { flex: 1 1 420px; }
.profile-card__title { margin: 8px 0 8px; font-family: var(--f-serif); font-size: 28px; font-weight: 500; line-height: 1.25; color: #fff; }
.profile-card p { margin: 0 0 14px; color: #C9D3E3; font-size: 16px; line-height: 1.6; }
.profile-card__langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.profile-card__langs li { padding: 4px 12px; border: 1px solid rgba(201,162,74,.55); border-radius: 999px; font-size: 13px; color: #E6CF98; }
.profile-card__btn { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 24px; background: var(--gold);
  color: var(--navy); font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 4px; transition: background .2s; }
.profile-card__btn .ic { width: 22px; height: 22px; }
.profile-card__btn small { font-weight: 500; font-size: 12px; opacity: .8; }
.profile-card__btn:hover { background: #fff; }
.contact-info .profile-card { margin-top: 24px; padding: 24px; }
.contact-info .profile-card__title { font-size: 22px; }
.topbar__profile a { color: var(--gold); font-weight: 600; }
@media (max-width: 720px) {
  .profile-card { padding: 22px 18px; }
  .profile-card__title { font-size: 23px; }
  .profile-card__btn { width: 100%; }
}

.pubs-intro a { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--gold); text-decoration: none; }

/* ---- Liên kết trong thẻ năng lực của Case Study ---- */
a.cap-network__node { text-decoration: none; color: inherit; transition: background .2s, color .2s; }
a.cap-network__node:hover { background: var(--navy); color: #fff; }
.case-reading { margin-top: 28px; padding: 20px 22px; background: var(--soft); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; }
.case-reading__title { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.case-reading ul { margin: 0; padding: 0; list-style: none; }
.case-reading li { padding: 8px 0; border-top: 1px dashed var(--line); font-size: 15px; line-height: 1.5; }
.case-reading li:first-child { border-top: 0; }
.case-reading a { color: var(--navy); font-weight: 700; text-decoration: none; }
.case-reading a:hover { color: var(--gold-2); }
.case-reading small { display: block; color: var(--muted); font-size: 13px; }


/* ---------- 4. BÀI VIẾT ---------- */
/* Khối cuối bài: Further reading (ấn phẩm + thư mục Technical Discussions) */
.further-reading { margin: 36px 0 18px; padding: 20px 22px; background: var(--soft); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; }
.further-reading__title { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.further-reading ul { margin: 0; padding: 0; list-style: none; }
.further-reading li { padding: 9px 0; border-top: 1px dashed var(--line); font-size: 16px; line-height: 1.5; }
.further-reading li:first-child { border-top: 0; }
.further-reading a { color: var(--navy); font-weight: 700; text-decoration: none; }
.further-reading a:hover { color: var(--gold-2); }
.further-reading small { display: block; font-size: 13px; color: var(--muted); }
.prose .further-reading ul, .prose .further-reading li { margin-left: 0; padding-left: 0; }
.prose .further-reading li::before { content: none; }
/* Ghi chú miễn trừ cuối bài – một kiểu duy nhất */
.article-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--muted); font-style: normal; text-align: left; }
/* Câu chốt (blockquote) trong bài */
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-family: var(--f-serif); color: var(--navy); }
.prose blockquote p { margin: 0; }

/* ---------- 5. CASE STUDY & KHỐI BẢO MẬT ---------- */
.confidential-note { display: flex; align-items: flex-start; gap: 16px; max-width: 880px; margin: 32px auto; padding: 18px 22px;
  background: var(--soft); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; text-align: left; }
.confidential-note__icon { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold); }
.confidential-note__icon .ic { width: 20px; height: 20px; }
.confidential-note__title { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.confidential-note p { margin: 0; font-size: 15px; line-height: 1.6; font-style: normal; color: var(--text); }
@media (max-width: 720px) { .confidential-note { margin: 24px 0; padding: 16px; gap: 12px; } }
.case-step__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 28px; border-top: 2px solid var(--gold); border-bottom: 1px solid var(--line); }
.case-step__facts > div { padding: 12px 16px 12px 0; }
.case-step__facts span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.case-step__facts strong { font-size: 16px; color: var(--navy); font-weight: 600; }
@media (max-width: 720px) { .case-step__facts { grid-template-columns: 1fr; } }

/* ---------- 6. PHÒNG DỊCH VỤ (B) · KHỐI CẤU TRÚC /services (C) · ĐOẠN CĂN GIỮA (D) · ĐIỆN THOẠI (E) ---------- */
/* (B) thẻ phòng dịch vụ */
.dept-card .entity-type { display: none; }
.dept-card__kicker { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.dept-grid { align-items: stretch; }
.dept-card { display: flex; flex-direction: column; }
.dept-card h3 { min-height: 2.8em; }   /* tên 1–2 dòng vẫn thẳng hàng */
.dept-card .dept-meta { margin-top: auto; }

/* (C) khối đầu trang /services */
.svc-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: 20px; }
.svc-intro__text p { font-size: 18px; line-height: 1.7; color: var(--text); max-width: 60ch; margin: 0; }
.svc-intro__roles { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--gold); }
.svc-intro__roles li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc-intro__roles strong { display: block; font-family: var(--f-serif); font-size: 20px; font-weight: 500; color: var(--navy); }
.svc-intro__roles span { font-size: 15px; color: var(--muted); }
.svc-intro__note { margin: 0 0 36px; padding: 14px 18px; background: var(--soft); border-left: 3px solid var(--gold); font-size: 16px; color: var(--text); }
.structure-root { display: none; }
@media (max-width: 900px) { .svc-intro { grid-template-columns: 1fr; } }

/* (D) đoạn dài căn giữa */
.section .entity-desc, .section p.center { max-width: 62ch; margin-left: auto; margin-right: auto; }

/* (E) điện thoại */
@media (max-width: 720px) {
  .form-card { width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 18px; padding-right: 18px; }
  .facts, .split__side { max-width: 100%; overflow-wrap: anywhere; }
  .prose table, .section table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- 7. THẺ DỊCH VỤ (/services) ---------- */
.svc-card { display: flex; flex-direction: column; }
.svc-card .svc-card__excerpt { flex: 1; }
.svc-card .svc-card__icon { background: var(--soft-2); color: var(--navy); }   /* cùng một kiểu cho cả 9 thẻ */

/* ---------- 8. BÀI VIẾT (bổ sung) ---------- */
/* Dòng "Relevant capability" cuối bài – không đóng khung, nằm ngay dưới Further reading */
.article-capability { margin: 0 0 8px; font-size: 15px; color: var(--text); }
.article-capability a { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); }


/* Sáu mã nhóm IBA / TASC / CATA / CARA / FAIR / FOSA: chỉ class này được ép viết hoa.
   Gắn vào wrapper notranslate của riêng mã; giữ Title Case của tên đầy đủ và layout hiện có. */
.ip-team-code { text-transform: uppercase !important; }
