/* ============================================================
   THOÁT NƯỚC THÁI NGUYÊN — Design system  (tiền tố tn-*)
   Phong cách: "Hạ tầng xanh" — cơ quan kỹ thuật đô thị: xanh dương đậm (nước, kỹ thuật),
   điểm nhấn xanh lá (cây, núi — theo logo) và cam mũ bảo hộ cho hành động chính.
   Góc bo vuông vắn (6–12px), vạch "đường ống" làm điểm nhấn, sóng nước ở chân khối.
   ------------------------------------------------------------
   1  Token & reset                 9   Giới thiệu + giá trị
   2  Typography + nội dung (.rte)  10  Dịch vụ, ngành nghề
   3  Override Bootstrap            11  Quy trình, đơn vị
   4  Tiện ích dùng chung           12  Tin tức, thư viện ảnh
   5  Topbar + header + menu        13  CTA + form
   6  Menu mobile (drawer)          14  Footer + nút nổi
   7  Trang chủ (cổng tin)         15  Trang con (banner, sidebar, bài viết)
   8  Tiêu đề khối                  16  Liên hệ, tìm kiếm, 404
   ============================================================ */

/* ---------- 1. TOKEN & RESET ---------- */
:root {
    --tn-blue: #1E62B0;          /* màu chính — vòng ngoài logo */
    --tn-blue-700: #154C8C;
    --tn-navy: #0B2F5B;
    --tn-navy-900: #071F3D;
    --tn-sky: #2E9ED8;           /* sắc nước sáng */
    --tn-aqua: #8BD6ED;
    --tn-mist: #EEF5FB;          /* nền section nhạt */
    --tn-mist-2: #E1EDF8;
    --tn-green: #4E9A3A;         /* lá, núi — logo */
    --tn-green-dark: #3B7D2A;
    --tn-green-soft: #E8F3E3;
    --tn-orange: #F28A1E;        /* mũ bảo hộ — hành động chính */
    --tn-orange-700: #D9730A;
    --tn-ink: #0E2238;
    --tn-text: #2B3A4D;
    --tn-muted: #627386;
    --tn-line: #cfd9e2;
    --tn-white: #fff;
    --font-head: 'Roboto', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
    --r: 6px;
    --r-lg: 12px;
    --shadow-sm: 0 2px 10px rgba(11, 47, 91, .08);
    --shadow: 0 10px 30px rgba(11, 47, 91, .12);
    --shadow-lg: 0 18px 50px rgba(11, 47, 91, .18);
    --bs-primary: #1E62B0;
    --bs-primary-rgb: 30, 98, 176;
    --bs-link-color: #1E62B0;
    --bs-link-hover-color: #154C8C;
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--tn-text);
    --bs-border-color: var(--tn-line);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--tn-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--tn-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tn-blue-700); }
:focus-visible { outline: 3px solid var(--tn-sky); outline-offset: 2px; }
.boxed_wrapper { overflow-x: clip; }
main { display: block; }

.tn-skip {
    position: absolute; left: 12px; top: -60px; z-index: 3000;
    background: var(--tn-orange); color: var(--tn-navy-900); font-weight: 700;
    padding: 10px 16px; border-radius: var(--r); transition: top .2s;
}
.tn-skip:focus { top: 12px; color: var(--tn-navy-900); }

/* Lõi dùng .swiper-container, Swiper 11 chỉ style .swiper → tự thêm (xem CLAUDE.md, bẫy #15) */
.swiper-container { position: relative; overflow: hidden; z-index: 1; }

/* ---------- 2. TYPOGRAPHY + NỘI DUNG CKEDITOR ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--tn-navy);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.005em;
}

.rte { font-size: 16.5px; line-height: 1.75; color: var(--tn-text); }
.rte > *:first-child { margin-top: 0; }
.rte p { margin: 0 0 1.05em; }
.rte h2 { font-size: 1.45rem; margin: 1.7em 0 .7em; padding-left: 16px; position: relative; color: #0F4C95; }
.rte h2::before { content: ''; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--tn-sky), var(--tn-blue)); }
.rte h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; color: var(--tn-blue-700); }
.rte h4 { font-size: 1.08rem; margin: 1.3em 0 .4em; }
.rte ul, .rte ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.rte li { margin-bottom: .4em; }
.rte ul li::marker { color: var(--tn-green); font-size: 1.1em; }
.rte ol li::marker { color: var(--tn-blue); font-weight: 700; }
.rte a { text-decoration: underline; text-underline-offset: 3px; }
.rte img { border-radius: var(--r); margin: .5em 0; cursor: zoom-in; }
.rte figure { margin: 1.4em 0; }
.rte figcaption, .rte .caption { font-size: .9rem; color: var(--tn-muted); text-align: center; margin-top: .5em; }
.rte blockquote {
    margin: 1.4em 0; padding: 18px 22px; border-left: 5px solid var(--tn-sky);
    background: linear-gradient(135deg, #EAF4FD, #F5FAFF); border-radius: 6px 18px 18px 6px; color: var(--tn-ink);
}
.rte em.tn-demo, .rte .tn-demo {
    display: block; margin: 1.4em 0 0; padding: 8px 12px; font-style: italic; font-size: .86rem; line-height: 1.55;
    background: #F5F7FA; border-left: 3px solid #C3CEDB; color: #6B7A8C;
}

/* Dải số liệu nổi bật trong nội dung: <div class="tn-stats"><div><b>302 tỷ</b><span>Vốn điều lệ</span></div>…</div> */
.rte .tn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 1.6em 0; }
.rte .tn-stats > div { padding: 18px 16px; border-radius: 18px; text-align: center; background: linear-gradient(135deg, #EAF4FD, #F5FAFF); border: 1px solid #D7E8F7; }
.rte .tn-stats b { display: block; font-size: 1.7rem; line-height: 1.1; color: #0F4C95; }
.rte .tn-stats span { display: block; margin-top: 6px; font-size: .86rem; line-height: 1.4; color: var(--tn-muted); }
.rte .tn-stats > div:nth-child(even) b { color: var(--tn-green-dark); }
/* Danh sách 2 cột: <ul class="tn-cols"> */
.rte ul.tn-cols { columns: 2; column-gap: 32px; padding: 18px 22px 18px 40px; border-radius: 18px; background: var(--tn-mist); }
.rte ul.tn-cols li { break-inside: avoid; }
@media (max-width: 575.98px) { .rte ul.tn-cols { columns: 1; } }
.rte h4 { color: var(--tn-navy); }

/* Bảng (ngành nghề kinh doanh…) */
.tn-table-wrap { overflow-x: auto; margin: 1.4em 0; border-radius: 18px; border: 1px solid var(--tn-line); -webkit-overflow-scrolling: touch; }
.rte table { width: 100%; border-collapse: collapse; font-size: .97rem; background: #fff; }
.rte table th { background: linear-gradient(90deg, #0B3D7A, var(--tn-blue)); color: #fff; font-family: var(--font-head); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; text-align: left; padding: 13px 16px; white-space: nowrap; }
.rte table td { padding: 12px 16px; border-top: 1px solid var(--tn-line); vertical-align: top; }
.rte table tbody tr:nth-child(even) td { background: #F7FAFD; }
.rte table tbody tr:hover td { background: var(--tn-mist); }
.rte table.tn-codes-table td:first-child { font-family: var(--font-head); font-weight: 700; color: var(--tn-blue); white-space: nowrap; width: 1%; }
.rte table td small, .rte table.tn-codes-table td em { display: block; color: var(--tn-muted); font-size: .9em; font-style: normal; margin-top: 3px; }

/* Sơ đồ tổ chức (.tn-org) — dựng bằng HTML trong ô Nội dung */
.tn-org { margin: 1.6em 0; display: flex; flex-direction: column; align-items: center; }
.tn-org__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; width: 100%; }
.tn-org__line { width: 2px; height: 26px; background: var(--tn-sky); }
.tn-org__box {
    flex: 1 1 200px; max-width: 280px; padding: 14px 16px; text-align: center; border-radius: 14px;
    background: #fff; border: 1.5px solid var(--tn-line); border-top: 4px solid var(--tn-sky);
    font-family: var(--font-head); font-size: .92rem; font-weight: 600; line-height: 1.35; color: var(--tn-navy);
    box-shadow: var(--shadow-sm);
}
.tn-org__box small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--tn-muted); margin-top: 4px; font-size: .85rem; }
.tn-org__box--top { background: var(--tn-navy); color: #fff; border-color: var(--tn-navy); border-top-color: var(--tn-orange); max-width: 340px; }
.tn-org__box--top small { color: var(--tn-aqua); }
.tn-org__box--dept { border-top-color: var(--tn-blue); }
.tn-org__box--unit { border-top-color: var(--tn-green); background: var(--tn-green-soft); }
.tn-org__label { position: relative; z-index: 1; padding: 2px 12px; background: #fff; text-align: center; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--tn-muted); font-weight: 700; margin: 0 0 12px; }

/* Sơ đồ tổ chức dạng cây (.tn-tree) — nối bằng đường kẻ, tự xếp dọc trên mobile */
.tn-tree { --tn-gap: 26px; margin: 1.6em 0; display: flex; flex-direction: column; align-items: center; }
.tn-tree__line { width: 2px; height: var(--tn-gap); background: var(--tn-sky); flex: 0 0 auto; }
.tn-tree__box {
    padding: 12px 22px; text-align: center; background: #fff; border: 1.5px solid var(--tn-line); border-top: 4px solid var(--tn-sky); border-radius: 12px;
    font-family: var(--font-head); font-size: .92rem; font-weight: 700; line-height: 1.4; text-transform: uppercase; color: var(--tn-navy); box-shadow: var(--shadow-sm);
}
.tn-tree__box--top { background: var(--tn-navy); color: #fff; border-color: var(--tn-navy); border-top-color: var(--tn-orange); }
.tn-tree__box--dept { border-top-color: var(--tn-blue); min-width: 200px; }
.tn-tree__box--unit { border-top-color: var(--tn-green); background: var(--tn-green-soft); min-width: 260px; }
.tn-tree__box--sm { font-size: .84rem; padding: 9px 18px; border-top-width: 1.5px; text-transform: none; }
.tn-tree__box--team { font-size: .84rem; padding: 8px 14px; border-top-width: 1.5px; min-width: 64px; }
.tn-split { display: flex; justify-content: center; width: 100%; }
.tn-split__col { flex: 1 1 0; position: relative; display: flex; flex-direction: column; align-items: center; padding: var(--tn-gap) 6px 0; min-width: 0; }
.tn-split__col::before { content: ''; position: absolute; top: 0; left: 0; right: 0; border-top: 2px solid var(--tn-sky); }
.tn-split__col::after { content: ''; position: absolute; top: 0; left: 50%; height: var(--tn-gap); border-left: 2px solid var(--tn-sky); }
.tn-split__col:first-child::before { left: 50%; }
.tn-split__col:last-child::before { right: 50%; }
.tn-split__col:only-child::before { display: none; }
.tn-split--join > .tn-split__col { padding: 0 6px var(--tn-gap); }
.tn-split--join > .tn-split__col::before { top: auto; bottom: 0; }
.tn-split--join > .tn-split__col::after { top: auto; bottom: 0; }
.tn-split--teams > .tn-split__col { padding-left: 4px; padding-right: 4px; }
@media (max-width: 767.98px) {
    .tn-split:not(.tn-split--teams) { flex-direction: column; align-items: center; gap: 22px; }
    .tn-split:not(.tn-split--teams) > .tn-split__col { padding: 0; width: 100%; }
    .tn-split:not(.tn-split--teams) > .tn-split__col::before, .tn-split:not(.tn-split--teams) > .tn-split__col::after { display: none; }
    .tn-split--join { gap: 14px; }
    .tn-split--join + .tn-tree__line { display: none; }
    .tn-tree__box--team { min-width: 0; padding: 8px 8px; }
}

/* ---------- 3. OVERRIDE BOOTSTRAP ---------- */
.btn {
    font-family: var(--font-head); font-weight: 700; font-size: .92rem; letter-spacing: .01em;
    border-radius: 999px; padding: 11px 24px; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-lg { padding: 14px 28px; font-size: .98rem; }
.btn-sm { padding: 7px 14px; font-size: .84rem; }
.btn:active { transform: translateY(1px); }
.btn-primary { --bs-btn-bg: var(--tn-blue); --bs-btn-border-color: var(--tn-blue); --bs-btn-hover-bg: var(--tn-blue-700); --bs-btn-hover-border-color: var(--tn-blue-700); --bs-btn-active-bg: var(--tn-navy); --bs-btn-active-border-color: var(--tn-navy); --bs-btn-focus-shadow-rgb: 46, 158, 216; }
.btn-outline-primary { --bs-btn-color: var(--tn-blue); --bs-btn-border-color: var(--tn-blue); --bs-btn-hover-bg: var(--tn-blue); --bs-btn-hover-border-color: var(--tn-blue); --bs-btn-active-bg: var(--tn-blue-700); }
.btn-warning { --bs-btn-bg: var(--tn-orange); --bs-btn-border-color: var(--tn-orange); --bs-btn-color: var(--tn-navy-900); --bs-btn-hover-bg: #FFA23C; --bs-btn-hover-border-color: #FFA23C; --bs-btn-hover-color: var(--tn-navy-900); --bs-btn-active-bg: var(--tn-orange-700); --bs-btn-active-color: #fff; --bs-btn-active-border-color: var(--tn-orange-700); --bs-btn-disabled-bg: var(--tn-orange); --bs-btn-disabled-border-color: var(--tn-orange); --bs-btn-disabled-color: var(--tn-navy-900); }
.btn-outline-light { --bs-btn-hover-color: var(--tn-navy); }
.btn-warning:hover { box-shadow: 0 8px 20px rgba(242, 138, 30, .35); }

.form-label { font-weight: 600; font-size: .92rem; color: var(--tn-ink); margin-bottom: 6px; }
.form-control, .form-select {
    border: 1.5px solid #C9D7E6; border-radius: 12px; padding: 11px 14px; font-size: 1rem; color: var(--tn-ink); background-color: #fff;
}
.form-control:focus, .form-select:focus { border-color: var(--tn-sky); box-shadow: 0 0 0 4px rgba(46, 158, 216, .18); }
.form-control::placeholder { color: #93A3B5; }
.req { color: #D64545; }
.tn-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg-box { margin-top: 14px; font-weight: 600; }
.form-msg-box:empty { display: none; }
.form-msg-box.ok { color: var(--tn-green-dark); background: var(--tn-green-soft); border-left: 4px solid var(--tn-green); padding: 10px 14px; border-radius: 0 var(--r) var(--r) 0; }
.form-msg-box.err { color: #B42318; background: #FDECEA; border-left: 4px solid #D64545; padding: 10px 14px; border-radius: 0 var(--r) var(--r) 0; }
.tn-form__note { margin: 12px 0 0; font-size: .86rem; color: var(--tn-muted); }

/* ---------- 4. TIỆN ÍCH DÙNG CHUNG ---------- */
.tn-section { padding: 88px 0; position: relative; }
.tn-section--mist { background: var(--tn-mist); }
.tn-sticky { position: sticky; top: 84px; }

.tn-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--tn-green-dark); margin-bottom: 10px;
}
.tn-eyebrow::before { content: ''; width: 34px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--tn-sky), var(--tn-green)); }
.tn-eyebrow--light { color: var(--tn-aqua); }
.tn-title { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.4rem); font-weight: 700; color: var(--tn-navy); margin: 0 0 14px; }
.tn-title--sm { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.tn-subtitle { font-size: 1.3rem; margin: 36px 0 18px; padding-left: 14px; border-left: 5px solid var(--tn-sky); }
.tn-lead { color: var(--tn-muted); font-size: 1.1rem; max-width: 720px; }
.tn-head { margin-bottom: 40px; }
.tn-head--center { text-align: center; }
.tn-head--center .tn-lead { margin-left: auto; margin-right: auto; }
.tn-head--center .tn-eyebrow { justify-content: center; }
.tn-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tn-head--row .tn-title { margin-bottom: 0; }
.tn-head--light .tn-title { color: #fff; }
.tn-head--light .tn-lead { color: rgba(255, 255, 255, .78); }
.tn-head--light .tn-eyebrow { color: var(--tn-aqua); }
.tn-head .tn-lead p { margin: 0 0 .6em; }

.tn-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--tn-blue); }
.tn-more i { transition: transform .2s; font-size: .8em; }
a:hover > .tn-more i, .tn-more:hover i, a:hover .tn-more i { transform: translateX(4px); }
.tn-more--light { color: #fff; }

.tn-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--tn-mist-2); color: var(--tn-blue-700); }
.tn-chip--green { background: var(--tn-green-soft); color: var(--tn-green-dark); }
a.tn-chip:hover { background: var(--tn-blue); color: #fff; }

.tn-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-tags a { padding: 8px 16px; border: 1.5px solid var(--tn-line); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--tn-blue-700); background: #fff; }
.tn-tags a:hover, .tn-tags a.is-active { background: var(--tn-blue); border-color: var(--tn-blue); color: #fff; }


/* ---------- 5. TOPBAR + HEADER + THANH MENU ---------- */
.tn-topbar { background: linear-gradient(90deg, #0B4A8F 0%, var(--tn-blue) 55%, var(--tn-sky) 100%); color: #fff; font-size: .86rem; }
.tn-topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.tn-topbar__l, .tn-topbar__r { display: flex; align-items: center; gap: 20px; }
.tn-topbar__r { gap: 10px; }
.tn-topbar a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.tn-topbar a:hover { color: #FFD9A8; }
.tn-topbar a i { font-size: .9em; opacity: .9; }
.tn-topbar__follow { opacity: .9; margin-right: 2px; }
.tn-topbar a.tn-topbar__soc { width: 26px; height: 26px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.tn-topbar a.tn-topbar__soc:hover { background: #fff; color: var(--tn-blue); }
.tn-topbar a.is-alert { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 500; }
.tn-topbar a.is-alert i { color: #FFC37A; }
.tn-topbar a.is-alert:hover { background: var(--tn-orange); color: var(--tn-navy-900); }
.tn-topbar a.is-alert:hover i { color: var(--tn-navy-900); }
@media (max-width: 767.98px) {
    .tn-topbar__l a + a, .tn-topbar__follow { display: none; }
    .tn-topbar .container { min-height: 36px; }
    .tn-topbar__l a { font-size: .8rem; }
}
@media (max-width: 399.98px) { .tn-topbar__l { display: none; } .tn-topbar .container { justify-content: flex-end; } }

/* Header: ảnh minh hoạ thành phố canh theo mép phải container (đã làm mờ 2 bên trong ảnh) */
.tn-header {
    position: relative; z-index: 20;
    background: #fff url(../images/header-city.webp) no-repeat;
    background-size: auto 100%;
    background-position: right max(0px, calc(50% - 660px - 150px)) center;
}
.tn-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 124px; padding-top: 12px; padding-bottom: 12px; }
.tn-brand { display: flex; align-items: center; gap: 18px; color: var(--tn-navy); min-width: 0; }
.tn-brand:hover { color: var(--tn-navy); }
.tn-brand img { width: 92px; height: 92px; flex: 0 0 auto; border-radius: 50%; box-shadow: 0 6px 18px rgba(30, 98, 176, .18); background: #fff; }
.tn-brand__txt { display: flex; flex-direction: column; min-width: 0; }
.tn-brand__txt small { font-family: var(--font-head); font-size: .86rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tn-blue); }
.tn-brand__txt strong { font-family: var(--font-head); font-size: clamp(.9rem, .6rem + .95vw, 1.42rem); font-weight: 700; line-height: 1.22; text-transform: uppercase; color: #0F4C95; max-width: 520px; text-wrap: balance; }
.tn-brand__txt em { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-style: normal; font-size: .74rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--tn-green-dark); }
.tn-brand__txt em::after { content: ''; flex: 0 0 48px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--tn-green), transparent); }
.tn-header__actions { display: flex; align-items: center; gap: 14px; }
.tn-hotline, .tn-hreport { display: flex; align-items: center; gap: 10px; color: var(--tn-ink); line-height: 1.25; }
.tn-hotline .ic, .tn-hreport .ic { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; }
.tn-hotline .ic { background: linear-gradient(135deg, var(--tn-sky), var(--tn-blue)); color: #fff; box-shadow: 0 6px 16px rgba(30, 98, 176, .3); }
.tn-hotline small { display: block; font-size: .78rem; color: var(--tn-muted); }
.tn-hotline strong { font-family: var(--font-head); font-size: 1.12rem; color: #0F4C95; }
.tn-hotline > span, .tn-hreport > span { white-space: nowrap; }
.tn-hotline:hover strong { color: var(--tn-orange-700); }
.tn-hreport { padding-left: 16px; border-left: 1px solid var(--tn-line); font-size: .8rem; font-weight: 500; color: var(--tn-text); }
.tn-hreport .ic { background: #fff; border: 1.5px solid var(--tn-mist-2); color: var(--tn-blue); box-shadow: var(--shadow-sm); }
.tn-hreport > i { color: var(--tn-blue); transition: transform .2s; }
.tn-hreport:hover { color: var(--tn-blue); }
.tn-hreport:hover > i { transform: translateX(4px); }
.tn-header__note { align-self: flex-start; width: clamp(150px, 18vw, 250px); margin-top: 2px; font-family: 'Dancing Script', cursive; font-size: 1.15rem; font-weight: 600; line-height: 1.15; color: #0F4C95; text-align: right; text-shadow: 0 0 10px #fff, 0 0 4px #fff; }

.tn-iconbtn { width: 44px; height: 44px; border: 1.5px solid var(--tn-line); background: #fff; border-radius: 50%; color: var(--tn-blue); font-size: 1.05rem; }
.tn-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--tn-blue); padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.tn-burger span { width: 22px; height: 2.5px; border-radius: 2px; background: #fff; }

/* Thanh menu dạng thanh bo tròn, dính khi cuộn */
.tn-nav { position: sticky; top: 0; z-index: 1030; padding: 0 0 12px; background: #fff; transition: box-shadow .25s, padding .25s; }
.tn-nav.is-stuck { padding: 8px 0; box-shadow: 0 6px 22px rgba(7, 31, 61, .14); }
.tn-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 8px; border-radius: 16px; background: linear-gradient(90deg, #0B3D7A 0%, var(--tn-blue-700) 45%, var(--tn-blue) 100%); box-shadow: 0 10px 24px rgba(11, 61, 122, .22); }
.tn-nav__mini { display: none; align-items: center; margin: 0 2px 0 4px; }
.tn-nav__mini img { width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.tn-nav.is-stuck .tn-nav__mini { display: flex; }
.tn-nav.is-stuck .tn-menu__link { padding-left: 11px; padding-right: 11px; }
.tn-menu { flex: 1 1 auto; min-width: 0; }
.tn-menu__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: nowrap; gap: 2px; }
.tn-menu__item { position: relative; }
.tn-menu__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 10px;
    border-radius: 12px;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    transition: background .2s;
}
.tn-menu__ic { font-size: 1.05em; opacity: .9; }
.tn-menu__caret { font-size: .62em; opacity: .75; transition: transform .2s; }
.tn-menu__item:hover > .tn-menu__link, .tn-menu__item:focus-within > .tn-menu__link { background: rgba(255, 255, 255, .14); color: #fff; }
.tn-menu__item.is-active > .tn-menu__link { background: linear-gradient(135deg, var(--tn-sky), #3FB0E6); box-shadow: 0 6px 14px rgba(8, 40, 82, .3), inset 0 1px 0 rgba(255, 255, 255, .25); }
.tn-menu__item:hover > .tn-menu__link .tn-menu__caret { transform: rotate(180deg); }

.tn-dropdown {
    list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: calc(100% + 10px); min-width: 300px; z-index: 50;
    background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.tn-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.tn-menu__item:hover > .tn-dropdown, .tn-menu__item:focus-within > .tn-dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tn-dropdown a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--tn-ink); font-weight: 500; font-size: .95rem; }
.tn-dropdown a:hover { background: var(--tn-mist); color: var(--tn-blue); }

.tn-search { display: flex; align-items: center; flex: 0 1 230px; min-width: 140px; background: #fff; border-radius: 12px; border: 2px solid transparent; transition: border-color .2s; }
.tn-search:focus-within { border-color: var(--tn-aqua); }
.tn-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--tn-ink); padding: 8px 4px 8px 14px; font-size: 14px; outline: 0; }
.tn-search input::placeholder { color: #8796A8; }
.tn-search button { width: 34px; height: 34px; margin: 2px; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--tn-sky), var(--tn-blue)); color: #fff; font-size: .85rem; }
.tn-search-m { display: none; background: var(--tn-mist); padding: 10px 16px; gap: 8px; border-top: 1px solid var(--tn-line); }
.tn-search-m.is-open { display: flex; }
.tn-search-m input { flex: 1; border: 1.5px solid #C9D7E6; border-radius: 10px; padding: 10px 14px; }
.tn-search-m button { border: 0; background: var(--tn-blue); color: #fff; border-radius: 10px; padding: 0 16px; }

@media (max-width: 1399.98px) {
    .tn-menu__link, .tn-nav.is-stuck .tn-menu__link { padding: 11px 10px; font-size: 13.5px; gap: 6px; }
    .tn-menu__item:not(:first-child) .tn-menu__ic { display: none; }
    .tn-header__note { display: none; }
    .tn-header { background-position: right center; }
    .tn-header__actions { padding-right: 160px; gap: 12px; }
    .tn-hreport > i { display: none; }
}
@media (max-width: 1199.98px) {
    .tn-header { position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 14px rgba(11, 47, 91, .12); background-image: none; }
    .tn-header__inner { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
    .tn-brand img { width: 56px; height: 56px; }
    .tn-brand__txt em { display: none; }
    .tn-nav { display: none; }
    .tn-hotline, .tn-hreport, .tn-nav .tn-search { display: none; }
    .tn-header__actions { padding-right: 0; }
    .tn-burger { display: flex; }
    .tn-sticky { position: static; }
}
@media (max-width: 575.98px) {
    .tn-brand { gap: 10px; }
    .tn-brand img { width: 48px; height: 48px; }
    .tn-brand__txt small { font-size: .62rem; }
    .tn-brand__txt strong { font-size: .78rem; }
    .tn-header__actions { gap: 8px; }
}

/* ---------- 6. MENU MOBILE (DRAWER) ---------- */
.tn-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 370px); z-index: 2100; background: #fff;
    display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s; box-shadow: var(--shadow-lg);
}
.nav-open .tn-drawer { transform: none; visibility: visible; transition-delay: 0s; }
.tn-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--tn-navy); color: #fff; }
.tn-drawer__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tn-drawer__brand strong { font-family: var(--font-head); font-size: .74rem; text-transform: uppercase; line-height: 1.25; }
.tn-drawer__close { width: 40px; height: 40px; border: 0; border-radius: var(--r); background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.2rem; flex: 0 0 auto; }
.tn-drawer__list { list-style: none; margin: 0; padding: 8px 0; overflow-y: auto; flex: 1; }
.tn-drawer__list > li { position: relative; border-bottom: 1px solid var(--tn-line); }
.tn-drawer__list > li > a { display: block; padding: 14px 56px 14px 20px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; text-transform: uppercase; color: var(--tn-navy); }
.tn-drawer__list > li.is-active > a { color: var(--tn-blue); box-shadow: inset 4px 0 0 var(--tn-orange); }
.tn-drawer__toggle { position: absolute; top: 0; right: 0; width: 52px; height: 49px; border: 0; background: transparent; color: var(--tn-blue); }
.tn-drawer__toggle i { transition: transform .2s; }
.tn-drawer__list li.is-open > .tn-drawer__toggle i { transform: rotate(180deg); }
.tn-drawer__list ul { list-style: none; margin: 0; padding: 0; max-height: 0; overflow: hidden; background: var(--tn-mist); transition: max-height .3s ease; }
.tn-drawer__list li.is-open > ul { max-height: 520px; }
.tn-drawer__list ul a { display: block; padding: 11px 20px 11px 34px; color: var(--tn-ink); font-weight: 600; border-top: 1px solid var(--tn-line); }
.tn-drawer__foot { padding: 16px; border-top: 1px solid var(--tn-line); background: #fff; }
.tn-drawer__tel { display: block; text-align: center; margin-top: 12px; font-weight: 700; color: var(--tn-blue-700); }
.tn-backdrop { position: fixed; inset: 0; z-index: 2000; background: rgba(7, 31, 61, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.nav-open .tn-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
.nav-open { overflow: hidden; }

/* ---------- 7. TRANG CHỦ ---------- */
.tn-home { padding: 64px 0; position: relative; }
.tn-home--mist { background: var(--tn-mist); }

/* Tiêu đề khối giữa trang: chữ đậm, phần cuối xanh lá, gạch sóng nước bên dưới */
.tn-sh { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.tn-sh h2 { margin: 0; font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.25rem); font-weight: 700; color: #0F4C95; letter-spacing: -.01em; }
.tn-sh h2 span { color: var(--tn-green); }
.tn-sh h2::after {
    content: ''; display: block; width: 92px; height: 10px; margin: 12px auto 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 10'%3E%3Cpath d='M2 5 Q 9.5 0 17 5 T 32 5 T 47 5 T 62 5 T 77 5 T 92 5' fill='none' stroke='%232E9ED8' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.tn-sh p { margin: 12px 0 0; color: var(--tn-muted); font-size: 1.02rem; }

/* Tiêu đề khối kiểu cổng thông tin: chữ hoa, vạch xanh bên trái, gạch chân mảnh */
.tn-bt { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; padding-bottom: 10px; border-bottom: 1px solid var(--tn-line); }
.tn-bt__title { position: relative; margin: 0; padding-left: 15px; font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: #0F4C95; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.tn-bt__title::after { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--tn-sky), var(--tn-blue)); }
.tn-bt__title a { color: inherit; }
.tn-bt__title a:hover { color: var(--tn-blue); }
.tn-bt__title--sm { font-size: 18px; line-height: 40px; }
.tn-bt__more { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--tn-blue); white-space: nowrap; }
.tn-bt__more i { font-size: .8em; }

/* Nút bo tròn dùng chung (trang chủ, thẻ tin) */
.tn-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px 11px 22px; border-radius: 999px;
    background: linear-gradient(135deg, var(--tn-sky) 0%, var(--tn-blue) 100%); color: #fff;
    font-family: var(--font-head); font-weight: 600; font-size: .92rem; box-shadow: 0 8px 18px rgba(30, 98, 176, .28);
    transition: transform .2s, box-shadow .2s;
}
.tn-btn i { font-size: 1.15em; transition: transform .2s; }
.tn-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(30, 98, 176, .36); }
.tn-btn:hover i { transform: translateX(3px); }
.tn-btn--sm { padding: 7px 10px 7px 16px; font-size: .82rem; gap: 8px; box-shadow: 0 6px 14px rgba(30, 98, 176, .24); }
.tn-btn--ghost { background: #fff; color: var(--tn-blue); border: 1.5px solid #BCD6EF; box-shadow: none; }
.tn-btn--ghost:hover { color: #fff; background: var(--tn-blue); border-color: var(--tn-blue); }
.tn-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: var(--tn-green); color: #fff; font-size: .8rem; font-weight: 600; box-shadow: 0 6px 14px rgba(78, 154, 58, .25); }
.tn-dots { position: static !important; margin-top: 26px; }
.tn-dots .swiper-pagination-bullet { width: 10px; height: 10px; background: #A9C7E6; opacity: 1; transition: width .25s, background .25s; border-radius: 6px; }
.tn-dots .swiper-pagination-bullet-active { width: 28px; background: var(--tn-blue); }

/* Slider full chiều ngang (khối 1) — ảnh 1920×640, khung chữ góc trái dưới */
.tn-slider { background: var(--tn-navy-900); }
.tn-slider__item { position: relative; height: clamp(300px, 33.3vw, 600px); overflow: hidden; }
.tn-slider__item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tn-slider__item::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(0deg, rgba(4, 18, 38, .55) 0%, rgba(4, 18, 38, 0) 100%); pointer-events: none; }
.tn-slider__item > .container { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; }
.tn-slider__cap { max-width: 600px; margin-bottom: 56px; padding: 22px 26px 22px; background: rgba(11, 47, 91, .82); backdrop-filter: blur(4px); border-left: 4px solid var(--tn-orange); border-radius: 4px 16px 16px 4px; color: #fff; }
.tn-slider__cap h2 { color: #fff; font-size: clamp(1.2rem, 1rem + .9vw, 1.75rem); font-weight: 700; line-height: 1.3; margin: 0 0 8px; }
.tn-slider__cap p { margin: 0 0 12px; color: rgba(255, 255, 255, .86); font-size: .98rem; line-height: 1.55; }
.tn-slider__more { display: inline-flex; align-items: center; gap: 6px; color: #FFB25C; font-weight: 500; font-size: .92rem; }
.tn-slider__more:hover { color: #fff; }
.tn-slider__more i { font-size: .8em; }
.tn-slider__dots { left: auto !important; right: max(calc((100vw - 1320px) / 2 + 12px), 16px) !important; bottom: 22px !important; width: auto !important; }
.tn-slider .swiper-pagination-bullet { width: 26px; height: 4px; border-radius: 2px; background: #fff; opacity: .5; }
.tn-slider .swiper-pagination-bullet-active { opacity: 1; background: var(--tn-orange); }
.tn-slider__nav { width: 42px !important; height: 42px !important; border: 0; border-radius: 50%; background: rgba(4, 18, 38, .4); color: #fff !important; opacity: 0; transition: opacity .2s, background .2s; }
.tn-slider__nav::after { font-size: 16px !important; font-weight: 700; }
.tn-slider:hover .tn-slider__nav, .tn-slider__nav:focus-visible { opacity: 1; }
.tn-slider__nav:hover { background: var(--tn-blue); }
.tn-slider .swiper-fade .swiper-slide { pointer-events: none; }
.tn-slider .swiper-fade .swiper-slide-active { pointer-events: auto; }
@media (max-width: 767.98px) {
    .tn-slider__item { height: 420px; }
    .tn-slider__cap { margin-bottom: 40px; padding: 14px 16px 16px; }
    .tn-slider__cap p { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .tn-slider__nav { display: none; }
    .tn-slider__dots { right: 16px !important; bottom: 14px !important; }
}

/* Giới thiệu: cụm 2 ảnh + huy hiệu số năm + nét đứt trang trí */
.tn-about { padding-top: 76px; overflow: hidden; }
.tn-about__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 600px; margin: 0 auto; padding-bottom: 40px; }
.tn-about__media::before { content: ''; position: absolute; left: 6%; right: -10%; top: 4%; bottom: -4%; border-radius: 50%; background: radial-gradient(closest-side, #DCEBF9 0%, rgba(220, 235, 249, .55) 55%, rgba(220, 235, 249, 0) 100%); z-index: -1; }
.tn-about__img { margin: 0; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); background: var(--tn-mist-2); }
.tn-about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-about__img--a { aspect-ratio: 4 / 5; align-self: start; border-radius: 26px 26px 26px 90px; }
.tn-about__img--b { aspect-ratio: 3 / 4.4; margin-top: 110px; border: 7px solid #fff; border-radius: 26px 90px 26px 26px; }
.tn-about__media.is-single { grid-template-columns: 1fr; }
.tn-about__media.is-single .tn-about__img--a { aspect-ratio: 4 / 3; border-radius: 26px; }
.tn-about__badge {
    position: absolute; left: 50%; top: 18px; transform: translateX(-34%); z-index: 2;
    width: 132px; height: 132px; border-radius: 50%; border: 6px solid #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    background: linear-gradient(140deg, var(--tn-sky), #0F4C95); color: #fff; box-shadow: 0 14px 30px rgba(15, 76, 149, .35);
}
.tn-about__badge strong { font-size: 2.1rem; line-height: 1; font-weight: 700; }
.tn-about__badge span { margin-top: 4px; font-size: .7rem; line-height: 1.25; font-weight: 500; opacity: .95; }
.tn-about__media.is-single .tn-about__badge { left: auto; right: -10px; transform: none; }
.tn-about__path { position: absolute; left: -8px; bottom: 0; width: 46%; color: #8FB9E3; z-index: -1; }
.tn-about__drop { position: absolute; left: -18px; bottom: 6px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--tn-sky); box-shadow: var(--shadow-sm); }
.tn-about__title { margin: 14px 0 14px; font-size: clamp(1.35rem, 1rem + 1.2vw, 1.95rem); line-height: 1.28; text-transform: uppercase; color: #0F4C95; }
.tn-about__lead { margin: 0 0 22px; color: var(--tn-text); font-size: 1.02rem; line-height: 1.75; text-align: justify; }
.tn-about__vals { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 26px; padding: 20px; border-radius: 22px; background: linear-gradient(135deg, #EAF4FD, #F5FAFF); border: 1px solid #D7E8F7; }
.tn-val { display: flex; gap: 14px; align-items: flex-start; }
.tn-val__ic { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; color: var(--tn-blue); background: #fff; border: 2px dashed #A9CBEA; }
.tn-val h3 { margin: 2px 0 4px; font-size: 1rem; color: #0F4C95; }
.tn-val p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--tn-muted); }
@media (max-width: 575.98px) {
    .tn-about { padding-top: 48px; }
    .tn-about__vals { grid-template-columns: 1fr; padding: 16px; }
    .tn-about__media { gap: 12px; }
    .tn-about__img--b { margin-top: 70px; border-width: 5px; }
    .tn-about__badge { width: 100px; height: 100px; border-width: 4px; top: 6px; }
    .tn-about__badge strong { font-size: 1.6rem; }
    .tn-about__badge span { font-size: .6rem; }
}

/* Lĩnh vực hoạt động: thẻ nền xanh nhạt, ảnh bo tròn, nút "Xem chi tiết" */
.tn-fields { padding-top: 40px; }
.tn-fields__slider { padding: 10px 4px 4px; margin: -10px -4px 0; }
.tn-fields__slider .swiper-slide { height: auto; }
.tn-field {
    height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 12px 12px 22px; border-radius: 24px; background: linear-gradient(180deg, #E4F0FB 0%, #F4F9FE 100%);
    border: 1px solid #D2E5F6; transition: transform .25s, box-shadow .25s;
}
.tn-field:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(15, 76, 149, .14); }
.tn-field__img { display: block; width: 100%; aspect-ratio: 1 / .82; overflow: hidden; border-radius: 18px; box-shadow: 0 8px 18px rgba(15, 76, 149, .14); }
.tn-field__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tn-field:hover .tn-field__img img { transform: scale(1.06); }
.tn-field h3 { margin: 18px 6px 8px; font-size: .98rem; line-height: 1.4; text-transform: uppercase; min-height: 2.8em; display: flex; align-items: center; justify-content: center; }
.tn-field h3 a { color: #0F4C95; }
.tn-field h3 a:hover { color: var(--tn-sky); }
.tn-field p { margin: 0 6px 16px; font-size: .88rem; line-height: 1.55; color: var(--tn-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tn-field .tn-btn { margin-top: auto; }

/* Tin các đơn vị */
.tn-units { padding-top: 40px; }
.tn-unit { height: 100%; }
.tn-unit__name { margin: 0 0 16px; padding: 0 0 10px 12px; border-bottom: 1px solid var(--tn-line); position: relative; font-size: .98rem; text-transform: uppercase; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-unit__name::before { content: ''; position: absolute; left: 0; top: 2px; height: 1.1em; width: 4px; border-radius: 4px; background: var(--tn-blue); }
.tn-unit__name a { color: var(--tn-navy); }
.tn-unit__name a:hover { color: var(--tn-blue); }
.tn-unitnews { display: block; color: var(--tn-ink); }
.tn-unitnews__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; margin-bottom: 12px; background: var(--tn-mist-2); box-shadow: var(--shadow-sm); }
.tn-unitnews__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tn-unitnews:hover .tn-unitnews__img img { transform: scale(1.05); }
.tn-unitnews strong { display: block; font-size: 1.02rem; line-height: 1.45; font-weight: 700; color: var(--tn-ink); }
.tn-unitnews small { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--tn-muted); font-size: .82rem; }
.tn-unitnews small i { color: var(--tn-green); }
.tn-unitnews:hover strong { color: var(--tn-blue); }
.tn-links { list-style: none; margin: 12px 0 0; padding: 0; }
.tn-links li { position: relative; padding: 9px 0 9px 16px; border-top: 1px dashed var(--tn-line); }
.tn-links li::before { content: ''; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--tn-sky); }
.tn-links a { color: var(--tn-text); font-size: .95rem; line-height: 1.45; }
.tn-links a:hover { color: var(--tn-blue); }

/* Tin tức & sự kiện: tab chuyên mục + thẻ tin (.tn-post, mục 12) */
.tn-newsx { background: linear-gradient(180deg, #fff 0%, var(--tn-mist) 18%, var(--tn-mist) 100%); }
.tn-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -10px 0 30px; }
.tn-tabs__btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border: 1.5px solid #C6DBEF; border-radius: 999px; background: #fff; color: var(--tn-navy); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
.tn-tabs__btn i { color: var(--tn-sky); }
.tn-tabs__btn:hover { border-color: var(--tn-blue); color: var(--tn-blue); }
.tn-tabs__btn.active { background: linear-gradient(135deg, var(--tn-sky), var(--tn-blue)); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(30, 98, 176, .28); }
.tn-tabs__btn.active i { color: #fff; }

/* Dải tiếp nhận phản ánh */
.tn-report { position: relative; background: linear-gradient(90deg, #0A2A52 0%, var(--tn-navy) 60%, #0F4C95 100%); color: #fff; padding: 30px 0; }
.tn-report__inner { display: flex; align-items: center; gap: 20px; }
.tn-report__ic { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%; border: 2px solid rgba(139, 214, 237, .6); color: var(--tn-aqua); display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 0 0 6px rgba(139, 214, 237, .12); }
.tn-report__txt { flex: 1; min-width: 0; }
.tn-report h2 { color: #fff; font-size: 1.2rem; margin: 0 0 4px; }
.tn-report__txt p { margin: 0; color: rgba(255, 255, 255, .8); font-size: .96rem; }
.tn-report__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tn-report__act .btn { border-radius: 999px; }
.tn-report__tel { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 1.15rem; margin-right: 8px; }
.tn-report__tel i { color: var(--tn-orange); }
@media (max-width: 991.98px) { .tn-report__inner { flex-wrap: wrap; } .tn-report__act { width: 100%; } }
main:has(> .tn-report:last-child) + .tn-footer { margin-top: 0; }
main:has(> .tn-report:last-child) + .tn-footer .tn-footer__wave { display: none; }

/* Thư viện ảnh */
.tn-gallery { padding-top: 48px; }
.tn-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 12px; }
.tn-shot { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--tn-navy); }
.tn-shot--0 { grid-column: span 2; grid-row: span 2; }
.tn-shot--5, .tn-shot--6 { grid-column: span 2; }
.tn-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tn-shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: .88rem; line-height: 1.35; background: linear-gradient(0deg, rgba(4, 18, 38, .85), rgba(4, 18, 38, 0)); }
.tn-shot:hover img { transform: scale(1.05); }
@media (max-width: 991.98px) { .tn-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .tn-shot--5, .tn-shot--6 { grid-column: auto; } }
@media (max-width: 767.98px) { .tn-home { padding: 44px 0; } .tn-sh { margin-bottom: 26px; } }

/* ---------- 12. TIN TỨC + THƯ VIỆN ẢNH ---------- */

.tn-mini { display: flex; align-items: center; gap: 14px; color: var(--tn-ink); }
.tn-mini img { width: 84px; height: 64px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.tn-mini strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; line-height: 1.4; font-weight: 600; transition: color .2s; }
.tn-mini small { display: block; margin-top: 3px; color: var(--tn-muted); font-size: .82rem; }
.tn-mini small i { margin-right: 6px; color: var(--tn-green); }
.tn-mini:hover strong { color: var(--tn-blue); }

.tn-box { background: #fff; border: 1px solid #DCE8F4; border-radius: 22px; padding: 26px; box-shadow: var(--shadow-sm); }
.tn-box__title { font-size: 1.35rem; margin: 0 0 20px; }
.tn-list { list-style: none; margin: 0; padding: 4px 20px 8px; }
.tn-list li { border-bottom: 1px dashed var(--tn-line); }
.tn-list li:last-child { border-bottom: 0; }
.tn-list a { display: block; padding: 12px 0; color: var(--tn-ink); }
.tn-list span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: .96rem; line-height: 1.42; transition: color .2s; }
.tn-list small { display: block; margin-top: 4px; color: var(--tn-muted); font-size: .82rem; }
.tn-list a:hover span { color: var(--tn-blue); }

.tn-post { height: 100%; display: flex; flex-direction: column; padding: 12px; background: #fff; border-radius: 24px; box-shadow: 0 10px 30px rgba(11, 47, 91, .08); transition: box-shadow .3s, transform .3s; }
.tn-post:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(11, 47, 91, .14); }
.tn-post__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--tn-mist-2); }
.tn-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tn-post:hover .tn-post__img img { transform: scale(1.06); }
.tn-post__badge { position: absolute; top: 12px; right: 12px; min-width: 54px; padding: 6px 8px 7px; border-radius: 14px; text-align: center; background: linear-gradient(140deg, var(--tn-sky), #0F4C95); color: #fff; font-size: .74rem; font-weight: 500; line-height: 1.1; box-shadow: 0 6px 14px rgba(15, 76, 149, .35); }
.tn-post__badge b { display: block; font-size: 1.35rem; line-height: 1.05; }
.tn-post__body { padding: 16px 10px 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; }
.tn-post__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .82rem; color: var(--tn-muted); }
.tn-post__meta i { color: var(--tn-sky); margin-right: 6px; }
.tn-post h3 { font-size: 1.06rem; margin: 0; line-height: 1.45; }
.tn-post h3 a { color: var(--tn-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tn-post h3 a:hover { color: var(--tn-blue); }
.tn-post p { margin: 0; color: var(--tn-muted); font-size: .92rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tn-post .tn-btn { margin-top: auto; }


/* ---------- 14. FOOTER + NÚT NỔI ---------- */
.tn-footer { position: relative; background: var(--tn-navy-900); color: rgba(255, 255, 255, .76); padding: 78px 0 0; margin-top: 70px; font-size: .97rem; }
.tn-footer__wave { position: absolute; left: 0; right: 0; top: -69px; width: 100%; height: 70px; fill: var(--tn-navy-900); }
main:has(> .tn-report:last-child) + .tn-footer, main:has(> .tn-map:last-child) + .tn-footer { margin-top: 0; }
main:has(> .tn-report:last-child) + .tn-footer .tn-footer__wave, main:has(> .tn-map:last-child) + .tn-footer .tn-footer__wave { display: none; }
.tn-footer a { color: rgba(255, 255, 255, .8); }
.tn-footer a:hover { color: #fff; }
.tn-footer h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin: 0 0 20px; padding-bottom: 12px; position: relative; }
.tn-footer h4 a { color: #fff; }
.tn-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--tn-sky), var(--tn-green)); }
.tn-footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tn-footer__brand img { width: 72px; height: 72px; flex: 0 0 auto; }
.tn-footer__brand strong { font-family: var(--font-head); font-size: .9rem; line-height: 1.35; text-transform: uppercase; color: #fff; }
.tn-footer__rte p { margin: 0 0 .8em; }
.tn-footer__social { display: flex; gap: 10px; margin-top: 14px; }
.tn-footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); transition: background .2s; }
.tn-footer__social a:hover { background: var(--tn-orange); color: var(--tn-navy-900); }
.tn-footer__links { list-style: none; margin: 0; padding: 0; }
.tn-footer__links li { margin-bottom: 11px; }
.tn-footer__links a { position: relative; padding-left: 16px; display: inline-block; }
.tn-footer__links a::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--tn-sky); transition: background .2s, transform .2s; }
.tn-footer__links a:hover::before { background: var(--tn-orange); transform: scale(1.4); }
.tn-footer__contact { list-style: none; margin: 0; padding: 0; }
.tn-footer__contact li { display: flex; gap: 14px; margin-bottom: 14px; }
.tn-footer__contact i { color: var(--tn-aqua); width: 18px; text-align: center; margin-top: 5px; flex: 0 0 auto; }
.tn-footer__bottom {display: flex;justify-content: space-between;flex-wrap: wrap;gap: 8px 20px;margin-top: 30px;padding: 10px 0;border-top: 1px solid rgba(255, 255, 255, .12);font-size: .88rem;color: rgba(255, 255, 255, .6);}
.tn-footer__bottom a { color: rgba(255, 255, 255, .7); }

.tn-float { position: fixed; right: 18px; bottom: 22px; z-index: 1500; display: flex; flex-direction: column; gap: 12px; }
.tn-float__btn { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.25rem; box-shadow: 0 8px 22px rgba(7, 31, 61, .3); transition: transform .2s; }
.tn-float__btn:hover { transform: scale(1.1); color: #fff; }
.tn-float__btn span { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(8px); white-space: nowrap; background: var(--tn-navy-900); color: #fff; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: var(--r); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.tn-float__btn:hover span, .tn-float__btn:focus-visible span { opacity: 1; transform: translateY(-50%); }
.tn-float__btn.is-phone { background: var(--tn-green); }
.tn-float__btn.is-zalo { background: #0068FF; }
.tn-float__btn.is-mess { background: #A033FF; }
.tn-float__btn.is-alert { background: var(--tn-orange); color: var(--tn-navy-900); }
.tn-float__btn.is-alert:hover { color: var(--tn-navy-900); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.scroll-top { position: fixed; left: 18px; bottom: 22px; z-index: 1500; width: 44px; height: 44px; border: 0; border-radius: var(--r); background: var(--tn-navy); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility 0s linear .25s, background .2s; }
.scroll-top.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.scroll-top:hover { background: var(--tn-blue); }

/* ---------- 15. TRANG CON ---------- */
/* Tiêu đề trang: ảnh nền danh mục + lớp phủ xanh + sóng trắng ở chân (cùng tinh thần slider trang chủ) */
.tn-pagehead { position: relative; overflow: hidden; padding: 54px 0 86px; background: var(--tn-navy); color: #fff; isolation: isolate; }
.tn-pagehead__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.tn-pagehead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 42, 86, .94) 0%, rgba(15, 76, 149, .82) 45%, rgba(46, 158, 216, .45) 100%); }
.tn-pagehead::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0 26 C 240 2 480 46 720 26 S 1200 4 1440 24 L1440 46 L0 46 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
}
.tn-pagehead__title { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 700; line-height: 1.3; margin: 14px 0 0; max-width: 980px; text-wrap: balance; }
.tn-crumb { list-style: none; margin: 0; padding: 6px 16px; display: inline-flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; backdrop-filter: blur(4px); }
.tn-crumb li + li::before { content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .6em; margin-right: 8px; opacity: .7; }
.tn-crumb a { color: #fff; }
.tn-crumb a i { margin-right: 6px; color: #FFC37A; }
.tn-crumb a:hover { color: #FFD9A8; }

.tn-page { padding: 36px 0 84px; }

/* Sidebar: điều hướng nhóm trang + bài mới */
.tn-sidenav { background: #fff; border: 1px solid #DCE8F4; border-radius: 22px; overflow: hidden; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(11, 47, 91, .07); }
.tn-sidenav h2 { margin: 0; padding: 16px 20px; background: linear-gradient(90deg, #0B3D7A 0%, var(--tn-blue) 100%); color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; gap: 10px; }
.tn-sidenav h2::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--tn-aqua); box-shadow: 0 0 0 4px rgba(139, 214, 237, .25); }
.tn-sidenav ul { list-style: none; margin: 0; padding: 8px; }
.tn-sidenav li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px; color: var(--tn-ink); font-weight: 600; font-size: .96rem; line-height: 1.4; transition: background .2s, color .2s; }
.tn-sidenav li a i { font-size: .7em; color: var(--tn-sky); transition: transform .2s; }
.tn-sidenav li a:hover { background: var(--tn-mist); color: var(--tn-blue); }
.tn-sidenav li a:hover i { transform: translateX(3px); }
.tn-sidenav li.is-active a { background: linear-gradient(135deg, #E4F0FB, #F2F8FE); color: var(--tn-blue); box-shadow: inset 3px 0 0 var(--tn-sky); }
.tn-sideposts { padding-bottom: 6px; }
.tn-sideposts .tn-mini { padding: 12px 16px; }
.tn-sideposts .tn-mini + .tn-mini { border-top: 1px dashed var(--tn-line); }
.tn-sideposts .tn-mini img { border-radius: 12px; }
.tn-sideposts .tn-list { padding: 6px 18px 8px; }

/* Hộp hỗ trợ: thẻ xanh chuyển màu như huy hiệu trang chủ */
.tn-help { position: relative; overflow: hidden; padding: 24px 22px 22px; border-radius: 22px; background: linear-gradient(140deg, var(--tn-sky) 0%, #0F4C95 70%); color: #fff; box-shadow: 0 14px 30px rgba(15, 76, 149, .28); }
.tn-help::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .08); }
.tn-help__icon { width: 50px; height: 50px; margin-bottom: 12px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--tn-blue); font-size: 1.2rem; box-shadow: 0 0 0 6px rgba(255, 255, 255, .18); }
.tn-help h3 { font-size: 1.08rem; margin: 0 0 6px; color: #fff; }
.tn-help p { font-size: .9rem; color: rgba(255, 255, 255, .85); margin: 0 0 16px; }
.tn-help__tel { display: block; margin-top: 12px; color: #fff; font-weight: 700; font-size: 1.05rem; text-align: center; }
.tn-help__tel:hover { color: #FFD9A8; }
.tn-help__tel i { margin-right: 8px; color: #FFC37A; }

/* Bài viết / trang nội dung */
.tn-article__lead { font-size: 1.12rem; line-height: 1.7; color: var(--tn-ink); font-weight: 500; margin: 0 0 26px; padding: 18px 22px; border-radius: 18px; background: linear-gradient(135deg, #EAF4FD, #F5FAFF); border: 1px solid #D7E8F7; border-left: 5px solid var(--tn-sky); }
.tn-article__media { margin: 0 0 28px; }
.tn-article__media img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-sm); }
.tn-article__media a { display: block; cursor: zoom-in; }
.tn-article .rte img { border-radius: 18px; }
.tn-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 18px; font-size: .9rem; color: var(--tn-muted); }
.tn-article__meta i { color: var(--tn-sky); margin-right: 7px; }
.tn-article__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 16px 18px; border-radius: 18px; background: var(--tn-mist); }
.tn-share { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; color: var(--tn-muted); }
.tn-share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--tn-blue); box-shadow: var(--shadow-sm); transition: background .2s, color .2s; }
.tn-share a:hover { background: var(--tn-blue); color: #fff; }
.tn-related { margin-top: 56px; }
.tn-apply { margin-top: 40px; padding: 26px; border-radius: 22px; background: linear-gradient(135deg, #EAF4FD, #F5FAFF); border: 1px solid #D7E8F7; }
.tn-apply h2 { font-size: 1.25rem; margin: 0 0 20px; color: #0F4C95; }
.tn-apply h2 i { color: var(--tn-orange); margin-right: 10px; }
.tn-subtitle { font-size: 1.3rem; margin: 36px 0 20px; padding: 0 0 10px 15px; position: relative; border: 0; border-bottom: 1px solid var(--tn-line); color: #0F4C95; text-transform: uppercase; }
.tn-subtitle::before { content: ''; position: absolute; left: 0; top: 3px; height: 1.15em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--tn-sky), var(--tn-blue)); }

/* Thẻ trang con (Giới thiệu, Dịch vụ) — cùng kiểu thẻ "Lĩnh vực hoạt động" trang chủ */
.tn-card {
    display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%;
    padding: 12px 12px 22px; border-radius: 24px; background: linear-gradient(180deg, #E4F0FB 0%, #F4F9FE 100%);
    border: 1px solid #D2E5F6; color: var(--tn-text); transition: transform .25s, box-shadow .25s;
}
.tn-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(15, 76, 149, .14); color: var(--tn-text); }
.tn-card__img { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--tn-mist-2); box-shadow: 0 8px 18px rgba(15, 76, 149, .14); }
.tn-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tn-card:hover .tn-card__img img { transform: scale(1.06); }
.tn-card__body { padding: 18px 10px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.tn-card__body h3 { font-size: 1.02rem; margin: 0; text-transform: uppercase; color: #0F4C95; line-height: 1.4; }
.tn-card:hover h3 { color: var(--tn-sky); }
.tn-card__body p { margin: 0 0 8px; color: var(--tn-muted); font-size: .92rem; line-height: 1.6; }
.tn-card__body .tn-btn { margin-top: auto; }

/* Giới thiệu đơn vị ở đầu trang danh sách tin */
.tn-intro { display: grid; grid-template-columns: 300px 1fr; gap: 28px; margin-bottom: 8px; padding: 18px; border-radius: 24px; background: linear-gradient(135deg, #EAF4FD, #F5FAFF); border: 1px solid #D7E8F7; }
.tn-intro__img { margin: 0; }
.tn-intro__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-sm); }
.tn-intro .rte { font-size: 1.02rem; }
@media (max-width: 767.98px) { .tn-intro { grid-template-columns: 1fr; } }

/* Danh sách dòng (Công bố thông tin, Tuyển dụng, kết quả tìm kiếm) */
.tn-rows { display: flex; flex-direction: column; gap: 14px; }
.tn-row { display: flex; align-items: center; gap: 20px; padding: 14px 22px 14px 14px; background: #fff; border: 1px solid #E1ECF6; border-radius: 20px; color: var(--tn-text); box-shadow: 0 6px 20px rgba(11, 47, 91, .05); transition: box-shadow .25s, border-color .25s, transform .25s; }
.tn-row:hover { box-shadow: 0 14px 30px rgba(11, 47, 91, .12); border-color: #BCD6EF; transform: translateY(-2px); color: var(--tn-text); }
.tn-row__date { flex: 0 0 auto; width: 76px; padding: 10px 6px; text-align: center; border-radius: 16px; background: linear-gradient(140deg, var(--tn-sky), #0F4C95); color: #fff; line-height: 1.15; box-shadow: 0 6px 14px rgba(15, 76, 149, .3); }
.tn-row__date strong { display: block; font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; }
.tn-row__date span { font-size: .7rem; letter-spacing: .03em; opacity: .92; }
.tn-row__ic { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #E4F0FB, #F4F9FE); color: var(--tn-blue); font-size: 1.3rem; }
.tn-row__body { flex: 1; min-width: 0; }
.tn-row__body h3 { font-size: 1.05rem; margin: 0 0 4px; line-height: 1.4; color: var(--tn-ink); transition: color .2s; }
.tn-row:hover h3 { color: var(--tn-blue); }
.tn-row__body p { margin: 0; color: var(--tn-muted); font-size: .93rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tn-row__go { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tn-mist); color: var(--tn-blue); font-size: .8rem; transition: background .2s, color .2s; }
.tn-row:hover .tn-row__go { background: var(--tn-blue); color: #fff; }
@media (max-width: 575.98px) { .tn-row { gap: 12px; padding: 12px; } .tn-row__date { width: 62px; } .tn-row__go { display: none; } }

.tn-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.tn-pager a { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border: 1.5px solid #C6DBEF; border-radius: 14px; font-family: var(--font-head); font-weight: 700; color: var(--tn-blue-700); background: #fff; }
.tn-pager a:hover { border-color: var(--tn-blue); background: var(--tn-mist); }
.tn-pager a.is-active { background: linear-gradient(135deg, var(--tn-sky), var(--tn-blue)); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(30, 98, 176, .28); }

/* ---------- 16. LIÊN HỆ, TÌM KIẾM, 404 ---------- */
.tn-contact { padding-top: 32px; }

.tn-contact__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tn-ccard { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid #E1ECF6; border-radius: 20px; box-shadow: 0 6px 20px rgba(11, 47, 91, .05); color: var(--tn-ink); min-width: 0; transition: border-color .2s; }
a.tn-ccard:hover { border-color: var(--tn-sky); color: var(--tn-ink); }
.tn-ccard__ic { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(140deg, var(--tn-sky), #0F4C95); box-shadow: 0 6px 14px rgba(15, 76, 149, .28); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.tn-ccard__txt { min-width: 0; }
.tn-ccard small { display: block; font-size: .76rem; color: var(--tn-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.tn-ccard strong { display: block; font-size: 1rem; line-height: 1.4; overflow-wrap: break-word; }
.tn-ccard.is-empty strong { color: var(--tn-muted); font-weight: 500; font-style: italic; }
.tn-ccard.is-empty .tn-ccard__ic { background: var(--tn-mist-2); color: var(--tn-blue); }
@media (max-width: 1199.98px) { .tn-contact__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) {
    .tn-contact__cards { grid-template-columns: 1fr; gap: 10px; }
    .tn-ccard { gap: 12px; padding: 14px; }
    .tn-ccard__ic { width: 40px; height: 40px; font-size: 1rem; }
    .tn-ccard strong { font-size: .92rem; }
}

.tn-channels { display: grid; gap: 12px; margin: 22px 0 28px; }
.tn-channel { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1.5px solid #DCE8F4; border-radius: 18px; color: var(--tn-ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.tn-channel:hover { border-color: var(--tn-sky); box-shadow: var(--shadow-sm); color: var(--tn-ink); }
.tn-channel.is-active { border-color: #BCD6EF; background: linear-gradient(135deg, #E4F0FB, #F4F9FE); box-shadow: 0 8px 20px rgba(15, 76, 149, .1); }
.tn-channel__ic { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; background: var(--tn-mist); color: var(--tn-blue); display: grid; place-items: center; font-size: 1.05rem; }
.tn-channel.is-active .tn-channel__ic { background: linear-gradient(140deg, var(--tn-sky), #0F4C95); color: #fff; }
.tn-channel strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--tn-navy); }
.tn-channel small { display: block; color: var(--tn-muted); font-size: .9rem; line-height: 1.45; margin-top: 2px; }
.tn-channel__go { margin-left: auto; color: var(--tn-sky); font-size: .8rem; }

.tn-steps-mini { padding: 22px 24px; background: var(--tn-green-soft); border-radius: 20px; border: 1px solid #D3E8CB; }
.tn-steps-mini h3 { font-size: 1rem; margin: 0 0 14px; color: var(--tn-green-dark); }
.tn-steps-mini ol { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.tn-steps-mini li { position: relative; padding-left: 42px; margin-bottom: 14px; counter-increment: st; }
.tn-steps-mini li:last-child { margin-bottom: 0; }
.tn-steps-mini li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--tn-green); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .82rem; display: grid; place-items: center; }
.tn-steps-mini strong { display: block; color: var(--tn-ink); font-size: .96rem; }
.tn-steps-mini span { display: block; color: var(--tn-text); font-size: .92rem; line-height: 1.5; }

.tn-contact__form { scroll-margin-top: 90px; border: 1px solid #DCE8F4; border-radius: 24px; padding: 30px; box-shadow: 0 14px 40px rgba(11, 47, 91, .08); }
.tn-contact__form .tn-box__title { color: #0F4C95; }
.tn-contact__form .tn-box__title i { display: none; }
.tn-contact__note { color: var(--tn-muted); font-size: .94rem; margin: -10px 0 20px; }
.tn-contact__form.is-flash { animation: tn-flash 1.2s ease; }
@keyframes tn-flash { 0% { box-shadow: 0 0 0 0 rgba(242, 138, 30, .55); } 100% { box-shadow: 0 0 0 18px rgba(242, 138, 30, 0); } }

.tn-map { background: var(--tn-mist); }
.tn-map__head { background: var(--tn-navy); color: #fff; padding: 14px 0; font-weight: 600; }
.tn-map__head .container { display: flex; align-items: center; gap: 12px; }
.tn-map__head i { color: var(--tn-orange); }
.tn-map iframe { width: 100%; border: 0; display: block; }

.tn-search-lg { display: flex; gap: 12px; max-width: 760px; }
.tn-search-lg input { flex: 1; min-width: 0; border: 1.5px solid #C9D7E6; border-radius: 999px; padding: 12px 22px; font-size: 1.05rem; }
.tn-search-lg input:focus { border-color: var(--tn-sky); box-shadow: 0 0 0 4px rgba(46, 158, 216, .18); outline: 0; }

.tn-404 { padding: 90px 0; }
.tn-404__logo { margin-bottom: 8px; }
.tn-404__code { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; background: linear-gradient(120deg, var(--tn-blue), var(--tn-sky) 60%, var(--tn-green)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.tn-404 .tn-lead { margin-left: auto; margin-right: auto; }

@media (max-width: 991.98px) {
    .tn-section { padding: 60px 0; }
    .tn-page { padding: 40px 0 60px; }
    .tn-pagehead { padding: 34px 0 64px; }
    .tn-footer { padding-top: 58px; }
}
@media (max-width: 575.98px) {
    body { font-size: 16.5px; }
    .tn-head { margin-bottom: 28px; }
    .tn-float { right: 12px; bottom: 14px; }
    .tn-float__btn { width: 46px; height: 46px; font-size: 1.1rem; }
    .scroll-top { left: 12px; bottom: 14px; }
    .tn-search-lg { flex-direction: column; }
}

/* Khối kêu gọi cuối trang dịch vụ (page.php) */
.tn-cta-inline { display: flex; align-items: center; gap: 20px; margin-top: 36px; padding: 24px 26px; border-radius: 22px; background: linear-gradient(110deg, #0A2A52 0%, #0F4C95 60%, var(--tn-sky) 100%); color: #fff; box-shadow: 0 14px 30px rgba(15, 76, 149, .25); }
.tn-cta-inline__ic { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: var(--tn-aqua); font-size: 1.4rem; }
.tn-cta-inline__txt { flex: 1; min-width: 0; }
.tn-cta-inline h2 { color: #fff; font-size: 1.12rem; margin: 0 0 4px; }
.tn-cta-inline p { margin: 0; color: rgba(255, 255, 255, .82); font-size: .96rem; }
.tn-cta-inline .btn { flex: 0 0 auto; }
@media (max-width: 767.98px) { .tn-cta-inline { flex-direction: column; align-items: flex-start; } .tn-cta-inline .btn { width: 100%; } }

@media (max-width: 575.98px) { .tn-tags { gap: 6px; } .tn-tags a { padding: 5px 12px; font-size: .86rem; } }
