/* ============================================================
   ESG – TRANG CHI TIẾT "XÃ HỘI"
   Dùng chung biến màu / font với esg.css (đã include trước file này)
   ============================================================ */

/* ── Breadcrumb / tiêu đề trang ─────────────────────────── */
.detail-hero {
  padding: 40px 0 8px;
}
.detail-breadcrumb {
  font-size: 12.5px;
  color: #888;
  margin-bottom: 18px;
}
.detail-breadcrumb a { color: #888; text-decoration: none; }
.detail-breadcrumb a:hover { color: var(--orange); }
.detail-breadcrumb span { color: var(--orange); font-weight: 600; }

.page-title {
  display: inline-block;
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--orange);
  margin-bottom: 8px;
}

/* ── KHỐI SỐ LIỆU DẠNG VÒNG TRÒN ────────────────────────── */
.stat-circle-section { padding: 10px 0 24px; }

.stat-circle-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 720px;
  margin: 50px auto 24px;
}
.stat-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 380px; height: 380px;
  border: 2px solid #cbd3db;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.stat-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 26px; height: 26px;
  border: 2.5px solid #9aa5b1;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}
.stat-node::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #9aa5b1;
  transform: translate(-50%, -50%);
}

.stat-item {
  position: absolute;
  width: 350px;
  line-height: 1.5;
}
.stat-item .stat-figure {
  font-size: 25px;
  font-weight: 800;
  color: var(--blue-mid);
  margin-bottom: 6px;
  line-height: 1.25;
}
.stat-item .stat-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* vị trí 6 mốc quanh vòng tròn (12h, 2h, 4h, 6h, 8h, 10h) — bán kính 190px */
.stat-node.p-top    { top: calc(50% - 190px); left: 50%; }
.stat-node.p-ur      { top: calc(50% - 95px);  left: calc(50% + 164px); }
.stat-node.p-lr      { top: calc(50% + 95px);  left: calc(50% + 164px); }
.stat-node.p-bottom  { top: calc(50% + 190px); left: 50%; }
.stat-node.p-ll      { top: calc(50% + 95px);  left: calc(50% - 164px); }
.stat-node.p-ul      { top: calc(50% - 95px);  left: calc(50% - 164px); }

/* Khối chữ: đặt cách tâm xa hơn mốc để không đè lên nhau */
.stat-item.p-top {
  top: calc(50% - 190px - 110px); left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.stat-item.p-bottom {
  top: calc(50% + 190px + 110px); left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.stat-item.p-ur {
  top: calc(50% - 95px); left: calc(50% + 164px + 55px);
  transform: translateY(-50%);
  text-align: left;
}
.stat-item.p-lr {
  top: calc(50% + 95px); left: calc(50% + 164px + 55px);
  transform: translateY(-50%);
  text-align: left;
}
.stat-item.p-ul {
  top: calc(50% - 95px); left: calc(50% - 164px - 55px);
  transform: translate(-100%, -50%);
  text-align: right;
}
.stat-item.p-ll {
  top: calc(50% + 95px); left: calc(50% - 164px - 55px);
  transform: translate(-100%, -50%);
  text-align: right;
}

.stat-source {
  text-align: right;
  font-size: 13px;
  color: #999;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 1100px;
}

@media (max-width: 1150px) {
  .stat-circle-wrap { max-width: 940px; }
  .stat-ring { width: 320px; height: 320px; }
  .stat-node.p-top    { top: calc(50% - 160px); }
  .stat-node.p-ur      { top: calc(50% - 80px);  left: calc(50% + 138px); }
  .stat-node.p-lr      { top: calc(50% + 80px);  left: calc(50% + 138px); }
  .stat-node.p-bottom  { top: calc(50% + 160px); }
  .stat-node.p-ll      { top: calc(50% + 80px);  left: calc(50% - 138px); }
  .stat-node.p-ul      { top: calc(50% - 80px);  left: calc(50% - 138px); }
  .stat-item { width: 270px; }
  .stat-item .stat-figure { font-size: 21px; }
  .stat-item .stat-desc { font-size: 14px; }
  .stat-item.p-top { top: calc(50% - 160px - 95px); }
  .stat-item.p-bottom { top: calc(50% + 160px + 95px); }
  .stat-item.p-ur { top: calc(50% - 80px); left: calc(50% + 138px + 40px); }
  .stat-item.p-lr { top: calc(50% + 80px); left: calc(50% + 138px + 40px); }
  .stat-item.p-ul { top: calc(50% - 80px); left: calc(50% - 138px - 40px); }
  .stat-item.p-ll { top: calc(50% + 80px); left: calc(50% - 138px - 40px); }
}

/* ── Fallback dạng thẻ dọc cho màn hình nhỏ ─────────────── */
.stat-cards-mobile { display: none; }
.stat-cards-mobile .stat-card-m {
  border-left: 3px solid var(--blue-mid);
  padding: 4px 0 4px 14px;
  margin-bottom: 16px;
}
.stat-cards-mobile .stat-figure { font-size: 17px; font-weight: 800; color: var(--blue-mid); }
.stat-cards-mobile .stat-desc { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

@media (max-width: 900px) {
  .stat-circle-wrap { display: none; }
  .stat-source { text-align: left; }
  .stat-cards-mobile { display: block; margin-top: 12px; }
}

/* ── BÁO CÁO NHÂN QUYỀN ─────────────────────────────────── */
.hr-report-section { padding: 24px 0 var(--section-pad); }
.hr-report-section .section-title2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
  margin-bottom: 22px;
}

.hr-policy-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 22px;
}
.hr-policy-link .icon { font-size: 18px; text-decoration: none; }

.hr-intro-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 980px;
  margin-bottom: 28px;
}

/* Bảng đánh giá */
.hr-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
}
.hr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.hr-table thead th {
  background: var(--blue-dark);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 18px;
}
.hr-table thead th:first-child { width: 22%; }
.hr-table thead th:nth-child(2) { width: 36%; }
.hr-table tbody td {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 16px 18px;
  border-top: 1px solid #ececec;
  vertical-align: top;
  line-height: 1.6;
}
.hr-table tbody tr:nth-child(even) { background: #fafbfd; }
.hr-table .topic-title {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
}
.hr-table .topic-note {
  font-size: 12px;
  color: #888;
}
.hr-table ul { list-style: none; padding: 0; margin: 0; }
.hr-table ul li { position: relative; padding-left: 14px; margin-bottom: 6px; }
.hr-table ul li:last-child { margin-bottom: 0; }
.hr-table ul li::before {
  content: '•';
  position: absolute; left: 0; top: 0;
  color: var(--green);
}
.hr-table ul li b { color: var(--text); }

.hr-table-source {
  text-align: right;
  font-size: 13px;
  color: var(--text-muted);
  padding: 12px 18px;
  border-top: 1px solid #ececec;
}
.hr-table-source a {
  color: var(--blue-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

/* ── Nút quay lại ───────────────────────────────────────── */
.back-to-esg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.back-to-esg:hover { color: var(--orange); }

@media (max-width: 900px) {
  .page-title { font-size: 26px; }
  .hr-table { min-width: 640px; }
}
