/* TPR Review — Trang chi tiết tin tức V2
   Figma: 03 V2 (desktop 1440) / 04 V2 (mobile 390). Màu lấy từ biến "TPR Review / Site V3.1 (live)".
   Toàn bộ selector nằm trong .tpr-a / .tpr-a__progress, chỉ nạp ở is_singular('post'). */

:root {
	--tpr-navy: #0b1c45;
	--tpr-blue: #053b8d;
	--tpr-body: #2b3446;
	--tpr-muted: #5b6b85;
	--tpr-line: #e3e8f0;
	--tpr-surf: #f4f7fb;
	--tpr-pill: #e8effb;
	--tpr-page: #021437;
	--tpr-card-top: #0d3a8f;
	--tpr-card-bottom: #082460;
	--tpr-gold: #f0c57a;
	--tpr-gold-head: #ffdea7;
	--tpr-gold-border: #e8c77a;
	--tpr-muted-dark: #9fb2cc;
	--tpr-text-dark: #d7e0ee;
	--tpr-cta: #e66031;
	--tpr-cta-top: #f37a3c;
	--tpr-cta-bottom: #e2552a;
	--tpr-header-h: 88px;
	--tpr-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tpr-a, .tpr-a * { box-sizing: border-box; }
.tpr-a { font-family: var(--tpr-font); color: var(--tpr-body); background: #fff; -webkit-font-smoothing: antialiased; }
.tpr-a a { text-decoration: none; }
.tpr-a :where(p) { margin: 0; } /* :where = độ ưu tiên 0, để .tpr-a__content > * vẫn tạo khoảng cách giữa các đoạn */
.tpr-a__inner, .tpr-a__wrap { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 16px; }

/* ---------- Thanh tiến độ đọc ---------- */
.tpr-a__progress { position: sticky; top: var(--tpr-header-h); z-index: 50; height: 3px; background: var(--tpr-line); }
.tpr-a__progress span { display: block; height: 100%; width: 0; background: var(--tpr-cta); transition: width .1s linear; }

/* ---------- Bố cục ---------- */
.tpr-a__wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; padding-top: 20px; padding-bottom: 48px; }
.tpr-a__col { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tpr-a__side { display: none; }

@media (min-width: 1200px) {
	.tpr-a__inner, .tpr-a__wrap { padding: 0; }
	.tpr-a__wrap { grid-template-columns: 760px 346px; padding-top: 40px; padding-bottom: 72px; }
	.tpr-a__col { gap: 28px; }
	.tpr-a__side { display: block; }
	.tpr-a__sticky { position: sticky; top: calc(var(--tpr-header-h) + 16px); display: flex; flex-direction: column; gap: 24px; }
	.tpr-toc--inline { display: none; }
}

/* ---------- Đầu bài ---------- */
.tpr-a__head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.tpr-a__crumb, .tpr-a__head nav, .tpr-a__head .rank-math-breadcrumb { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--tpr-muted); }
.tpr-a__crumb a, .tpr-a__head .rank-math-breadcrumb a { color: var(--tpr-muted); }
.tpr-a__crumb a:hover, .tpr-a__head .rank-math-breadcrumb a:hover { color: var(--tpr-blue); }
.tpr-a__crumb span, .tpr-a__head .rank-math-breadcrumb .separator { margin: 0 6px; }
.tpr-a__head .rank-math-breadcrumb p { margin: 0; }
.tpr-a__pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--tpr-pill); color: var(--tpr-blue); font-size: 11px; line-height: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tpr-a__title { margin: 0; font-size: 26px; line-height: 34px; font-weight: 700; color: var(--tpr-navy); letter-spacing: 0; }
.tpr-a__sapo { font-size: 17px; line-height: 27px; color: var(--tpr-body); }
.tpr-a__meta { list-style: none; margin: 0; padding: 10px 0; width: 100%; display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid var(--tpr-line); border-bottom: 1px solid var(--tpr-line); font-size: 13px; line-height: 18px; }
.tpr-a__meta li { margin: 0; }
.tpr-a__meta span { color: var(--tpr-muted); }
.tpr-a__meta strong { color: var(--tpr-navy); font-weight: 600; }
.tpr-a__meta-pub { display: none; } /* mobile gọn: chỉ hiện Cập nhật/Đọc; desktop hiện đủ */

.tpr-a__hero { margin: 0; }
.tpr-a__hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.tpr-a__hero figcaption { margin-top: 8px; font-size: 12px; line-height: 17px; color: var(--tpr-muted); }

@media (min-width: 1200px) {
	.tpr-a__head { gap: 16px; }
	.tpr-a__crumb, .tpr-a__head nav, .tpr-a__head .rank-math-breadcrumb { font-size: 14px; line-height: 20px; }
	.tpr-a__pill { padding: 5px 12px; font-size: 12px; line-height: 16px; }
	.tpr-a__title { font-size: 40px; line-height: 52px; }
	.tpr-a__sapo { font-size: 19px; line-height: 31px; }
	.tpr-a__meta { padding: 14px 0; gap: 24px; font-size: 14px; line-height: 20px; }
	.tpr-a__meta-pub { display: list-item; }
	.tpr-a__hero img { border-radius: 12px; }
	.tpr-a__hero figcaption { margin-top: 10px; font-size: 13px; line-height: 19px; }
}

/* ---------- Hộp thông tin: 1 kiểu duy nhất (Tóm tắt / Ý chính / Checklist) ----------
   Biên tập dùng trong Gutenberg: thêm class "tpr-box" cho khối Group/Quote/List.
   Blockquote mặc định cũng dùng kiểu này. Màu cam KHÔNG dùng cho hộp — chỉ cho nút. */
.tpr-box, .tpr-a__content blockquote, .tpr-a__content .wp-block-quote {
	margin: 0; padding: 16px; background: var(--tpr-surf); border: 0; border-left: 4px solid var(--tpr-blue); border-radius: 8px;
}
.tpr-box__title, .tpr-a__content .tpr-box > p:first-child strong:only-child {
	display: block; margin: 0 0 12px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tpr-blue);
}
.tpr-box ul, .tpr-box ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tpr-box li { position: relative; padding-left: 22px; font-size: 16px; line-height: 25px; color: var(--tpr-body); }
.tpr-box li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--tpr-blue); }
.tpr-a__content blockquote p, .tpr-a__content .wp-block-quote p { font-size: 17px; line-height: 26px; font-weight: 600; color: var(--tpr-navy); font-style: normal; }
.tpr-a__content blockquote cite { display: block; margin-top: 8px; font-size: 13px; color: var(--tpr-muted); font-style: normal; }
/* Checklist: list có class "tpr-checklist" */
.tpr-a .tpr-a__content ul.tpr-checklist > li::before, .tpr-a .tpr-box ul.tpr-checklist > li::before { top: 4px; left: 0; width: 16px; height: 16px; border-radius: 4px; background: #fff; border: 1.5px solid var(--tpr-blue); }
.tpr-a .tpr-a__content ul.tpr-checklist > li { padding-left: 28px; }

@media (min-width: 1200px) {
	.tpr-box, .tpr-a__content blockquote, .tpr-a__content .wp-block-quote { padding: 22px 24px; }
	.tpr-box__title, .tpr-a__content .tpr-box > p:first-child strong:only-child { margin-bottom: 14px; font-size: 13px; line-height: 18px; }
	.tpr-box li { padding-left: 28px; font-size: 18px; line-height: 31px; }
	.tpr-box li::before { left: 4px; top: 12px; width: 7px; height: 7px; }
	.tpr-a__content blockquote p, .tpr-a__content .wp-block-quote p { font-size: 19px; line-height: 29px; }
	.tpr-a .tpr-a__content ul.tpr-checklist > li::before { top: 6px; width: 18px; height: 18px; }
	.tpr-a .tpr-a__content ul.tpr-checklist > li { padding-left: 32px; }
}

/* ---------- Mục lục ---------- */
.tpr-toc ol { margin: 0; padding: 0; list-style: none; }
.tpr-toc a { display: block; color: var(--tpr-muted); }
.tpr-toc a:hover { color: var(--tpr-blue); }
.tpr-toc--inline { border: 1px solid var(--tpr-line); border-radius: 8px; }
.tpr-toc--inline summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--tpr-navy); }
.tpr-toc--inline summary::-webkit-details-marker { display: none; }
.tpr-toc--inline summary::after { content: ""; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--tpr-navy); border-bottom: 2px solid var(--tpr-navy); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.tpr-toc--inline[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.tpr-toc--inline ol { padding: 0 16px 12px; }
.tpr-toc--inline li { border-top: 1px solid var(--tpr-line); }
.tpr-toc--inline a { padding: 10px 0; font-size: 15px; line-height: 22px; }

.tpr-toc--side { padding: 20px 20px 16px; border: 1px solid var(--tpr-line); border-radius: 12px; }
.tpr-toc__title { margin-bottom: 8px !important; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tpr-navy); }
.tpr-toc--side li { margin-top: 4px; }
.tpr-toc--side a { padding: 8px 0 8px 12px; border-left: 1px solid var(--tpr-line); font-size: 15px; line-height: 22px; }
.tpr-toc--side a.is-active { border-left: 3px solid var(--tpr-cta); padding-left: 10px; color: var(--tpr-navy); font-weight: 600; }

/* ---------- Nội dung bài (Gutenberg / Classic) ---------- */
.tpr-a__content { font-size: 17px; line-height: 28px; color: var(--tpr-body); }
.tpr-a__content > * { margin: 0 0 16px; }
.tpr-a__content > *:last-child { margin-bottom: 0; }
.tpr-a__content h2 { margin: 32px 0 14px; font-size: 22px; line-height: 30px; font-weight: 700; color: var(--tpr-navy); scroll-margin-top: calc(var(--tpr-header-h) + 20px); }
.tpr-a__content h3 { margin: 24px 0 12px; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--tpr-navy); }
.tpr-a__content h4 { margin: 20px 0 10px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--tpr-navy); }
.tpr-a__content > h2:first-child, .tpr-a__content > h3:first-child { margin-top: 0; }
.tpr-a__content a { color: var(--tpr-blue); text-decoration: underline; text-underline-offset: 3px; }
.tpr-a__content strong { color: var(--tpr-navy); font-weight: 600; }
.tpr-a__content ul:not(.tpr-cta__list), .tpr-a__content ol { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tpr-a__content ul:not(.tpr-cta__list) > li { position: relative; padding-left: 22px; }
.tpr-a__content ul:not(.tpr-cta__list) > li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--tpr-blue); }
.tpr-a__content ol { counter-reset: tpr-ol; }
.tpr-a__content ol > li { position: relative; padding-left: 30px; counter-increment: tpr-ol; }
.tpr-a__content ol > li::before { content: counter(tpr-ol) "."; position: absolute; left: 0; font-weight: 700; color: var(--tpr-blue); }
.tpr-a__content figure { margin: 24px 0; }
.tpr-a__content img { max-width: 100%; height: auto; border-radius: 10px; }
.tpr-a__content figcaption { margin-top: 8px; font-size: 12px; line-height: 17px; color: var(--tpr-muted); text-align: left; }
.tpr-a__content hr { border: 0; border-top: 1px solid var(--tpr-line); margin: 32px 0; }

.tpr-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--tpr-line); border-radius: 8px; margin: 0 0 8px; }
.tpr-a__content table { width: 100%; min-width: 0; border-collapse: collapse; margin: 0; font-size: 14px; line-height: 20px; }
.tpr-a__content .wp-block-table { margin: 0 0 16px; }
.tpr-a__content .wp-block-table .tpr-table-wrap { margin: 0; }
.tpr-a__content th, .tpr-a__content thead td { background: var(--tpr-blue); color: #fff; font-weight: 600; text-align: left; }
.tpr-a__content th, .tpr-a__content td { padding: 10px 12px; border: 0; vertical-align: top; }
.tpr-a__content tbody tr:nth-child(even) td { background: var(--tpr-surf); }
.tpr-a__content tbody td:first-child { font-weight: 600; color: var(--tpr-navy); }

@media (min-width: 1200px) {
	.tpr-a__content { font-size: 18px; line-height: 31px; }
	.tpr-a__content h2 { margin: 40px 0 16px; font-size: 28px; line-height: 38px; }
	.tpr-a__content h3 { margin: 28px 0 14px; font-size: 21px; line-height: 30px; }
	.tpr-a__content h4 { font-size: 18px; line-height: 28px; }
	.tpr-a__content ul:not(.tpr-cta__list) > li { padding-left: 28px; }
	.tpr-a__content ul:not(.tpr-cta__list) > li::before { left: 4px; top: 12px; width: 7px; height: 7px; }
	.tpr-a__content table { font-size: 16px; line-height: 24px; }
	.tpr-a__content th, .tpr-a__content td { padding: 14px 20px; }
	.tpr-a__content figcaption { font-size: 13px; line-height: 19px; }
}

/* ---------- Nút & CTA (cam = màu hành động duy nhất) ---------- */
.tpr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 12px; font-family: var(--tpr-font); font-size: 17px; line-height: 22px; font-weight: 600; color: #fff !important; text-decoration: none !important; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.tpr-btn--primary { background: linear-gradient(180deg, var(--tpr-cta-top), var(--tpr-cta-bottom)); border: 1px solid #ef9779; box-shadow: 0 6px 16px rgba(230, 96, 49, .28); }
.tpr-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(230, 96, 49, .36); }
.tpr-btn--block { display: flex; width: 100%; }

.tpr-cta { position: relative; padding: 22px 20px; border-radius: 14px; background: linear-gradient(180deg, var(--tpr-card-top), var(--tpr-card-bottom)); border: 1px solid var(--tpr-gold-border); color: var(--tpr-text-dark); display: flex; flex-direction: column; gap: 10px; }
.tpr-a__content .tpr-cta { margin: 32px 0; }
.tpr-cta__eyebrow { font-size: 11px; line-height: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tpr-gold) !important; }
.tpr-cta__title { font-size: 20px; line-height: 28px; font-weight: 700; color: #fff !important; }
.tpr-cta__desc { font-size: 15px; line-height: 23px; color: var(--tpr-text-dark) !important; }
.tpr-cta__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; padding-top: 4px; }
.tpr-cta__actions .tpr-btn { width: 100%; }
.tpr-cta__call { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--tpr-gold) !important; text-decoration: none !important; text-align: center; }
.tpr-cta__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tpr-cta__list li { position: relative; padding-left: 24px; font-size: 15px; line-height: 22px; color: var(--tpr-text-dark); }
.tpr-cta__list li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--tpr-gold); }
.tpr-cta--side { padding: 24px; border-radius: 16px; gap: 14px; }

@media (min-width: 1200px) {
	.tpr-cta--mid { padding: 28px 32px; border-radius: 16px; gap: 12px; }
	.tpr-a__content .tpr-cta { margin: 40px 0; }
	.tpr-cta__eyebrow { font-size: 12px; line-height: 16px; }
	.tpr-cta--mid .tpr-cta__title { font-size: 24px; line-height: 32px; }
	.tpr-cta__desc { font-size: 16px; line-height: 25px; }
	.tpr-cta--mid .tpr-cta__actions { flex-direction: row; align-items: center; gap: 20px; padding-top: 8px; }
	.tpr-cta--mid .tpr-cta__actions .tpr-btn { width: auto; }
	.tpr-cta--mid .tpr-cta__call { font-size: 15px; }
}

/* ---------- Cuối bài ---------- */
.tpr-a__disclaimer { font-size: 13px; line-height: 19px; color: var(--tpr-muted); }
.tpr-a__label { margin-bottom: 6px !important; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tpr-navy); }
.tpr-a__sources { padding-top: 16px; border-top: 1px solid var(--tpr-line); }
.tpr-a__sources ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tpr-a__sources a, .tpr-a__sources span { font-size: 14px; line-height: 21px; color: var(--tpr-blue); }
.tpr-a__share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--tpr-navy); }
.tpr-chip { display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid var(--tpr-line); border-radius: 999px; background: #fff; font-family: var(--tpr-font); font-size: 13px; line-height: 18px; font-weight: 500; color: var(--tpr-navy) !important; cursor: pointer; }
.tpr-chip:hover { border-color: var(--tpr-blue); }
.tpr-a__author { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--tpr-line); border-radius: 10px; }
.tpr-a__author-logo { flex: 0 0 34px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--tpr-blue); color: #fff; font-size: 11px; font-weight: 700; overflow: hidden; }
.tpr-a__author-logo img { width: 100%; height: 100%; object-fit: contain; }
.tpr-a__author-name { font-size: 15px; line-height: 21px; font-weight: 700; color: var(--tpr-navy); }
.tpr-a__author-desc { margin-top: 4px !important; font-size: 14px; line-height: 21px; color: var(--tpr-body); }

@media (min-width: 1200px) {
	.tpr-a__disclaimer { font-size: 14px; line-height: 21px; }
	.tpr-a__label { font-size: 13px; line-height: 18px; }
	.tpr-a__sources { padding-top: 20px; }
	.tpr-a__sources a, .tpr-a__sources span { font-size: 15px; line-height: 23px; }
	.tpr-chip { padding: 7px 14px; font-size: 14px; line-height: 20px; }
	.tpr-a__author { gap: 18px; padding: 22px 24px; border-radius: 12px; }
	.tpr-a__author-logo { flex-basis: 42px; width: 42px; height: 42px; }
	.tpr-a__author-name { font-size: 17px; line-height: 24px; }
	.tpr-a__author-desc { margin-top: 6px !important; font-size: 15px; line-height: 23px; }
}

/* ---------- Đọc tiếp ---------- */
.tpr-a__related { background: var(--tpr-surf); padding: 32px 0; }
.tpr-a__sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 8px; }
.tpr-a__sec-head h2 { margin: 0; font-family: var(--tpr-font); font-size: 22px; line-height: 30px; font-weight: 700; color: var(--tpr-navy); }
.tpr-a__sec-head p { display: none; font-size: 16px; line-height: 24px; color: var(--tpr-muted); margin-top: 6px; }
.tpr-a__sec-head > a { display: none; flex: none; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--tpr-blue); }
.tpr-rel-grid { display: flex; flex-direction: column; }
.tpr-rel { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--tpr-line); color: inherit; }
.tpr-rel__img { flex: 0 0 104px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--tpr-line); }
.tpr-rel__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpr-rel__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tpr-rel__tag { display: none; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tpr-blue); }
.tpr-rel__title { font-size: 15px; line-height: 21px; font-weight: 600; color: var(--tpr-navy); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tpr-rel:hover .tpr-rel__title { color: var(--tpr-blue); }
.tpr-rel__meta { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--tpr-muted); }

@media (min-width: 1200px) {
	.tpr-a__related { padding: 56px 0 72px; }
	.tpr-a__sec-head { margin-bottom: 28px; }
	.tpr-a__sec-head h2 { font-size: 28px; line-height: 38px; }
	.tpr-a__sec-head p, .tpr-a__sec-head > a { display: block; }
	.tpr-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
	.tpr-rel-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.tpr-rel-grid--1 { grid-template-columns: minmax(0, 370px); }
	.tpr-rel { flex-direction: column; gap: 12px; padding: 0; border: 0; }
	.tpr-rel__img { flex: none; width: 100%; height: auto; aspect-ratio: 370 / 208; border-radius: 12px; }
	.tpr-rel__tag { display: block; }
	.tpr-rel__title { font-size: 17px; line-height: 25px; }
	.tpr-rel__meta { font-size: 13px; line-height: 18px; font-weight: 400; }
}

/* ---------- Dự án đang mở bán (nền navy như trang chủ) ---------- */
.tpr-a__projects { background: var(--tpr-page); padding: 36px 0 40px; }
.tpr-a__sec-head--dark h2 { font-size: 20px; line-height: 28px; color: var(--tpr-gold-head); text-transform: uppercase; }
.tpr-a__sec-head--dark p { display: block; font-size: 14px; line-height: 20px; color: var(--tpr-muted-dark); }
.tpr-a__sec-head--dark > a { color: var(--tpr-gold); }
.tpr-a__projects .tpr-a__sec-head { margin-bottom: 18px; }
.tpr-proj-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
.tpr-proj-row::-webkit-scrollbar { display: none; }
.tpr-proj { flex: 0 0 280px; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid var(--tpr-gold-border); background: linear-gradient(180deg, var(--tpr-card-top), var(--tpr-card-bottom)); color: #fff; }
.tpr-proj__img { display: block; aspect-ratio: 370 / 208; background: #0a2c70; }
.tpr-proj__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpr-proj__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.tpr-proj__name { font-size: 19px; line-height: 26px; font-weight: 700; color: #fff; }
.tpr-proj__area { font-size: 14px; line-height: 21px; color: var(--tpr-muted-dark); }
.tpr-proj__price { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--tpr-gold); }
.tpr-proj__link { font-size: 14px; line-height: 22px; font-weight: 600; color: var(--tpr-cta-top); }
.tpr-proj:hover .tpr-proj__link { text-decoration: underline; }
.tpr-a__projects .tpr-a__sec-head--dark > a { display: block; }

@media (max-width: 1199px) {
	.tpr-a__projects .tpr-a__sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (min-width: 1200px) {
	.tpr-a__projects { padding: 64px 0 72px; }
	.tpr-a__projects .tpr-a__sec-head { margin-bottom: 28px; }
	.tpr-a__sec-head--dark h2 { font-size: 28px; line-height: 38px; }
	.tpr-a__sec-head--dark p { font-size: 16px; line-height: 24px; }
	.tpr-proj-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; overflow: visible; margin: 0; padding: 0; }
}

/* ---------- Thông báo nhỏ (sao chép link) ---------- */
.tpr-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); z-index: 9999; padding: 10px 16px; border-radius: 10px; background: var(--tpr-navy); color: #fff; font: 500 14px/20px var(--tpr-font); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.tpr-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
	.tpr-a__progress span, .tpr-btn, .tpr-toast { transition: none; }
}

/* ---------- Trang tĩnh (chính sách...) ---------- */
@media (min-width: 1200px) { .tpr-a__wrap--page { grid-template-columns: 760px; justify-content: center; } }

/* ==========================================================================
   PROMPT 9 — PHẦN 3B: trang bài viết gọn hơn trên màn 1024–1599px
   (query trùng với breakpoint đang set H1 40px/thân 18px là min-width:1200)
   ========================================================================== */
@media (min-width: 1200px) and (max-width: 1599px) {
  .tpr-a__title { font-size: clamp(30px, 2.3vw, 34px); line-height: 1.3; }   /* 40 -> 34 */
  .tpr-a__sapo { font-size: 18px; line-height: 30px; }
  .tpr-a__content { font-size: 17px; line-height: 30px; }      /* 18/31 -> 17/30 */
  .tpr-a__wrap { padding-top: 28px; padding-bottom: 50px; }      /* 40/72  -30% */
  .tpr-a__related { padding-top: 39px; padding-bottom: 50px; }   /* 56/72  -30% */
  .tpr-a__projects { padding-top: 45px; padding-bottom: 50px; }  /* 64/72  -30% */
}
