/* ==========================================================================
   Tâm Phát Review — CSS toàn site (một file).
   1. Font + biến   2. Nền tảng   3. Nút, chip, ô chọn   4. Header + menu trượt
   5. Trang chủ     6. Dự án      7. Tin tức             8. Shorts, FAQ, trích dẫn
   9. Footer, FAB   10. Popup     11. Trang trong (bài viết, chính sách, danh sách)
   12. Cookie banner (Complianz)
   ========================================================================== */

/* 1. Font + biến ---------------------------------------------------------- */
@font-face {
	font-family: "Inter Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/inter-vietnamese-wght-normal.woff2) format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
	font-family: "Inter Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--font: "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--brand: #053b8d;
	--navy-950: #040f2a;
	--navy-900: #061636;
	--navy-800: #0a2152;
	--panel: linear-gradient(180deg, #0d3a8f 0%, #0a2c70 55%, #082460 100%);
	--gold: #c9a35e;
	--gold-2: #f3d9a4;
	--gold-ink: #3a2a0c;
	--cta: #e66031;
	--cta-2: #f07a45;
	/* Màu theo ngữ cảnh (nền tối mặc định, .tpr-light đổi sang nền sáng) */
	--c-bg: var(--navy-900);
	--c-text: #fff;
	--c-muted: #a3b3d1;
	--c-line: rgba(201, 163, 94, .35);
	--c-soft: rgba(255, 255, 255, .06);
	--c-card: var(--panel);
	--c-card-line: rgba(232, 199, 122, .45);
	--c-link: var(--gold-2);
	--radius: 16px;
	--radius-sm: 10px;
	--wrap: 1170px;
	--gutter: 16px;
	--header-h: 64px;
	--sec-y: 56px;
	--shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
}
@media (min-width: 768px) { :root { --gutter: 24px; --sec-y: 72px; } }
@media (min-width: 1024px) { :root { --header-h: 72px; --sec-y: 88px; } }

.tpr-light, .tpr-page {
	--c-bg: #f5f7fb;
	--c-text: #17213a;
	--c-muted: #5b6782;
	--c-line: #e1e6ef;
	--c-soft: #fff;
	--c-card: #fff;
	--c-card-line: #e1e6ef;
	--c-link: #0b4fc0;
}

/* 2. Nền tảng ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
html { scrollbar-gutter: stable; }
/* Thanh cuộn theo màu web: nền xanh đậm, tay cầm vàng (cùng dải màu tiêu đề TÂM PHÁT REVIEW). Chrome/Edge/Safari dùng ::-webkit-scrollbar, Firefox dùng scrollbar-color. */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #04163d; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #f6e3b8 0%, #c9a35e 100%); border: 3px solid #04163d; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #fbefd2 0%, #dcb877 100%); }
::-webkit-scrollbar-corner { background: #04163d; }
.tpr-drawer__panel::-webkit-scrollbar { width: 8px; }
.tpr-drawer__panel::-webkit-scrollbar-track { background: transparent; }
.tpr-drawer__panel::-webkit-scrollbar-thumb { border-color: transparent; background-clip: padding-box; }
@supports (-moz-appearance: none) { html { scrollbar-color: #d9b878 #04163d; } }
.tpr-drawer__panel, .tpr-modal { overscroll-behavior: contain; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: #fff; background: var(--navy-900); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tpr-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--brand); border-radius: 8px; }
.tpr-skip:focus { top: 8px; }
.tpr-ico { flex: none; }

.tpr-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.tpr-wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }
.tpr-wrap--text { max-width: calc(760px + var(--gutter) * 2); }

.tpr-sec { padding-block: var(--sec-y); background: var(--c-bg); color: var(--c-text); }
.tpr-sec--dark { --c-bg: var(--navy-900); --c-text: #fff; --c-muted: #a3b3d1; --c-line: rgba(201, 163, 94, .35); --c-card: var(--panel); --c-card-line: rgba(232, 199, 122, .45); --c-link: var(--gold-2); }
.tpr-sec--light { --c-bg: #fff; }
.tpr-sec__head { text-align: center; margin-bottom: 32px; }
@media (min-width: 1024px) { .tpr-sec__head { margin-bottom: 44px; } }
.tpr-sec__title { font-size: 26px; line-height: 1.25; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: var(--c-text); text-wrap: balance; }
@media (min-width: 768px) { .tpr-sec__title { font-size: 32px; } }
@media (min-width: 1024px) { .tpr-sec__title { font-size: 36px; } }
.tpr-sec__sub { margin-top: 10px; color: var(--c-muted); font-size: 16px; }
.tpr-sec__foot { display: flex; justify-content: center; margin-top: 40px; }
.tpr-sec__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.tpr-sec__row .tpr-sec__head { text-align: left; margin: 0; }
.tpr-eyebrow { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tpr-link { color: var(--c-link); font-weight: 600; }
.tpr-link:hover { text-decoration: underline; }

.tpr-grid { display: grid; gap: 24px; }
.tpr-grid--3, .tpr-grid--cards { grid-template-columns: 1fr; }
.tpr-grid--4 { grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .tpr-grid--3, .tpr-grid--cards, .tpr-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.tpr-grid--3, .tpr-grid--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
	.tpr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}

/* 3. Nút, chip, ô chọn ---------------------------------------------------- */
.tpr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; transition: filter .15s, background-color .15s, border-color .15s, transform .15s; }
.tpr-btn:active { transform: translateY(1px); }
.tpr-btn--primary { color: #fff; background: linear-gradient(180deg, var(--cta-2), var(--cta)); border-color: #ef9779; box-shadow: 0 8px 20px -8px rgba(230, 96, 49, .6); }
.tpr-btn--primary:hover { filter: brightness(1.06); }
.tpr-btn--ghost { color: var(--gold-2); background: transparent; border-color: var(--gold); }
.tpr-btn--ghost:hover { background: rgba(201, 163, 94, .12); }
.tpr-light .tpr-btn--ghost, .tpr-page .tpr-btn--ghost { color: var(--brand); border-color: var(--brand); }
.tpr-page .tpr-pagehead .tpr-btn--ghost, .tpr-page .tpr-sec--dark .tpr-btn--ghost { color: var(--gold-2); border-color: var(--gold); }
.tpr-btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.tpr-btn--lg { height: 56px; min-width: 264px; padding: 0 28px; }
.tpr-btn--block { display: flex; width: 100%; }

.tpr-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.tpr-iconbtn:hover { background: rgba(255, 255, 255, .1); }

.tpr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tpr-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-soft); color: var(--c-text); font-size: 14px; font-weight: 500; cursor: pointer; }
.tpr-chip:hover, .tpr-chip.is-active { border-color: var(--gold); color: var(--gold-2); background: rgba(201, 163, 94, .14); }
.tpr-light .tpr-chip:hover, .tpr-page .tpr-chip:hover, .tpr-page .tpr-chip.is-active { color: var(--brand); border-color: var(--brand); background: #eaf0fb; }
.tpr-pagehead .tpr-chip { --c-line: rgba(255, 255, 255, .22); --c-soft: rgba(255, 255, 255, .06); --c-text: #fff; }
.tpr-page .tpr-pagehead .tpr-chip:hover, .tpr-page .tpr-pagehead .tpr-chip.is-active { color: var(--gold-2); border-color: var(--gold); background: rgba(201, 163, 94, .14); }
.tpr-chip--gold { height: 30px; padding: 0 12px; border-color: var(--gold); color: #7a5a1c; background: #fbf3e2; font-size: 13px; font-weight: 600; }

.tpr-select { position: relative; display: block; }
.tpr-select select { width: 100%; height: 48px; padding: 0 44px 0 16px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 15px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.tpr-select select option { color: #17213a; }
.tpr-select .tpr-ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; }

/* 4. Header + menu trượt -------------------------------------------------- */
.tpr-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; background: var(--brand); border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (max-width: 600px) { .tpr-header { top: 0; } }
.tpr-header__bar { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; column-gap: 8px; height: var(--header-h); }
.tpr-logo { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.tpr-logo__img { width: auto; height: 26px; }
.tpr-logo__sep { width: 1px; height: 24px; background: rgba(255, 255, 255, .35); }
.tpr-logo__text { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; line-height: 1.15; letter-spacing: .14em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.tpr-logo__text span { color: #c5d6ef; font-weight: 600; letter-spacing: .42em; }
.tpr-header__actions { display: none; }
.tpr-header__menu { grid-column: 2; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.tpr-header__menu-label { display: none; }
@media (min-width: 1024px) {
	.tpr-header__bar { grid-template-columns: auto minmax(0, 1fr) auto auto; column-gap: 24px; }
	.tpr-logo { gap: 12px; }
	.tpr-logo__img { height: 30px; }
	.tpr-logo__sep { height: 28px; }
	.tpr-logo__text { font-size: 15px; }
	.tpr-header__actions { grid-column: 3; display: flex; align-items: center; gap: 24px; }
	.tpr-header__hotline { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-size: 15px; font-weight: 600; }
	.tpr-header__menu { grid-column: 4; width: auto; padding: 0 4px; }
	.tpr-header__menu-label { display: inline; font-size: 15px; font-weight: 600; }
}

dialog { padding: 0; border: 0; background: transparent; color: #fff; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(3, 10, 30, .66); }

.tpr-drawer { position: fixed; inset: 0 0 0 auto; width: min(400px, 100vw); height: 100%; height: 100dvh; margin: 0; }
/* Trượt bằng transition, bật lớp .is-in sau 2 khung hình để khung hình nặng lúc mở hộp thoại không ăn vào chuyển động. */
.tpr-drawer .tpr-drawer__panel { transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.tpr-drawer.is-in .tpr-drawer__panel { transform: none; }
@keyframes tpr-slide-in { from { transform: translateX(100%); } to { transform: none; } }
.tpr-drawer__panel { will-change: transform; }
.tpr-drawer::backdrop { opacity: 0; transition: opacity .28s ease-out; }
.tpr-drawer.is-in::backdrop { opacity: 1; }
@keyframes tpr-fade-in { from { opacity: 0; } to { opacity: 1; } }
.tpr-drawer__panel { display: flex; flex-direction: column; height: 100%; padding: 16px 24px calc(24px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, #0a3a8c 0%, #061f52 100%); border-left: 1px solid var(--c-line); box-shadow: -8px 0 24px rgba(0, 0, 0, .35); overflow-y: auto; }
.tpr-drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: 16px; }
.tpr-drawer__head .tpr-logo { justify-self: auto; }
.tpr-drawer__list a { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; font-weight: 500; }
.tpr-drawer__list a:hover { color: var(--gold-2); }
.tpr-drawer__num { min-width: 22px; font-size: 13px; font-weight: 600; color: var(--gold); }
.tpr-drawer__foot { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }
.tpr-drawer__panel:focus { outline: none; }
/* Không cho cuộn ngang: các mục trượt từ phải vào làm tràn tạm thời và hiện thanh cuộn ngang. */
.tpr-drawer { overflow: hidden; overflow: clip; } /* clip: autofocus không cuộn được khung, menu trượt mượt (25/11) */
.tpr-drawer__panel { overflow-x: hidden; }
/* Các mục menu hiện lần lượt khi menu trượt vào. */
/* Điện thoại (23/11): chỉ trượt cả khung menu. Hiệu ứng từng mục hiện lần lượt tạo thêm lớp vẽ giữa lúc trượt, máy Android yếu bị giật giật; chỉ giữ trên máy tính. */
.tpr-drawer__panel { contain: layout paint; backface-visibility: hidden; }
.tpr-drawer .tpr-drawer__panel { transform: translate3d(100%, 0, 0); }
.tpr-drawer.is-in .tpr-drawer__panel { transform: translate3d(0, 0, 0); }
/* Giữ menu đã dựng sẵn khi đóng (ẩn, không bấm được) để lúc mở không phải dựng lại cả khung trong khung hình đầu. */
.tpr-drawer:not([open]) { display: block; visibility: hidden; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
	.tpr-drawer__list > li, .tpr-drawer__foot { opacity: 0; transform: translateX(18px); transition: opacity .3s ease-out, transform .3s cubic-bezier(.2, .7, .2, 1); }
	.tpr-drawer.is-in .tpr-drawer__list > li, .tpr-drawer.is-in .tpr-drawer__foot { opacity: 1; transform: none; }
	.tpr-drawer.is-in .tpr-drawer__list > li:nth-child(1) { transition-delay: .10s; }
	.tpr-drawer.is-in .tpr-drawer__list > li:nth-child(2) { transition-delay: .15s; }
	.tpr-drawer.is-in .tpr-drawer__list > li:nth-child(3) { transition-delay: .20s; }
	.tpr-drawer.is-in .tpr-drawer__list > li:nth-child(4) { transition-delay: .25s; }
	.tpr-drawer.is-in .tpr-drawer__list > li:nth-child(5) { transition-delay: .30s; }
	.tpr-drawer.is-in .tpr-drawer__list > li:nth-child(n+6) { transition-delay: .35s; }
	.tpr-drawer.is-in .tpr-drawer__foot { transition-delay: .32s; }
}
.tpr-drawer__hotline { text-align: center; color: var(--gold-2); font-weight: 600; }

/* 5. Trang chủ: hero, giới thiệu, đối tác, lý do --------------------------- */
.tpr-hero { padding-top: 16px; background: linear-gradient(180deg, var(--brand) 0%, #0a2d6e 30%, var(--navy-900) 100%); }
@media (min-width: 1024px) { .tpr-hero { padding-top: 28px; } }
/* Banner kiểu coverflow: ảnh giữa lớn, 2 bên nhỏ + mờ, lặp vòng (JS gán --off cho từng ảnh) */
.tpr-carousel { --slide-w: 80vw; --ar: .6667; --gap: 12px; --side: .8; position: relative; }
@media (min-width: 768px) { .tpr-carousel { --slide-w: 64vw; --ar: .5625; --gap: 16px; } }
@media (min-width: 1200px) { .tpr-carousel { --slide-w: min(56vw, 900px); --side: .78; } }
.tpr-carousel__stage { position: relative; height: calc(var(--slide-w) * var(--ar)); overflow: hidden; touch-action: pan-y; user-select: none; }
.tpr-slide { position: absolute; top: 0; left: 50%; width: var(--slide-w); height: 100%; margin: 0 0 0 calc(var(--slide-w) / -2); overflow: hidden; border-radius: var(--radius); background: var(--navy-800); opacity: 0; pointer-events: none;
	--sc: var(--side); transform: translateX(calc(var(--off, 0) * (var(--slide-w) * (.5 + var(--side) / 2) + var(--gap)))) scale(var(--sc));
	filter: brightness(.55) saturate(.75); transition: transform .6s cubic-bezier(.22, .61, .36, 1), opacity .6s ease, filter .6s ease; }
.tpr-slide[style*="--off:-1"], .tpr-slide[style*="--off:1"] { opacity: .7; pointer-events: auto; cursor: pointer; z-index: 1; }
.tpr-slide.is-active { --sc: 1; opacity: 1; filter: none; pointer-events: auto; cursor: default; z-index: 2; box-shadow: 0 0 0 1px rgba(243, 217, 164, .45), var(--shadow); }
@media (prefers-reduced-motion: reduce) { .tpr-slide { transition: none; } }
.tpr-carousel__nav { position: absolute; top: calc(var(--slide-w) * var(--ar) / 2); z-index: 3; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(243, 217, 164, .55); border-radius: 999px; background: rgba(7, 17, 43, .55); color: #fff; cursor: pointer; transform: translate(-50%, -50%); backdrop-filter: blur(6px); transition: background-color .2s, color .2s; }
.tpr-carousel__nav:hover, .tpr-carousel__nav:focus-visible { background: var(--gold); color: var(--navy-950); }
.tpr-carousel__nav--prev { left: calc(50% - var(--slide-w) / 2); }
.tpr-carousel__nav--next { left: calc(50% + var(--slide-w) / 2); }
@media (max-width: 767px) { .tpr-carousel__nav { width: 36px; height: 36px; } .tpr-carousel__nav svg { width: 18px; height: 18px; } }
.tpr-slide__img { width: 100%; height: 100%; object-fit: cover; }
.tpr-slide__name { position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end; padding: 56px 24px 20px; background: linear-gradient(to top, rgba(7, 17, 43, .84) 0%, rgba(7, 17, 43, .4) 55%, rgba(7, 17, 43, 0) 100%); pointer-events: none; }
.tpr-slide__name span { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.tpr-slide__name span::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--gold); }
@media (max-width: 767px) { .tpr-slide__name { padding: 36px 16px 14px; } .tpr-slide__name span { gap: 10px; font-size: 15px; } .tpr-slide__name span::before { width: 20px; } }
.tpr-carousel__dots { display: flex; justify-content: center; margin-top: 12px; }
.tpr-carousel__dots button { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.tpr-carousel__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: width .3s, background-color .3s; }
.tpr-carousel__dots button[aria-selected="true"]::before { width: 22px; background: var(--gold-2); }

.tpr-intro { padding-block: 32px 64px; text-align: center; }
.tpr-intro__title { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: .01em; background: linear-gradient(180deg, #f6e3b8 0%, #c9a35e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tpr-intro__sub { margin-top: 12px; font-size: 18px; font-weight: 600; }
.tpr-intro__text { max-width: 720px; margin: 10px auto 0; color: var(--c-muted); font-size: 16px; }
.tpr-intro__actions { display: grid; gap: 12px; max-width: 420px; margin: 28px auto 0; }
.tpr-intro__actions .tpr-btn { width: 100%; min-width: 0; }
@media (min-width: 640px) { .tpr-intro__actions { display: flex; justify-content: center; max-width: none; } .tpr-intro__actions .tpr-btn { width: 264px; } }
@media (min-width: 1024px) { .tpr-intro { padding-block: 44px 88px; } .tpr-intro__title { font-size: 56px; } .tpr-intro__sub { font-size: 22px; } }

.tpr-partners { background: var(--navy-950); }
.tpr-partners__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tpr-partners__item { display: flex; align-items: center; justify-content: center; height: 84px; padding: 12px 14px; background: #fff; border-radius: 12px; }
.tpr-partners__item img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (min-width: 768px) { .tpr-partners__grid { gap: 16px; } .tpr-partners__item { height: 104px; padding: 16px 28px; } }
@media (min-width: 1024px) { .tpr-partners__grid { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; } .tpr-partners__item { height: 88px; padding: 12px; } }

.tpr-reason { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border: 1px solid var(--c-card-line); border-radius: var(--radius); background: var(--c-card); box-shadow: var(--shadow); }
.tpr-reason__num { font-size: 34px; line-height: 1; font-weight: 800; color: var(--gold); opacity: .9; }
.tpr-reason__title { font-size: 17px; line-height: 1.35; font-weight: 700; text-transform: uppercase; color: var(--gold-2); }
.tpr-reason__text { color: var(--c-muted); font-size: 15px; }

/* 6. Dự án ---------------------------------------------------------------- */
.tpr-projects { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.tpr-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: center; max-width: 960px; margin: 0 auto 12px; }
.tpr-filter__label { grid-column: 1 / -1; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.tpr-search { position: relative; display: block; grid-column: 1 / -1; }
.tpr-search input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.tpr-search input::placeholder { color: var(--c-muted); }
.tpr-search input:focus { outline: none; border-color: var(--gold); }
.tpr-search .tpr-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
@media (min-width: 768px) { .tpr-filter { grid-template-columns: auto minmax(0, 1fr) 220px 220px; justify-content: center; gap: 16px; } .tpr-filter__label, .tpr-search { grid-column: auto; } }
.tpr-projects__status { min-height: 24px; margin-bottom: 16px; text-align: center; color: var(--gold-2); font-size: 15px; }
.tpr-projects [data-grid] { transition: opacity .2s; }
.tpr-projects.is-loading [data-grid] { opacity: .45; }
.tpr-projects__empty { display: grid; justify-items: center; gap: 16px; padding: 40px 16px; border: 1px dashed var(--c-line); border-radius: var(--radius); text-align: center; color: var(--c-muted); }
.tpr-projects__empty[hidden], [hidden] { display: none !important; }
.tpr-projects__more { display: flex; justify-content: center; margin-top: 36px; }

.tpr-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--c-card-line); border-radius: var(--radius); background: var(--c-card); box-shadow: var(--shadow); }
.tpr-card__media { position: relative; display: grid; gap: 2px; }
.tpr-card__main { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); }
.tpr-card__img, .tpr-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tpr-card__media--single .tpr-card__main { aspect-ratio: 1.297; } /* = cao ảnh chính + hàng ảnh nhỏ, để thẻ cùng hàng cao bằng nhau */
.tpr-card__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.tpr-card__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.tpr-card__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(5, 15, 40, .62); color: #fff; font-size: 20px; font-weight: 700; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); } /* 26/11 Kiệt: chữ trắng, trước bị tối trên nền sáng */
.tpr-card__badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(180deg, #f3dc9c, #d9b062); color: var(--gold-ink); font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.tpr-card__noimg, .tpr-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--gold); font-weight: 800; letter-spacing: .1em; background: var(--navy-800); }
.tpr-ph { position: relative; flex-direction: column; gap: 8px; padding: 24px; text-align: center; letter-spacing: 0; background: radial-gradient(120% 90% at 50% 0%, #163a7a 0%, var(--navy-900) 55%, var(--navy-950) 100%); overflow: hidden; }
.tpr-ph::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201, 163, 94, .35); border-radius: 6px; pointer-events: none; }
.tpr-ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; opacity: .18; background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(243, 217, 164, .9) 18px 19px), linear-gradient(0deg, rgba(243, 217, 164, .5), transparent); -webkit-mask: linear-gradient(0deg, #000, transparent); mask: linear-gradient(0deg, #000, transparent); pointer-events: none; }
.tpr-ph__area { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tpr-ph__name { max-width: 90%; font-size: 24px; line-height: 1.2; font-weight: 800; color: #fff; text-wrap: balance; }
.tpr-project__img--ph { aspect-ratio: 16 / 10; }
.tpr-project__img--ph .tpr-ph__name { font-size: clamp(26px, 4vw, 40px); }
.tpr-ph__note { font-size: 12px; font-weight: 500; color: var(--c-muted); }
.tpr-card__body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 20px; }
.tpr-card__title { font-size: 22px; line-height: 1.25; font-weight: 800; text-transform: uppercase; color: var(--c-text); }
.tpr-card__facts { display: grid; gap: 8px; margin-bottom: 4px; font-size: 14px; line-height: 1.45; }
.tpr-card__facts > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
.tpr-card__facts dt { display: flex; align-items: baseline; gap: 8px; color: var(--c-muted); }
.tpr-card__facts dt::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }
.tpr-card__facts dd { color: var(--c-text); }
.tpr-card__cta { position: relative; z-index: 2; margin-top: auto; }
/* Cả thẻ bấm được: lớp phủ từ link tiêu đề. */
.tpr-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tpr-card__link:focus-visible { outline: none; }
.tpr-card:has(.tpr-card__link:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

.tpr-docs__list { display: grid; gap: 10px; }
.tpr-docs__item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-sm); background: rgba(0, 0, 0, .22); transition: border-color .15s; }
.tpr-docs__item:hover { border-color: var(--gold); }
.tpr-docs__ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 8px; background: rgba(201, 163, 94, .15); color: var(--gold-2); }
.tpr-docs__text { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.tpr-docs__title { font-weight: 600; line-height: 1.35; }
.tpr-docs__meta { font-size: 13px; color: var(--c-muted); }
.tpr-docs__go { flex: none; font-size: 14px; font-weight: 600; color: var(--gold-2); }
.tpr-docs__empty { color: var(--c-muted); }
.tpr-page .tpr-docs__item { border-color: var(--c-line); background: #f8fafd; }
.tpr-page .tpr-docs__ico { color: #9a7429; }
.tpr-page .tpr-docs__go { color: var(--brand); }

/* 7. Tin tức -------------------------------------------------------------- */
.tpr-news { background: var(--navy-900); }
.tpr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: var(--c-muted); }
.tpr-meta__cat { color: var(--gold); font-weight: 600; }
.tpr-page .tpr-meta__cat { color: #9a7429; }
.tpr-meta__dot { opacity: .6; }
.tpr-news__label { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.tpr-news__label::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.tpr-page .tpr-news__label { color: #9a7429; }
.tpr-news__label--latest { margin-top: 48px; }
.tpr-news__top { display: grid; gap: 28px; }
@media (min-width: 1024px) { .tpr-news__top { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 32px; align-items: stretch; } .tpr-news__top--single { grid-template-columns: 1fr; } }

.tpr-news-feat { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--c-card-line); border-radius: var(--radius); background: var(--c-card); }
.tpr-news-feat__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); }
.tpr-news-feat__img img, .tpr-news-card__img img, .tpr-news-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tpr-news-feat:hover img, .tpr-news-card:hover img, .tpr-news-row:hover img { transform: scale(1.03); }
.tpr-news-feat__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 22px 24px 24px; }
.tpr-news-feat__badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 4px 10px; border-radius: 999px; background: rgba(201, 163, 94, .16); color: var(--gold-2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tpr-page .tpr-news-feat__badge { color: #8a6420; background: #fbf3e2; }
.tpr-news-feat__title { font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--c-text); }
@media (min-width: 1024px) { .tpr-news-feat__title { font-size: 26px; } }
.tpr-news-feat__ex { color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tpr-news-feat .tpr-meta { margin-top: auto; }

.tpr-news__picks { display: flex; flex-direction: column; }
.tpr-news__pick-list { display: flex; flex: 1; flex-direction: column; gap: 12px; }
.tpr-news-row { display: grid; flex: 1; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--c-card-line); border-radius: 12px; background: var(--c-card); }
@media (min-width: 768px) { .tpr-news-row { grid-template-columns: 136px minmax(0, 1fr); } }
.tpr-news-row__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--navy-800); }
.tpr-news-row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tpr-news-row__title { font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--c-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.tpr-news-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--c-card-line); border-radius: var(--radius); background: var(--c-card); }
.tpr-news-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); }
.tpr-news-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.tpr-news-card__title { font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--c-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tpr-news-card .tpr-meta { margin-top: auto; }
.tpr-news-feat:hover .tpr-news-feat__title, .tpr-news-card:hover .tpr-news-card__title, .tpr-news-row:hover .tpr-news-row__title { color: var(--c-link); }

/* 8. Trích dẫn, Shorts, FAQ ----------------------------------------------- */
.tpr-quote { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.tpr-quote__inner { display: grid; gap: 28px; align-items: center; justify-items: center; text-align: center; }
.tpr-quote__img { width: min(300px, 72vw); aspect-ratio: 1; overflow: hidden; border-radius: 50%; border: 1px solid var(--c-line); background: radial-gradient(circle at 50% 35%, #12408f, #061636 70%); }
.tpr-quote__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tpr-quote__text { margin: 0; display: grid; gap: 18px; justify-items: inherit; max-width: 640px; }
.tpr-quote__text blockquote { margin: 0; }
.tpr-quote__text blockquote p { margin: 0; font-size: 21px; line-height: 1.55; font-weight: 600; text-wrap: pretty; }
.tpr-quote__text blockquote p::before { content: "“"; display: block; height: 40px; font-size: 72px; line-height: 1; color: var(--gold); }
.tpr-quote__sign { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--c-line); min-width: 220px; }
.tpr-quote__sign strong { font-size: 17px; color: var(--gold-2); }
.tpr-quote__sign span { font-size: 14px; color: var(--c-muted); letter-spacing: .02em; }
.tpr-quote__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: inherit; width: 100%; }
.tpr-quote__actions .tpr-btn { flex: 1 1 200px; }
.tpr-quote__note { margin: -4px 0 0; font-size: 13px; color: var(--c-muted); }
@media (max-width: 1023px) { .tpr-quote__actions { justify-content: center; } }
@media (min-width: 1024px) {
	.tpr-quote__inner { grid-template-columns: 380px minmax(0, 1fr); gap: 64px; justify-items: start; text-align: left; }
	.tpr-quote__img { width: 380px; }
	.tpr-quote__text blockquote p { font-size: 26px; }
	.tpr-quote__actions .tpr-btn { flex: 0 0 auto; }
}

.tpr-shorts__track { display: grid; grid-auto-flow: column; grid-auto-columns: 62vw; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.tpr-shorts__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .tpr-shorts__track { grid-auto-columns: 40vw; } }
@media (min-width: 1024px) { .tpr-shorts__track { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; gap: 24px; overflow: visible; margin: 0; padding: 0; } }
.tpr-short { display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; }
.tpr-short__media { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; overflow: hidden; border: 1px solid var(--c-card-line); border-radius: 14px; background: #000; cursor: pointer; }
.tpr-short__media img { width: 100%; height: 100%; object-fit: cover; }
.tpr-short__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tpr-short__play { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; padding-left: 4px; border-radius: 50%; background: rgba(230, 96, 49, .92); color: #fff; transform: translate(-50%, -50%); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); transition: transform .2s; }
.tpr-short__media:hover .tpr-short__play { transform: translate(-50%, -50%) scale(1.08); }
.tpr-short__title { font-size: 15px; line-height: 1.4; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.tpr-faq { background: var(--navy-950); }
.tpr-faq__list { border-top: 1px solid var(--c-line); }
.tpr-faq__item { border-bottom: 1px solid var(--c-line); }
.tpr-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; line-height: 1.4; font-weight: 600; list-style: none; cursor: pointer; }
.tpr-faq__item summary::-webkit-details-marker { display: none; }
.tpr-faq__item summary .tpr-ico { color: var(--gold); transition: transform .2s; }
.tpr-faq__item[open] summary .tpr-ico { transform: rotate(180deg); }
.tpr-faq__item summary:hover { color: var(--gold-2); }
.tpr-faq__a { padding: 0 32px 22px 0; color: var(--c-muted); }

/* 9. Footer + nút nổi ----------------------------------------------------- */
.tpr-footer { padding-top: 64px; background: var(--navy-950); color: #fff; border-top: 1px solid rgba(201, 163, 94, .25); }
.tpr-footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 768px) { .tpr-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 48px; align-items: start; } .tpr-footer__info { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .tpr-footer__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr) minmax(0, 1fr); } .tpr-footer__info { grid-column: auto; } }
.tpr-footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.tpr-footer__logo .tpr-logo__img { height: 34px; }
.tpr-footer__logo .tpr-logo__sep { height: 32px; }
.tpr-footer__logo .tpr-logo__text { font-size: 16px; }
.tpr-footer__company { margin-bottom: 20px; font-size: 20px; line-height: 1.35; font-weight: 700; color: var(--gold-2); text-transform: uppercase; }
.tpr-footer__list { display: grid; gap: 12px; font-size: 15px; }
.tpr-footer__list li { display: flex; gap: 12px; }
.tpr-footer__ico { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; border-radius: 8px; background: rgba(201, 163, 94, .14); color: var(--gold); }
.tpr-footer__list li > span:last-child { padding-top: 5px; }
.tpr-footer__k { color: #a3b3d1; }
.tpr-footer__list a:hover { color: var(--gold-2); }
.tpr-footer__disclaimer { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); color: #8394b8; font-size: 13px; line-height: 1.6; }
.tpr-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.tpr-footer__bottom-row { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-block: 20px; font-size: 14px; color: #a3b3d1; text-align: center; }
.tpr-footer__bottom-row nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.tpr-footer__bottom-row a:hover { color: var(--gold-2); }
@media (min-width: 768px) { .tpr-footer__bottom-row { flex-direction: row; justify-content: space-between; } }
.tpr-footer__bottom { padding-bottom: 84px; }
@media (min-width: 1024px) { .tpr-footer__bottom { padding-bottom: 0; } }

.tpr-fab { position: fixed; left: 0; right: 0; width: max-content; margin-inline: auto; justify-content: center; bottom: calc(16px + env(safe-area-inset-bottom) + var(--tpr-cb-h, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 14px 24px; border: 1px solid rgba(201, 163, 94, .9); border-radius: 999px; background: linear-gradient(180deg, #fff3dc 0%, #f2d8a6 100%); color: var(--gold-ink); font-size: 15px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
.tpr-fab.is-show { opacity: 1; transform: none; pointer-events: auto; }
.tpr-fab .tpr-ico { color: #c47a1c; }

/* 10. Popup (tư vấn, tài liệu dự án) -------------------------------------- */
.tpr-modal { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; }
.tpr-modal[open] .tpr-modal__box { animation: tpr-pop .2s ease-out; }
@keyframes tpr-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.tpr-modal__box { position: relative; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 32px 28px 28px; border: 1px solid var(--gold); border-radius: 20px; background: linear-gradient(160deg, #0a3a8c 0%, #051f4f 100%); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
@media (max-width: 480px) { .tpr-modal__box { padding: 28px 20px 22px; } }
.tpr-modal__close { position: absolute; top: 8px; right: 8px; }
.tpr-modal__title { margin-bottom: 20px; font-size: 24px; line-height: 1.3; font-weight: 800; text-transform: uppercase; padding-right: 32px; }
.tpr-modal--docs .tpr-docs { margin-bottom: 20px; }

/* Form CF7 #332 (markup .tpr-cf7 nằm trong nội dung form) */
.tpr-modal .wpcf7 { margin: 0; }
.tpr-modal .wpcf7-form > p { margin: 0; }
.tpr-modal .wpcf7 .hidden-fields-container { display: none; margin: 0; padding: 0; border: 0; }
.tpr-cf7__fields { display: grid; gap: 14px; }
.tpr-cf7__title { padding-right: 36px; font-size: 22px; line-height: 1.3; font-weight: 800; text-transform: uppercase; color: #fff; }
.tpr-cf7__sub { margin-bottom: 4px; color: #c8d3ea; font-size: 15px; }
.tpr-cf7__field { position: relative; display: block; }
.tpr-cf7__icon { position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; object-fit: contain; z-index: 1; opacity: .9; pointer-events: none; }
.tpr-cf7__field .wpcf7-form-control-wrap { display: block; }
.tpr-cf7__field input { width: 100%; height: 50px; padding: 0 16px 0 46px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-sm); background: rgba(0, 0, 0, .25); color: #fff; font: inherit; font-size: 16px; }
.tpr-cf7__field input::placeholder { color: #a3b3d1; }
.tpr-cf7__field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 163, 94, .25); }
.tpr-cf7__field input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px #0b2a66 inset; caret-color: #fff; }
.tpr-cf7 .wpcf7-not-valid-tip { display: block; margin-top: 6px; color: #ffb4a0; font-size: 13px; }
.tpr-cf7__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: #c8d3ea; font-size: 14px; line-height: 1.45; }
.tpr-cf7__legal label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.tpr-cf7__legal .wpcf7-form-control-wrap, .tpr-cf7__legal .wpcf7-checkbox { display: inline-flex; align-items: center; }
.tpr-cf7__legal .wpcf7-list-item { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.tpr-cf7__legal .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 10px; }
.tpr-cf7__legal input[type="checkbox"] { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--cta); cursor: pointer; }
.tpr-cf7__legal a { color: var(--gold-2); text-decoration: underline; }
.tpr-cf7__submit, .tpr-cf7 input[type="submit"] { width: 100%; height: 52px; margin-top: 4px; border: 1px solid #ef9779; border-radius: var(--radius-sm); background: linear-gradient(180deg, var(--cta-2), var(--cta)); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(230, 96, 49, .6); }
.tpr-cf7__submit:hover { filter: brightness(1.06); }
.tpr-modal .wpcf7-spinner { display: none; }
.wpcf7 .screen-reader-response { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
.tpr-cf7__field input.wpcf7-not-valid { border-color: #ff9c85; }
.tpr-modal .wpcf7-form.submitting .tpr-cf7__submit { opacity: .7; pointer-events: none; }
.tpr-modal .wpcf7-response-output { margin: 12px 0 0 !important; padding: 10px 12px !important; border-radius: 8px; border-color: rgba(255, 180, 160, .6) !important; color: #ffd5c8; font-size: 14px; }
.tpr-modal .wpcf7-form.init .wpcf7-response-output, .tpr-modal .wpcf7-form.invalid .wpcf7-response-output, .tpr-modal .wpcf7-form.sent .wpcf7-response-output { display: none; }
.tpr-cf7__success { display: none; text-align: center; }
.tpr-modal .wpcf7-form.sent .tpr-cf7__fields { display: none; }
.tpr-modal .wpcf7-form.sent .tpr-cf7__success { display: grid; justify-items: center; gap: 12px; padding: 12px 0 4px; }
.tpr-cf7__check { width: 64px; height: 64px; border-radius: 50%; background: rgba(76, 175, 80, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ee08a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 30px no-repeat; }
.tpr-cf7__success-title { font-size: 22px; font-weight: 800; text-transform: uppercase; }
.tpr-cf7__success-desc { color: #c8d3ea; }
.tpr-cf7__success-desc a { color: var(--gold-2); font-weight: 600; }
.tpr-cf7__back { display: none !important; }
.tpr-cf7__close { width: 100%; height: 48px; margin-top: 8px; border: 1px solid var(--gold); border-radius: var(--radius-sm); background: transparent; color: var(--gold-2); font: inherit; font-weight: 600; cursor: pointer; }

/* 11. Trang trong --------------------------------------------------------- */
.tpr-page { display: block; background: var(--c-bg); color: var(--c-text); }
.tpr-pagehead { --c-text: #fff; --c-muted: #c8d3ea; padding-block: 28px 36px; background: linear-gradient(180deg, var(--brand) 0%, #0a2d6e 100%); color: #fff; }
.tpr-pagehead--compact { padding-bottom: 28px; }
.tpr-pagehead__title { margin-top: 12px; font-size: 28px; line-height: 1.25; font-weight: 800; text-wrap: balance; }
@media (min-width: 1024px) { .tpr-pagehead { padding-block: 36px 48px; } .tpr-pagehead__title { font-size: 40px; } }
.tpr-pagehead__sub { max-width: 760px; margin-top: 10px; color: #c8d3ea; }
.tpr-crumb, .rank-math-breadcrumb p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--c-muted); }
.tpr-crumb a:hover { color: var(--gold-2); }
.tpr-page .tpr-article__head .tpr-crumb a:hover { color: var(--brand); }
.tpr-list { padding-block: 40px 64px; }
.tpr-empty { padding: 48px 0; text-align: center; color: var(--c-muted); }
.tpr-listsearch { max-width: 560px; margin: 0 auto; }
.tpr-page .tpr-search input { background: #fff; color: var(--c-text); }
.tpr-page .tpr-search input:focus { border-color: var(--cta); box-shadow: 0 0 0 4px rgba(230, 96, 49, .22), 0 10px 24px -10px rgba(230, 96, 49, .55); }
.tpr-page .tpr-search .tpr-ico { color: var(--cta); }
/* Ô tìm tên dự án ở danh mục/khu vực: viền cam cùng màu nút CTA để nổi bật (23/11) */
.tpr-listsearch .tpr-search input { height: 54px; border: 2px solid rgba(230, 96, 49, .5); border-radius: 999px; padding-left: 50px; font-size: 17px; box-shadow: 0 8px 20px -14px rgba(230, 96, 49, .45); transition: border-color .2s, box-shadow .2s; }
.tpr-listsearch .tpr-search input:hover { border-color: rgba(230, 96, 49, .75); }
.tpr-page .tpr-listsearch .tpr-search input:focus { border-color: var(--cta); box-shadow: 0 0 0 4px rgba(230, 96, 49, .2), 0 10px 26px -8px rgba(230, 96, 49, .55); }
.tpr-listsearch .tpr-search input::placeholder { color: #5b6783; }
.tpr-listsearch .tpr-search .tpr-ico { left: 20px; }
.tpr-listsearch__status { min-height: 24px; margin: 10px 0 14px; text-align: center; color: var(--c-muted); font-size: 15px; }
.tpr-listsearch__results { transition: opacity .15s; }
.tpr-listsearch__results.is-loading { opacity: .5; }
.tpr-listsearch__results .tpr-empty a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.tpr-loadmore { display: flex; justify-content: center; margin-top: 36px; }
.tpr-loadmore__btn { min-width: 220px; }
.tpr-loadmore.is-loading .tpr-loadmore__btn { opacity: .6; pointer-events: none; cursor: progress; }
.tpr-pag ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.tpr-pag a, .tpr-pag span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: 10px; background: #fff; font-weight: 600; }
.tpr-pag .current { border-color: var(--brand); background: var(--brand); color: #fff; }
.tpr-pag a:hover { border-color: var(--brand); color: var(--brand); }

.tpr-cta-band { display: grid; gap: 20px; margin-top: 56px; padding: 28px 24px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), #0a2152); color: #fff; }
.tpr-cta-band__title { font-size: 22px; line-height: 1.3; font-weight: 800; }
.tpr-cta-band__text { margin-top: 8px; color: #c8d3ea; }
@media (min-width: 1024px) { .tpr-cta-band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 36px 40px; } }

/* Bài viết */
.tpr-article__grid { display: grid; gap: 40px; padding-block: 32px 64px; }
@media (min-width: 1024px) { .tpr-article__grid { grid-template-columns: minmax(0, 760px) 320px; justify-content: space-between; gap: 48px; padding-top: 40px; } }
.tpr-article__head { display: grid; gap: 14px; justify-items: start; margin-bottom: 24px; }
.tpr-article__title { font-size: 28px; line-height: 1.3; font-weight: 800; color: #0d1c3d; text-wrap: balance; }
@media (min-width: 1024px) { .tpr-article__title { font-size: 38px; line-height: 1.25; } }
.tpr-article__sapo { font-size: 18px; line-height: 1.6; font-weight: 500; color: #33405e; }
.tpr-article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--c-muted); }
.tpr-article__meta strong { color: var(--c-text); font-weight: 600; }
.tpr-article__hero { margin-bottom: 28px; }
.tpr-article__hero img { width: 100%; border-radius: var(--radius); }
.tpr-article__hero figcaption { margin-top: 8px; font-size: 13px; color: var(--c-muted); }
.tpr-box { margin-bottom: 28px; padding: 20px 22px; border: 1px solid #ecdcb8; border-left: 4px solid var(--gold); border-radius: 12px; background: #fdf8ee; }
.tpr-box__title { margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a6420; }
.tpr-box ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.tpr-toc { margin-bottom: 28px; padding: 16px 20px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; }
.tpr-toc summary { font-weight: 700; cursor: pointer; }
.tpr-toc ol { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 20px; font-size: 15px; }
.tpr-toc a { color: #33405e; }
.tpr-toc a:hover, .tpr-toc a.is-current { color: var(--brand); font-weight: 600; }
.tpr-toc--side { margin-bottom: 20px; }
.tpr-toc--side ol { margin-top: 0; }
@media (min-width: 1024px) { .tpr-toc--inline { display: none; } }
.tpr-article__side { display: none; }
@media (min-width: 1024px) { .tpr-article__side { display: block; } .tpr-article__sticky { position: sticky; top: calc(var(--header-h) + 24px); } }
.tpr-sidecta { padding: 24px; border-radius: var(--radius); background: linear-gradient(160deg, var(--brand), #061f52); color: #fff; }
.tpr-sidecta__title { margin-bottom: 12px; font-size: 19px; font-weight: 800; }
.tpr-sidecta ul { display: grid; gap: 6px; margin: 0 0 18px; padding-left: 18px; color: #c8d3ea; font-size: 15px; }
.tpr-sidecta__call { display: block; margin-top: 12px; text-align: center; color: var(--gold-2); font-weight: 600; }
.tpr-article__note { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--c-line); font-size: 14px; font-style: italic; color: var(--c-muted); }
.tpr-article__sources { margin-top: 20px; }
.tpr-article__sources ul { display: grid; gap: 6px; padding: 0; list-style: none; font-size: 15px; }
.tpr-article__sources a { color: var(--c-link); }
.tpr-src { margin-top: 24px; padding: 16px 18px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; }
.tpr-src__h { margin-bottom: 8px; font-weight: 700; color: var(--c-text); }
.tpr-src ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.tpr-src a { color: var(--c-link); }
.tpr-src__tag { font-size: 13px; color: var(--c-muted); }
.tpr-article__share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; }
.tpr-article__author { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 20px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; color: var(--c-muted); font-size: 15px; }
.tpr-article__author-logo { flex: none; width: 52px; height: 52px; padding: 2px; border-radius: 12px; background: #fff; border: 1px solid var(--c-line); overflow: hidden; } /* 26/11: logo TPR mới, nền trắng */
.tpr-article__author-logo img { width: 100%; height: 100%; object-fit: contain; }
.tpr-article__author-name { margin-bottom: 4px; font-weight: 700; color: var(--c-text); }
.tpr-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none; }
.tpr-progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* Nội dung soạn thảo (bài viết, chính sách) */
.tpr-prose { font-size: 18px; line-height: 1.75; color: #1f2a44; overflow-wrap: break-word; }
.tpr-wrap.tpr-prose { padding-block: 32px 64px; }
.tpr-prose > * + * { margin-top: 1.1em; }
.tpr-prose h2 { margin-top: 1.8em; font-size: 26px; line-height: 1.3; font-weight: 800; color: #0d1c3d; }
.tpr-prose h3 { margin-top: 1.5em; font-size: 21px; line-height: 1.35; font-weight: 700; color: #0d1c3d; }
.tpr-prose h4 { margin-top: 1.4em; font-size: 18px; font-weight: 700; }
.tpr-prose a { color: var(--c-link); text-decoration: underline; text-underline-offset: 2px; }
.tpr-prose ul, .tpr-prose ol { padding-left: 1.4em; }
.tpr-prose li + li { margin-top: .4em; }
.tpr-prose img { border-radius: 12px; }
.tpr-prose figure figcaption, .tpr-prose .wp-caption-text { margin-top: 8px; font-size: 14px; color: var(--c-muted); }
.tpr-prose blockquote { padding: 16px 20px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: #fdf8ee; font-style: italic; }
.tpr-prose strong { color: #0d1c3d; }
.tpr-prose hr { border: 0; border-top: 1px solid var(--c-line); }
.tpr-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tpr-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.tpr-prose th, .tpr-prose td { padding: 10px 12px; border: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.tpr-prose th { background: #eef2f9; font-weight: 700; }
.tpr-prose .alignleft { float: left; margin: 0 1em 1em 0; }
.tpr-prose .alignright { float: right; margin: 0 0 1em 1em; }
.tpr-prose .aligncenter { margin-inline: auto; }
@media (max-width: 767px) { .tpr-prose { font-size: 17px; } .tpr-prose h2 { font-size: 23px; } }

/* CTA giữa bài (inc/article.php) */
.tpr-prose .tpr-cta { margin-block: 2em; padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), #0a2152); color: #fff; font-size: 16px; line-height: 1.6; }
.tpr-prose .tpr-cta * + * { margin-top: 0; }
.tpr-cta__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.tpr-cta__title { margin-top: 6px !important; font-size: 21px; line-height: 1.3; font-weight: 800; color: #fff; }
.tpr-cta__desc { margin-top: 8px !important; color: #c8d3ea; }
.tpr-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px !important; }
.tpr-prose .tpr-cta a.tpr-btn { color: #fff; text-decoration: none; }
.tpr-prose .tpr-cta .tpr-cta__call { color: var(--gold-2); font-weight: 600; text-decoration: none; }

/* Trang dự án */
.tpr-project__price { margin-top: 10px; color: #c8d3ea; }
.tpr-project__price strong { color: var(--gold-2); }
.tpr-project__grid { display: grid; gap: 32px; padding-block: 32px 48px; }
@media (min-width: 1024px) {
	.tpr-project__grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-items: start; column-gap: 40px; }
	/* Cột trái: gallery, thông tin chi tiết, bài viết; cột phải: tóm tắt + CTA chạy suốt và dính theo khi cuộn. */
	.tpr-project__gallery { grid-column: 1; grid-row: 1; }
	.tpr-project__info { grid-column: 1; grid-row: 2; }
	.tpr-project__article { grid-column: 1; grid-row: 3; }
	.tpr-project__side { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: calc(var(--header-h, 72px) + 20px); }
	/* Không có bài viết dài: chỉ 2 hàng, cột phải dừng ngang đáy khung thông tin (không dư khoảng cách hàng thứ 3). */
	.tpr-project__grid:not(:has(> .tpr-project__article)) { grid-template-rows: auto 1fr; }
	.tpr-project__grid:not(:has(> .tpr-project__article)) .tpr-project__side { grid-row: 1 / span 2; }
	.tpr-project__grid:not(:has(> .tpr-project__article)) .tpr-project__info { align-self: stretch; }
}
/* Gallery */
.tpr-gal { display: grid; gap: 10px; min-width: 0; }
.tpr-gal__stage { position: relative; overflow: hidden; border-radius: 14px; background: #dfe5ef; }
.tpr-gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.tpr-gal__track::-webkit-scrollbar { display: none; }
.tpr-gal__slide { flex: 0 0 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; background: none; cursor: zoom-in; scroll-snap-align: start; }
.tpr-gal__slide img, .tpr-gal__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpr-gal__ph { overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; background: #dfe5ef; }
.tpr-gal__nav { position: absolute; top: 50%; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #0d1c3d; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); cursor: pointer; transition: opacity .15s; }
.tpr-gal__nav--prev { left: 14px; transform: scaleX(-1); }
.tpr-gal__nav--next { right: 14px; }
@media (hover: hover) { .tpr-gal__nav { opacity: 0; } .tpr-gal__stage:hover .tpr-gal__nav, .tpr-gal__nav:focus-visible { opacity: 1; } }
.tpr-gal__count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(5, 15, 40, .72); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; }
.tpr-gal__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.tpr-gal__thumb { flex: 0 0 auto; width: 104px; aspect-ratio: 16 / 10; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 10px; background: #dfe5ef; opacity: .6; cursor: pointer; transition: opacity .15s, border-color .15s; }
.tpr-gal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpr-gal__thumb:hover { opacity: .9; }
.tpr-gal__thumb.is-on { opacity: 1; border-color: var(--gold); }
@media (max-width: 767px) { .tpr-gal__thumb { width: 76px; } }
.tpr-gal__note { margin: -2px 0 0; color: var(--c-muted); font-size: 12px; line-height: 1.4; }
.tpr-nm { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.tpr-nm__title { display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: 20px; line-height: 1.3; }
.tpr-nm__title span { color: var(--c-muted); font-size: 13px; font-weight: 500; }
.tpr-nm__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.tpr-nm__item { display: block; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--c-soft); cursor: zoom-in; aspect-ratio: 4 / 3; }
.tpr-nm__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tpr-nm__item:hover img { transform: scale(1.04); }
@media (max-width: 767px) {
	.tpr-nm__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; } /* 26/11: ảnh đầu không dính mép */
	.tpr-nm__grid::-webkit-scrollbar { display: none; }
	.tpr-nm__item { flex: 0 0 160px; scroll-snap-align: start; }
}
/* Xem ảnh toàn màn hình */
.tpr-lb { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 8, 22, .96); color: #fff; }
.tpr-lb::backdrop { background: rgba(3, 8, 22, .96); }
.tpr-lb__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.tpr-lb__track::-webkit-scrollbar { display: none; }
.tpr-lb__slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; margin: 0; padding: 56px 16px; scroll-snap-align: start; }
.tpr-lb__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.tpr-lb__close { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.tpr-lb__nav { position: absolute; top: 50%; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.tpr-lb__nav--prev { left: 16px; transform: scaleX(-1); }
.tpr-lb__nav--next { right: 16px; }
@media (max-width: 767px) { .tpr-lb__nav { display: none; } }
.tpr-lb__count { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-size: 14px; font-weight: 600; color: #c8d3ea; }
/* Bài viết dài dưới gallery */
.tpr-project__article { min-width: 0; padding-top: 8px; }
.tpr-project__article > :first-child { margin-top: 0; }
@media (max-width: 1023px) { .tpr-project__article { padding-top: 0; } }
.tpr-project__side { display: grid; gap: 20px; }
.tpr-project__box { display: grid; gap: 16px; padding: 22px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.tpr-project__box .tpr-card__facts { font-size: 15px; }
/* Tóm tắt cột phải */
.tpr-pd__side-h { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a6420; }
.tpr-pd--side { gap: 14px; }
.tpr-pd__sum { gap: 10px; margin: 0; }
.tpr-pd__sum > div { grid-template-columns: 118px minmax(0, 1fr); }
.tpr-pd__sum dd { font-weight: 600; color: #0d1c3d; }
/* Bản đồ trong thông tin chi tiết */
.tpr-map { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.tpr-map__h { font-size: 19px; font-weight: 800; color: #0d1c3d; }
.tpr-map__addr { display: flex; gap: 8px; align-items: flex-start; color: #44536f; font-size: 15px; }
.tpr-map__addr svg { flex: 0 0 auto; margin-top: 2px; color: var(--gold); }
.tpr-map__frame { overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; background: #e7ecf3; }
.tpr-map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) { .tpr-map__frame { aspect-ratio: 4 / 3; } }
.tpr-map__open { justify-self: start; font-weight: 600; color: var(--brand); }
.tpr-map__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tpr-maplink { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 16px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; color: var(--brand); font-weight: 700; font-size: 15px; text-decoration: none; }
.tpr-maplink svg { color: var(--gold); }
.tpr-maplink:hover { border-color: var(--brand); }
.tpr-maplink--side { display: flex; justify-content: center; width: 100%; margin-top: 12px; }
.tpr-projects__map { margin: -6px 0 26px; text-align: center; }
.tpr-maplink--dark { margin-top: 0; background: rgba(255,255,255,.04); border-color: rgba(214,178,94,.55); color: #fff; }
.tpr-maplink--dark:hover { border-color: var(--gold); background: rgba(214,178,94,.12); }
.tpr-pd__sec-b .tpr-map { margin-top: 4px; padding-top: 0; border-top: 0; } /* bản đồ trong mục Vị trí (25/11) */
/* Thông tin chi tiết dưới gallery */
.tpr-project__info { min-width: 0; padding: 24px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
@media (max-width: 767px) { .tpr-project__info { padding: 18px; } }
.tpr-pd__info-h { font-size: 22px; line-height: 1.3; font-weight: 800; color: #0d1c3d; }
@media (min-width: 768px) { .tpr-pd--info .tpr-pd__nums strong { font-size: 30px; } }

.tpr-404 { padding-block: 72px 96px; text-align: center; }
.tpr-404__code { font-size: 96px; line-height: 1; font-weight: 800; color: var(--gold); }
.tpr-404 p { color: var(--c-muted); margin-top: 12px; }
.tpr-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* 12. Cookie banner (Complianz): 3 nút cùng cỡ, thứ tự Đồng ý | Tùy chọn | Từ chối */
#cmplz-cookiebanner-container .cmplz-cookiebanner { font-family: var(--font) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 12px !important; align-items: center; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons a.cmplz-manage-options { display: none !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn { flex: 0 0 148px !important; width: 148px !important; min-width: 0 !important; max-width: none !important; height: 44px !important; min-height: 44px; margin: 0 !important; padding: 0 16px !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1 !important; border-radius: 8px !important; text-decoration: none !important; white-space: nowrap; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-accept { order: 1; background: var(--cta) !important; border: 1px solid var(--cta) !important; color: #fff !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-save-preferences { order: 2; background: transparent !important; border: 1px solid var(--gold) !important; color: var(--gold) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-deny { order: 3; background: transparent !important; border: 1px solid var(--gold) !important; color: var(--gold) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents { justify-content: flex-start !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents a { font-size: 13px; }
@media (min-width: 1024px) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-cookiebanner { grid-template-columns: minmax(0, 1fr) auto !important; grid-template-rows: auto auto !important; column-gap: 40px !important; row-gap: 6px !important; align-items: center !important; padding: 18px max(32px, calc((100vw - 1170px) / 2)) !important; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-body { grid-column: 1 !important; grid-row: 1 !important; margin: 0 !important; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents { grid-column: 1 !important; grid-row: 2 !important; margin: 0 !important; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { grid-column: 2 !important; grid-row: 1 / span 2 !important; margin: 0 !important; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message p { margin: 0; }
}
@media (max-width: 1023px) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { width: 100%; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn { flex: 1 1 0 !important; width: auto !important; padding: 0 8px !important; font-size: 14px !important; }
}
body:has(.cmplz-cookiebanner.cmplz-show) #cmplz-manage-consent,
body:has(.cmplz-cookiebanner.cmplz-show) .cmplz-manage-consent { display: none !important; }
#cmplz-manage-consent .cmplz-manage-consent { left: 16px !important; right: auto !important; bottom: 16px !important; height: auto !important; min-height: 0 !important; padding: 6px 10px !important; font-size: 12px !important; opacity: .85; }
body:has(.tpr-fab.is-show) #cmplz-manage-consent { display: none !important; }

/* Nút liên hệ nhanh (Zalo + Gọi), góc phải dưới, mọi trang */
.tpr-dock { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom) + var(--tpr-cb-h, 0px)); z-index: 41; display: grid; gap: 12px; }
.tpr-dock__btn { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transition: transform .15s; }
.tpr-dock__btn:hover { transform: scale(1.06); }
.tpr-dock__btn--zalo { background: #0068ff; }
.tpr-dock__btn--top { padding: 0; border: 1px solid rgba(201, 163, 94, .6); background: rgba(4, 22, 61, .92); color: var(--gold-2); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; }
.tpr-dock__btn--top.is-shown { opacity: 1; visibility: visible; transform: none; }
.tpr-dock__btn--top.is-shown:hover { transform: scale(1.06); border-color: var(--gold); }
.tpr-dock__btn--call { background: linear-gradient(180deg, var(--cta-2), var(--cta)); animation: tpr-ring 2.4s ease-in-out infinite; }
@keyframes tpr-ring { 0%, 100% { box-shadow: 0 8px 22px rgba(0, 0, 0, .35), 0 0 0 0 rgba(230, 96, 49, .5); } 50% { box-shadow: 0 8px 22px rgba(0, 0, 0, .35), 0 0 0 10px rgba(230, 96, 49, 0); } }
html.tpr-noscroll .tpr-dock { visibility: hidden; }
/* Xem ảnh toàn màn hình: ẩn thanh cuộn (lớp phủ che kín trang nên không thấy trang xô). */
html.tpr-noscrollbar { scrollbar-width: none; scrollbar-gutter: auto; }
html.tpr-noscrollbar::-webkit-scrollbar { display: none; }
/* Trên điện thoại nút "Bạn muốn tìm dự án phù hợp?" nằm cùng hàng với nút Gọi: lề trái 16px, chừa cột nút bên phải */
@media (max-width: 767px) {
	.tpr-fab { left: 16px; right: 84px; width: auto; max-width: none; margin: 0; padding: 0 14px; height: 52px; font-size: 14px; }
	.tpr-fab span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

/* Popup "Xem chi tiết" dự án */
.tpr-modal--docs { width: min(720px, calc(100vw - 32px)); }
.tpr-modal--docs .tpr-modal__box { padding-top: 28px; }
.tpr-qv { display: grid; gap: 20px; }
.tpr-qv__media { position: relative; margin-inline: -28px; }
@media (max-width: 480px) { .tpr-qv__media { margin-inline: -20px; } }
.tpr-qv__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.tpr-qv__track::-webkit-scrollbar { display: none; }
.tpr-qv__slide { flex: 0 0 100%; aspect-ratio: 16 / 10; scroll-snap-align: start; background: var(--navy-800); }
.tpr-qv__slide img { width: 100%; height: 100%; object-fit: cover; }
.tpr-qv__nav { position: absolute; top: 50%; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%; background: rgba(5, 15, 40, .62); color: #fff; cursor: pointer; }
.tpr-qv__nav--prev { left: 12px; transform: scaleX(-1); }
.tpr-qv__nav--next { right: 12px; }
.tpr-qv__count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(5, 15, 40, .7); font-size: 13px; font-weight: 600; }
.tpr-qv__body { display: grid; gap: 16px; }
.tpr-qv__tagline { color: #c8d3ea; font-size: 15px; line-height: 1.6; }
.tpr-qv__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .tpr-qv__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tpr-qv__facts > div { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid rgba(232, 199, 122, .35); border-radius: 12px; background: rgba(0, 0, 0, .2); }
.tpr-qv__facts dt { font-size: 12px; color: #a3b3d1; }
.tpr-qv__facts dd { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--gold-2); }
.tpr-qv__h { margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.tpr-qv__plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tpr-qv__plans--one { grid-template-columns: 1fr; }
.tpr-qv__plan { display: grid; gap: 6px; font-size: 13px; color: #c8d3ea; }
.tpr-qv__plan img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #fff; border: 1px solid rgba(255, 255, 255, .12); }
.tpr-qv__plans--one .tpr-qv__plan img { aspect-ratio: 16 / 9; }
.tpr-qv__plan:hover span { color: var(--gold-2); }
.tpr-qv__cta { display: grid; gap: 10px; margin-top: 4px; }
@media (min-width: 640px) { .tpr-qv__cta { grid-template-columns: 1.4fr 1fr; } }
.tpr-btn--zalo { color: #fff; background: #0068ff; border-color: #0068ff; }
.tpr-btn--zalo:hover { filter: brightness(1.08); }
.tpr-qv__hint { font-size: 13px; color: #a3b3d1; text-align: center; }
.tpr-qv__note { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; line-height: 1.5; color: #8394b8; }
/* Trang dự án (nền sáng) dùng lại khối xem nhanh */
.tpr-page .tpr-qv__tagline, .tpr-page .tpr-qv__hint { color: var(--c-muted); }
.tpr-page .tpr-qv__facts > div { border-color: #ecdcb8; background: #fdf8ee; }
.tpr-page .tpr-qv__facts dt { color: var(--c-muted); }
.tpr-page .tpr-qv__facts dd { color: #7a5a1c; }
.tpr-page .tpr-qv__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpr-page .tpr-qv__plan { color: var(--c-muted); }
.tpr-page .tpr-qv__cta { grid-template-columns: 1fr; }
.tpr-page .tpr-qv__note { border-color: var(--c-line); color: var(--c-muted); }
.tpr-page .tpr-qv__h { color: #8a6420; }

/* Khối thông tin dự án (popup + trang dự án) — lớp nhìn nhanh / lớp đọc kỹ */
.tpr-pd { display: grid; gap: 20px; }
.tpr-pd__pills { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tpr-pd__pill { padding: 5px 10px; border-radius: 999px; background: linear-gradient(180deg, #f3dc9c, #d9b062); color: var(--gold-ink); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.tpr-pd__pill--status { background: #12a150; color: #fff; }
.tpr-pd__fast { display: grid; gap: 16px; }
.tpr-pd__tagline { color: #c8d3ea; font-size: 15px; line-height: 1.6; }
.tpr-pd__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tpr-pd__nums--1 { grid-template-columns: minmax(0, 1fr); }
.tpr-pd__nums--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpr-pd__keys { display: grid; gap: 8px; margin: 0; }
.tpr-pd__keys > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: rgba(201, 163, 94, .1); }
.tpr-pd__keys dt { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--gold-2); }
.tpr-pd__keys dd { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 600; color: #e9eefb; }
.tpr-page .tpr-pd__keys > div { background: #fdf8ee; }
.tpr-page .tpr-pd__keys dt { color: #8a6420; }
.tpr-page .tpr-pd__keys dd { color: #0d1c3d; }
.tpr-pd__nums li { display: flex; flex-direction: column; gap: 4px; padding: 12px 8px; border-radius: 12px; background: rgba(201, 163, 94, .1); text-align: center; }
.tpr-pd__nums strong { font-size: 22px; line-height: 1.1; font-weight: 800; color: var(--gold-2); }
.tpr-pd__nums span { font-size: 12px; line-height: 1.35; color: #c8d3ea; }
@media (min-width: 640px) { .tpr-pd__nums strong { font-size: 26px; } .tpr-pd__nums span { font-size: 13px; } }
.tpr-pd__trust { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.tpr-pd__trust > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.tpr-pd__trust dt { flex: none; white-space: nowrap; color: #a3b3d1; }
.tpr-pd__trust dd { font-weight: 600; text-align: right; }
.tpr-pd__offer { padding: 16px; border: 1px dashed rgba(232, 199, 122, .55); border-radius: 12px; background: rgba(0, 0, 0, .18); }
.tpr-pd__offer-t { font-weight: 700; color: var(--gold-2); }
.tpr-pd__offer-d { margin-top: 4px; font-size: 14px; color: #c8d3ea; }
.tpr-pd__offer-cta { display: grid; gap: 10px; margin-top: 14px; }
.tpr-pd__slow { display: grid; gap: 0; }
.tpr-pd__sec { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tpr-pd__sec:first-child { border-top: 1px solid rgba(255, 255, 255, .1); }
.tpr-pd__sec summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; list-style: none; cursor: pointer; }
.tpr-pd__sec summary::-webkit-details-marker { display: none; }
.tpr-pd__sec summary .tpr-ico { flex: none; color: var(--gold); transition: transform .2s; }
.tpr-pd__sec[open] summary .tpr-ico { transform: rotate(180deg); }
.tpr-pd__sec-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tpr-pd__sec-t strong { font-size: 16px; }
.tpr-pd__sec-t span { font-size: 13px; color: #a3b3d1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpr-pd__sec-b { display: grid; gap: 12px; padding: 0 0 18px; font-size: 15px; color: #dbe3f3; }
.tpr-pd__addr { display: flex; gap: 8px; align-items: flex-start; }
.tpr-pd__addr .tpr-ico { color: var(--gold); margin-top: 2px; }
.tpr-pd__dist { display: grid; gap: 6px; }
.tpr-pd__dist li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, .05); }
.tpr-pd__dist strong { color: var(--gold-2); white-space: nowrap; }
.tpr-pd__small { font-size: 12px; color: #8394b8; }
.tpr-pd__units { display: flex; flex-wrap: wrap; gap: 8px; }
.tpr-pd__zones { display: grid; gap: 10px; }
.tpr-pd__zone { padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; }
.tpr-pd__zone.is-selling { border-color: rgba(201, 135, 29, .55); background: #fffaf0; }
.tpr-pd__zone-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.tpr-pd__zone-h strong { font-size: 16px; }
.tpr-pd__zone-st { color: var(--muted, #5b6478); font-size: 13.5px; }
.tpr-pd__zone.is-selling .tpr-pd__zone-st { color: #b4561b; font-weight: 700; }
.tpr-pd__zone p { margin: 4px 0 0; color: var(--muted, #5b6478); font-size: 14.5px; line-height: 1.5; }
.tpr-pd__zone .tpr-pd__unit { margin-top: 10px; }
.tpr-pd__unit { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-2); font-size: 14px; font-weight: 600; }
.tpr-pd__unit::after { content: "→"; margin-left: 8px; opacity: .7; }
.tpr-pd__unit:hover { background: rgba(201, 163, 94, .15); }
.tpr-pd__ticks { display: grid; gap: 8px; }
.tpr-pd__ticks li { position: relative; padding-left: 26px; }
.tpr-pd__ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(18, 161, 80, .2); color: #7ee08a; font-size: 12px; line-height: 18px; text-align: center; font-weight: 700; }
.tpr-pd ol.tpr-pd__time, ol.tpr-pd__time { display: grid; gap: 0; margin: 0; padding: 0; border: 0; list-style: none; }
ol.tpr-pd__time > li { position: relative; display: grid; gap: 4px; margin: 0; padding: 0 0 18px 30px; }
ol.tpr-pd__time > li:last-child { padding-bottom: 0; }
ol.tpr-pd__time > li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 163, 94, .25); }
ol.tpr-pd__time > li::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: 2px; width: 2px; border-radius: 2px; background: rgba(201, 163, 94, .4); }
ol.tpr-pd__time > li:last-child::after { display: none; }
.tpr-pd__time strong { color: var(--gold-2); font-size: 14px; }
.tpr-pd__press { display: grid; gap: 8px; }
.tpr-pd__press a { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(0, 0, 0, .15); }
.tpr-pd__press a:hover { border-color: var(--gold); }
.tpr-pd__press-src { font-size: 12px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .04em; }
.tpr-pd__press-t { font-size: 14px; line-height: 1.45; }
.tpr-pd__sub { margin-top: 4px; font-size: 13px; font-weight: 700; color: #a3b3d1; }
.tpr-pd__qa { display: grid; gap: 4px; }
.tpr-pd__q { font-weight: 700; color: #fff; }
.tpr-pd__note { margin-top: 16px; font-size: 12px; line-height: 1.5; color: #8394b8; }
.tpr-pd__more { display: inline-block; margin-top: 10px; color: var(--gold-2); font-weight: 600; font-size: 14px; }
.tpr-pd__bar { position: sticky; bottom: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin: 0 -28px -28px; padding: 12px 28px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(5, 31, 79, .85), #051f4f 40%); border-top: 1px solid rgba(232, 199, 122, .35); backdrop-filter: blur(6px); }
@media (max-width: 480px) { .tpr-pd__bar { margin: 0 -20px -22px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); } }
.tpr-pd__bar .tpr-btn--zalo { padding: 0 18px; }
.tpr-cf7__ctx { padding: 8px 12px; border-radius: 8px; background: rgba(201, 163, 94, .16); color: var(--gold-2); font-size: 14px; font-weight: 600; }
/* Trang dự án (nền sáng) */
.tpr-page .tpr-pd__tagline, .tpr-page .tpr-pd__offer-d, .tpr-page .tpr-pd__nums span, .tpr-page .tpr-pd__sec-t span, .tpr-page .tpr-pd__trust dt { color: var(--c-muted); }
.tpr-page .tpr-pd__nums li { background: #fdf8ee; }
.tpr-page .tpr-pd__nums strong, .tpr-page .tpr-pd__offer-t, .tpr-page .tpr-pd__dist strong, .tpr-page .tpr-pd__time strong { color: #8a6420; }
.tpr-page .tpr-pd__trust, .tpr-page .tpr-pd__trust > div, .tpr-page .tpr-pd__sec, .tpr-page .tpr-pd__sec:first-child { border-color: var(--c-line); }
.tpr-page .tpr-pd__offer { background: #fdf8ee; border-color: #e3c98f; }
.tpr-page .tpr-pd__sec-b { color: #33405e; }
.tpr-page .tpr-pd__dist li, .tpr-page .tpr-pd__press a { background: #f5f7fb; border-color: var(--c-line); }
.tpr-page .tpr-pd__unit { color: #8a6420; }
.tpr-page .tpr-pd__q { color: var(--c-text); }
.tpr-page .tpr-pd__press-src { color: #8a6420; }
.tpr-page .tpr-pd__more { color: var(--brand); }

/* Popup chỉ cuộn dọc: không cho trượt ngang, không kéo theo trang phía sau (iOS) */
.tpr-modal { overflow: hidden; overscroll-behavior: contain; }
.tpr-modal__box { overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.tpr-modal__box > *, .tpr-pd, .tpr-pd__fast, .tpr-pd__slow, .tpr-pd__sec-b { min-width: 0; max-width: 100%; }
.tpr-pd__sec-b, .tpr-pd__press-t, .tpr-pd__trust dd, .tpr-pd__dist span { overflow-wrap: anywhere; }
.tpr-qv__track { overscroll-behavior-x: contain; }

/* Safari: <details>/<summary> + chữ 1 dòng làm cột giãn rộng hơn popup -> ép mọi cột co theo khung */
.tpr-qv, .tpr-pd, .tpr-pd__fast, .tpr-pd__slow, .tpr-pd__sec-b, .tpr-qv__body { grid-template-columns: minmax(0, 1fr); }
.tpr-pd__sec, .tpr-pd__sec summary, .tpr-pd__sec-t { min-width: 0; max-width: 100%; }
.tpr-pd__sec-t span { display: block; max-width: 100%; }
.tpr-pd__note { overflow-wrap: anywhere; }
.tpr-pd__more { display: block; margin: 14px 0 28px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); }

/* ==========================================================================
   Chuyển động: nhẹ, không gây xao nhãng. Tắt hết khi máy bật "giảm chuyển động".
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	/* Hiện dần khi cuộn tới (chỉ áp cho phần nằm dưới màn hình đầu, JS gắn lớp) */
	.tpr-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
	.tpr-reveal.is-in { opacity: 1; transform: none; }

	/* Vạch vàng dưới tiêu đề mục tự kéo dài khi mục hiện ra */
	.tpr-sec__title::after { content: ""; display: block; width: 48px; height: 2px; margin: 14px auto 0; background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform .7s .15s cubic-bezier(.2, .7, .2, 1); }
	.tpr-sec__row .tpr-sec__title::after { margin-left: 0; transform-origin: left; }
	.tpr-sec__head.is-in .tpr-sec__title::after, .tpr-sec__head:not(.tpr-reveal) .tpr-sec__title::after { transform: scaleX(1); }

	/* Nút chính (điểm chuyển đổi): một vệt sáng lướt qua mỗi ~7 giây */
	.tpr-attn { overflow: hidden; isolation: isolate; }
	.tpr-attn:not(.tpr-fab) { position: relative; }
	.tpr-attn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%); transform: translateX(-120%); animation: tpr-sheen 7s ease-in-out 2s infinite; pointer-events: none; }
	@keyframes tpr-sheen { 0%, 78% { transform: translateX(-120%); } 92%, 100% { transform: translateX(120%); } }

	/* Nút Gọi: 2 nhịp sáng rồi nghỉ (thay vì nhấp nháy liên tục) */
	.tpr-dock__btn--call { animation: tpr-ring 8s ease-out 3s infinite; }
	@keyframes tpr-ring {
		0%, 30%, 100% { box-shadow: 0 8px 22px rgba(0, 0, 0, .35), 0 0 0 0 rgba(230, 96, 49, 0); }
		6%, 20% { box-shadow: 0 8px 22px rgba(0, 0, 0, .35), 0 0 0 0 rgba(230, 96, 49, .55); }
		13%, 27% { box-shadow: 0 8px 22px rgba(0, 0, 0, .35), 0 0 0 12px rgba(230, 96, 49, 0); }
	}
	.tpr-dock { animation: tpr-up .5s 1.2s both cubic-bezier(.2, .7, .2, 1); }

	/* Thẻ dự án / tin: nổi nhẹ khi rê chuột (máy tính) */
	@media (hover: hover) {
		.tpr-card, .tpr-news-card, .tpr-news-feat, .tpr-reason { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .6s ease; }
		.tpr-card:hover, .tpr-news-card:hover, .tpr-news-feat:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(243, 217, 164, .5); }
		.tpr-reason:hover { transform: translateY(-3px); border-color: var(--gold); }
		.tpr-card:hover .tpr-card__cta { filter: brightness(1.08); }
	}

	/* Popup dự án: thanh CTA trượt lên, số liệu và chip loại căn hiện lần lượt */
	.tpr-modal[open] .tpr-pd__bar { animation: tpr-up .45s .25s both cubic-bezier(.2, .7, .2, 1); }
	.tpr-pd__sec[open] .tpr-pd__unit { animation: tpr-up .35s both; }
	.tpr-pd__sec[open] li:nth-child(2) .tpr-pd__unit { animation-delay: .04s; }
	.tpr-pd__sec[open] li:nth-child(3) .tpr-pd__unit { animation-delay: .08s; }
	.tpr-pd__sec[open] li:nth-child(4) .tpr-pd__unit { animation-delay: .12s; }
	.tpr-pd__sec[open] li:nth-child(n+5) .tpr-pd__unit { animation-delay: .16s; }
	.tpr-pd__sec[open] .tpr-pd__sec-b { animation: tpr-fade .3s ease-out; }
	.tpr-modal[open] .tpr-pd__nums li { animation: tpr-up .45s both cubic-bezier(.2, .7, .2, 1); }
	.tpr-modal[open] .tpr-pd__nums li:nth-child(2) { animation-delay: .06s; }
	.tpr-modal[open] .tpr-pd__nums li:nth-child(3) { animation-delay: .12s; }

	/* Gửi form thành công: dấu tích bật nhẹ */
	.tpr-modal .wpcf7-form.sent .tpr-cf7__check { animation: tpr-pop-in .5s cubic-bezier(.2, 1.4, .4, 1) both; }

	/* Trang chủ: chữ giới thiệu hiện dần ngay khi tải */
	.tpr-intro > * { animation: tpr-up .6s both cubic-bezier(.2, .7, .2, 1); }
	.tpr-intro > :nth-child(2) { animation-delay: .08s; }
	.tpr-intro > :nth-child(3) { animation-delay: .16s; }
	.tpr-intro > :nth-child(4) { animation-delay: .24s; }

	@keyframes tpr-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
	@keyframes tpr-fade { from { opacity: 0; } to { opacity: 1; } }
	@keyframes tpr-pop-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
}

/* 12. Danh mục dự án /du-an/, khu vực /khu-vuc/, footer "Khám phá" (11/2026) ------- */
.tpr-card__title a { color: inherit; }
.tpr-chip__count { margin-left: 4px; opacity: .7; font-weight: 400; }
.tpr-page--projects .tpr-grid--cards { margin-top: 8px; }
.tpr-page--projects .tpr-projects__empty { display: grid; justify-items: center; gap: 16px; margin-top: 48px; padding: 32px 20px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-soft); text-align: center; }
.tpr-footer__nav ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.tpr-footer__nav a { color: #d6deee; }
.tpr-footer__nav a:hover { color: var(--gold-2); }
.tpr-footer__nav .tpr-eyebrow { margin-bottom: 12px; }
.tpr-footer__areas { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }

/* 13. Tên thương hiệu dài hơn (Tâm Phát Review): H1 trang chủ giữ 1 dòng trên mobile */
@media (max-width: 479px) { .tpr-intro__title { font-size: 8.4vw; white-space: nowrap; } }

/* 14. Dự án cùng khu vực (cuối trang chi tiết) */
.tpr-related { margin-top: 48px; padding: 56px 0 64px; background: var(--navy-900); color: #fff; }
.tpr-related__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.tpr-related__title { font-size: 24px; line-height: 1.3; font-weight: 700; }
@media (min-width: 1024px) { .tpr-related__title { font-size: 28px; } }
.tpr-related__all { color: var(--gold-2); font-weight: 600; }
.tpr-related__all:hover { text-decoration: underline; text-underline-offset: 3px; }
.tpr-related__links { display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* 15. Lọc mức giá + nhãn khu vực/mức giá trên trang danh mục; thẻ thiếu giá */
.tpr-chips__label { display: inline-flex; align-items: center; min-width: 72px; height: 36px; margin-right: 4px; color: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tpr-chips--price { margin-top: 24px; } /* 26/11 Kiệt: tách rõ Khu vực và Phân khúc */
.tpr-card__badge--ask { background: rgba(7, 17, 43, .72); color: #fff; border: 1px solid rgba(243, 217, 164, .6); }
@media (max-width: 767px) { .tpr-chips__label { width: 100%; height: auto; margin: 4px 0 0; } }

/* 16. Box nội dung trong bài (khối Group của WP): bỏ căn lề "constrained" của WP, danh sách có dấu rõ ràng */
.tpr-box > .wp-block-group__inner-container > * { max-width: none; margin-left: 0 !important; margin-right: 0 !important; }
.tpr-box > .wp-block-group__inner-container > :first-child { margin-top: 0; }
.tpr-box > .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.tpr-box p { margin: 0 0 10px; }
.tpr-box ul, .tpr-box ol { display: grid; gap: 10px; margin: 0; padding-left: 0; list-style: none; }
.tpr-box li { position: relative; margin: 0; padding-left: 26px; line-height: 1.6; }
.tpr-box ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.tpr-box ul.tpr-checklist li::before { left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tpr-box ol { counter-reset: tprbox; }
.tpr-box ol li { counter-increment: tprbox; }
.tpr-box ol li::before { content: counter(tprbox) "."; position: absolute; left: 0; top: 0; font-weight: 700; color: #8a6420; }
.tpr-article__author-link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--brand); }
.tpr-article__author-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Trang tác giả /ban-bien-tap/ */
.tpr-editorial__id { display: flex; gap: 20px; align-items: flex-start; margin-top: 8px; }
.tpr-editorial__logo { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--gold); }
.tpr-editorial__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
@media (min-width: 1024px) { .tpr-editorial__logo { flex-basis: 96px; width: 96px; height: 96px; } }
.tpr-editorial__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.tpr-editorial__facts li { padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 14px; color: #dbe3f3; }
.tpr-editorial__facts strong { color: var(--gold-2); }
.tpr-editorial__sec { padding-block: 40px 8px; }
.tpr-editorial__h2 { font-size: 24px; font-weight: 800; line-height: 1.3; margin: 0 0 12px; }
.tpr-editorial__lead { max-width: 780px; color: #42506d; margin: 0 0 20px; }
.tpr-editorial__steps { counter-reset: s; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .tpr-editorial__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tpr-editorial__steps { grid-template-columns: repeat(4, 1fr); } }
.tpr-editorial__steps li { position: relative; padding: 46px 20px 20px; border: 1px solid #e3e8f2; border-radius: var(--radius); background: #fff; }
.tpr-editorial__steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 16px; left: 20px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.tpr-editorial__steps h3 { font-size: 17px; margin: 0 0 6px; }
.tpr-editorial__steps p { margin: 0; font-size: 15px; color: #5b6680; }
.tpr-editorial__more { margin-top: 24px; }
.tpr-editorial__note { margin-top: 20px; padding: 14px 18px; border-left: 4px solid var(--gold); background: #f5f7fb; border-radius: 0 12px 12px 0; font-size: 15px; color: #42506d; }
.tpr-editorial__all { margin-top: 20px; text-align: center; }
.tpr-editorial__cta { padding-bottom: 64px; }

/* Giới thiệu + trang CEO */
.tpr-about__hero { padding-bottom: 44px; }
.tpr-about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tpr-about__stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.tpr-about__stats strong { display: block; font-size: 30px; line-height: 1.1; color: var(--gold-2); }
.tpr-about__stats span { font-size: 13px; color: #c8d3ea; }
.tpr-about__sec { padding-block: 48px; }
.tpr-about__split { display: grid; gap: 32px; }
@media (min-width: 1024px) { .tpr-about__split { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; } }
.tpr-about__h2 { font-size: 26px; font-weight: 800; line-height: 1.3; margin: 0 0 14px; }
.tpr-about__sec p { color: #42506d; }
.tpr-about__quote { margin: 22px 0 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--gold); }
.tpr-about__quote p { font-size: 18px; font-style: italic; color: #17213a; }
.tpr-about__quote cite { display: block; margin-top: 6px; font-size: 13px; font-style: normal; color: #5b6680; }
.tpr-about__cards { display: grid; gap: 14px; }
.tpr-about__card { display: block; padding: 20px 22px; border: 1px solid #e3e8f2; border-radius: var(--radius); background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.tpr-about__card:hover { border-color: var(--gold); box-shadow: 0 6px 20px rgba(6, 22, 54, .08); }
.tpr-about__card h3 { font-size: 17px; margin: 0 0 6px; }
.tpr-about__card p { margin: 0 0 8px; font-size: 15px; }
.tpr-about__card span { font-size: 14px; font-weight: 600; color: var(--brand); }
.tpr-about__band { background: #f5f7fb; }
.tpr-about__links { display: flex; flex-wrap: wrap; gap: 18px; }
.tpr-about__links a, .tpr-about__more { font-weight: 600; color: var(--brand); }
.tpr-about__box { padding: 22px 24px; border: 1px solid #e3e8f2; border-radius: var(--radius); background: #fff; }
.tpr-about__box h3 { font-size: 17px; margin: 0 0 10px; }
.tpr-about__box ul { margin: 0; padding-left: 20px; color: #42506d; }
.tpr-about__box li { margin-bottom: 8px; }
.tpr-about__behind { display: grid; gap: 22px; align-items: center; margin-top: 6px; }
@media (min-width: 640px) { .tpr-about__behind { grid-template-columns: 140px 1fr; } }
.tpr-about__behind img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: top; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gold); background: #fff; }
.tpr-about__small { font-size: 13px; color: #5b6680 !important; }
.tpr-about__narrow { max-width: 780px; }
.tpr-about__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tpr-about__facts li { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 13px; color: #dbe3f3; }
.tpr-about__fig { margin: 0; }
.tpr-about__fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.tpr-about__fig figcaption { margin-top: 6px; font-size: 13px; color: #5b6680; }
.tpr-about__cta { padding-bottom: 64px; }
.tpr-about__cta .tpr-cta-band { margin-top: 8px; }
.tpr-about__sec p + p, .tpr-about__sec p + .tpr-about__links { margin-top: 12px; } .tpr-about__behind p { margin: 0 0 8px; }

/* Trang Liên hệ (/lien-he/, 19/11) */
.tpr-contact__hero { padding-bottom: 110px; }
.tpr-contact__quick { display: grid; gap: 20px; margin-top: -76px; position: relative; }
@media (min-width: 900px) { .tpr-contact__quick { grid-template-columns: 1.15fr 1fr; gap: 28px; } }
.tpr-contact__card { display: flex; flex-direction: column; gap: 8px; padding: 30px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 40px -24px rgba(6, 22, 54, .35); }
.tpr-contact__ico { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: #fdf8ee; color: #8a6420; }
.tpr-contact__ico--cta { background: #fdf1eb; color: var(--cta); }
.tpr-contact__label { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a6420; }
.tpr-contact__big { font-size: 30px; line-height: 1.2; font-weight: 800; color: #0d1c3d; }
.tpr-contact__big--mail { font-size: 21px; overflow-wrap: anywhere; }
.tpr-contact__desc { color: var(--c-muted); font-size: 15px; }
.tpr-contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tpr-contact__zalo { background: #0068ff; color: #fff; border-color: #0068ff; }
.tpr-contact__zalo:hover { color: #fff; filter: brightness(1.08); }
.tpr-contact__ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.tpr-contact__main { display: grid; gap: 28px; align-items: start; padding-block: 48px 64px; }
@media (min-width: 900px) { .tpr-contact__main { grid-template-columns: 1.15fr 1fr; } }
.tpr-contact__formbox, .tpr-contact__office { display: grid; gap: 14px; padding: 30px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
@media (max-width: 767px) { .tpr-contact__formbox, .tpr-contact__office, .tpr-contact__card { padding: 20px 18px; } .tpr-contact__big { font-size: 26px; } .tpr-contact__big--mail { font-size: 18px; } }
.tpr-contact__h2 { font-size: 26px; line-height: 1.25; font-weight: 800; color: #0d1c3d; }
.tpr-contact__extra { display: grid; gap: 14px; }
.tpr-contact__f { position: relative; display: block; }
.tpr-contact__fi { position: absolute; left: 16px; top: 16px; z-index: 1; color: var(--gold); pointer-events: none; }
.tpr-contact__f input, .tpr-contact__f textarea { display: block; width: 100%; padding: 13px 16px 13px 46px; border: 1px solid #cfd7e6; border-radius: var(--radius-sm); background: #fff; color: #17213a; font: inherit; font-size: 16px; line-height: 1.5; }
.tpr-contact__f input { height: 50px; }
.tpr-contact__f input:focus, .tpr-contact__f textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 163, 94, .25); }
.tpr-contact__f input::placeholder, .tpr-contact__f textarea::placeholder { color: #7a869f; }
.tpr-contact__f input::-webkit-calendar-picker-indicator { display: none !important; }
.tpr-contact__f textarea { resize: vertical; min-height: 96px; }
.tpr-contact__office svg { flex: none; margin-top: 2px; color: var(--gold); }
.tpr-contact__row { display: flex; gap: 12px; align-items: flex-start; }
.tpr-contact__strong { font-size: 18px; font-weight: 700; color: #0d1c3d; }
.tpr-contact__row a { font-weight: 600; color: var(--brand); }
/* Form CF7 trên nền sáng */
.tpr-contact .wpcf7 { margin: 0; }
.tpr-contact .wpcf7 .hidden-fields-container { display: none; margin: 0; padding: 0; border: 0; }
.tpr-contact .tpr-cf7__title, .tpr-contact .tpr-cf7__sub, .tpr-contact .tpr-cf7__close, .tpr-contact .tpr-cf7__back, .tpr-contact .wpcf7-spinner { display: none; }
.tpr-contact .tpr-cf7__field input { border-color: #cfd7e6; background: #fff; color: #17213a; }
.tpr-contact .tpr-cf7__field input::placeholder { color: #7a869f; }
.tpr-contact .tpr-cf7__field input:-webkit-autofill { -webkit-text-fill-color: #17213a; -webkit-box-shadow: 0 0 0 40px #fff inset; caret-color: #17213a; }
.tpr-contact .tpr-cf7__icon { filter: brightness(0) saturate(100%) invert(60%) sepia(30%) saturate(500%) hue-rotate(5deg); }
.tpr-contact .tpr-cf7__legal { color: #44536f; line-height: 1.4; }
.tpr-contact .tpr-cf7__submit { letter-spacing: .06em; }
.tpr-contact .tpr-cf7__legal a { color: var(--brand); }
.tpr-contact .tpr-cf7 .wpcf7-not-valid-tip { color: #c2410c; }
.tpr-contact .wpcf7-response-output { margin: 12px 0 0 !important; padding: 10px 12px !important; border-radius: 8px; font-size: 14px; color: #9a3412; }
.tpr-contact .wpcf7-form.init .wpcf7-response-output, .tpr-contact .wpcf7-form.invalid .wpcf7-response-output, .tpr-contact .wpcf7-form.sent .wpcf7-response-output { display: none; }
.tpr-contact .wpcf7-form.submitting .tpr-cf7__submit { opacity: .7; pointer-events: none; }
.tpr-contact .wpcf7-form.sent .tpr-cf7__fields { display: none; }
.tpr-contact .wpcf7-form.sent .tpr-cf7__success { display: grid; justify-items: center; gap: 12px; padding: 12px 0 4px; color: #17213a; }
.tpr-contact .tpr-cf7__success-desc a { color: var(--brand); }
.tpr-contact__formbox:has(.wpcf7-form.sent) > .tpr-contact__h2, .tpr-contact__formbox:has(.wpcf7-form.sent) > .tpr-contact__desc { display: none; }

/* 25/11: bỏ thông tin Tâm Phát Real (khối CEO, văn phòng, email) */
.tpr-quote__inner--solo { justify-items: center; text-align: center; }
@media (min-width: 1024px) { .tpr-quote__inner.tpr-quote__inner--solo { grid-template-columns: minmax(0, 720px); justify-content: center; justify-items: center; text-align: center; } .tpr-quote__inner--solo .tpr-quote__actions { justify-content: center; } .tpr-quote__inner--solo .tpr-quote__actions .tpr-btn { flex: 0 0 auto; } }
@media (min-width: 900px) { .tpr-contact__main.tpr-contact__main--solo { grid-template-columns: minmax(0, 760px); justify-content: center; } }
.tpr-pd__disclaimer { margin: 20px 0 0; padding: 14px 16px; border: 1px dashed var(--c-line); border-radius: var(--radius-sm); background: #f7f9fc; color: var(--c-muted); font-size: 13px; line-height: 1.55; }
.tpr-pd__disclaimer strong { color: var(--c-text); }
.tpr-about__disclaimer ul { margin: 12px 0 0; }
@media (min-width: 640px) { .tpr-about__behind.tpr-about__behind--text { grid-template-columns: 1fr; } }

/* 26/11 Kiệt: điện thoại chỉ hiện hình logo, không hiện chữ "Tâm Phát Review" cạnh logo ở đầu trang */
@media (max-width: 767px) { .tpr-header .tpr-logo__sep, .tpr-header .tpr-logo__text { display: none; } }

/* 26/11 Kiệt: trang danh mục dự án: ô tìm + 2 ô xổ xuống Khu vực, Phân khúc chung 1 cụm (điện thoại: tìm ở trên, 2 ô dưới; máy tính: 1 hàng) */
.tpr-listsearch { display: grid; gap: 12px; max-width: 960px; }
.tpr-chipsel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tpr-listsearch .tpr-select select { height: 54px; padding: 0 40px 0 20px; border: 2px solid var(--c-line); border-radius: 999px; background: #fff; color: var(--c-text); font-size: 15px; }
.tpr-listsearch .tpr-select select:focus { outline: none; border-color: var(--cta); }
@media (min-width: 768px) { .tpr-listsearch { grid-template-columns: minmax(0, 1fr) 440px; } }
@media (max-width: 767px) { .tpr-listsearch .tpr-select select { padding: 0 32px 0 16px; font-size: 14px; } .tpr-listsearch .tpr-select .tpr-ico { right: 12px; } }

/* 26/11 Kiệt: trang tin tức trên điện thoại chia cụm theo chuyên mục; máy tính giữ bố cục cũ */
.tpr-news-cats { display: none; }
@media (max-width: 767px) {
	.tpr-chips--newsidx, .tpr-page--newsidx .tpr-news__label--latest, .tpr-page--newsidx [data-loadmore-grid], .tpr-page--newsidx .tpr-loadmore { display: none; }
	.tpr-news-cats { display: grid; gap: 32px; margin-top: 32px; }
	.tpr-news-cats__sec { display: grid; gap: 12px; }
	.tpr-news-cats__title { font-size: 20px; font-weight: 800; color: var(--c-text); }
	.tpr-news-cats__title a { color: inherit; text-decoration: none; }
	.tpr-news-cats__more { justify-self: center; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--c-link); text-decoration: none; }
}

/* 26/11 Kiệt: đầu trang danh sách (Tin tức, Danh mục dự án, Khu vực) nền trắng như trang bài viết */
.tpr-page--list .tpr-pagehead { --c-text: #0d1c3d; --c-muted: #5b6783; background: transparent; color: #0d1c3d; padding-bottom: 8px; } /* 26/11 Kiệt: cùng màu nền với phần dưới */
.tpr-page--list .tpr-pagehead__title { color: #0d1c3d; }
.tpr-page--list .tpr-pagehead__sub { color: #5b6783; }
.tpr-page--list .tpr-pagehead .tpr-crumb a:hover { color: var(--brand); }
.tpr-page--list .tpr-pagehead .tpr-chip { --c-line: #d9e0ee; --c-soft: #fff; --c-text: #17213a; }
.tpr-page.tpr-page--list .tpr-pagehead .tpr-chip:hover { color: var(--brand); border-color: var(--brand); background: #fff; }
.tpr-page.tpr-page--list .tpr-pagehead .tpr-chip.is-active { color: #fff; border-color: var(--brand); background: var(--brand); }

/* 26/11: nhãn Tóm tắt dự án không xuống dòng ("Giá tham khảo:") */
.tpr-pd__sum > div { grid-template-columns: 132px minmax(0, 1fr); }
.tpr-pd__sum dt { white-space: nowrap; }

/* 26/11: dòng link khu vực cuối trang danh mục dự án */
.tpr-arealinks { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 14px; color: var(--c-muted); }
.tpr-arealinks span { font-weight: 600; }
.tpr-arealinks a { color: var(--c-link); text-decoration: none; }
.tpr-arealinks a:hover, .tpr-arealinks a[aria-current] { text-decoration: underline; }

/* 26/11 Kiệt: ô tìm danh mục dự án không nổi bật hơn 2 ô xổ xuống; ô nào đang dùng (focus) mới nổi */
.tpr-listsearch .tpr-search input { border: 2px solid var(--c-line); box-shadow: none; }
.tpr-listsearch .tpr-search input:hover, .tpr-listsearch .tpr-select select:hover { border-color: #c3cde0; }
.tpr-page .tpr-listsearch .tpr-search input:focus, .tpr-page .tpr-listsearch .tpr-select select:focus { border-color: var(--cta); box-shadow: 0 0 0 4px rgba(230, 96, 49, .15); }
.tpr-listsearch .tpr-search .tpr-ico { color: var(--c-muted); }

/* 26/11 Kiệt: trang Liên hệ 2 khối (trái form, phải Hotline/Zalo), không còn khối giờ làm việc */
.tpr-contact__main--two { margin-top: -76px; padding-top: 0; position: relative; }
@media (min-width: 900px) { .tpr-contact__main--two { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } .tpr-contact__main--two .tpr-contact__card { position: sticky; top: 96px; } }
.tpr-contact__main--two .tpr-contact__formbox { box-shadow: 0 18px 40px -24px rgba(6, 22, 54, .35); }
.tpr-contact__main--two .tpr-contact__btns .tpr-btn { flex: 1 1 140px; }

/* 26/11 Kiệt: trang Giới thiệu mới (mẫu v5) */
.tpr-ab-hero { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .tpr-ab-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.tpr-ab-lead { margin: 10px 0 4px; font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--gold-2); }
.tpr-ab-stats { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpr-ab-stats li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: rgba(255, 255, 255, .06); }
.tpr-ab-stats .tpr-ab-stats__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; margin-top: 2px; border-radius: 12px; background: rgba(232, 196, 104, .18); border: 1px solid rgba(232, 196, 104, .35); color: #e8c468; }
.tpr-ab-stats strong { display: block; font-size: 28px; line-height: 1.1; font-weight: 800; color: #fff; }
.tpr-ab-stats strong em { font-style: normal; font-size: 16px; font-weight: 700; color: var(--gold-2); }
.tpr-ab-stats div > span { display: block; margin-top: 3px; font-size: 13px; color: #c8d3ea; }
@media (max-width: 767px) { .tpr-ab-stats { grid-template-columns: 1fr; gap: 10px; } .tpr-ab-stats li { padding: 12px 14px; } .tpr-ab-stats strong { font-size: 24px; } .tpr-ab-lead { font-size: 17px; } }
.tpr-ab-phone { position: relative; display: flex; justify-content: center; min-height: 300px; margin: 0; }
.tpr-ab-phone img:first-child { position: relative; z-index: 2; width: 250px; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
.tpr-ab-phone__bg { position: absolute; z-index: 1; right: 0; top: 12%; width: 78%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; opacity: .55; }
@media (max-width: 1023px) { .tpr-ab-phone img:first-child { width: 210px; } .tpr-ab-phone__bg { width: 90%; right: 5%; } }
.tpr-ab-intro { max-width: 760px; }
.tpr-ab-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 4px; }
.tpr-ab-strip a { position: relative; display: block; border-radius: 14px; overflow: hidden; }
.tpr-ab-strip img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.tpr-ab-strip a:hover img { transform: scale(1.03); }
.tpr-ab-strip span { position: absolute; left: 10px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(6, 22, 58, .75); color: #fff; font-size: 12.5px; font-weight: 600; }
@media (max-width: 767px) { .tpr-ab-strip { grid-template-columns: 1fr 1fr; } .tpr-ab-strip a:first-child { grid-column: 1 / -1; } }
.tpr-ab-grid3 { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 900px) { .tpr-ab-grid3 { grid-template-columns: repeat(3, 1fr); } }
.tpr-ab-card { display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.tpr-ab-card > span { margin-top: auto; padding-top: 8px; }
.tpr-ab-shot { display: block; width: calc(100% + 44px); max-width: none; height: auto; aspect-ratio: 760 / 335; object-fit: cover; margin: -20px -22px 12px; border-bottom: 1px solid #e3e8f2; background: #f5f7fb; }
.tpr-ab-list { margin: 4px 0 6px; padding-left: 18px; font-size: 14.5px; color: #42506d; }
.tpr-ab-list li { margin-bottom: 6px; }
.tpr-ab-segs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0; }
.tpr-ab-segs div { padding: 10px 12px; border-radius: 12px; background: #f5f7fb; border: 1px solid #e3e8f2; }
.tpr-ab-segs b { display: block; font-size: 14px; color: #0d1c3d; }
.tpr-ab-segs small { font-size: 12.5px; color: #5b6783; }
.tpr-ab-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tpr-ab-steps li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid #e3e8f2; border-radius: 16px; }
.tpr-ab-steps span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.tpr-ab-steps b { display: block; color: #0d1c3d; }
.tpr-ab-steps small { font-size: 13px; color: #5b6783; }
.tpr-ab-a { font-weight: 600; color: var(--brand); }
.tpr-ab-contact { padding: 26px; border-radius: 18px; background: linear-gradient(135deg, #0b2e72, #06163a); }
.tpr-about__sec .tpr-ab-contact__k { margin: 0 0 8px; color: #c8d3ea; }
.tpr-about__sec .tpr-ab-contact__v { margin: 0; font-size: 22px; color: #fff; }
.tpr-ab-contact__v a { font-weight: 800; color: var(--gold-2); text-decoration: none; }
.tpr-about__sec .tpr-ab-contact__s { margin: 8px 0 0; font-size: 13px; color: #c8d3ea; }
.tpr-ab-tight { padding-top: 8px; }
.tpr-ab-callout { padding: 20px 24px; background: #f1f4f9; border-left: 4px solid #b8c3d8; border-radius: 12px; }
.tpr-ab-callout .tpr-about__h2 { font-size: 20px; }
.tpr-ab-callout p { margin: 0 0 8px; font-size: 14.5px; }
.tpr-ab-next { padding: 28px; border: 1px solid #e3e8f2; border-radius: 18px; background: #fff; text-align: center; }
.tpr-ab-next__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
@media (max-width: 767px) { .tpr-ab-next__btns { flex-direction: column; } .tpr-ab-next__btns .tpr-btn { width: 100%; } }
.tpr-ab-btn2 { border: 2px solid var(--brand); background: #fff; color: var(--brand); }
.tpr-ab-btn2:hover { background: var(--brand); color: #fff; }
.tpr-ab-faq { display: grid; gap: 10px; margin-top: 14px; }
.tpr-ab-faq details { padding: 16px 20px; border: 1px solid #e3e8f2; border-radius: 14px; background: #fff; }
.tpr-ab-faq summary { font-weight: 700; color: #0d1c3d; cursor: pointer; }
.tpr-ab-faq p { margin: 10px 0 0; }

/* 26/11 Kiệt: đầu trang dự án cùng nền với phần dưới, như các trang danh sách */
.tpr-project .tpr-pagehead { --c-text: #0d1c3d; --c-muted: #5b6783; background: transparent; color: #0d1c3d; padding-bottom: 4px; }
.tpr-project .tpr-pagehead__title { color: #0d1c3d; }
.tpr-project .tpr-pagehead .tpr-crumb a:hover { color: var(--brand); }

/* 26/11 Kiệt: bảng giá theo dòng sản phẩm (inc/project-price.php) */
.tpr-price { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #e3e8f2; } /* nằm đầu khung Thông tin chi tiết */
.tpr-price__h { line-height: 1.3; font-weight: 800; color: #0d1c3d; margin-bottom: 14px; }
.tpr-price__wrap { overflow-x: auto; }
.tpr-price__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tpr-price__table th, .tpr-price__table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #e8ecf3; vertical-align: top; }
.tpr-price__table thead th { font-size: 14px; font-weight: 700; color: #0d1c3d; border-bottom-width: 2px; }
.tpr-price__table tbody th { font-weight: 500; color: #17213a; }
.tpr-price__table td { color: #5b6783; white-space: nowrap; }
.tpr-price__table td strong { color: #0d1c3d; font-weight: 700; }
.tpr-price__table tbody tr:last-child th, .tpr-price__table tbody tr:last-child td { border-bottom: 0; }
.tpr-price__note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: #6b7690; }
.tpr-price__cta { margin-top: 14px; }
.tpr-price__h { font-size: 22px; }

/* 26/11 Kiệt: khối giá nổi bật đầu cột phải trang dự án */
.tpr-pd__price { padding: 16px 18px; border-radius: 12px; background: linear-gradient(135deg, #fff7e6, #fdecc8); border: 1px solid #f1d9a3; }
.tpr-pd__price-l { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a6420; }
.tpr-pd__price-v { margin-top: 2px; font-size: 32px; line-height: 1.15; font-weight: 800; color: #0d1c3d; }
.tpr-pd__price-m2 { margin-top: 4px; font-size: 15px; color: #5b6783; }
.tpr-pd__price-note { margin-top: 6px; font-size: 13px; line-height: 1.4; color: #6b5a3a; }
.tpr-pd__price-link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--brand); }
.tpr-pd__price-link:hover { text-decoration: underline; }

/* 26/11 Kiệt: danh mục/khu vực 9 dự án mỗi lượt; điện thoại hiện 6 (thẻ 7-9 hiện khi bấm Xem thêm) */
@media (max-width: 767px) { .tpr-card--mhide { display: none; } }

/* Kiệt 01/12: nút nhận bảng giá + Zalo nằm trong khối giá; cột tóm tắt gọn để vừa 1 màn hình máy tính */
.tpr-pd__price-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.tpr-pd__price-cta .tpr-btn { min-height: 46px; padding: 10px 12px; font-size: 15px; line-height: 1.2; white-space: nowrap; text-align: center; }
.tpr-pd__offer--top .tpr-pd__price-cta { margin-top: 12px; }
@media (min-width: 1024px) {
	.tpr-pd--side { gap: 10px; }
	.tpr-pd--side .tpr-maplink--side { margin-top: 0; padding-block: 9px; }
	.tpr-pd--side .tpr-pd__sum { gap: 6px; }
	.tpr-pd--side .tpr-pd__sum dt, .tpr-pd--side .tpr-pd__sum dd { font-size: 14px; line-height: 1.35; }
	.tpr-pd--side .tpr-pd__price-v { font-size: 28px; }
}
