/* =============================================================================
   BỘ KHUNG BÀI MAGAZINE ZIP – BÁO THANH NIÊN · style.css
   Quy tắc: mọi selector bắt đầu bằng .tnz-an-toan-thoat-lu-song-hong; không dùng html/body/:root/*,
   không ::before/::after, không !important, không scroll-behavior.
   Đổi màu, font, chiều rộng: sửa các biến ngay trong khối .tnz-an-toan-thoat-lu-song-hong đầu tiên.
   File này là PHẦN DÙNG CHUNG. Khi dựng gói, dung-bai.py ghép thêm style-desktop.css
   (gói desktop) hoặc style-mobile.css (gói mobile) vào cuối thành một style.css duy nhất.
   ========================================================================== */

/* Font dự phòng khi xem thử ngoài trang báo (trên thanhnien.vn đã có sẵn Merriweather, Inter) */
@font-face { font-family: "tnz-an-toan-thoat-lu-song-hong-merriweather"; font-weight: 700; font-display: swap;
  src: url("assets/fonts/merriweather-vietnamese-700.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "tnz-an-toan-thoat-lu-song-hong-merriweather"; font-weight: 700; font-display: swap;
  src: url("assets/fonts/merriweather-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "tnz-an-toan-thoat-lu-song-hong-inter"; font-weight: 400; font-display: swap;
  src: url("assets/fonts/inter-vietnamese-400.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "tnz-an-toan-thoat-lu-song-hong-inter"; font-weight: 400; font-display: swap;
  src: url("assets/fonts/inter-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "tnz-an-toan-thoat-lu-song-hong-inter"; font-weight: 700; font-display: swap;
  src: url("assets/fonts/inter-vietnamese-700.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "tnz-an-toan-thoat-lu-song-hong-inter"; font-weight: 700; font-display: swap;
  src: url("assets/fonts/inter-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

/* ---------- 0. BIẾN & NỀN TẢNG ---------- */
.tnz-an-toan-thoat-lu-song-hong {
  --tnz-top: 42px;                 /* header báo trên bài zip desktop (đo trên bài metro TP.HCM 26/11/2026): thanh cố định 42px (padding 3px, logo 36px); đầu trang có phần giữ chỗ 52px nên màn hình đầu header trông cao hơn, cuộn xuống còn 42px, logo cách đều trên dưới. Giữ nguyên hành vi này, phần dính bám ngay dưới 42px. Mobile 47px, không đổi khi cuộn */
  --tnz-ink: #1f2937;              /* chữ chính (giống thanhnien.vn) */
  --tnz-muted: #64748b;            /* chú thích, nguồn */
  --tnz-line: #e5e7eb;
  --tnz-bg: #ffffff;
  --tnz-soft: #f4f6f9;             /* nền hộp tóm tắt, bảng */
  --tnz-accent: #1f5f7a;           /* xanh nước sông (màu nhấn của bài) */
  --tnz-hot: #a24e2e;
  --tnz-dark-bg: #13202e;          /* nền khối tối */
  --tnz-dark-ink: #eef2f5;
  --tnz-c1: #a24e2e; --tnz-c2: #0f766e; --tnz-c3: #94a3b8; --tnz-c4: #1f2937; --tnz-c5: #16a34a; --tnz-c6: #e11d48;
  --tnz-l1: #2563eb; --tnz-l2: #e11d48; --tnz-l8: #16a34a; --tnz-l10: #0d9488; --tnz-l14: #c026d3; --tnz-l2a: #f59e0b; --tnz-l3: #7c3aed;
  --tnz-g1: #0e75ad; --tnz-g2: #0f766e; --tnz-g3: #b45309;
  --tnz-serif: "Merriweather", "tnz-an-toan-thoat-lu-song-hong-merriweather", Georgia, "Times New Roman", serif;
  --tnz-sans: "Inter", "tnz-an-toan-thoat-lu-song-hong-inter", Arial, Helvetica, sans-serif;
  --tnz-col: 720px; --tnz-wide: 1100px; --tnz-narrow: 760px;

  position: relative; overflow-x: clip;
  background: var(--tnz-bg); color: var(--tnz-ink);
  font-family: var(--tnz-sans); font-size: 18px; line-height: 29px; font-weight: 400;
  text-align: left; -webkit-text-size-adjust: 100%;
}
.tnz-an-toan-thoat-lu-song-hong, .tnz-an-toan-thoat-lu-song-hong * { box-sizing: border-box; }
.tnz-an-toan-thoat-lu-song-hong p, .tnz-an-toan-thoat-lu-song-hong ul, .tnz-an-toan-thoat-lu-song-hong ol, .tnz-an-toan-thoat-lu-song-hong figure, .tnz-an-toan-thoat-lu-song-hong blockquote,
.tnz-an-toan-thoat-lu-song-hong h1, .tnz-an-toan-thoat-lu-song-hong h2, .tnz-an-toan-thoat-lu-song-hong h3 { margin: 0; padding: 0; }
.tnz-an-toan-thoat-lu-song-hong p { margin-bottom: 18px; font-size: inherit; line-height: inherit; color: inherit; font-family: inherit; font-weight: inherit; text-align: inherit; }
/* chặn CSS chung của trang báo áp vào bài */
.tnz-an-toan-thoat-lu-song-hong ul, .tnz-an-toan-thoat-lu-song-hong ol, .tnz-an-toan-thoat-lu-song-hong li, .tnz-an-toan-thoat-lu-song-hong table, .tnz-an-toan-thoat-lu-song-hong caption, .tnz-an-toan-thoat-lu-song-hong th, .tnz-an-toan-thoat-lu-song-hong td,
.tnz-an-toan-thoat-lu-song-hong figcaption, .tnz-an-toan-thoat-lu-song-hong blockquote, .tnz-an-toan-thoat-lu-song-hong cite, .tnz-an-toan-thoat-lu-song-hong span, .tnz-an-toan-thoat-lu-song-hong details, .tnz-an-toan-thoat-lu-song-hong summary,
.tnz-an-toan-thoat-lu-song-hong p, .tnz-an-toan-thoat-lu-song-hong h1, .tnz-an-toan-thoat-lu-song-hong h2, .tnz-an-toan-thoat-lu-song-hong h3, .tnz-an-toan-thoat-lu-song-hong figure, .tnz-an-toan-thoat-lu-song-hong section, .tnz-an-toan-thoat-lu-song-hong header, .tnz-an-toan-thoat-lu-song-hong aside, .tnz-an-toan-thoat-lu-song-hong nav {
  color: inherit; background: none; border: 0; letter-spacing: normal; text-transform: none; text-shadow: none; box-shadow: none; float: none;
}
.tnz-an-toan-thoat-lu-song-hong ul { list-style: disc; }
.tnz-an-toan-thoat-lu-song-hong li { font-size: inherit; line-height: inherit; font-family: inherit; }
.tnz-an-toan-thoat-lu-song-hong table { border-collapse: collapse; border-spacing: 0; font-family: inherit; }
.tnz-an-toan-thoat-lu-song-hong th, .tnz-an-toan-thoat-lu-song-hong td { vertical-align: top; font-family: inherit; }
.tnz-an-toan-thoat-lu-song-hong img { padding: 0; margin: 0; box-shadow: none; }
.tnz-an-toan-thoat-lu-song-hong b, .tnz-an-toan-thoat-lu-song-hong strong { font-weight: 700; }
.tnz-an-toan-thoat-lu-song-hong a { color: var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong img { display: block; max-width: 100%; height: auto; border: 0; }
.tnz-an-toan-thoat-lu-song-hong button { font-family: var(--tnz-sans); }

/* bố cục chiều rộng */
.tnz-an-toan-thoat-lu-song-hong .tnz-col { max-width: var(--tnz-col); margin: 0 auto; padding: 0 16px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-wide { max-width: var(--tnz-wide); margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-narrow { max-width: var(--tnz-narrow); margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-full { width: 100%; }

/* nhãn khối (không dùng trong bài) */
.tnz-an-toan-thoat-lu-song-hong .tnz-tag { display: none; }

/* ---------- KHỐI A · MỞ BÀI ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-title { font-family: var(--tnz-serif); font-weight: 700; font-size: 44px; line-height: 1.3; margin: 0 0 18px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sapo { font-family: var(--tnz-serif); font-weight: 700; font-size: 19px; line-height: 31px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-kicker { font-size: 13px; line-height: 20px; letter-spacing: .08em; text-transform: uppercase; color: var(--tnz-accent); font-weight: 700; margin-bottom: 10px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-byline { font-size: 14px; color: var(--tnz-muted); margin: 0; }

.tnz-an-toan-thoat-lu-song-hong .tnz-hero-cover {
  position: relative; min-height: calc(100vh - var(--tnz-top)); display: flex; flex-direction: column;
  justify-content: flex-end; background: #111; color: #fff;
}
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-cover .tnz-tag { position: absolute; top: 12px; left: 12px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-text {
  position: relative; z-index: 1; width: 100%; padding: 120px max(16px, calc(50% - 400px)) 56px;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.78) 55%);
}
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-cover .tnz-kicker { color: #8fd8f5; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-cover .tnz-byline { color: #c9d1d8; margin-top: 18px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-plain { padding: 56px 0 8px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-plain .tnz-tag { margin-left: 16px; }

/* ---------- KHỐI G1 · MENU CHƯƠNG ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-chapters {
  position: sticky; top: var(--tnz-top); z-index: 20; display: flex; gap: 6px; justify-content: center;
  overflow-x: auto; padding: 10px 16px; margin: 24px 0 40px; background: rgba(255,255,255,.96);
  border-top: 1px solid var(--tnz-line); border-bottom: 1px solid var(--tnz-line);
}
.tnz-an-toan-thoat-lu-song-hong .tnz-chapter-link {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 700;
  color: var(--tnz-ink); text-decoration: none; background: var(--tnz-soft);
}
.tnz-an-toan-thoat-lu-song-hong .tnz-chapter-link.tnz-on { background: var(--tnz-accent); color: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-anchor { display: block; position: relative; top: calc(-1 * (var(--tnz-top) + 70px)); height: 0; visibility: hidden; }

/* ---------- KHỐI C · CHỮ ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-h2 { font-family: var(--tnz-serif); font-weight: 700; font-size: 28px; line-height: 1.4; margin: 44px 0 20px; color: var(--tnz-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-quote { margin: 36px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong .tnz-quote p { font-family: var(--tnz-serif); font-weight: 700; font-size: 22px; line-height: 36px; margin-bottom: 10px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-quote-by { display: block; font-style: normal; font-size: 15px; color: var(--tnz-muted); }
.tnz-an-toan-thoat-lu-song-hong .tnz-box { background: var(--tnz-soft); border-top: 4px solid var(--tnz-accent); padding: 22px 24px 8px; margin: 32px 0; font-size: 17px; line-height: 27px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-box-title { font-weight: 700; font-size: 18px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-box ul { padding-left: 20px; margin-bottom: 16px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-box li { margin-bottom: 8px; }

.tnz-an-toan-thoat-lu-song-hong .tnz-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; margin-bottom: 40px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stats .tnz-tag { grid-column: 1 / -1; justify-self: start; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stat { border-top: 3px solid var(--tnz-ink); padding-top: 12px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stat-num { font-family: var(--tnz-serif); font-weight: 700; font-size: 44px; line-height: 1.15; margin-bottom: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stat-lbl { font-size: 15px; line-height: 22px; color: var(--tnz-muted); margin: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-accent { color: var(--tnz-hot); }

/* ảnh */
.tnz-an-toan-thoat-lu-song-hong .tnz-photo { margin-top: 36px; margin-bottom: 36px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-photo img { width: 100%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-photo.tnz-full .tnz-caption { max-width: var(--tnz-wide); margin-left: auto; margin-right: auto; padding: 0 16px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-caption { font-size: 15px; line-height: 23px; color: var(--tnz-muted); margin-top: 8px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-zoomable { cursor: zoom-in; }
.tnz-an-toan-thoat-lu-song-hong .tnz-photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; margin-bottom: 36px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-photo-pair .tnz-tag { grid-column: 1 / -1; justify-self: start; }
.tnz-an-toan-thoat-lu-song-hong .tnz-photo-pair .tnz-photo { margin: 0; }

/* ---------- KHỐI B · KỂ CHUYỆN THEO CUỘN (dùng chung B1, B2, B3) ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-scrolly { position: relative; margin: 48px 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-scrolly > .tnz-tag { position: absolute; top: 8px; left: 12px; z-index: 4; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stage {
  position: sticky; top: var(--tnz-top); height: calc(100vh - var(--tnz-top)); width: 100%;
  overflow: hidden; z-index: 0;
}
.tnz-an-toan-thoat-lu-song-hong .tnz-steps { position: relative; z-index: 2; margin-top: calc(var(--tnz-top) - 100vh); }
.tnz-an-toan-thoat-lu-song-hong .tnz-step { min-height: 100vh; display: flex; align-items: center; justify-content: flex-end; padding: 0 6vw; }
.tnz-an-toan-thoat-lu-song-hong .tnz-step:first-child { padding-top: 30vh; }
.tnz-an-toan-thoat-lu-song-hong .tnz-step:last-child { min-height: 115vh; }
.tnz-an-toan-thoat-lu-song-hong .tnz-card-left .tnz-step { justify-content: flex-start; }
.tnz-an-toan-thoat-lu-song-hong .tnz-card-center .tnz-step { justify-content: center; }
.tnz-an-toan-thoat-lu-song-hong .tnz-card {
  max-width: 420px; padding: 20px 24px; border-radius: 10px; font-size: 17px; line-height: 28px;
  background: rgba(255,255,255,.96); color: var(--tnz-ink); box-shadow: 0 8px 28px rgba(0,0,0,.18);
  opacity: .3; transform: translateY(16px); transition: opacity .45s, transform .45s;
}
.tnz-an-toan-thoat-lu-song-hong .tnz-step.tnz-on .tnz-card { opacity: 1; transform: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-card-intro { font-family: var(--tnz-serif); font-weight: 700; font-size: 20px; line-height: 32px; }

/* B1 · nền ảnh */
.tnz-an-toan-thoat-lu-song-hong .tnz-stage-media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: transform 1.1s cubic-bezier(.4,0,.2,1); transform-origin: 50% 50%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-frame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity .7s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-fit-contain .tnz-frame { object-fit: contain; }
.tnz-an-toan-thoat-lu-song-hong .tnz-frame.tnz-on { opacity: 1; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stage-note { position: absolute; left: 12px; bottom: 6px; margin: 0; font-size: 12px; line-height: 18px; color: var(--tnz-muted); }

/* B2 · nền biểu đồ cột */
.tnz-an-toan-thoat-lu-song-hong .tnz-stage-chart { position: absolute; top: 6%; left: 3%; width: 60%; height: 84%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-card-left .tnz-stage-chart { left: 37%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stage-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

/* B3 · nền hình minh họa nhiều lớp */
.tnz-an-toan-thoat-lu-song-hong .tnz-scrolly[data-tnz-scrolly="lop"] .tnz-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 16px; background: var(--tnz-soft); }
.tnz-an-toan-thoat-lu-song-hong .tnz-stage-title { font-weight: 700; font-size: 20px; margin-bottom: 10px; text-align: center; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stage-svg { width: min(1000px, 100%); height: auto; max-height: 75%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stage-svg [data-tnz-layer] { opacity: 0; transition: opacity .6s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stage-svg [data-tnz-layer].tnz-on { opacity: 1; }

/* ---------- KHỐI TỐI (thêm class tnz-dark vào section) ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-dark { background: var(--tnz-dark-bg); color: var(--tnz-dark-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-stage { background: var(--tnz-dark-bg); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-card { background: rgba(27,37,48,.92); color: var(--tnz-dark-ink); border: 1px solid rgba(255,255,255,.12); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-card b { color: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-data summary, .tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-stage-note { color: #9aa7b3; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-ax { fill: #9aa7b3; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-grid { stroke: rgba(255,255,255,.1); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-vlab { fill: #fff; }

/* ---------- KHỐI D · BIỂU ĐỒ ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-fig { margin-top: 44px; margin-bottom: 44px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-fig-title { font-weight: 700; font-size: 18px; line-height: 27px; margin-bottom: 4px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-fig-hint { font-size: 14px; line-height: 21px; font-style: italic; color: var(--tnz-muted); margin-bottom: 8px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-src { display: block; font-size: 13px; line-height: 20px; color: var(--tnz-muted); margin-top: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-chart { position: relative; width: 100%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.tnz-an-toan-thoat-lu-song-hong .tnz-ax { fill: var(--tnz-muted); font-size: 12px; font-family: var(--tnz-sans); }
.tnz-an-toan-thoat-lu-song-hong .tnz-grid { stroke: var(--tnz-line); stroke-width: 1; }
.tnz-an-toan-thoat-lu-song-hong .tnz-avg { stroke: var(--tnz-ink); stroke-dasharray: 4 4; stroke-width: 1.2; }
.tnz-an-toan-thoat-lu-song-hong .tnz-avg-lab { fill: var(--tnz-ink); font-size: 12px; font-weight: 700; font-family: var(--tnz-sans); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-avg { stroke: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-avg-lab { fill: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-vlab { fill: var(--tnz-ink); font-size: 12px; font-weight: 700; font-family: var(--tnz-sans); }
.tnz-an-toan-thoat-lu-song-hong .tnz-bar { transition: opacity .2s; cursor: pointer; }
.tnz-an-toan-thoat-lu-song-hong .tnz-bar:hover { opacity: .75; }
.tnz-an-toan-thoat-lu-song-hong .tnz-tip {
  position: absolute; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .15s;
  background: #fff; color: var(--tnz-ink); font-size: 13px; line-height: 19px; padding: 7px 10px;
  border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.22); white-space: nowrap;
}
.tnz-an-toan-thoat-lu-song-hong .tnz-tip.tnz-on { opacity: 1; }
.tnz-an-toan-thoat-lu-song-hong .tnz-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; line-height: 20px; color: var(--tnz-muted); margin: 6px 0 8px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-key { display: inline-flex; align-items: center; gap: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 2px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-tabs { display: inline-flex; flex-wrap: wrap; background: var(--tnz-soft); border-radius: 999px; padding: 3px; margin-bottom: 10px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-tab { border: 0; background: none; color: var(--tnz-muted); font-size: 14px; line-height: 20px; font-weight: 700; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.tnz-an-toan-thoat-lu-song-hong .tnz-tab[aria-selected="true"] { background: var(--tnz-accent); color: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-select { font-size: 14px; line-height: 20px; padding: 6px 10px; border: 1px solid var(--tnz-line); border-radius: 6px; background: #fff; color: var(--tnz-ink); margin-bottom: 8px; }

/* bảng số liệu nguồn (đóng mặc định) */
.tnz-an-toan-thoat-lu-song-hong .tnz-data { margin-top: 10px; font-size: 14px; line-height: 21px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-data summary { cursor: pointer; color: var(--tnz-muted); font-weight: 700; }
.tnz-an-toan-thoat-lu-song-hong .tnz-data table, .tnz-an-toan-thoat-lu-song-hong .tnz-table { border-collapse: collapse; width: 100%; margin-top: 8px; font-size: 14px; line-height: 21px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-data caption { text-align: left; font-weight: 700; padding-top: 8px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-data th, .tnz-an-toan-thoat-lu-song-hong .tnz-data td, .tnz-an-toan-thoat-lu-song-hong .tnz-table th, .tnz-an-toan-thoat-lu-song-hong .tnz-table td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--tnz-line); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-data th, .tnz-an-toan-thoat-lu-song-hong .tnz-dark .tnz-data td { border-color: rgba(255,255,255,.12); }
.tnz-an-toan-thoat-lu-song-hong .tnz-scrolly > .tnz-data { position: relative; z-index: 2; max-width: var(--tnz-wide); margin: 0 auto; padding: 0 16px 24px; }

/* D5 · so sánh cặp */
.tnz-an-toan-thoat-lu-song-hong .tnz-pair { padding: 14px 0; border-bottom: 1px solid var(--tnz-line); }
.tnz-an-toan-thoat-lu-song-hong .tnz-pair-name { font-weight: 700; font-size: 15px; line-height: 22px; margin-bottom: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-pair-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; margin-bottom: 4px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-pair-track { height: 10px; background: var(--tnz-soft); border-radius: 5px; overflow: hidden; }
.tnz-an-toan-thoat-lu-song-hong .tnz-pair-fill { height: 100%; width: 0; border-radius: 5px; transition: width .9s cubic-bezier(.4,0,.2,1); }
.tnz-an-toan-thoat-lu-song-hong .tnz-pair-val { min-width: 110px; text-align: right; }

/* D6 · bảng tra cứu */
.tnz-an-toan-thoat-lu-song-hong .tnz-tablewrap { margin-top: 44px; margin-bottom: 44px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-table-scroll { overflow-x: auto; }
.tnz-an-toan-thoat-lu-song-hong .tnz-table thead th { background: var(--tnz-soft); font-weight: 700; white-space: nowrap; }
.tnz-an-toan-thoat-lu-song-hong .tnz-table th.tnz-sortable { cursor: pointer; }
.tnz-an-toan-thoat-lu-song-hong .tnz-table th.tnz-sortable:hover { color: var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong .tnz-search { width: 100%; max-width: 360px; font-size: 15px; line-height: 22px; padding: 8px 12px; border: 1px solid var(--tnz-line); border-radius: 6px; margin: 6px 0 8px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hide { display: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-js-table + .tnz-table-scroll { display: none; }   /* bảng gốc ẩn khi bản JS đã dựng */

/* ---------- KHỐI E1 · SO SÁNH ẢNH KÉO TRƯỢT ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-compare { margin-top: 44px; margin-bottom: 44px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-compare-box { position: relative; overflow: hidden; user-select: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-compare-a { width: 100%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-compare-b { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 50%); }
.tnz-an-toan-thoat-lu-song-hong .tnz-compare-lbl { position: absolute; top: 12px; z-index: 2; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; line-height: 18px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-compare-lbl-a { left: 12px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-compare-lbl-b { right: 12px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-compare-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1px; background: #fff; z-index: 2; pointer-events: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-compare-knob { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; z-index: 3; pointer-events: none; box-shadow: 0 2px 10px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--tnz-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-compare-range { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }


/* ---------- KHỐI B4 · VIDEO TUA THEO CUỘN ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-stage-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-steps { pointer-events: none; }               /* để rê chuột được vào bản đồ/đồ họa phía sau */
.tnz-an-toan-thoat-lu-song-hong .tnz-card { pointer-events: auto; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stage-legend {
  position: absolute; top: 64px; left: 12px; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px 14px; max-width: 90%;
  background: rgba(255,255,255,.92); border-radius: 6px; padding: 6px 10px; font-size: 13px; line-height: 18px; color: var(--tnz-ink);
}
.tnz-an-toan-thoat-lu-song-hong .tnz-sw-plain { background: #f2f2ef; border: 1px solid #bbb; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sw-c2 { background: var(--tnz-c2); } .tnz-an-toan-thoat-lu-song-hong .tnz-sw-c3 { background: var(--tnz-c3); }
.tnz-an-toan-thoat-lu-song-hong .tnz-sw-c5 { background: var(--tnz-c5); } .tnz-an-toan-thoat-lu-song-hong .tnz-sw-c6 { background: var(--tnz-c6); }

/* ---------- KHỐI B5, D7 · BẢN ĐỒ SVG ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map-base { opacity: 1; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map [data-tnz-layer] { opacity: 0; transition: opacity .6s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map [data-tnz-layer].tnz-on { opacity: 1; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map [data-tnz-tip] { cursor: pointer; transition: fill-opacity .2s, stroke-width .2s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map .tnz-map-area[data-tnz-tip]:hover { fill-opacity: .85; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map .tnz-map-point[data-tnz-tip]:hover { stroke-width: 4; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map-label { font-family: var(--tnz-sans); font-weight: 700; fill: var(--tnz-ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stage .tnz-tip { z-index: 3; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map-box { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--tnz-soft); border-radius: 6px; touch-action: pan-y; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map-box.tnz-zoomed { touch-action: none; cursor: grab; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map-pan { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-origin: 0 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map-ctrl { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map-ctrl button { width: 34px; height: 34px; border: 1px solid var(--tnz-line); border-radius: 6px; background: #fff; color: var(--tnz-ink); font-size: 18px; line-height: 1; cursor: pointer; }
.tnz-an-toan-thoat-lu-song-hong .tnz-layers { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-layer-btn { border: 1px solid var(--tnz-line); background: #fff; color: var(--tnz-ink); font-size: 13px; line-height: 18px; font-weight: 700; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.tnz-an-toan-thoat-lu-song-hong .tnz-layer-btn[aria-pressed="true"] { background: var(--tnz-ink); border-color: var(--tnz-ink); color: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map-box [data-tnz-layer] { opacity: 1; }
.tnz-an-toan-thoat-lu-song-hong .tnz-map-box [data-tnz-layer].tnz-off { opacity: 0; pointer-events: none; }

/* ---------- KHỐI E2 · XOAY MÔ HÌNH 3D ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-spin-fig { margin-top: 44px; margin-bottom: 44px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-spin { position: relative; aspect-ratio: 3 / 2; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; background: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-spin-frame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-spin-frame.tnz-on { opacity: 1; }
.tnz-an-toan-thoat-lu-song-hong .tnz-spin-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; background: rgba(41,41,41,.8); color: #fff; font-size: 13px; line-height: 18px; padding: 6px 12px; border-radius: 999px; pointer-events: none; transition: opacity .4s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-spin-range { width: 100%; margin-top: 8px; accent-color: var(--tnz-accent); }


/* ---------- KHỐI B6, D8 · BẢN ĐỒ ĐỘNG (MapLibre) ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-mapgl-host { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #eef1f3; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mapgl-fig { position: relative; height: auto; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mapgl { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mapgl-label { font: 700 12px/1.2 var(--tnz-sans); color: var(--tnz-ink); background: rgba(255,255,255,.88); padding: 2px 6px; border-radius: 4px; white-space: normal; width: max-content; max-width: 170px; pointer-events: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mapgl-host .tnz-tip { z-index: 5; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lib-note { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 80%; margin: 0; padding: 12px 16px; background: #fff4e5; border: 1px solid #f0b65a; border-radius: 8px; font-size: 14px; line-height: 21px; text-align: center; }

/* ---------- KHỐI B7, E3 · MÔ HÌNH 3D THỜI GIAN THỰC (three.js) ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-3d-host { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-3d-fig { position: relative; height: auto; aspect-ratio: 16 / 10; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; border-radius: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-3d { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-3d-canvas { display: block; width: 100%; height: 100%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-3d-host .tnz-tip { z-index: 5; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sw-c1 { background: var(--tnz-c1); }

/* ---------- KHỐI F · DÒNG THỜI GIAN ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-tl { list-style: none; margin: 16px 0 36px; padding: 0 0 0 8px; border-left: 2px solid var(--tnz-line); }
.tnz-an-toan-thoat-lu-song-hong .tnz-tl-item {
  margin-left: -9px; padding: 0 0 22px 32px; transition: opacity .3s;
  background: radial-gradient(circle at 8px 12px, var(--tnz-accent) 6px, #fff 7px, rgba(255,255,255,0) 8px) no-repeat;
}
.tnz-an-toan-thoat-lu-song-hong .tnz-tl-item p { margin-bottom: 4px; font-size: 16px; line-height: 25px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-tl-date { color: var(--tnz-accent); font-weight: 700; }
.tnz-an-toan-thoat-lu-song-hong .tnz-tl-head { font-weight: 700; }
.tnz-an-toan-thoat-lu-song-hong .tnz-tl-item.tnz-dim { opacity: .25; }
.tnz-an-toan-thoat-lu-song-hong .tnz-phases { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-phase { border: 1px solid var(--tnz-line); background: #fff; color: var(--tnz-ink); font-size: 13px; line-height: 18px; font-weight: 700; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.tnz-an-toan-thoat-lu-song-hong .tnz-phase[aria-pressed="true"] { background: var(--tnz-accent); border-color: var(--tnz-accent); color: #fff; }

.tnz-an-toan-thoat-lu-song-hong .tnz-htl { position: relative; margin: 48px 0; background: var(--tnz-soft); }
.tnz-an-toan-thoat-lu-song-hong .tnz-htl > .tnz-tag { position: absolute; top: 8px; left: 12px; z-index: 4; }
.tnz-an-toan-thoat-lu-song-hong .tnz-htl-sticky { position: sticky; top: var(--tnz-top); height: calc(100vh - var(--tnz-top)); overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 max(16px, calc(50% - 540px)); }
.tnz-an-toan-thoat-lu-song-hong .tnz-htl-title { padding-right: 16px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-htl-view { overflow: visible; padding-top: 12px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-htl-track {
  display: flex; gap: 20px; width: max-content; margin: 0; padding: 26px 40px 0 0; border: 0;
  background: linear-gradient(var(--tnz-line), var(--tnz-line)) 0 8px / 100% 2px no-repeat;
  will-change: transform;
}
.tnz-an-toan-thoat-lu-song-hong .tnz-htl-track .tnz-tl-item {
  width: 290px; margin: 0; padding: 16px 18px 10px; background: #fff; border-radius: 8px;
  border-top: 4px solid var(--tnz-accent); box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

/* ---------- KHỐI G2 · GHI CHÚ, Ê-KÍP ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-notes { margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--tnz-line); font-size: 15px; line-height: 23px; color: var(--tnz-muted); }
.tnz-an-toan-thoat-lu-song-hong .tnz-notes-title { font-weight: 700; color: var(--tnz-ink); margin-bottom: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-credit { margin: 24px 0 56px; text-align: right; font-weight: 700; font-size: 16px; line-height: 25px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-credit p { margin: 0; }

/* ---------- PHẦN TỬ DO app.js TẠO RA ---------- */
.tnz-an-toan-thoat-lu-song-hong .tnz-progress { position: fixed; top: var(--tnz-top); left: 0; height: 1.5px; width: 100%; background: #28abe2; transform-origin: 0 50%; transform: scaleX(0); z-index: 80; pointer-events: none; }   /* dưới 90: khối header__middle của báo có z-index 90 khi cuộn */
.tnz-an-toan-thoat-lu-song-hong .tnz-lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99; background: rgba(0,0,0,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 24px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lightbox img { max-width: 100%; max-height: 82vh; width: auto; object-fit: contain; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lightbox p { color: #ddd; font-size: 14px; line-height: 21px; margin: 10px 0 0; max-width: 900px; text-align: center; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lightbox-close { position: absolute; top: 12px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 24px; line-height: 40px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .tnz-an-toan-thoat-lu-song-hong .tnz-card, .tnz-an-toan-thoat-lu-song-hong .tnz-frame, .tnz-an-toan-thoat-lu-song-hong .tnz-stage-media,
  .tnz-an-toan-thoat-lu-song-hong .tnz-pair-fill, .tnz-an-toan-thoat-lu-song-hong .tnz-stage-svg [data-tnz-layer] { transition: none; }
}

/* =============================================================================
   BÀI METRO HÀ NỘI – phần thiết kế riêng
   Màu tuyến (--tnz-l*) chỉ dùng cho những gì thuộc về một tuyến metro;
   thông tin chung dùng màu nhấn --tnz-accent hoặc xám.
   ========================================================================== */
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-credit { position: absolute; z-index: 2; bottom: 10px; right: 16px; margin: 0; font-size: 12px; line-height: 16px; letter-spacing: .04em; color: rgba(255,255,255,.62); }
.tnz-an-toan-thoat-lu-song-hong .tnz-notes-list { margin: 0 0 14px; padding-left: 22px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-notes-list li { margin: 0 0 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-notes .tnz-notes-title { margin-top: 4px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-cover .tnz-title { color: #fff; }
/* mở bài: giữ nguyên khung ảnh gốc (không cắt), tít – sapo – tác giả căn giữa */
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-full .tnz-hero-img { object-fit: cover; object-position: 62% 45%; }   /* tràn hết bề ngang, cắt bớt trên/dưới, giữ đoàn tàu */
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-full .tnz-hero-text { text-align: center; padding-top: 160px; padding-bottom: 40px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.42) 45%, rgba(0,0,0,.62)); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-full .tnz-title, .tnz-an-toan-thoat-lu-song-hong .tnz-hero-full .tnz-sapo, .tnz-an-toan-thoat-lu-song-hong .tnz-hero-full .tnz-byline { text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-full .tnz-sapo { text-align: center; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-full .tnz-byline { font-size: 19px; line-height: 26px; font-weight: 400; color: #fff; margin-top: 16px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-byline-link { color: inherit; text-decoration: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-byline-link:hover { color: inherit; text-decoration: none; opacity: .85; }

/* cặp ảnh tràn trang, hai ảnh cao bằng nhau */
.tnz-an-toan-thoat-lu-song-hong .tnz-photo-pair.tnz-full { gap: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-photo-pair.tnz-full .tnz-caption { padding: 0 16px; }

/* con số lớn */
.tnz-an-toan-thoat-lu-song-hong .tnz-stats.tnz-mx { margin-top: 32px; margin-bottom: 28px; gap: 24px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mx .tnz-stat { border-top: 4px solid var(--tnz-accent); padding-top: 14px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mx .tnz-stat-num { color: var(--tnz-accent); font-family: var(--tnz-sans); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.tnz-an-toan-thoat-lu-song-hong .tnz-h2.tnz-center { text-align: center; font-size: 32px; margin-top: 56px; }

/* ô màu tuyến */
.tnz-an-toan-thoat-lu-song-hong .tnz-sw-l1 { background: var(--tnz-l1); } .tnz-an-toan-thoat-lu-song-hong .tnz-sw-l2 { background: var(--tnz-l2); } .tnz-an-toan-thoat-lu-song-hong .tnz-sw-l8 { background: var(--tnz-l8); }
.tnz-an-toan-thoat-lu-song-hong .tnz-sw-l10 { background: var(--tnz-l10); } .tnz-an-toan-thoat-lu-song-hong .tnz-sw-l14 { background: var(--tnz-l14); } .tnz-an-toan-thoat-lu-song-hong .tnz-sw-l2a { background: var(--tnz-l2a); } .tnz-an-toan-thoat-lu-song-hong .tnz-sw-l3 { background: var(--tnz-l3); }

/* ô tìm ga cố định góc trên phải bản đồ; chú giải thu gọn/mở rộng */
.tnz-an-toan-thoat-lu-song-hong .tnz-mpanel-pin { position: sticky; top: calc(var(--tnz-top) + var(--tnz-nav, 0px)); height: 0; z-index: 5; }   /* --tnz-nav: chiều cao menu chương dính (nếu có) */
.tnz-an-toan-thoat-lu-song-hong .tnz-mpanel { position: absolute; top: 16px; left: 16px; z-index: 5; pointer-events: auto; width: 360px; background: rgba(255,255,255,.97); border-radius: 10px; box-shadow: 0 6px 22px rgba(15,23,42,.16); padding: 8px; font-size: 14px; line-height: 20px; color: var(--tnz-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-mpanel-more summary { cursor: pointer; margin-top: 6px; font-size: 13px; line-height: 18px; font-weight: 400; color: var(--tnz-muted); }
.tnz-an-toan-thoat-lu-song-hong .tnz-mpanel-note { margin: 6px 0 6px; font-size: 13px; line-height: 19px; color: var(--tnz-muted); }
.tnz-an-toan-thoat-lu-song-hong .tnz-mpanel-note b { color: var(--tnz-ink); font-weight: 400; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mpanel-keys { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; font-weight: 400; padding-bottom: 2px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mpanel-keys .tnz-key { margin: 0; display: inline-flex; align-items: center; }
.tnz-an-toan-thoat-lu-song-hong .tnz-xkey { display: inline-block; width: 12px; height: 12px; margin-right: 5px; border-radius: 50%; background: #fff; border: 3px solid var(--tnz-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-ga-search { width: 100%; font: 14px/22px var(--tnz-sans); padding: 7px 8px; text-overflow: ellipsis; border: 1px solid #cbd5e1; border-radius: 8px; color: var(--tnz-ink); background: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-ga-search:focus { outline: 2px solid var(--tnz-accent); outline-offset: 1px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-ga-search.tnz-miss { border-color: var(--tnz-hot); }
.tnz-an-toan-thoat-lu-song-hong .tnz-ga-search::placeholder { font-size: 14px; color: #64748b; }   /* lời nhắc ngắn: "Tìm ga, tuyến (ví dụ: …)", phải hiện trọn trong ô */
/* danh sách gợi ý ga: nằm ngay dưới ô tìm, rộng bằng ô, cao tối đa một khung màn hình, cuộn bên trong để nạp thêm */
.tnz-an-toan-thoat-lu-song-hong .tnz-sug { margin-top: 4px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; overflow: hidden; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sug-list { list-style: none; margin: 0; padding: 4px 0; max-height: min(320px, calc(100vh - var(--tnz-top) - 200px)); overflow-y: auto; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sug-item { padding: 6px 10px; font-size: 14px; line-height: 19px; color: var(--tnz-ink); cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sug-item + .tnz-sug-item { border-top: 1px solid #f1f5f9; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sug-item:hover, .tnz-an-toan-thoat-lu-song-hong .tnz-sug-item.tnz-on { background: #eef6fb; color: var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong .tnz-sug-none { padding: 6px 10px; font-size: 13px; color: var(--tnz-muted); }
.tnz-an-toan-thoat-lu-song-hong .tnz-sug[hidden] { display: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mapgl-pin { background: var(--tnz-ink); color: #fff; padding: 4px 8px; font-size: 13px; }

/* thẻ chữ: thẻ chưa tới lượt hoặc đã qua thì ẩn hẳn, không để mờ */
.tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-card { opacity: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-step.tnz-on .tnz-card { opacity: 1; }
/* thẻ chữ: sát mép phải, mỗi thẻ gọn trong một màn hình */
.tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-step { padding-right: 48px; }   /* thẻ chữ cách mép phải bản đồ 48px (gần bài metro TP.HCM: 58px) */
.tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-step-end { min-height: 120vh; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lcard { max-width: 400px; width: 400px; border-top: 6px solid var(--tnz-accent); border-radius: 10px; padding: 20px 22px; font-size: 14px; line-height: 22px; }   /* theo thẻ bài metro TP.HCM: rộng 400px, lề 20/22px, bo 10px, chữ 14px */
.tnz-an-toan-thoat-lu-song-hong .tnz-lcard p { margin-bottom: 8px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lc-1 { border-top-color: var(--tnz-l1); } .tnz-an-toan-thoat-lu-song-hong .tnz-lc-2 { border-top-color: var(--tnz-l2); } .tnz-an-toan-thoat-lu-song-hong .tnz-lc-8 { border-top-color: var(--tnz-l8); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lc-10 { border-top-color: var(--tnz-l10); } .tnz-an-toan-thoat-lu-song-hong .tnz-lc-14 { border-top-color: var(--tnz-l14); } .tnz-an-toan-thoat-lu-song-hong .tnz-lc-2a { border-top-color: var(--tnz-l2a); } .tnz-an-toan-thoat-lu-song-hong .tnz-lc-3 { border-top-color: var(--tnz-l3); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lc-tag { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 18px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: var(--tnz-muted); margin-bottom: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lc-num { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 800; background: var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lc-1 .tnz-lc-num { background: var(--tnz-l1); } .tnz-an-toan-thoat-lu-song-hong .tnz-lc-2 .tnz-lc-num { background: var(--tnz-l2); } .tnz-an-toan-thoat-lu-song-hong .tnz-lc-8 .tnz-lc-num { background: var(--tnz-l8); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lc-10 .tnz-lc-num { background: var(--tnz-l10); } .tnz-an-toan-thoat-lu-song-hong .tnz-lc-14 .tnz-lc-num { background: var(--tnz-l14); } .tnz-an-toan-thoat-lu-song-hong .tnz-lc-2a .tnz-lc-num { background: var(--tnz-l2a); } .tnz-an-toan-thoat-lu-song-hong .tnz-lc-3 .tnz-lc-num { background: var(--tnz-l3); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lcard .tnz-h3 { font-family: var(--tnz-serif); font-weight: 700; font-size: 19px; line-height: 26px; margin: 0 0 8px; color: var(--tnz-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lc-gen .tnz-h3 { color: var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lc-stats { display: flex; flex-wrap: wrap; gap: 4px 18px; border-top: 1px solid var(--tnz-line); padding-top: 10px; margin-top: 10px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lc-stats p { margin: 0; font-size: 12px; line-height: 16px; color: var(--tnz-muted); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lc-stats b { display: block; font-size: 20px; line-height: 26px; font-weight: 800; color: var(--tnz-ink); letter-spacing: -0.01em; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lc-gstats b { color: var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lcard p:last-child { margin-bottom: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-more summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--tnz-accent); margin-top: 8px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-more[open] summary { margin-bottom: 6px; }

/* bảng 18 tuyến: danh sách gọn, bấm để mở; hướng tuyến làm tiêu đề, sơ đồ đường thẳng có đầu tàu */
.tnz-an-toan-thoat-lu-song-hong .tnz-lf { margin-top: 36px; margin-bottom: 44px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-list { border-top: 3px solid var(--tnz-accent); margin-top: 12px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-row { --tnz-rc: var(--tnz-accent); border-bottom: 1px solid var(--tnz-line); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lfc-l1 { --tnz-rc: var(--tnz-l1); } .tnz-an-toan-thoat-lu-song-hong .tnz-lfc-l2 { --tnz-rc: var(--tnz-l2); } .tnz-an-toan-thoat-lu-song-hong .tnz-lfc-l8 { --tnz-rc: var(--tnz-l8); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lfc-l10 { --tnz-rc: var(--tnz-l10); } .tnz-an-toan-thoat-lu-song-hong .tnz-lfc-l14 { --tnz-rc: var(--tnz-l14); } .tnz-an-toan-thoat-lu-song-hong .tnz-lfc-l2a { --tnz-rc: var(--tnz-l2a); } .tnz-an-toan-thoat-lu-song-hong .tnz-lfc-l3 { --tnz-rc: var(--tnz-l3); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-row summary { display: flex; align-items: center; gap: 12px; padding: 12px 8px; cursor: pointer; list-style: none; border-left: 4px solid transparent; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-row summary::-webkit-details-marker { display: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-row summary:hover, .tnz-an-toan-thoat-lu-song-hong .tnz-lf-row[open] summary { background: var(--tnz-soft); border-left-color: var(--tnz-rc); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-num { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 6px; border-radius: 999px; background: var(--tnz-rc); color: #fff; font-weight: 800; font-size: 15px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lfc-x .tnz-lf-num { background: #fff; color: var(--tnz-accent); border: 2px solid var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-name { flex: 1 1 auto; min-width: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-route { font-weight: 800; font-size: 17px; line-height: 24px; color: var(--tnz-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-row summary:hover .tnz-lf-route, .tnz-an-toan-thoat-lu-song-hong .tnz-lf-row[open] .tnz-lf-route { color: var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-name small { display: block; margin-top: 3px; font-weight: 400; font-size: 13px; line-height: 18px; color: var(--tnz-muted); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-v { flex: none; width: 74px; text-align: right; font-size: 13px; color: var(--tnz-muted); white-space: nowrap; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-v b { font-size: 20px; color: var(--tnz-accent); font-weight: 800; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-body { padding: 6px 8px 18px 56px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-lab, .tnz-an-toan-thoat-lu-song-hong .tnz-rt-sub { margin: 6px 0 8px; font-size: 12px; line-height: 18px; font-weight: 700; color: var(--tnz-accent); text-transform: uppercase; letter-spacing: .04em; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt { display: flex; align-items: flex-start; color: var(--tnz-rc); }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-head { flex: none; margin: -3px 0 0 -2px; }   /* đáy đầu tàu (y=16) trùng mép dưới đường line (y=13) */
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-tau { display: block; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-line { flex: 1 1 auto; display: flex; margin: 0; padding: 0; list-style: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-st { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0;
  background-image: linear-gradient(var(--tnz-rc), var(--tnz-rc)); background-repeat: no-repeat; background-size: 100% 4px; background-position: 0 9px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-st:first-child { background-size: 50% 4px; background-position: 100% 9px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-dot { display: block; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: #fff; border: 4px solid var(--tnz-rc); }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-st:first-child .tnz-rt-dot, .tnz-an-toan-thoat-lu-song-hong .tnz-rt-st:last-child .tnz-rt-dot { background: var(--tnz-rc); }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-name { display: block; margin-top: 6px; padding: 0 3px; font-size: 13px; line-height: 17px; font-weight: 700; color: var(--tnz-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-br { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-br li { margin: 0; padding: 3px 10px; border: 1px solid var(--tnz-rc); border-radius: 999px; font-size: 13px; line-height: 20px; color: var(--tnz-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-note, .tnz-an-toan-thoat-lu-song-hong .tnz-rt-text { margin: 10px 0 0; font-size: 14px; line-height: 21px; color: var(--tnz-muted); }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-text { color: var(--tnz-ink); font-weight: 700; font-size: 15px; line-height: 23px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-dl { margin: 6px 0 0; font-size: 15px; line-height: 23px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-dl dt { font-size: 12px; line-height: 18px; font-weight: 700; color: var(--tnz-accent); text-transform: uppercase; letter-spacing: .04em; margin-top: 12px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-dl dd { margin: 0; }
/* nút thu/mở: mũi tên mảnh thay cho tam giác mặc định */
.tnz-an-toan-thoat-lu-song-hong .tnz-sum { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sum::-webkit-details-marker { display: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-chev { flex: none; display: block; transition: transform .2s; }
.tnz-an-toan-thoat-lu-song-hong details[open] > .tnz-sum .tnz-chev { transform: rotate(90deg); }
.tnz-an-toan-thoat-lu-song-hong .tnz-data summary.tnz-sum { font-weight: 400; }

/* =============================================================================
   BÀI "HAI BỜ SÔNG HỒNG TRƯỚC CUỘC TÁI THIẾT LỚN"
   ========================================================================== */
/* mở bài: bản đồ nền sáng, chữ tối, khối chữ lệch trái */
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map { background: #f3f4f3; color: var(--tnz-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-img { object-fit: cover; object-position: 60% 50%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-text { background: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-title { color: #262626; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-sapo { color: #1f1f1f; font-family: var(--tnz-sans); font-weight: 400; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-byline { color: var(--tnz-accent); font-weight: 700; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-credit { color: rgba(60,60,60,.7); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lead { font-weight: 700; }
/* 12 cụm làng: chú giải trên bản đồ nền tối */
.tnz-an-toan-thoat-lu-song-hong .tnz-legend-lang { background: rgba(40,44,58,.86); color: #eef0f4; top: 16px; left: 16px; border: 1px solid rgba(255,255,255,.12); }
.tnz-an-toan-thoat-lu-song-hong .tnz-legend-lang .tnz-key { display: inline-flex; align-items: center; gap: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-legend-lang .tnz-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sw-ct { background: #f7d640; } .tnz-an-toan-thoat-lu-song-hong .tnz-sw-dm1 { background: #a0d63c; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sw-dm { background: #e53935; } .tnz-an-toan-thoat-lu-song-hong .tnz-sw-tt { background: #5fc3f5; border: 2px solid #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-langmap .tnz-stage { background: #565a68; }
.tnz-an-toan-thoat-lu-song-hong .tnz-langmap .tnz-stage-note { color: #c7cbd4; right: 12px; }
/* 3 đoạn của dự án */
.tnz-an-toan-thoat-lu-song-hong .tnz-doan { margin-top: 36px; margin-bottom: 36px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-doan-row { display: grid; grid-template-columns: 1.148fr 1.162fr 0.807fr; gap: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-doan-row .tnz-photo { margin: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-doan-lbl { margin: 6px 0 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong .tnz-pair-nobar .tnz-pair-track { visibility: hidden; }
.tnz-an-toan-thoat-lu-song-hong .tnz-pair-nobar .tnz-pair-row { grid-template-columns: auto 1fr; }
.tnz-an-toan-thoat-lu-song-hong .tnz-pair-nobar .tnz-pair-val { text-align: left; font-weight: 700; }
/* 12 cụm làng: giữ trọn khung bản đồ (không cắt nhãn), phần thừa trùng màu nền bản đồ */
.tnz-an-toan-thoat-lu-song-hong .tnz-langmap .tnz-frame { object-fit: contain; object-position: 0 50%; background: #565a68; }
/* các khối ảnh tràn trang: chú thích căn theo khung rộng */
.tnz-an-toan-thoat-lu-song-hong .tnz-compare.tnz-full .tnz-caption, .tnz-an-toan-thoat-lu-song-hong .tnz-doan.tnz-full .tnz-caption { max-width: var(--tnz-wide); margin-left: auto; margin-right: auto; padding: 0 16px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-doan.tnz-full .tnz-doan-lbl { padding: 0 8px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-datp-list { max-width: var(--tnz-wide); margin: 10px auto 4px; padding: 0 16px 0 40px; font-size: 15px; line-height: 23px; color: var(--tnz-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-datp-list li { margin-bottom: 4px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero + .tnz-col { margin-top: 29px; }

/* B1 · bản đồ 12 cụm làng co giãn theo khung */
.tnz-an-toan-thoat-lu-song-hong .tnz-langmap .tnz-stage { overflow: hidden; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-media { position: absolute; left: 0; top: 0; width: 2624px; height: 2944px; transform-origin: 0 0; transition: transform 1s cubic-bezier(.4,0,.2,1); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-tile { position: absolute; display: block; width: 50%; height: 50%; max-width: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-t00 { left: 0; top: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-t01 { left: 50%; top: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-t10 { left: 0; top: 50%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-t11 { left: 50%; top: 50%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf { opacity: .95; transition: opacity .6s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-ct { fill: #f7d640; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-dm { fill: #e53935; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lf-dm1 { fill: #a0d63c; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-dim-ct .tnz-lf-ct, .tnz-an-toan-thoat-lu-song-hong .tnz-lm-dim-dm .tnz-lf-dm, .tnz-an-toan-thoat-lu-song-hong .tnz-lm-dim-dm1 .tnz-lf-dm1 { opacity: .3; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-pins { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-pin { position: absolute; left: 0; top: 0; width: 0; height: 0; transition: transform 1s cubic-bezier(.4,0,.2,1); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-now .tnz-lm-media, .tnz-an-toan-thoat-lu-song-hong .tnz-lm-now .tnz-lm-pin { transition: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; transition: opacity .5s, transform .5s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-ct .tnz-lm-dot { background: #f7d640; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-dm .tnz-lm-dot { background: #e53935; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-dm1 .tnz-lm-dot { background: #a0d63c; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-tt .tnz-lm-dot { left: -9px; top: -9px; width: 18px; height: 18px; box-sizing: border-box; background: #5fc3f5; border: 2px solid #fff; box-shadow: 0 0 0 6px rgba(95,195,245,.28); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-off .tnz-lm-dot { opacity: .45; transform: scale(.7); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-line { position: absolute; display: block; box-sizing: content-box; border-top: 1.5px dashed rgba(240,240,240,.9); opacity: 0; transition: opacity .4s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-st .tnz-lm-line, .tnz-an-toan-thoat-lu-song-hong .tnz-lm-sb .tnz-lm-line { border-top: 0; border-left: 1.5px dashed rgba(240,240,240,.9); }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-txt { position: absolute; display: block; width: max-content; font-size: 15px; line-height: 20px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.55); opacity: 0; transition: opacity .4s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-sl .tnz-lm-txt { text-align: right; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-st .tnz-lm-txt, .tnz-an-toan-thoat-lu-song-hong .tnz-lm-sb .tnz-lm-txt { text-align: center; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-show .tnz-lm-line, .tnz-an-toan-thoat-lu-song-hong .tnz-lm-show .tnz-lm-txt { opacity: 1; }

/* Bản đồ 18 dự án thành phần */
.tnz-an-toan-thoat-lu-song-hong .tnz-datp2 { margin: 40px 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-map { position: relative; width: 100%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-img { display: block; width: 100%; height: auto; max-width: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-ln { fill: none; stroke: rgba(40,52,64,.55); stroke-width: 1; transition: stroke .2s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-ln.tnz-on { stroke: #1c3446; stroke-width: 1.6; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-pin { position: absolute; z-index: 2; width: 22px; height: 22px; margin: -11px 0 0 -11px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #1c3446; color: #fff; font: 700 11px/18px var(--tnz-sans); text-align: center; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s, background .2s; -webkit-appearance: none; appearance: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-pin.tnz-dp-c1 { background: #cd262e; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-pin.tnz-dp-c2 { background: #f08018; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-pin.tnz-on { transform: scale(1.3); z-index: 3; background: var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-card { position: absolute; z-index: 2; box-sizing: border-box; display: flex; align-items: flex-start; gap: 8px; padding: 6px 10px 6px 8px; background: rgba(255,255,255,.95); border-left: 3px solid #1c3446; border-radius: 6px; box-shadow: 0 1px 4px rgba(20,30,40,.18); font-size: clamp(12px, 1vw, 15px); line-height: 1.35; color: var(--tnz-ink); transition: box-shadow .2s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-card.tnz-on { box-shadow: 0 0 0 2px var(--tnz-accent), 0 2px 8px rgba(20,30,40,.25); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-card.tnz-dp-c1 { border-left-color: #cd262e; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-card.tnz-dp-c2 { border-left-color: #f08018; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-n { flex: 0 0 auto; min-width: 1.7em; height: 1.7em; border-radius: 50%; background: #1c3446; color: #fff; font-weight: 700; font-size: .85em; line-height: 1.7em; text-align: center; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-c1 .tnz-dp-n { background: #cd262e; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-c2 .tnz-dp-n { background: #f08018; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-legend { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 6px 10px; background: rgba(255,255,255,.92); border-radius: 6px; font-size: 12px; line-height: 18px; color: var(--tnz-ink); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-key { display: block; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-sw { display: inline-block; width: 20px; height: 3px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-sw-h { background: #cd262e; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-sw-t { background: #f08018; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-hint { display: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-panel { display: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-legend { top: auto; bottom: 12px; }

/* bản đồ 18 dự án: khi khung quá hẹp, ẩn thẻ chữ, chạm số xem tên như bản mobile */
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-panel { align-items: center; gap: 10px; margin: 0; padding: 10px 14px; min-height: 60px; box-sizing: border-box; background: #1c3446; color: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-panel .tnz-dp-n { display: none; min-width: 30px; height: 30px; line-height: 30px; font-size: 14px; background: #fff; color: #1c3446; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-panel.tnz-on .tnz-dp-n { display: block; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-panel[data-tnz-k="1"] .tnz-dp-n { background: #cd262e; color: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-panel[data-tnz-k="2"] .tnz-dp-n { background: #f08018; color: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-pt { flex: 1 1 auto; font-size: 16px; line-height: 22px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-nav { flex: 0 0 auto; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: transparent; color: #fff; font: 700 18px/32px var(--tnz-sans); cursor: pointer; -webkit-appearance: none; appearance: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-compact .tnz-dp-panel { display: flex; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-compact .tnz-dp-card, .tnz-an-toan-thoat-lu-song-hong .tnz-dp-compact .tnz-dp-lines { display: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-compact .tnz-dp-pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 12px; line-height: 22px; }

/* Ảnh mở bài: bản đồ co giãn theo khung */
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-fit { overflow: hidden; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-media { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-media img { display: block; max-width: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-labels { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-lb { position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--tnz-sans); font-weight: 700; font-size: 14px; line-height: 18px; color: #333; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff; opacity: 0; transition: opacity .3s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-on .tnz-hf-lb { opacity: 1; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-on .tnz-hf-lb.tnz-hf-off { opacity: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-lb .tnz-hf-t { display: block; transform: translate(-50%, -50%); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-river .tnz-hf-t { font-style: italic; font-weight: 600; color: #46789a; font-size: 15px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-place .tnz-hf-t { font-weight: 600; color: #505a64; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-city .tnz-hf-t { font-size: 17px; color: #323232; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward .tnz-hf-t { color: #d76e28; font-size: 13px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward2 .tnz-hf-t { color: #1e8caa; font-size: 13px; transform: translate(-100%, -50%); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-end .tnz-hf-t { font-size: 13px; color: #282828; padding-left: 14px; transform: translate(-7px, -50%); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-endl .tnz-hf-t { padding: 0 14px 0 0; transform: translate(calc(-100% + 7px), -50%); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 3px solid #c82828; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-text { position: relative; z-index: 2; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-end.tnz-hf-flip .tnz-hf-t { padding: 0 14px 0 0; transform: translate(calc(-100% + 7px), -50%); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-endl.tnz-hf-flip .tnz-hf-t { padding: 0 0 0 14px; transform: translate(-7px, -50%); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-title, .tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-byline { text-shadow: 0 0 10px rgba(255,255,255,.95), 0 0 2px #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-byline-dot { display: inline-block; width: .62em; height: .62em; margin: 0 .5em .08em 0; border-radius: 50%; background: var(--tnz-accent); vertical-align: middle; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-card { width: max-content; }

/* chú thích ảnh: căn giữa, dòng dưới ghi nguồn ảnh */
.tnz-an-toan-thoat-lu-song-hong .tnz-caption { text-align: center; margin-left: auto; margin-right: auto; }
.tnz-an-toan-thoat-lu-song-hong .tnz-cap-t, .tnz-an-toan-thoat-lu-song-hong .tnz-cap-src { display: block; }
.tnz-an-toan-thoat-lu-song-hong .tnz-cap-src { margin-top: 2px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-langmap .tnz-stage-note { left: 12px; right: 12px; text-align: center; }

/* bản đồ 12 cụm làng: thẻ chữ nền sáng, chữ đen */
.tnz-an-toan-thoat-lu-song-hong .tnz-langmap .tnz-card { background: rgba(255,255,255,.96); color: #1a1a1a; border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.25); }

/* bản đồ 12 cụm làng: thẻ chữ gần nhau hơn */
.tnz-an-toan-thoat-lu-song-hong .tnz-langmap .tnz-step { min-height: 72vh; }
.tnz-an-toan-thoat-lu-song-hong .tnz-langmap .tnz-step:first-child { padding-top: 20vh; }
.tnz-an-toan-thoat-lu-song-hong .tnz-langmap .tnz-step:last-child { min-height: 100vh; }
.tnz-an-toan-thoat-lu-song-hong .tnz-langmap .tnz-stage, .tnz-an-toan-thoat-lu-song-hong .tnz-langmap { background: #696e7f; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-ln { stroke: rgba(28,52,70,.8); stroke-width: 1.2; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-ln.tnz-on { stroke: #1c3446; stroke-width: 2; }

/* khu vực "phòng khách đô thị" (không đánh số) */
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-pin.tnz-dp-pk { width: 18px; height: 18px; margin: -9px 0 0 -9px; background: #f3b07a; border: 2px solid #1c3446; border-radius: 4px; transform: rotate(45deg); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-pin.tnz-dp-pk.tnz-on { transform: rotate(45deg) scale(1.3); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-card.tnz-dp-cpk { background: rgba(253,227,204,.97); border-left-color: #e07b39; font-weight: 600; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-panel[data-tnz-k="pk"] .tnz-dp-n { display: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-panel.tnz-on[data-tnz-k="pk"] .tnz-dp-n { display: none; }
/* nhãn phường trên dải phối cảnh: dạng thẻ nền trắng cho dễ đọc */
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward .tnz-hf-t, .tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward2 .tnz-hf-t { padding: 1px 7px; background: rgba(255,255,255,.94); border: 1px solid rgba(0,0,0,.18); border-radius: 4px; text-shadow: none; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward .tnz-hf-t { color: #b8501c; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward2 .tnz-hf-t { color: #17708a; }
/* thanh tên dự án (chế độ bấm số): nền sáng */
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-panel { background: #f4efe8; color: #1f1f1f; border-top: 3px solid var(--tnz-accent); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-panel .tnz-dp-n { background: #1c3446; color: #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-nav { border-color: rgba(28,52,70,.35); color: #1c3446; background: #fff; }

/* thẻ tên dự án: bỏ vạch màu cạnh trái, thẻ nhẹ, gọn */
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-card, .tnz-an-toan-thoat-lu-song-hong .tnz-dp-card.tnz-dp-c1, .tnz-an-toan-thoat-lu-song-hong .tnz-dp-card.tnz-dp-c2 { border-left: 0; align-items: center; gap: 7px; padding: 4px 11px 4px 5px; border-radius: 8px; background: rgba(255,255,255,.9); box-shadow: 0 1px 3px rgba(20,30,40,.16); font-size: clamp(12px, .92vw, 14px); line-height: 1.3; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-card.tnz-dp-cpk { background: rgba(253,227,204,.95); padding-left: 11px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-n { min-width: 1.75em; height: 1.75em; line-height: 1.75em; font-size: .82em; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-card.tnz-on { box-shadow: 0 0 0 2px var(--tnz-accent), 0 2px 6px rgba(20,30,40,.2); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-ln { stroke: rgba(28,52,70,.6); stroke-width: 1; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-t { text-wrap: balance; }
/* dấu khu vực phòng khách đô thị: chấm tròn nhỏ */
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-pin.tnz-dp-pk, .tnz-an-toan-thoat-lu-song-hong .tnz-dp-compact .tnz-dp-pin.tnz-dp-pk { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; border-width: 2px; transform: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-pin.tnz-dp-pk.tnz-on { transform: scale(1.4); }

/* phòng khách đô thị: màu tím riêng, viền trắng (không lẫn với hai trục đỏ - cam) */
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-pin.tnz-dp-pk, .tnz-an-toan-thoat-lu-song-hong .tnz-dp-compact .tnz-dp-pin.tnz-dp-pk, .tnz-an-toan-thoat-lu-song-hong .tnz-dp-pin.tnz-dp-pk.tnz-on { background: #7b4fc9; border: 2px solid #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-card.tnz-dp-cpk { background: rgba(241,235,252,.96); color: #3d2470; }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-card.tnz-dp-cpk.tnz-on { box-shadow: 0 0 0 2px #7b4fc9, 0 2px 6px rgba(20,30,40,.2); }
.tnz-an-toan-thoat-lu-song-hong .tnz-dp-ln[data-tnz-k="pk"] { stroke: #7b4fc9; }

/* ảnh mở bài: trạng thái dự phòng khi JS chưa chạy hoặc lỗi - ảnh phủ kín khung; JS căn lại khi chạy được */
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-media { width: 100%; height: 100%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-media img { width: 100%; height: 100%; max-width: none; max-height: none; min-width: 0; object-fit: cover; object-position: 60% 50%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-on .tnz-hf-media img { object-fit: fill; }

/* lightbox: trượt ngang giữa các ảnh trong nhóm */
.tnz-an-toan-thoat-lu-song-hong .tnz-lightbox { padding: 0; box-sizing: border-box; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lb-vp { width: 100%; overflow: hidden; touch-action: pan-y; cursor: default; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lb-gal .tnz-lb-vp { cursor: grab; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lb-track { display: flex; width: 100%; will-change: transform; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lb-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; height: 82vh; box-sizing: border-box; padding: 0 64px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lightbox .tnz-lb-slide img { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lightbox .tnz-lb-cap { padding: 0 20px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lightbox .tnz-lb-cnt { color: #aaa; font-size: 13px; margin: 4px 0 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lb-nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 34px; line-height: 44px; cursor: pointer; padding: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lb-nav:disabled { opacity: .25; cursor: default; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lb-prev { left: 12px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lb-next { right: 12px; }

/* nhãn phường Hồng Hà, Lĩnh Nam: đặt ngoài dải phối cảnh, đường dẫn ngắn trỏ vào */
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-call .tnz-hf-t, .tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward.tnz-hf-call .tnz-hf-t, .tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward2.tnz-hf-call .tnz-hf-t { transform: translate(var(--tnz-dx, 30px), -50%); padding: 0; background: none; border: 0; box-shadow: none; font-size: 13px; font-weight: 700; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-call .tnz-hf-ln { position: absolute; left: 0; top: 0; width: calc(var(--tnz-dx, 30px) - 4px); height: 1px; background: rgba(40,40,40,.75); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-call .tnz-hf-pt { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff; border: 1.5px solid #333; box-sizing: border-box; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-call.tnz-hf-flip .tnz-hf-t { transform: translate(calc(-100% - var(--tnz-dx, 30px)), -50%); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-call.tnz-hf-flip .tnz-hf-ln { left: calc(4px - var(--tnz-dx, 30px)); }

/* màu nút và đường dẫn trùng màu chữ nhãn phường */
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward .tnz-hf-ln { background: #b8501c; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward .tnz-hf-pt { border-color: #b8501c; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward2 .tnz-hf-ln { background: #17708a; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-ward2 .tnz-hf-pt { border-color: #17708a; }

/* ===== Bài 2: an toàn thoát lũ ===== */
.tnz-an-toan-thoat-lu-song-hong .tnz-fig-title { font-weight: 700; font-size: 19px; line-height: 27px; margin: 0 0 6px; color: #1a1a1a; }
.tnz-an-toan-thoat-lu-song-hong .tnz-fig-sub { font-size: 15px; line-height: 22px; color: #5b6670; margin: 0 0 12px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-series { margin-top: 28px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-cont { font-style: italic; text-align: left; margin: 0 0 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-next { font-style: italic; font-weight: 700; text-align: left; margin: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-chart svg, .tnz-an-toan-thoat-lu-song-hong .tnz-mh svg { display: block; width: 100%; height: auto; }
.tnz-an-toan-thoat-lu-song-hong .tnz-chart, .tnz-an-toan-thoat-lu-song-hong .tnz-mc, .tnz-an-toan-thoat-lu-song-hong .tnz-mh, .tnz-an-toan-thoat-lu-song-hong .tnz-area { margin: 40px auto; max-width: 1000px; padding: 0 20px; box-sizing: border-box; }
/* mặt cắt */
.tnz-an-toan-thoat-lu-song-hong .tnz-mc-row { display: grid; grid-template-columns: 290px 1fr; gap: 18px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e3e7ea; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mc-lbl { font-size: 16px; line-height: 22px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mc-lbl small { font-size: 13px; color: #6b7680; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mc-bar { display: flex; align-items: center; gap: 10px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mc-bar span { display: block; height: 22px; background: var(--tnz-accent); border-radius: 3px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mc-bar em { font-style: normal; font-weight: 700; font-size: 17px; white-space: nowrap; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mc-sub .tnz-mc-bar span { background: #8fb3c4; height: 14px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mc-sub .tnz-mc-lbl, .tnz-an-toan-thoat-lu-song-hong .tnz-mc-sub .tnz-mc-bar em { font-size: 15px; color: #3c464f; }
/* tầng bãi sông */
.tnz-an-toan-thoat-lu-song-hong .tnz-terrace .tnz-stage { background: #f6f4ef; }
.tnz-an-toan-thoat-lu-song-hong .tnz-stage-svg [data-tnz-layer].tnz-on { opacity: 1; }
/* bản đồ thềm */
.tnz-an-toan-thoat-lu-song-hong .tnz-them-map { position: relative; }
.tnz-an-toan-thoat-lu-song-hong .tnz-them-map img { display: block; width: 100%; height: auto; }
.tnz-an-toan-thoat-lu-song-hong .tnz-them-legend { position: absolute; left: 24px; top: 24px; width: 330px; background: rgba(255,255,255,.94); border-radius: 10px; padding: 16px 18px 8px; box-shadow: 0 2px 10px rgba(0,0,0,.15); font-size: 14px; line-height: 20px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-them-legend p { margin: 0 0 8px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-them-k { display: flex; gap: 8px; align-items: flex-start; }
.tnz-an-toan-thoat-lu-song-hong .tnz-them-sw { flex: 0 0 16px; height: 16px; border-radius: 3px; margin-top: 2px; }
/* hộp lũ thiết kế */
.tnz-an-toan-thoat-lu-song-hong .tnz-lu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 16px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lu-h { font-weight: 700; margin: 0 0 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lu-n { font-size: 34px; line-height: 40px; font-weight: 700; color: #c0392b; margin: 4px 0 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lu-n2 { font-size: 24px; line-height: 30px; font-weight: 700; color: var(--tnz-accent); margin: 10px 0 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lu-s { font-size: 14px; line-height: 20px; color: #5b6670; margin: 0; }
/* mỏ hàn */
.tnz-an-toan-thoat-lu-song-hong .tnz-mh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-mh-t { font-size: 15px; line-height: 22px; margin: 8px 0 0; }
/* thanh diện tích */
.tnz-an-toan-thoat-lu-song-hong .tnz-area-bar { position: relative; height: 46px; background: #d9e3e8; border-radius: 4px; overflow: hidden; margin: 10px 0 14px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-area-ton { position: absolute; left: 0; top: 0; bottom: 0; background: #e9a43c; }
.tnz-an-toan-thoat-lu-song-hong .tnz-area-ok { position: absolute; left: 0; top: 0; bottom: 0; background: #b25a1e; }
.tnz-an-toan-thoat-lu-song-hong .tnz-area-keys p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 6px; font-size: 16px; line-height: 23px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-area-sw { flex: 0 0 16px; height: 16px; border-radius: 3px; margin-top: 4px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sw-all { background: #d9e3e8; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sw-ton { background: #e9a43c; }
.tnz-an-toan-thoat-lu-song-hong .tnz-sw-ok { background: #b25a1e; }
/* bản đồ tuyến (nền sáng) */
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-stage, .tnz-an-toan-thoat-lu-song-hong .tnz-langmap.tnz-route { background: #eceae4; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-media { width: 5278px; height: 3696px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-case { fill: none; stroke: #fff; stroke-width: calc(var(--tnz-k, 4) * 7); stroke-linecap: round; stroke-linejoin: round; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt { fill: none; stroke-width: calc(var(--tnz-k, 4) * 4); stroke-linecap: round; stroke-linejoin: round; transition: opacity .5s; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-h { stroke: #d63b3b; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rt-t { stroke: #ef8a1f; }
.tnz-an-toan-thoat-lu-song-hong .tnz-lm-dim-ta .tnz-rt-t, .tnz-an-toan-thoat-lu-song-hong .tnz-lm-dim-huu .tnz-rt-h { opacity: .3; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-txt { color: #1a1a1a; font-weight: 700; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-line { border-top-color: #333; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-st .tnz-lm-line, .tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-sb .tnz-lm-line { border-left-color: #333; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-stage-note { color: #5b6670; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-stage-legend { color: #1a1a1a; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rp-end .tnz-lm-dot { left: -8px; top: -8px; width: 16px; height: 16px; box-sizing: border-box; background: #1a1a1a; border: 3px solid #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-rp-site .tnz-lm-dot { left: -8px; top: -8px; width: 16px; height: 16px; box-sizing: border-box; background: var(--tnz-accent); border: 3px solid #fff; box-shadow: 0 0 0 5px rgba(31,95,122,.25); }
.tnz-an-toan-thoat-lu-song-hong .tnz-rp-ng .tnz-lm-dot, .tnz-an-toan-thoat-lu-song-hong .tnz-rp-ngx .tnz-lm-dot { left: -4px; top: -4px; width: 8px; height: 8px; box-sizing: border-box; background: #fff; border: 2px solid #555; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-off .tnz-lm-dot { opacity: .55; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-rp-site.tnz-lm-off .tnz-lm-dot { opacity: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-swatch.tnz-sw-h { background: #d63b3b; }
.tnz-an-toan-thoat-lu-song-hong .tnz-swatch.tnz-sw-t { background: #ef8a1f; }

/* ===== Bài 2, bản 2 ===== */
.tnz-an-toan-thoat-lu-song-hong .tnz-terrace-fig { margin: 48px auto; max-width: 1040px; padding: 0 20px; box-sizing: border-box; }
.tnz-an-toan-thoat-lu-song-hong .tnz-terr { display: block; width: 100%; height: auto; }
.tnz-an-toan-thoat-lu-song-hong .tnz-chart .tnz-fig-title, .tnz-an-toan-thoat-lu-song-hong .tnz-chart .tnz-fig-sub, .tnz-an-toan-thoat-lu-song-hong .tnz-terrace-fig .tnz-fig-title, .tnz-an-toan-thoat-lu-song-hong .tnz-mh .tnz-fig-title { text-align: center; }
.tnz-an-toan-thoat-lu-song-hong .tnz-chart, .tnz-an-toan-thoat-lu-song-hong .tnz-mh { margin-top: 48px; margin-bottom: 48px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-photo.tnz-full, .tnz-an-toan-thoat-lu-song-hong .tnz-them.tnz-full { margin-top: 48px; margin-bottom: 48px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-them-legend { left: 28px; top: auto; bottom: 28px; width: 360px; font-size: 15px; line-height: 22px; padding: 18px 20px 10px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-them-total { font-weight: 400; }
.tnz-an-toan-thoat-lu-song-hong .tnz-them .tnz-caption { max-width: var(--tnz-wide); margin-left: auto; margin-right: auto; padding: 0 16px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-stage, .tnz-an-toan-thoat-lu-song-hong .tnz-langmap.tnz-route { background: #d8d8d7; }

/* ===== Bài 2, bản 3 ===== */
.tnz-an-toan-thoat-lu-song-hong .tnz-title .tnz-t1, .tnz-an-toan-thoat-lu-song-hong .tnz-title .tnz-t2 { display: block; white-space: nowrap; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-photo .tnz-hero-img { width: var(--tnz-hfw, 100%); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-photo .tnz-hero-text { width: var(--tnz-hfw, 100%); align-self: flex-start; box-sizing: border-box; text-align: center;
  padding-left: max(16px, calc(var(--tnz-hfw, 100vw) / 2 - 420px)); padding-right: max(16px, calc(var(--tnz-hfw, 100vw) / 2 - 420px)); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-photo .tnz-sapo { text-align: center; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-photo .tnz-hero-credit { right: auto; left: calc(var(--tnz-hfw, 100%) - 16px); transform: translateX(-100%); white-space: nowrap; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-photo .tnz-title { font-size: min(46px, calc(var(--tnz-hfw, 1440px) * .036)); line-height: 1.3; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-narrow .tnz-sapo { font-size: 16px; line-height: 25px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hf-narrow .tnz-hero-text { padding-top: 80px; padding-bottom: 36px; }
/* bản đồ thềm: vừa một khung cửa sổ */
.tnz-an-toan-thoat-lu-song-hong .tnz-them-map { height: calc(100vh - var(--tnz-top)); background: #2f3a2c; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tnz-an-toan-thoat-lu-song-hong .tnz-them-map img { width: 100%; height: 100%; object-fit: contain; }
/* bản đồ tuyến trên nền vệ tinh: chữ trắng */
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-stage, .tnz-an-toan-thoat-lu-song-hong .tnz-langmap.tnz-route { background: #3a4136; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-txt { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 0 6px rgba(0,0,0,.6); }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-line { border-top-color: rgba(255,255,255,.9); }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-st .tnz-lm-line, .tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-sb .tnz-lm-line { border-left-color: rgba(255,255,255,.9); }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-stage-note { color: #e6e9e4; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-stage-legend { color: #1a1a1a; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-dim-ta .tnz-rt-t, .tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-dim-huu .tnz-rt-h { opacity: .45; }

/* ===== Bài 2, bản 4: nền bản đồ sáng ===== */
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-stage, .tnz-an-toan-thoat-lu-song-hong .tnz-langmap.tnz-route { background: #eceae4; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-txt { color: #1a1a1a; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-line { border-top-color: #333; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-st .tnz-lm-line, .tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-sb .tnz-lm-line { border-left-color: #333; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-stage-note { color: #5b6670; }
.tnz-an-toan-thoat-lu-song-hong .tnz-them-map { background: #f3f4f1; }

.tnz-an-toan-thoat-lu-song-hong .tnz-pair2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-pair2-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

.tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap .tnz-them-map, .tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap > img { width: var(--tnz-fvw, 100%); max-width: 100%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-fitmap .tnz-them-map img { width: 100%; height: auto; }

.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-txt { font-weight: 400; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-txt b { font-weight: 700; }
.tnz-an-toan-thoat-lu-song-hong .tnz-route .tnz-lm-km { display: block; font-weight: 400; }

.tnz-an-toan-thoat-lu-song-hong .tnz-hero-photo .tnz-title .tnz-t1 { font-size: .62em; line-height: 1.35; margin-bottom: 6px; letter-spacing: .01em; }


/* =============================================================================
   PHẦN RIÊNG BẢN DESKTOP (ghép sau style.css khi dựng gói desktop)
   Bố cục: thẻ chữ đặt bên phải đồ họa, biểu đồ cuộn chiếm 60% bên trái,
   dòng thời gian chạy ngang theo cuộn trang.
   ========================================================================== */
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-cover .tnz-title { font-size: 46px; }

/* màn hình desktop hẹp (laptop nhỏ, tablet ngang) */
@media (max-width: 1100px) {
  .tnz-an-toan-thoat-lu-song-hong .tnz-card { max-width: 360px; }
  .tnz-an-toan-thoat-lu-song-hong .tnz-stage-chart { width: 56%; }
  .tnz-an-toan-thoat-lu-song-hong .tnz-title { font-size: 38px; }
}
@media (max-width: 820px) {
  .tnz-an-toan-thoat-lu-song-hong .tnz-step { justify-content: center; align-items: flex-end; padding: 0 16px 8vh; }
  .tnz-an-toan-thoat-lu-song-hong .tnz-card { max-width: 560px; }
  .tnz-an-toan-thoat-lu-song-hong .tnz-stage-chart, .tnz-an-toan-thoat-lu-song-hong .tnz-card-left .tnz-stage-chart { left: 3%; width: 94%; height: 58%; }
  .tnz-an-toan-thoat-lu-song-hong .tnz-photo-pair { grid-template-columns: 1fr; }
}

/* BÀI METRO HÀ NỘI – thẻ chữ ôm vừa nội dung, ghim ở góc trên bên phải bản đồ khi cuộn;
   bề rộng co giãn theo cửa sổ, không vượt quá chiều cao khung bản đồ */
.tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-step { min-height: 150vh; align-items: flex-start; padding-bottom: 40vh; }   /* khoảng trống 40vh giữa hai thẻ */
.tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-lcard { position: sticky; top: calc(var(--tnz-top) + var(--tnz-nav, 0px) + 16px); width: clamp(320px, 30vw, 400px); max-height: calc(100vh - var(--tnz-top) - var(--tnz-nav, 0px) - 32px); overflow-y: auto; }
@media (max-width: 1100px) {
  .tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-lcard { font-size: 14px; line-height: 22px; padding: 12px 16px; }
  .tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-lcard .tnz-h3 { font-size: 17px; line-height: 23px; }
}
@media (max-width: 820px) {
  .tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-step { align-items: flex-end; padding: 0 16px 6vh; }
  .tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-lcard { position: relative; top: auto; width: 100%; max-width: 560px; max-height: 60vh; }
  .tnz-an-toan-thoat-lu-song-hong .tnz-mpanel { left: 12px; right: 12px; width: auto; }
}
@media (max-height: 700px) {
  .tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-lcard { font-size: 14px; line-height: 21px; }
}

/* BÀI METRO HÀ NỘI – dòng thời gian gọn: dải nền xám ôm vừa nội dung, ghim giữa màn hình khi chạy ngang */
.tnz-an-toan-thoat-lu-song-hong .tnz-htl { background: none; margin: 32px 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-htl-sticky { height: auto; top: max(var(--tnz-top), calc(50vh - 170px)); background: var(--tnz-soft); padding-top: 24px; padding-bottom: 28px; justify-content: flex-start; }
.tnz-an-toan-thoat-lu-song-hong .tnz-htl-title { margin-bottom: 0; }
.tnz-an-toan-thoat-lu-song-hong .tnz-htl-hint { margin: 0 0 4px; padding-right: 16px; }
/* thẻ chữ đầu tiên (tuyến 2A) cách mép trên bản đồ 16px như ô tìm ga, kể cả lúc bản đồ vừa cuộn vào */
.tnz-an-toan-thoat-lu-song-hong .tnz-mapchap .tnz-mpanel-pin + .tnz-step { padding-top: 16px; }

/* kéo ngang dòng mốc bằng chuột */
.tnz-an-toan-thoat-lu-song-hong .tnz-htl-view { cursor: grab; }
.tnz-an-toan-thoat-lu-song-hong .tnz-htl-view.tnz-dragging { cursor: grabbing; user-select: none; }

/* ảnh cover desktop: bắt đầu ngay dưới phần giữ chỗ header 52px của báo ở đầu trang (không phải --tnz-top 42px), vừa khít một màn hình */
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-cover { min-height: calc(100vh - 52px); }

/* mở bài: khối chữ lệch trái, đặt ở nửa dưới màn hình đầu */
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map { justify-content: flex-end; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-text { max-width: 760px; padding: 0 0 12vh 13.5vw; text-align: left; width: auto; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-title { font-size: 48px; line-height: 1.25; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-sapo { font-size: 19px; line-height: 31px; text-shadow: 0 0 12px rgba(255,255,255,.9); }
@media (max-width: 1100px) {
  .tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-text { padding-left: 6vw; max-width: 620px; }
  .tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-title { font-size: 40px; }
}

/* ảnh mở bài: phủ thêm xuống dưới, tít/sapo hạ thấp, nền sáng mờ sau chữ */
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-cover { min-height: calc(100vh - 42px); }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-text { padding-bottom: 6vh; background: radial-gradient(ellipse 60% 70% at 35% 65%, rgba(246,247,246,.92), rgba(246,247,246,0) 75%); }
@media (max-width: 1100px) { .tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-text { padding-bottom: 5vh; } }

/* bản đồ 18 dự án: cả bản đồ nằm gọn trong một màn hình */
.tnz-an-toan-thoat-lu-song-hong .tnz-datp2 .tnz-dp-map { width: min(100%, calc((100vh - 42px - 24px) * 16 / 9)); margin: 0 auto; }

/* bản đồ 18 dự án: tràn hai bên, cao vừa một màn hình; ảnh nền rộng hơn khung, phủ kín */
.tnz-an-toan-thoat-lu-song-hong .tnz-datp2 .tnz-dp-map { width: 100%; height: calc(100vh - var(--tnz-top)); min-height: 560px; margin: 0; overflow: hidden; }
.tnz-an-toan-thoat-lu-song-hong .tnz-datp2 .tnz-dp-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-text { padding-left: 7vw; max-width: 700px; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-text { padding-left: 10vw; }
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-text { max-width: calc(10vw + 640px); }

/* cover: cửa sổ hẹp. Khối chữ co theo phần nhìn thấy (--tnz-hfw do JS ghi), tít ngắt dòng cân */
.tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-title { text-wrap: balance; }
@media (max-width: 1000px) {
  .tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-text { padding-left: 5vw; max-width: min(560px, calc(var(--tnz-hfw, 100vw) * .62)); }
  .tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-title { font-size: 34px; }
  .tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-sapo { font-size: 16px; line-height: 26px; }
}
/* cửa sổ cỡ điện thoại: bố cục như bản mobile - bản đồ phía trên, chữ dưới đáy rộng hết khung */
@media (max-width: 760px) {
  .tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-hero-text { box-sizing: border-box; width: var(--tnz-hfw, 100vw); max-width: var(--tnz-hfw, 100vw); padding: 28px 20px 26px; background: linear-gradient(rgba(248,249,249,0), rgba(248,249,249,.88) 28px); }
  .tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-title { font-size: 28px; line-height: 1.3; }
  .tnz-an-toan-thoat-lu-song-hong .tnz-hero-map .tnz-sapo { font-size: 16px; line-height: 26px; }
}

/* ===== Bài 2: bản đồ vừa một khung cửa sổ, không khoảng trống ===== */
.tnz-an-toan-thoat-lu-song-hong .tnz-them-map { height: auto; width: 100%; display: block; }
.tnz-an-toan-thoat-lu-song-hong .tnz-them-map img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: fill; }
.tnz-an-toan-thoat-lu-song-hong .tnz-gt img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: fill; }

/* ===== Bài 2: bản đồ 16:9 luôn nằm gọn trong một khung cửa sổ, không cắt ===== */
.tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap .tnz-them-map, .tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap > img { width: min(var(--tnz-fvw, 100%), calc((100vh - var(--tnz-top) - 12px) * 16 / 9)); max-width: 100%; margin-left: auto; margin-right: auto; }
.tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap .tnz-them-map img, .tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap > img { height: auto; aspect-ratio: 16 / 9; object-fit: fill; }
.tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap.tnz-fv-left .tnz-them-map, .tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap.tnz-fv-left > img { margin-left: 0; }

/* ===== Bài 2: bản đồ tràn bề ngang, cao không quá một khung cửa sổ (cắt nhẹ phần nền trên/dưới khi cửa sổ rộng) ===== */
.tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap .tnz-them-map, .tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap > img { width: var(--tnz-fvw, 100%); max-width: 100%; margin-left: 0; margin-right: 0;
  height: max(calc(var(--tnz-fvw, 100vw) * 9 / 16 * .82), min(calc(var(--tnz-fvw, 100vw) * 9 / 16), calc(100vh - var(--tnz-top) - 8px))); }
.tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap .tnz-them-map img, .tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap > img { aspect-ratio: auto; object-fit: cover; object-position: 50% 50%; }
.tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap .tnz-them-map img { width: 100%; height: 100%; }

/* ===== Bài 2: ảnh bản đồ tỷ lệ 2,1:1, tràn bề ngang, hiện trọn, không cắt ===== */
.tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap .tnz-them-map, .tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap > img { height: auto; }
.tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap .tnz-them-map img, .tnz-an-toan-thoat-lu-song-hong figure.tnz-fitmap > img { aspect-ratio: 21 / 10; object-fit: fill; height: auto; }
