/* RBDS — reviewbatdongsan.vn
   Bố cục: báo điện tử, cột nội dung + sidebar 300px dính; vị trí quảng cáo A1–A6. */

/* Font tự lưu trên site: mỗi file chứa cả Latin + tiếng Việt (Google Fonts tách tiếng Việt ra file riêng,
   tải lệch nhau làm dấu bị rời "suâ´t"). Giấy phép OFL trong assets/fonts/. */
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/be-vietnam-pro-400.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/be-vietnam-pro-500.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/be-vietnam-pro-600.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700 800; font-display: swap; src: url(../fonts/be-vietnam-pro-700.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(../fonts/literata-600.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/literata-700.woff2) format("woff2"); }
:root {
	--brand: #C8102E;
	--brand-ink: #9E0C24;
	--ink: #101B2B;
	--muted: #5B6576;
	--line: #E2E5EB;
	--bg: #F4F5F8;
	--surface: #FFFFFF;
	--soft: #EEF0F4;
	--gold: #8F6717;
	--gold-soft: #FBF4E4;
	--ok: #1C7C4E;
	--ph: #D9DDE4;
	--slot: #F8F2F3;
	--f-display: "Literata", Georgia, "Times New Roman", serif;
	--f-ui: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif;
	--f-mono: ui-monospace, "SFMono-Regular", Consolas, "Roboto Mono", monospace;
	--r: 10px;
	--wrap: 1200px;
	--head-h: 120px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head-h); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.6 var(--f-ui); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 16px; }
.wrap--narrow { max-width: 820px; }
@media (min-width: 720px) { .wrap { padding-inline: 24px; } }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); }
.muted { color: var(--muted); font-size: 13.5px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 13px; }
@media (max-width: 719px) { .hide-sm { display: none !important; } }

/* Nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font: 600 14px/1.2 var(--f-ui); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-ink); color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-ghost-inv { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-inv:hover { border-color: #fff; color: #fff; }

/* Topbar & header */
.topbar { background: var(--ink); color: #E9ECF2; font-size: 12.5px; }
.topbar__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.topbar__nav { display: flex; gap: 16px; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: flex; flex-direction: column; line-height: 1; flex: none; }
.logo img { max-height: 44px; width: auto; }
/* Chữ REVIEW (đậm, 30px) dài đúng bằng dòng BATDONGSAN.VN bên dưới (11px, giãn chữ .165em); đổi cỡ chữ một dòng thì phải chỉnh dòng kia */
.logo b { font: 700 30px/1 var(--f-ui); letter-spacing: -.02em; color: var(--brand); -webkit-text-stroke: .4px currentColor; }
.logo small { font-size: 11px; color: var(--muted); letter-spacing: .165em; text-transform: uppercase; margin-top: 4px; margin-right: -.165em; }
.site-search { flex: 1; display: none; max-width: 440px; margin-left: auto; position: relative; }
.site-search input { width: 100%; height: 40px; border: 1px solid var(--line); background: var(--soft); border-radius: 8px; padding: 0 44px 0 14px; font-size: 14px; }
.site-search input:focus { background: var(--surface); border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(200,16,46,.12); }
.site-search__go { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; }
.site-search__go:hover { color: var(--brand); }
.search-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--ink); cursor: pointer; }
@media (min-width: 900px) { .search-btn { display: none; } }
@media (max-width: 899px) {
	.site-header.is-search .site-search { display: block; position: absolute; left: 0; right: 0; top: 100%; max-width: none; margin: 0; padding: 10px 16px 12px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(16,27,43,.08); }
	.site-header.is-search .site-search__go { right: 20px; top: 14px; }
}

/* Gợi ý khi gõ */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 36px rgba(16,27,43,.14); max-height: 70vh; overflow-y: auto; }
.site-header.is-search .suggest { left: 16px; right: 16px; top: calc(100% - 6px); }
.suggest a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 8px; border-radius: 7px; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--soft); color: var(--ink); }
.suggest img, .suggest .suggest__ph { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--ph); }
.suggest b { display: block; font-weight: 600; font-size: 14px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.suggest__all { display: block !important; text-align: center; font-weight: 600; font-size: 13.5px; color: var(--brand); border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 7px 7px !important; }
.suggest__none { padding: 10px; font-size: 13.5px; color: var(--muted); }
.searchform { position: relative; }
.searchform--big { margin-top: 14px; max-width: 620px; }
.searchform--big input { min-height: 46px; font-size: 16px; }
.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.head-actions .btn-brand { gap: .3em; } /* "Booking" + "bài PR" cách nhau bằng một dấu cách */
@media (min-width: 900px) { .site-search { display: block; } .head-actions { margin-left: 0; } }
.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 0 10px; background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
@media (min-width: 900px) { .menu-btn { display: none; } }

/* Thanh chuyên mục kiểu báo điện tử: ngôi nhà · các mục sát nhau từ trái · nút ☰ "Tất cả chuyên mục" ở cuối */
.mainnav { border-top: 1px solid var(--line); }
.mainnav__row { display: flex; align-items: center; gap: 6px; }
.mainnav__list { list-style: none; display: flex; align-items: center; gap: 0 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.mainnav__list::-webkit-scrollbar { display: none; }
.mainnav__list > li { position: relative; flex: none; }
.mainnav__list a { position: relative; display: flex; align-items: center; padding: 11px 9px; font: 500 14.5px/1.2 var(--f-ui); color: var(--ink); white-space: nowrap; }
.mainnav__list a:hover { color: var(--brand); }
.mainnav__list > li > a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 0; height: 2px; border-radius: 2px; background: transparent; }
.mainnav__list > .current-menu-item > a, .mainnav__list > .current-menu-ancestor > a { color: var(--brand); }
.mainnav__list > .current-menu-item > a::after, .mainnav__list > .current-menu-ancestor > a::after { background: var(--brand); }
.mainnav__list .menu-pr > a { color: var(--gold); }
.mainnav__list a:has(.nav-home) { width: 34px; height: 34px; padding: 0; margin-right: 6px; justify-content: center; border-radius: 50%; background: var(--soft); color: var(--muted); }
.mainnav__list a:has(.nav-home)::after { display: none; }
.mainnav__list .current-menu-item > a:has(.nav-home) { color: var(--brand); }
.mainnav__list a:has(.nav-home):hover { background: var(--brand); color: #fff; }
.nav-more { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.nav-more:hover, .nav-more[aria-expanded="true"] { color: var(--brand); background: var(--soft); }
.mainnav .sub-menu { display: none; }
@media (min-width: 900px) {
	.mainnav__list { overflow: visible; }
	.mainnav .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px; box-shadow: 0 10px 30px rgba(16,27,43,.08); z-index: 5; }
	.mainnav li:hover > .sub-menu, .mainnav li:focus-within > .sub-menu { display: block; }
	.mainnav .sub-menu a { padding: 8px 10px; border-radius: 6px; font-size: 14px; }
	.mainnav .sub-menu a:hover { background: var(--soft); }
}
@media (min-width: 900px) and (max-width: 1199px) {
	.mainnav__list a { padding-inline: 7px; font-size: 14px; }
}
/* Điện thoại: dải vuốt ngang; nút menu ở đầu trang mở bảng tất cả chuyên mục */
@media (max-width: 899px) {
	.mainnav__list a { padding: 10px 8px; font-size: 14px; }
	.nav-more { display: none; }
}

/* Bảng tất cả chuyên mục */
.megamenu { border-top: 1px solid var(--line); background: var(--surface); box-shadow: 0 16px 30px rgba(16,27,43,.08); }
.megamenu__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; padding-block: 20px 24px; }
.megamenu__h { font: 700 12px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.megamenu ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.megamenu a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--ink); }
.megamenu a:hover { color: var(--brand); }
@media (max-width: 899px) {
	.megamenu { max-height: calc(100vh - 120px); overflow-y: auto; }
	.megamenu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding-block: 14px 20px; }
}

/* Vị trí quảng cáo */
.ad { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; max-width: 100%; margin-inline: auto; }
.ad__item { display: block; width: 100%; }
.ad__img { width: 100%; height: auto; border-radius: 6px; }
.ad__label { position: absolute; top: 5px; right: 5px; font-size: 9px; font-weight: 700; line-height: 1; letter-spacing: .04em; color: var(--muted); background: rgba(255,255,255,.9); border: 1px solid var(--line); padding: 2px 4px; border-radius: 3px; cursor: default; }
.ad--empty { background: repeating-linear-gradient(135deg, var(--slot) 0 12px, transparent 12px 24px), var(--surface); border: 1.5px dashed #E3A9B2; border-radius: var(--r); color: var(--muted); padding: 12px; font-size: 13px; }
.ad--empty strong { color: var(--ink); font-size: 14px; }
.ad--empty a { color: var(--brand); font-weight: 600; }
.ad__code { position: absolute; top: 8px; left: 10px; font: 600 11px var(--f-mono); color: var(--brand); background: var(--surface); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line); }
.ad__size { font: 500 12px var(--f-mono); }
.ad--leader { margin-block: 18px; max-width: 970px; }
.ad--leader.ad--empty { min-height: 90px; }
.ad--A2 { max-width: 300px; }
.ad--A2.ad--empty { min-height: 600px; width: 100%; }
.ad--A3 { max-width: 300px; }
.ad--A3.ad--empty { min-height: 250px; width: 100%; }
.ad--native { align-items: stretch; text-align: left; background: var(--gold-soft); border: 1px solid rgba(143,103,23,.25); border-radius: var(--r); padding: 14px; }
.ad--native .ad__item { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 14px; align-items: center; }
.ad--native .ad__headline { font: 600 15.5px/1.35 var(--f-display); }
.ad--native.ad--empty { background: var(--gold-soft); border-style: dashed; min-height: 110px; align-items: center; text-align: center; }
.ad--inline { margin-block: 24px; max-width: 728px; }
.ad--inline.ad--empty { min-height: 90px; }
/* Cover page: nền Background U cố định phía sau, nội dung trang chủ nổi lên trên; dải trên cùng và hai bên bấm được */
.cover-skin { position: fixed; inset: 0; z-index: 0; display: block; background-position: center top; background-repeat: no-repeat; }
.cover-skin--h5 { overflow: hidden; }
.cover-skin--h5 iframe { position: absolute; left: 50%; transform: translateX(-50%); border: 0; }
.has-cover-skin .topbar, .has-cover-skin .site-footer { position: relative; z-index: 2; }
.has-cover-skin .site-main { position: relative; z-index: 1; padding-top: 200px; pointer-events: none; }
.has-cover-skin .site-main > * { pointer-events: auto; }
.has-cover-skin .site-main > .wrap { background: var(--bg); border-radius: 12px 12px 0 0; padding-top: 20px; padding-inline: 20px; box-shadow: 0 -6px 24px rgba(16,27,43,.08); }
.ad--bb { margin-block: 22px; max-width: 100%; }
.ad--bb .ad__item, .cover-slot .ad__item { display: block; width: 100%; }
.ad--bb .ad__img { width: 100%; height: auto; border-radius: 6px; }
.cover-slot .ad__img { width: 100%; height: auto; border-radius: 6px; }
/* Banner HTML5: iframe giữ kích thước gốc, thu nhỏ bằng transform (main.js); lớp trong suốt phía trên bắt lượt nhấp */
.ad__item--h5 { display: block; max-width: 100%; }
.ad__h5 { position: relative; display: block; max-width: 100%; overflow: hidden; border-radius: 6px; margin-inline: auto; background: center / cover no-repeat; } /* bề rộng = kích thước gốc (inline), co theo khung */
.ad__h5 iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; }
.ad__h5-hit { position: absolute; inset: 0; z-index: 1; }
.ad__h5-fallback { display: none; }
@media (max-width: 760px) {
	.ad__item--h5 .ad__h5 { display: none; }
	.ad__item--h5 .ad__h5-fallback { display: block; }
}
.ad--house { width: 100%; padding: 18px 16px; gap: 8px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(160deg, #FFF4F5, var(--surface) 60%); }
.ad-house__t { font: 700 15px/1.35 var(--f-display); color: var(--ink); }
.ad-house__d { font-size: 13px; color: var(--muted); line-height: 1.5; }
.ad--sticky { display: none; }
@media (max-width: 760px) {
	.ad--leader.ad--empty { min-height: 100px; }
	.ad--sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0; background: var(--surface); border-top: 1px solid var(--line); padding: 4px 0 calc(4px + env(safe-area-inset-bottom, 0px)); }
	.ad--sticky .ad__item { max-width: 320px; margin-inline: auto; }
	.ad--sticky.ad--empty { flex-direction: row; gap: 10px; min-height: 58px; border-radius: 0; border-width: 1.5px 0 0; padding-block: 8px; }
	.ad--sticky.ad--empty .ad__code { position: static; }
	.ad--sticky.ad--empty .ad__label, .ad--sticky.ad--empty .ad__size { display: none; }
	body:has(.ad--sticky) { padding-bottom: 64px; }
}

/* Bố cục */
.site-main { padding-bottom: 8px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.layout__main { min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.sidebar { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
/* Cột phụ cao bằng cột chính để banner A2 có chỗ "dính" khi cuộn (sticky cần khoảng trống trong phần tử cha). */
.layout > .sidebar { align-self: stretch; }
@media (min-width: 1000px) { .sidebar__sticky { position: sticky; top: calc(var(--head-h) + 12px); } }
/* Khi đăng nhập, thanh admin (32px) đẩy header xuống: cộng thêm để banner không bị che. */
@media (min-width: 783px) { .admin-bar .sidebar__sticky, .admin-bar .summary { top: calc(var(--head-h) + 44px); } }
@media (max-width: 999px) { .sidebar__sticky { display: none; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.box__h { font: 700 16px/1.25 var(--f-ui); margin-bottom: 10px; }
.list-plain { list-style: none; display: flex; flex-direction: column; }
.list-plain li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-plain li:last-child { border-bottom: 0; padding-bottom: 0; }
.list-plain a { font: 600 14.5px/1.4 var(--f-display); }
.list-plain time { font-size: 12px; color: var(--muted); }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 18px; }
.sec-head h2 { font: 700 20px/1.2 var(--f-ui); letter-spacing: -.01em; }
.sec-head a { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.sec-head a:hover { color: var(--brand); }

/* Thẻ */
.thumb { background: var(--ph); border-radius: 8px; aspect-ratio: 16 / 10; overflow: hidden; max-width: 100%; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--muted); }
.cat { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.tag-pr { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(143,103,23,.3); padding: 2px 7px; border-radius: 4px; }
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card__title { font: 600 16.5px/1.35 var(--f-display); }
.card__sub { font-size: 13px; color: var(--muted); }
.card__excerpt { color: var(--muted); max-width: 62ch; }
.card--h { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
.card--h .thumb { aspect-ratio: 4 / 3; }
.card--h .card__title { font-size: 15.5px; }
.card--lead .thumb { aspect-ratio: 16 / 9; border-radius: var(--r); }
.card--lead .card__title { font: 700 clamp(24px, 3vw, 32px)/1.22 var(--f-display); letter-spacing: -.01em; }
.card--du_an:not(.card--h), .card--phan_khu:not(.card--h) { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; gap: 0; }
.card--du_an:not(.card--h) .thumb, .card--phan_khu:not(.card--h) .thumb { border-radius: 0; aspect-ratio: 16 / 9; }
.card--du_an:not(.card--h) .card__body, .card--phan_khu:not(.card--h) .card__body { padding: 12px 14px 14px; }
.card--du_an .card__title, .card--phan_khu .card__title { font: 700 15.5px/1.3 var(--f-ui); }
.chip-status { align-self: flex-start; font-size: 11px; font-weight: 600; color: var(--ok); background: #E4F2EA; padding: 2px 8px; border-radius: 99px; }

.lead { display: grid; gap: 22px; }
@media (min-width: 760px) { .lead { grid-template-columns: 1.55fr 1fr; } }
.lead__side { display: flex; flex-direction: column; gap: 18px; }
.lead__side .card + .card { border-top: 1px solid var(--line); padding-top: 18px; }

.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars div { background: var(--surface); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.pillars b { font-size: 15px; }
.pillars span { font-size: 13px; color: var(--muted); }

.grid-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-logos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.grid-people { display: grid; gap: 18px 14px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.twocol { display: grid; gap: 32px; }
@media (min-width: 760px) { .twocol { grid-template-columns: 1fr 1fr; } }
/* Trang tin: tab chuyên mục + dòng tin có tóm tắt */
.cat-tabs { margin: 14px 0 22px; border-bottom: 1px solid var(--line); }
.cat-tabs ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs ul::-webkit-scrollbar { display: none; }
.cat-tabs a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 600; font-size: 14.5px; color: #3A4556; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.cat-tabs a:hover { color: var(--brand); }
.cat-tabs a[aria-current] { color: var(--brand); border-bottom-color: var(--brand); }
.cat-tabs a span { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--soft); padding: 1px 7px; border-radius: 99px; }
.card--list { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.card--list .thumb { aspect-ratio: 16 / 10; }
.card--list .card__body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.card--list .card__title { font: 700 19px/1.32 var(--f-display); }
.card--list .card__title a:hover { color: var(--brand); }
.card--list .card__excerpt { font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stack--list .card--lead { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.stack--list .card--lead .card__body { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 620px) {
	.card--list { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }
	.card--list .thumb { aspect-ratio: 4 / 3; }
	.card--list .card__title { font-size: 15.5px; }
	.card--list .card__excerpt { display: none; }
}
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--list .card--h { grid-template-columns: 180px minmax(0, 1fr); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .stack--list .card--h { grid-template-columns: 112px minmax(0, 1fr); } }

/* Slide 2 hàng: cột xếp theo chiều ngang, cuộn và "hít" từng cột */
.slider { position: relative; --cols: 5; --gap: 12px; }
.slider__track {
	display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto);
	grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
	gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
	padding: 2px; margin: -2px; /* chừa chỗ cho viền focus */
}
.slider__track::-webkit-scrollbar { display: none; }
.slider--one .slider__track { grid-template-rows: auto; }
.slider__track > * { scroll-snap-align: start; min-width: 0; }
.slider__btn {
	position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -19px;
	display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line);
	background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
	box-shadow: 0 4px 14px rgba(16, 27, 43, .12); transition: border-color .15s, color .15s;
}
.slider__btn:hover { border-color: var(--brand); color: var(--brand); }
.slider__btn--prev { left: -14px; }
.slider__btn--next { right: -14px; }
@media (max-width: 759px) { .slider { --cols: 3; } .slider__btn { display: none; } }
@media (max-width: 479px) { .slider { --cols: 2.4; } } /* lộ một phần cột kế tiếp để người dùng biết vuốt được */
/* Slide chuyên viên: thẻ nhỏ hơn logo nên 6 cột, thêm nền thẻ cho đều hàng */
.logo-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 190px)); }
@media (max-width: 520px) { .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.slider--people { --cols: 6; --gap: 12px; }
.slider--people .person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 8px 12px; height: 100%; justify-content: flex-start; }
.slider--people .person:hover { border-color: #E3A9B2; }
.slider--people .person__name { font-size: 13.5px; }
@media (max-width: 759px) { .slider--people { --cols: 4; } }
@media (max-width: 479px) { .slider--people { --cols: 3.3; } }

.logo-card a { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 10px; height: 100%; text-align: center; }
.logo-card a:hover { border-color: var(--brand); }
/* Logo thường là hình ngang: khung rộng để logo không bị bé */
.logo-card__img { width: 100%; max-width: 140px; height: 64px; display: grid; place-items: center; }
.logo-card__img img { max-height: 64px; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* Danh bạ chuyên viên */
.agent-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.agent-card { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; transition: border-color .15s, box-shadow .15s; }
.agent-card:hover { border-color: #E3A9B2; box-shadow: 0 8px 24px rgba(16,27,43,.07); }
.agent-card__top { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; }
.agent-card__pic .avatar { width: 64px; height: 64px; font-size: 18px; }
.agent-card--ok .agent-card__pic .avatar { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #6FBF95; }
.agent-card__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.agent-card__name { font: 700 16px/1.3 var(--f-ui); display: flex; align-items: center; gap: 6px; }
.agent-card__name a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-card__tick { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 11px; font-weight: 700; }
.agent-card__agency { font-size: 13.5px; font-weight: 500; color: #3A4556; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-card__place { font-size: 12.5px; color: var(--muted); }
.agent-card__projects { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; }
.agent-card__projects span { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.agent-card__projects a { padding: 3px 9px; background: var(--soft); border-radius: 99px; font-weight: 500; }
.agent-card__projects a:hover { background: #FBEDEF; }
.agent-card__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.agent-card__actions .btn { flex: 1; }
.agent-card__more { flex: 0 0 auto !important; }

/* Danh bạ chủ đầu tư / đại lý */
.page-head__count { margin-top: 8px; font-size: 14px; color: var(--muted); }
.page-head__count b { color: var(--ink); font-size: 16px; }
.org-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
@media (max-width: 420px) { .org-grid { grid-template-columns: 1fr; } }
.org-card { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 16px; row-gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; transition: border-color .15s, box-shadow .15s; }
.org-card:hover { border-color: #E3A9B2; box-shadow: 0 8px 24px rgba(16,27,43,.07); }
.org-card__logo { grid-row: 1 / 3; align-self: start; width: 112px; height: 112px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; padding: 10px; background: #fff; }
.org-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.org-card__txt { font-weight: 700; font-size: 24px; color: var(--muted); }
.org-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.org-card__name { font: 700 17px/1.3 var(--f-ui); }
.org-card__name a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; } /* cả thẻ bấm được */
.org-card__stats { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.org-card__stats b { color: var(--brand); }
.org-card__about { font-size: 13.5px; color: #3A4556; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.org-card__projects { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.org-card__projects a { position: relative; z-index: 1; display: inline-block; padding: 3px 9px; font-size: 12px; font-weight: 500; background: var(--soft); border-radius: 99px; }
.org-card__projects a:hover { background: #FBEDEF; }
.org-card__more { position: relative; z-index: 1; grid-column: 2; justify-self: start; font-size: 13px; font-weight: 600; color: var(--brand); }
@media (max-width: 420px) { .org-card { grid-template-columns: 76px minmax(0, 1fr); } .org-card__logo { width: 76px; height: 76px; padding: 6px; } }
.logo-card__txt { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); font-weight: 700; color: var(--muted); }
.logo-card__name { font: 600 13.5px/1.3 var(--f-ui); }

.person { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.person__link { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.person__name { font: 600 14px/1.3 var(--f-ui); }
.person__sub { font-size: 12.5px; color: var(--muted); }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--soft); border: 1px solid var(--line); }
.avatar--txt { display: grid; place-items: center; font-weight: 700; font-size: 20px; color: var(--ink); }
.badge-ok { display: inline-flex; align-items: center; gap: 4px; font: 600 11px/1.4 var(--f-ui); color: var(--ok); background: #E4F2EA; padding: 1px 7px; border-radius: 99px; vertical-align: middle; }
.badge-ok::before { content: "✓"; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-size: 13px; font-weight: 500; }
.chips a:hover { border-color: var(--brand); }
.chips--tags { margin-top: 24px; }

.group-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.group-card:hover { border-color: #E3A9B2; box-shadow: 0 8px 24px rgba(16,27,43,.07); }
.group-card__cover { display: block; aspect-ratio: 16 / 9; background: var(--ph); }
.group-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.group-card__body { flex: 1; padding: 12px 14px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.group-card .card__title { font-size: 15.5px; }
.group-card .card__title a::after { content: ""; position: absolute; inset: 0; } /* cả thẻ bấm được */
.group-card__meta { font-size: 13px; color: #3A4556; line-height: 1.4; }
.group-card__meta span { color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-right: 4px; }
.group-card__stats { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.group-card__cta { position: relative; z-index: 1; margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 600; color: var(--brand); }
.badge-ok { align-self: flex-start; }
.section-hint { margin: -8px 0 14px; }
.link-list__tag { font-size: 11px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand) !important; }
.link-list__go { font-size: 12.5px !important; color: var(--muted); margin-top: 4px; }
.profile .profile__cover--empty { height: 88px; background: linear-gradient(120deg, #1B2A40, #3A2230); } /* chưa có ảnh bìa: dải mỏng thay vì khối tối lớn */

.cta-band { background: var(--ink); color: #E9ECF2; border-radius: 14px; padding: 28px; display: grid; gap: 18px; align-items: center; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; padding: 34px 38px; } }
.cta-band h2 { font: 700 clamp(22px, 2.6vw, 28px)/1.25 var(--f-display); color: #fff; }
.cta-band p { opacity: .85; margin-top: 8px; max-width: 58ch; }
.cta-band__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Breadcrumb, đầu trang danh sách, bộ lọc, phân trang */
.crumbs { font-size: 13px; color: var(--muted); margin-block: 18px 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a:hover { color: var(--brand); }
.crumbs .separator { margin-inline: 6px; }
.page-head h1 { font: 700 clamp(26px, 3.2vw, 34px)/1.2 var(--f-display); }
.page-head__desc { color: var(--muted); margin-top: 8px; max-width: 70ch; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.f { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; min-width: 0; }
.f--grow { flex: 1 1 220px; }
.f input, .f select, .f textarea { min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: var(--bg); font-weight: 400; font-size: 14px; width: 100%; }
.f textarea { padding: 10px 12px; resize: vertical; }
.filters .f select { min-width: 160px; }
.filters--live button[type=submit] { display: none; } /* bộ lọc tự chạy, không cần nút */
#results { transition: opacity .15s; }
#results[aria-busy=true] { opacity: .45; pointer-events: none; }
.pager { margin-top: 8px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-weight: 600; font-size: 14px; }
.pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a.page-numbers:hover { border-color: var(--brand); }
.loadmore { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; }
.loadmore__status { font-size: 13.5px; color: var(--muted); }
.loadmore__status b { color: var(--ink); }
.loadmore__btn { min-width: 240px; min-height: 44px; font-size: 14.5px; }
.loadmore__btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.loadmore__prev { font-size: 13px; color: var(--muted); }
.loadmore__prev:hover { color: var(--brand); }
.is-new { animation: rbds-in .35s ease-out both; }
@keyframes rbds-in { from { transform: translateY(10px); } to { transform: none; } } /* không làm mờ: mục mới luôn đọc được kể cả khi hiệu ứng bị tạm dừng */
.empty { display: flex; flex-direction: column; gap: 14px; color: var(--muted); }
.searchform { display: flex; gap: 8px; }
.searchform input { flex: 1; min-width: 0; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: var(--surface); }

/* Bài viết */
.article__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.article__title { font: 700 clamp(26px, 3.4vw, 38px)/1.2 var(--f-display); letter-spacing: -.01em; }
.article__lede { font-size: 17.5px; line-height: 1.55; color: #2C3646; max-width: 68ch; }
.article__by { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; border-block: 1px solid var(--line); margin-top: 4px; }
.article__author { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.article__author a { font-weight: 600; }
.article__author small { display: block; font-size: 12.5px; color: var(--muted); }
.avatar--sm { width: 36px; height: 36px; font-size: 14px; background: var(--brand); color: #fff; border: 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.share__btn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font: 600 12.5px var(--f-ui); cursor: pointer; }
.share__btn:hover { border-color: var(--brand); color: var(--brand); }
.share__btn.is-done { border-color: var(--ok); color: var(--ok); }
.toc { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 0 var(--r) var(--r) 0; margin-bottom: 24px; max-width: 72ch; }
.toc summary { cursor: pointer; padding: 12px 16px; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "−"; color: var(--muted); }
.toc details:not([open]) summary::after { content: "+"; }
.toc ol { list-style: none; padding: 0 16px 14px; margin: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: toc; }
.toc li { font-size: 14.5px; line-height: 1.45; }
.toc .toc__l2 { counter-increment: toc; display: grid; grid-template-columns: 24px minmax(0, 1fr); }
.toc .toc__l2::before { content: counter(toc) "."; color: var(--brand); font-weight: 700; }
.toc .toc__l3 { padding-left: 24px; font-size: 13.5px; color: var(--muted); }
.toc a:hover { color: var(--brand); }
.prose h2[id], .prose h3[id] { scroll-margin-top: 16px; } /* html đã trừ sẵn chiều cao header */
.admin-bar .prose h2[id], .admin-bar .prose h3[id] { scroll-margin-top: 48px; }
.article__foot { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 72ch; }
.article__foot .chips--tags { margin-top: 0; }
.editorial { background: var(--soft); border-radius: var(--r); padding: 16px 18px; font-size: 14px; color: #2C3646; display: flex; flex-direction: column; gap: 6px; }
.editorial a { color: var(--brand); font-weight: 600; }
.grid-cards--2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.article__hero { margin: 0 0 22px; }
.article__hero img { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 9; object-fit: cover; }
.article__hero figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.notice-pr { background: var(--gold-soft); border: 1px solid rgba(143,103,23,.3); color: #5E4510; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.prose { font-size: 17px; line-height: 1.75; max-width: 72ch; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 700 24px/1.3 var(--f-display); margin-top: 1.6em; }
.prose h3 { font: 700 20px/1.35 var(--f-display); margin-top: 1.4em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose img, .prose figure { border-radius: 8px; margin-inline: 0; }
.prose figcaption, .prose .wp-caption-text { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand); color: #2C3646; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose iframe, .prose video { max-width: 100%; }
.prose .aligncenter { margin-inline: auto; }
.related { margin-top: 12px; }

/* Dự án: trang tổng hợp */
.project-head { display: grid; gap: 16px 24px; margin-bottom: 20px; align-items: end; }
@media (min-width: 900px) { .project-head { grid-template-columns: minmax(0, 1fr) auto; } }
.project-head .eyebrow { display: flex; align-items: center; gap: 10px; }
.project-head .chip-status { letter-spacing: 0; text-transform: none; font-size: 12px; }
.project-head h1 { font: 700 clamp(30px, 4.2vw, 46px)/1.1 var(--f-display); letter-spacing: -.015em; margin-top: 8px; }
.project-head__sub { margin-top: 8px; font-size: 15.5px; color: #3A4556; }
.project-head__sub a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.project-head__sub a:hover { color: var(--brand); }
.project-head__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.project-hero { margin: 0; }
.project-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 14px 14px 0 0; }
@media (max-width: 620px) { .project-hero img { aspect-ratio: 16 / 9; } .project-head__cta .btn { flex: 1 1 100%; } }
.lp-stats--project { border-top: 1px solid var(--line); }
.layout--project { padding-top: 32px; }
@media (min-width: 1000px) { .layout--project { grid-template-columns: minmax(0, 1fr) 320px; } }
.hub-sec { scroll-margin-top: 52px; }
.admin-bar .hub-sec { scroll-margin-top: 84px; }
@media (max-width: 782px) { .admin-bar .hub-sec { scroll-margin-top: 52px; } }
.hub-sec .article__lede { margin-bottom: 18px; max-width: 70ch; }
.facts--project { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.facts--project + .prose { margin-top: 24px; }
.project-head__meta { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.project-head__meta a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
/* Điểm chính, bảng thông tin nhanh, tiến độ */
.takeaways { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 0 var(--r) var(--r) 0; padding: 16px 18px; margin-bottom: 20px; max-width: 78ch; }
.takeaways h3, .progress-note h3 { font: 700 12.5px var(--f-ui); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.takeaways ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.takeaways li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.5; }
.takeaways li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.spec { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 15px; }
.spec caption { text-align: left; font: 700 12.5px var(--f-ui); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.spec th, .spec td { padding: 11px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 0; }
.spec th { width: 34%; max-width: 220px; font-weight: 500; color: var(--muted); background: #FAFBFC; }
.spec td { font-weight: 600; }
.spec td a { color: var(--brand); }
@media (max-width: 520px) { .spec th, .spec td { display: block; width: 100%; max-width: none; } .spec td { border-top: 0; padding-top: 0; } .spec th { background: none; padding-bottom: 2px; font-size: 13px; } }
.progress-note { margin-top: 20px; background: var(--soft); border-radius: var(--r); padding: 16px 18px; font-size: 15.5px; line-height: 1.6; max-width: 78ch; }
.progress-note p + p { margin-top: .6em; }
.spec + .toc, .progress-note + .toc, .spec + .prose, .progress-note + .prose { margin-top: 24px; }
/* Hình ảnh, bản đồ */
.gallery-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--ph); }
.gallery-grid figcaption { font-size: 13px; color: var(--muted); margin-top: 5px; line-height: 1.4; }
.map-addr { margin-bottom: 12px; font-size: 15.5px; }
.map-addr a { color: var(--brand); font-weight: 600; white-space: nowrap; }
.map-embed { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--ph); aspect-ratio: 16 / 9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 620px) { .map-embed { aspect-ratio: 4 / 3; } }
/* Ưu điểm / điểm cần lưu ý */
.proscons { display: grid; gap: 14px; }
@media (min-width: 720px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons__col { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ok); border-radius: var(--r); padding: 16px 18px; }
.proscons__col--con { border-top-color: var(--gold); }
.proscons h3 { font: 700 17px/1.3 var(--f-display); margin-bottom: 10px; }
.proscons ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.proscons li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; }
.proscons li::before { content: "+"; position: absolute; left: 2px; top: 0; font-weight: 700; color: var(--ok); }
.proscons__col--con li::before { content: "!"; color: var(--gold); left: 5px; }
/* Hỏi đáp */
.faq { display: flex; flex-direction: column; gap: 8px; max-width: 80ch; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { font: 600 16px/1.4 var(--f-ui); display: inline; }
.faq__a { padding: 0 16px 16px; font-size: 15.5px; line-height: 1.65; color: #2C3646; }
.faq__a p + p { margin-top: .6em; }
/* Nguồn */
.editorial--project { margin-top: 36px; max-width: 80ch; }
.editorial--project p a { font-weight: 600; }
.sources { padding-left: 1.3em; font-size: 13.5px; display: flex; flex-direction: column; gap: 3px; }
.sources a { font-weight: 500; overflow-wrap: anywhere; }
/* Bài tin: dự án được nhắc đến */
.mention-box { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; max-width: 72ch; }
.mention-box h2 { font: 700 12.5px var(--f-ui); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.mention-box ul { list-style: none; }
.mention-box li + li { border-top: 1px solid var(--line); }
.mention-box a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; }
.mention-box .thumb { aspect-ratio: 1; width: 64px; }
.mention-box b { display: block; font-size: 16px; line-height: 1.3; }
.mention-box small { color: var(--muted); font-size: 13.5px; }
.mention-box__go { color: var(--brand); font-weight: 600; font-size: 14px; white-space: nowrap; }
.mention-box a:hover b { color: var(--brand); }
@media (max-width: 520px) { .mention-box__go { display: none; } .mention-box a { grid-template-columns: 56px minmax(0, 1fr); } .mention-box .thumb { width: 56px; } }
/* Tin tức: bài đầu lớn bên trái, các bài còn lại xếp dọc bên phải */
.news-grid { display: grid; gap: 18px 24px; }
@media (min-width: 760px) {
	.news-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
	.news-grid > .card--v { grid-row: 1 / span 5; }
}
.news-grid .card--h + .card--h { border-top: 1px solid var(--line); padding-top: 18px; }
.agent-grid--hub { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.badge-ok { white-space: nowrap; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0; }
.facts > div { background: var(--surface); padding: 12px 14px; }
.facts dt { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts dd { margin: 3px 0 0; font-weight: 600; font-size: 14.5px; }
.facts dd a { color: var(--brand); }
.facts--stack { grid-template-columns: 1fr; border: 0; background: none; }
.facts--stack > div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; gap: 8px; }
.contact-list__who { display: flex; align-items: center; gap: 10px; }
.contact-list__who .avatar { width: 44px; height: 44px; font-size: 14px; }
.contact-list__who > span:not(.avatar) { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 14px; min-width: 0; } /* chỉ khối tên, không áp vào nhãn xác minh bên trong hay avatar chữ */
.contact-list__who .avatar { flex: none; }
.contact-card__more { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--brand); font-weight: 600; font-size: 14px; }
.contact-list__btns { display: flex; gap: 8px; }

/* Hồ sơ */
.profile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 28px; }
.profile__cover { height: clamp(120px, 20vw, 250px); background: var(--ph) var(--cover, linear-gradient(120deg, #1B2A40, #3A2230)) center / cover no-repeat; }
.profile__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; padding: 0 22px 20px; }
.profile__pic { width: 112px; height: 112px; margin-top: -56px; border-radius: 16px; background: var(--surface); border: 4px solid var(--surface); box-shadow: 0 2px 10px rgba(16,27,43,.12); display: grid; place-items: center; overflow: hidden; flex: none; }
.profile__pic img { width: 100%; height: 100%; object-fit: contain; }
.profile__pic--round { border-radius: 50%; }
.profile__pic--round img { object-fit: cover; }
.profile__pic span { font-weight: 700; font-size: 28px; color: var(--muted); }
.profile__txt { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 12px; }
.profile__txt h1 { font: 700 clamp(24px, 3vw, 32px)/1.2 var(--f-display); }
.profile__actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* Hồ sơ đại lý / chủ đầu tư */
.profile--org { margin-bottom: 0; border-radius: 14px 14px 0 0; border-bottom: 0; }
.profile--org .profile__row { align-items: flex-start; padding-bottom: 22px; }
.profile--org .profile__pic { width: 128px; height: 128px; margin-top: -48px; padding: 10px; }
.profile--org .profile__txt { flex: 1 1 320px; gap: 6px; padding-top: 14px; }
.profile--org .profile__txt .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.profile--org .profile__txt .chip-status { letter-spacing: 0; text-transform: none; font-size: 12px; align-self: center; }
.profile--org .profile__txt h1 { font-size: clamp(28px, 3.8vw, 40px); letter-spacing: -.01em; }
.profile__lede { font-size: 15.5px; line-height: 1.55; color: #3A4556; max-width: 68ch; }
.profile--org .profile__actions { padding-top: 18px; }
.profile__stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border-top: 1px solid var(--line); }
.profile__stats li { display: flex; flex-direction: column; gap: 2px; padding: 16px 8px; text-align: center; border-left: 1px solid var(--line); }
.profile__stats li:first-child { border-left: 0; }
.profile__stats b { font: 700 clamp(24px, 3vw, 32px)/1 var(--f-display); color: var(--brand); font-variant-numeric: tabular-nums; }
.profile__stats span { font-size: 13px; color: var(--muted); }
.profile--org + .lp-nav, .wrap:has(> .profile--org) + .lp-nav { border-top: 1px solid var(--line); }
.hub-sec__note { margin: -6px 0 14px; font-size: 14px; color: var(--muted); }
.org-contact { display: flex; flex-direction: column; gap: 8px; }
.org-contact .box__h { margin-bottom: 4px; }
@media (max-width: 620px) {
	.profile--org .profile__pic { width: 96px; height: 96px; margin-top: -40px; }
	.profile--org .profile__actions { width: 100%; padding-top: 0; }
	.profile--org .profile__actions .btn { flex: 1 1 100%; }
	.profile__stats { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); }
	.profile__stats li { padding: 12px 4px; }
	.profile__stats span { font-size: 11.5px; line-height: 1.3; }
}
.link-list { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.link-list a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.link-list a:hover { border-color: var(--brand); }
.link-list span { font-size: 12.5px; color: var(--muted); }

/* Trang Quảng cáo & PR */
.ad-hero { background: var(--surface); border-bottom: 1px solid var(--line); margin-top: -18px; }
.ad-hero__grid { padding-block: 10px 32px; display: grid; gap: 24px; }
@media (min-width: 900px) { .ad-hero__grid { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.ad-hero h1 { font: 700 clamp(28px, 4vw, 42px)/1.15 var(--f-display); letter-spacing: -.015em; margin-top: 8px; }
.ad-hero__lede { color: var(--muted); margin-top: 12px; max-width: 60ch; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; }
.subnav a:not(.btn) { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; background: var(--bg); }
.ad-sec { padding-top: 40px; }
.ad-sec > h2 { font: 700 24px/1.2 var(--f-ui); letter-spacing: -.01em; }
.ad-sec > .lede { color: var(--muted); margin-top: 6px; max-width: 64ch; }
.mapgrid { display: grid; gap: 24px; margin-top: 22px; }
.mapgrid > *, .booking > *, .ad-hero__grid > * { min-width: 0; }
@media (min-width: 900px) { .mapgrid { grid-template-columns: 320px minmax(0, 1fr); align-items: start; } }
.wire { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 8px; font: 500 11px var(--f-mono); }
.wire .w { background: var(--soft); border-radius: 5px; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.wire .z { background: #F9E3E7; border: 1.5px solid var(--brand); color: var(--brand); border-radius: 5px; display: flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; padding: 0; }
.wire .z.is-hl, .wire .z:hover { background: var(--brand); color: #fff; }
.wire__row { display: grid; grid-template-columns: 1fr 34%; gap: 8px; }
.wire__stack { display: grid; gap: 8px; align-content: start; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.rate { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
.rate th, .rate td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.rate th { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--soft); }
.rate .num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rate tbody tr { cursor: pointer; }
.rate tr.is-hl td { background: #FBEDEF; }
.code { font: 600 12px var(--f-mono); color: var(--brand); }
.note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.packs { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 860px) { .packs { grid-template-columns: repeat(3, 1fr); } }
.pack { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.pack--feat { border: 2px solid var(--brand); }
.pack__badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 3px 9px; border-radius: 99px; }
.pack h3 { font: 700 19px/1.2 var(--f-ui); }
.pack__price { font: 700 28px/1 var(--f-mono); letter-spacing: -.02em; }
.pack__price small { font: 500 13px var(--f-ui); color: var(--muted); letter-spacing: 0; }
.pack ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; flex: 1; }
.pack li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.pack li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: #D5EBDF; box-shadow: inset 0 0 0 4px #4F9C75; }
.steps { list-style: none; margin-top: 22px; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--muted); }
.steps li::before { content: "Bước " counter(s); font: 600 11.5px var(--f-mono); color: var(--brand); }
.steps b { color: var(--ink); font-size: 15px; }
.booking { display: grid; gap: 24px; margin-top: 22px; }
@media (min-width: 960px) { .booking { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.card-form, .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card-form fieldset + fieldset { margin-top: 26px; }
.card-form legend { font: 700 15px var(--f-ui); margin-bottom: 10px; padding: 0; }
.opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.opt { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--bg); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt b { font-size: 14px; }
.opt span { font: 500 13px var(--f-mono); color: var(--muted); }
.opt:has(input:checked) { border-color: var(--brand); background: #FDF3F4; box-shadow: 0 0 0 1px var(--brand); }
.opt:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.fields { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.f--full { grid-column: 1 / -1; }
.err { color: var(--brand); font-size: 12.5px; font-weight: 500; }
.err:empty { display: none; }
.err--form { margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.form-foot .note { margin: 0; }
.cal { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--bg); max-width: 380px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.cal__head button { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.cal__head button:disabled { opacity: .4; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__grid .dow { font-size: 11px; color: var(--muted); font-weight: 700; padding: 4px 0; }
.cal__grid button { aspect-ratio: 1; border: 1px solid transparent; border-radius: 6px; background: var(--surface); font: 500 13px var(--f-mono); cursor: pointer; padding: 0; }
.cal__grid button:hover:not(:disabled) { border-color: var(--brand); }
.cal__grid button:disabled { background: transparent; color: var(--muted); opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.cal__grid button.is-full { background: repeating-linear-gradient(135deg, var(--soft) 0 4px, transparent 4px 8px); text-decoration: none; opacity: .75; }
.cal__grid button.is-sel { background: var(--brand); color: #fff; }
.cal__legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.cal__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.lg-sel { background: var(--brand); }
.lg-full { background: var(--soft); border: 1px solid var(--line); }
.summary { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 960px) { .summary { position: sticky; top: calc(var(--head-h) + 12px); } }
.summary h3 { font: 700 16px var(--f-ui); }
.summary .note { margin: 0; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sum-row span:first-child { color: var(--muted); }
.sum-row span:last-child { font-family: var(--f-mono); font-variant-numeric: tabular-nums; text-align: right; }
.sum-total { border-top: 1px dashed var(--line); padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.sum-total b { font: 700 24px var(--f-mono); }
.done { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 10px; background: #E4F2EA; border: 1px solid #A9D3BB; font-size: 13.5px; }
.done b { color: var(--ok); }
.policy { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 760px) { .policy { grid-template-columns: repeat(3, 1fr); } }
.policy div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; font-size: 13.5px; color: var(--muted); }
.policy b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 4px; }

/* ---------- Hồ sơ chuyên viên (trang công khai) ---------- */
.owner-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 14px; background: #FFF8E6; border: 1px solid #F0D591; border-radius: 10px; font-size: 14px; color: #5E4510; }
.agent-hero { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 28px; box-shadow: 0 10px 30px rgba(16,27,43,.05); }
.agent-hero__cover { height: clamp(130px, 17vw, 220px); background:
	radial-gradient(ellipse at 88% 10%, rgba(232,56,79,.6), transparent 50%),
	repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px),
	linear-gradient(120deg, #0E1726, #1F2D45 70%, #2A2238);
	background-size: cover; background-position: center; }
.agent-hero__cover[style] { background: var(--ph) var(--cover) center / cover no-repeat; }
.agent-hero__body { display: grid; gap: 16px 22px; padding: 0 24px 24px; grid-template-columns: 132px minmax(0, 1fr); align-items: start; }
.agent-hero__pic { width: 132px; height: 132px; margin-top: -58px; border-radius: 50%; background: var(--soft); border: 5px solid var(--surface); box-shadow: 0 4px 16px rgba(16,27,43,.16); overflow: hidden; display: grid; place-items: center; }
.agent-hero--ok .agent-hero__pic { box-shadow: 0 0 0 3px #4FAE7E, 0 4px 16px rgba(16,27,43,.16); }
.agent-hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.agent-hero__pic span { font: 700 40px/1 var(--f-ui); color: var(--muted); }
.agent-hero__txt { padding-top: 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.agent-hero__txt h1 { font: 700 clamp(26px, 3.2vw, 36px)/1.15 var(--f-display); letter-spacing: -.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.agent-hero__tick { font: 600 12.5px/1 var(--f-ui); letter-spacing: 0; color: #fff; background: var(--ok); padding: 6px 10px; border-radius: 99px; white-space: nowrap; }
.agent-hero__sub { font-size: 15.5px; color: #3A4556; }
.agent-hero__sub a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.agent-hero__sub a:hover { color: var(--brand); }
.agent-hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.agent-hero__stats b { color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; }
.agent-hero__cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.btn-lg { min-height: 46px; padding: 0 22px; font-size: 15px; }
.btn-zalo { background: #0068FF; color: #fff; }
.btn-zalo:hover { background: #0052CC; color: #fff; }
@media (min-width: 1100px) {
	.agent-hero__body { grid-template-columns: 132px minmax(0, 1fr) auto; }
	.agent-hero__cta { grid-column: auto; border: 0; padding-top: 18px; flex-direction: column; align-items: stretch; min-width: 210px; }
}
@media (max-width: 620px) {
	.agent-hero__body { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-inline: 16px; }
	.agent-hero__pic { width: 112px; height: 112px; margin-top: -56px; }
	.agent-hero__txt { padding-top: 0; align-items: center; }
	.agent-hero__txt h1, .agent-hero__stats { justify-content: center; }
	.agent-hero__cta { width: 100%; }
	.agent-hero__cta .btn { flex: 1 1 45%; }
}
/* ---------- Trang cá nhân chuyên viên dạng landing page ---------- */
.lp { margin-top: -1px; }
.lp .owner-bar { margin: 14px 0; }
.lp-hero { position: relative; color: #E9ECF2; background:
	radial-gradient(ellipse at 85% 0%, rgba(232,56,79,.5), transparent 55%),
	repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 28px),
	linear-gradient(125deg, #0B1320, #1A2740 65%, #281F33); }
.lp-hero[style]::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,19,32,.94) 35%, rgba(11,19,32,.55)), var(--cover) center / cover no-repeat; }
.lp-hero__grid { position: relative; display: grid; gap: 28px; padding-block: 20px 0; align-items: end; }
@media (min-width: 900px) { .lp-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; padding-block: 28px 0; } }
.lp-hero__txt { padding-bottom: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.lp-hero .crumbs { color: rgba(233,236,242,.6); margin-block: 0 14px; }
.lp-hero .crumbs a:hover { color: #fff; }
.lp-hero__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #FF8795; }
.lp-hero__eyebrow a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.lp-hero h1 { font: 700 clamp(36px, 6vw, 64px)/1.04 var(--f-display); letter-spacing: -.02em; color: #fff; }
.lp-hero__verified { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #7CE0AC; }
.lp-hero__tagline { font: 500 clamp(18px, 2.2vw, 23px)/1.45 var(--f-ui); color: #D7DCE6; max-width: 34ch; text-wrap: balance; }
.lp-hero__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.lp-hero__tags .tag { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.lp-hero__tags a.tag:hover { background: rgba(255,255,255,.2); border-color: #fff; color: #fff; }
.lp-hero__tags .tag--ok { background: rgba(76,195,138,.18); border-color: rgba(76,195,138,.5); color: #9BEBC2; }
.lp-hero__tags .tag--price { background: rgba(224,178,90,.16); border-color: rgba(224,178,90,.45); color: #F2D59B; }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.lp-hero__more { font-size: 13.5px; }
.lp-hero__more a { color: #C9D0DC; text-decoration: underline; text-underline-offset: 3px; }
.lp-hero__more a:hover { color: #fff; }
.lp-hero__photo { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 4 / 5; border-radius: 22px 22px 0 0; overflow: hidden; background: linear-gradient(160deg, #2B3A55, #1A2436); display: grid; place-items: center; box-shadow: 0 -10px 60px rgba(0,0,0,.35); }
.lp-hero__photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; }
.lp-hero__photo--ok::after { box-shadow: inset 0 0 0 3px rgba(76,195,138,.75); }
.lp-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lp-hero__photo span { font: 700 96px/1 var(--f-display); color: rgba(255,255,255,.28); }
@media (max-width: 899px) {
	.lp-hero__grid { padding-top: 16px; }
	.lp-hero__photo { order: -1; width: 168px; aspect-ratio: 1; border-radius: 50%; justify-self: start; box-shadow: 0 8px 30px rgba(0,0,0,.35); margin-top: 8px; }
	.lp-hero__photo span { font-size: 56px; }
	.lp-hero__txt { padding-bottom: 32px; }
	.lp-hero .crumbs { display: none; }
	.lp-hero__cta .btn { flex: 1 1 46%; }
}

.lp-stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.lp-stats ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.lp-stats li { display: flex; flex-direction: column; gap: 2px; padding: 20px 8px; text-align: center; border-left: 1px solid var(--line); }
.lp-stats li:first-child { border-left: 0; }
.lp-stats b { font: 700 clamp(28px, 3.4vw, 38px)/1 var(--f-display); color: var(--brand); font-variant-numeric: tabular-nums; }
.lp-stats span { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { /* điện thoại: giữ các con số trên một hàng (tối đa 4) */
	.lp-stats ul { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); }
	.lp-stats li { padding: 14px 4px; }
	.lp-stats span { font-size: 11.5px; line-height: 1.3; }
}

.lp-nav { position: sticky; top: var(--head-h); z-index: 30; background: rgba(244,245,248,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .lp-nav { top: calc(var(--head-h) + 32px); }
@media (max-width: 782px) { /* thanh admin trên điện thoại không dính theo: bỏ phần cộng thêm */
	.admin-bar .lp-nav { top: var(--head-h); }
	.admin-bar .lp-sec, .admin-bar .lp-contact { scroll-margin-top: 52px; }
}
.lp-nav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.lp-nav ul::-webkit-scrollbar { display: none; }
.lp-nav a { display: block; padding: 7px 14px; border-radius: 99px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.lp-nav a:hover { background: var(--surface); color: var(--ink); }
.lp-nav__cta { background: var(--brand); color: #fff; }
.lp-nav a.lp-nav__cta:hover { background: var(--brand-ink); color: #fff; }
.lp-nav li:has(> .lp-nav__cta) { margin-left: auto; } /* chỉ nút Liên hệ mới nằm sát mép phải */

/* html đã có scroll-padding-top = chiều cao header; ở đây chỉ cộng thêm chiều cao menu trong trang (và thanh admin). */
.lp-sec, .lp-contact { scroll-margin-top: 52px; }
.admin-bar .lp-sec, .admin-bar .lp-contact { scroll-margin-top: 84px; }
.lp-sec { padding-block: clamp(40px, 6vw, 72px); }
.lp-sec--alt { background: var(--surface); border-block: 1px solid var(--line); }
.lp-sec--peers { padding-block: 40px 8px; }
.lp-h { font: 700 clamp(24px, 3.2vw, 34px)/1.2 var(--f-display); letter-spacing: -.01em; margin: 6px 0 24px; max-width: 24ch; }
.lp-h-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.lp-h-row .lp-h { margin-bottom: 0; }
.lp-about { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .lp-about { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; } }
.lp-about .prose { font-size: 17.5px; }
.lp-facts { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px 20px 18px; }
.lp-facts dl { margin: 0; }
.lp-facts dl > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.lp-facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.lp-facts dd { margin: 3px 0 0; font-weight: 600; font-size: 15px; }
.lp-facts dd a { color: var(--brand); }
.lp-facts__trust { margin-top: 14px; font-size: 13px; color: var(--muted); }
.lp-facts__trust.is-ok { color: #2B5942; }
.grid-cards--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.video-grid--lp { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.event-list--lp { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.lp-sec--alt .event-list a { background: var(--bg); }

.lp-contact { background: linear-gradient(125deg, #0B1320, #1A2740 70%, #2A1F30); color: #D7DCE6; padding-block: clamp(44px, 6vw, 80px); }
.lp-contact__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .lp-contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; } }
.lp-contact .eyebrow { color: #FF8795; }
.lp-contact h2 { font: 700 clamp(26px, 3.6vw, 40px)/1.15 var(--f-display); color: #fff; margin: 8px 0 12px; max-width: 18ch; }
.lp-contact__txt > p { max-width: 46ch; }
.lp-contact__list { list-style: none; margin: 24px 0; border-top: 1px solid rgba(255,255,255,.14); }
.lp-contact__list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.lp-contact__list span { color: #9AA6B8; }
.lp-contact__list a { color: #fff; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.lp-contact__list a:hover { color: #FF8795; }
.lp-contact .share__label { color: #9AA6B8; }
.lp-contact .share__btn { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.lp-contact .share__btn:hover { border-color: #fff; color: #fff; }
.lp-contact__form { background: var(--surface); color: var(--ink); border-radius: 16px; padding: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.lp-contact__form h3 { font: 700 20px/1.25 var(--f-ui); }
body.single-chuyen_vien .site-footer { margin-top: 0; }

/* Nhãn chuyên môn */
.agent-hero__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); font: 600 12.5px/1.4 var(--f-ui); color: #2C3646; }
a.tag:hover { border-color: var(--brand); color: var(--brand); }
.tag--strong { background: var(--ink); border-color: var(--ink); color: #fff; }
.tag--ok { background: #E4F2EA; border-color: #A9D3BB; color: #14563A; }
.tag--ok::before { content: "✓ "; }
.tag--price { background: var(--gold-soft); border-color: rgba(143,103,23,.3); color: #5E4510; }
@media (max-width: 620px) { .agent-hero__tags { justify-content: center; } }
.trust__license { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(28,124,78,.2); }

/* Video */
.video-grid { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.video-card { display: flex; flex-direction: column; gap: 8px; }
.video-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: linear-gradient(135deg, #1B2A40, #3A2230); }
.video-card--tiktok .video-card__thumb { background: linear-gradient(135deg, #111, #2B2B33); aspect-ratio: 3 / 4; } /* video dọc: khung đứng để không cắt mất mặt người */
.video-card__thumb .video-card__fallback { filter: blur(14px) brightness(.55) saturate(1.2); transform: scale(1.2); }
.video-card:hover .video-card__thumb .video-card__fallback { transform: scale(1.25); }
.video-card--facebook .video-card__thumb { background: linear-gradient(135deg, #1B4FA8, #0B2E6B); }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.video-card:hover .video-card__thumb img { transform: scale(1.04); }
.video-card__play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: rgba(16,27,43,.72); box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: background .15s; }
.video-card__play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.video-card:hover .video-card__play { background: var(--brand); }
.video-card__src { position: absolute; left: 8px; bottom: 8px; font: 700 10.5px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(16,27,43,.75); padding: 4px 7px; border-radius: 4px; }
.video-card__title { font: 600 14px/1.4 var(--f-ui); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; display: none; place-items: center; }
.video-dialog[open] { display: grid; }
.video-dialog::backdrop { background: rgba(8,12,20,.86); }
.video-dialog__box { position: relative; width: min(92vw, 960px); }
.video-dialog__frame { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.video-dialog[data-kind="tiktok"] .video-dialog__box { width: min(92vw, 380px); }
.video-dialog[data-kind="tiktok"] .video-dialog__frame { aspect-ratio: 9 / 16; max-height: 84vh; margin-inline: auto; }
.video-dialog__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-dialog__close { position: absolute; right: 0; top: -46px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.video-dialog__close:hover { background: var(--brand); }
/* Popup xem ảnh */
.gallery-grid a { display: block; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.gallery-grid a img { transition: transform .25s; }
.gallery-grid a:hover img { transform: scale(1.04); }
.img-dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; display: none; color: #fff; }
.img-dialog[open] { display: block; }
.img-dialog::backdrop { background: rgba(8,12,20,.92); }
.img-dialog__fig { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 64px 20px; }
.img-dialog__img { max-width: 100%; max-height: calc(100% - 44px); min-height: 0; object-fit: contain; border-radius: 8px; background: #111; }
.img-dialog figcaption { display: flex; gap: 14px; align-items: baseline; justify-content: center; max-width: 80ch; font-size: 14px; line-height: 1.4; text-align: center; }
.img-dialog__count { color: rgba(255,255,255,.65); font-variant-numeric: tabular-nums; white-space: nowrap; }
.img-dialog__close, .img-dialog__nav { position: absolute; z-index: 1; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.img-dialog__close:hover, .img-dialog__nav:hover { background: var(--brand); }
.img-dialog__close { right: 14px; top: 12px; }
.img-dialog__nav { top: 50%; transform: translateY(-50%); }
.img-dialog__nav--prev { left: 12px; }
.img-dialog__nav--next { right: 12px; }
.img-dialog--single .img-dialog__nav, .img-dialog--single .img-dialog__count { display: none; }
@media (max-width: 620px) { .img-dialog__fig { padding: 56px 8px 16px; } .img-dialog__nav { top: auto; bottom: 14px; transform: none; } .img-dialog figcaption { padding-inline: 52px; flex-direction: column; gap: 2px; align-items: center; } }

/* Ô chọn dạng nhãn (phân khúc, tầm giá) trong trang quản lý */
.tick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tick legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 8px; width: 100%; }
.tick label { position: relative; cursor: pointer; }
.tick input { position: absolute; opacity: 0; pointer-events: none; }
.tick span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); font-size: 13.5px; font-weight: 500; }
.tick input:checked + span { background: #FDF3F4; border-color: var(--brand); color: var(--brand); font-weight: 600; }
.tick input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.rows--single .rows__item { grid-template-columns: minmax(0, 1fr) 36px; }
.rows--single .rows__item input[type=url], .rows--single .rows__del { grid-row: auto; grid-column: auto; }

@media (min-width: 1000px) { .layout--agent { grid-template-columns: minmax(0, 1fr) 340px; } .sidebar__stick { position: sticky; top: calc(var(--head-h) + 12px); } .admin-bar .sidebar__stick { top: calc(var(--head-h) + 44px); } }
.sidebar__stick { display: flex; flex-direction: column; gap: 18px; }
.lead-box { border: 2px solid var(--brand); box-shadow: 0 10px 28px rgba(200,16,46,.08); scroll-margin-top: calc(var(--head-h) + 16px); }
.lead-box .box__h { font-size: 17px; margin-bottom: 4px; }
.lead-form { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.lead-form__note { font-size: 12px; color: var(--muted); text-align: center; }
.privacy-note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.privacy-note a { color: inherit; text-decoration: underline; }
.lead-form .privacy-note, .review-form .privacy-note { text-align: center; }
.lead-form__done { padding: 14px; border-radius: 8px; background: #E4F2EA; border: 1px solid #A9D3BB; color: #14563A; font-weight: 600; font-size: 14.5px; }
.chips--social { margin: 12px 0; }
.trust { font-size: 13.5px; color: var(--muted); }
.trust--ok { background: #F0F8F3; border-color: #BFE0CD; color: #2B5942; }
.trust--ok .box__h { color: var(--ok); }
/* Lịch sự kiện (/su-kien/) */
.page-head--row { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: flex-end; }
.page-head--row > div { flex: 1 1 320px; min-width: 0; }
.page-head--row > .btn { flex: none; }
.event-cards { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.event-sep h2 { font: 700 12.5px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 0 2px; }
.event-sep:not(:first-child) h2 { margin-top: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.event-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.event-card:hover { border-color: #E3A9B2; box-shadow: 0 8px 24px rgba(16,27,43,.07); }
@media (min-width: 680px) { .event-card:has(.event-card__img) { grid-template-columns: 76px minmax(0, 1fr) 200px; } }
.event-card__date { width: 76px; border-radius: 10px; overflow: hidden; border: 1px solid #F3C9CF; background: #FDF3F4; color: var(--brand); display: flex; flex-direction: column; align-items: center; padding-bottom: 6px; line-height: 1.1; }
.event-card__date span { align-self: stretch; text-align: center; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 0; }
.event-card__date b { font: 700 30px/1.15 var(--f-display); margin-top: 4px; }
.event-card__date small { font-size: 11.5px; color: #9E5560; }
.event-card--past .event-card__date { border-color: var(--line); background: var(--soft); color: var(--muted); }
.event-card--past .event-card__date span { background: #8891A1; }
.event-card--past .event-card__date small { color: var(--muted); }
.event-card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.event-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13.5px; color: #3A4556; font-weight: 500; }
.event-chip { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #E4F2EA; color: #14563A; white-space: nowrap; }
.event-chip--live { background: var(--brand); color: #fff; }
.event-chip--past, .event-chip--unknown { background: var(--soft); color: var(--muted); }
.event-card__title { font: 700 19px/1.3 var(--f-display); }
.event-card__title a:hover { color: var(--brand); }
.event-card--past .event-card__title { color: #3A4556; }
.event-card__facts { list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.event-card__facts li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 8px; }
.event-card__facts span { color: var(--muted); font-size: 13px; }
.event-card__facts a { color: var(--brand); font-weight: 600; justify-self: start; }
.event-card__img { display: block; border-radius: 8px; overflow: hidden; background: var(--ph); aspect-ratio: 16 / 10; }
.event-card__img img { width: 100%; height: 100%; object-fit: cover; }
.event-card--past .event-card__img { opacity: .8; }
@media (max-width: 679px) {
	.event-card { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 14px; }
	.event-card__date { width: 60px; }
	.event-card__date b { font-size: 24px; }
	.event-card__img { grid-column: 1 / -1; order: -1; }
	.event-card__title { font-size: 17px; }
}
.event-none { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px; margin-bottom: 8px; background: var(--surface); border: 1px dashed #C9CED8; border-radius: 12px; font-size: 14.5px; color: #3A4556; }
.event-none b { font-size: 16px; color: var(--ink); }
/* Form đăng sự kiện công khai */
.event-new { max-width: 820px; padding-bottom: 24px; }
.event-new__tip { margin: 0 0 16px; padding: 12px 14px; background: var(--gold-soft); border: 1px solid rgba(143,103,23,.3); border-radius: 8px; font-size: 14px; }
.event-new__tip a { font-weight: 600; color: var(--brand); }
.event-form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.event-form .box { display: flex; flex-direction: column; gap: 14px; }
.event-form .box[hidden], .event-form__actions[hidden] { display: none; }
.event-form .box__h { margin-bottom: 0; font-size: 17px; }
.event-form .f input[type=file] { padding: 9px 12px; height: auto; }
.f__hint { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.event-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.event-form__actions .muted { flex: 1 1 260px; }
.event-form__done { padding: 18px 20px; border-radius: 10px; background: #E4F2EA; border: 1px solid #A9D3BB; color: #14563A; font-weight: 600; font-size: 15.5px; }
@media (max-width: 520px) { .event-form__actions .btn { width: 100%; } }
.event-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.event-list a { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.event-list a:hover { border-color: var(--brand); color: var(--ink); }
.event-list__date { width: 60px; height: 60px; border-radius: 10px; background: #FDF3F4; color: var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; }
.event-list__date b { font-size: 22px; line-height: 1; }
.event-list__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.event-list__txt b { font: 600 15.5px/1.35 var(--f-display); }
.event-list__txt small { font-size: 12.5px; color: var(--muted); }
/* Thanh liên hệ dính đáy trên điện thoại */
.contact-bar { display: none; }
@media (max-width: 760px) {
	.contact-bar { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,27,43,.08); }
	.contact-bar a { display: grid; place-items: center; min-height: 44px; border-radius: 8px; border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
	.contact-bar a:nth-child(2) { background: #0068FF; border-color: #0068FF; color: #fff; }
	.contact-bar__call { background: var(--brand); border-color: var(--brand) !important; color: #fff; }
	body.single-chuyen_vien { padding-bottom: 68px; }
}
/* Khách hàng (trang quản lý) */
/* Tên "cust" chứ không phải "lead": .lead đã dùng cho khối tin nổi bật ở trang chủ (trùng tên từng làm vỡ trang chủ trên máy tính) */
.cust { display: grid; gap: 12px; padding: 14px 16px; }
@media (min-width: 760px) { .cust { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.cust--new { border-color: #F0D591; background: #FFFCF2; }
.cust__main { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.cust__main b { font-size: 15.5px; }
.cust__main small { font-size: 12.5px; color: var(--muted); }
.cust__main p { font-size: 14px; color: #3A4556; margin-top: 4px; }
.cust__act { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.acc__count--new { background: var(--brand); color: #fff; }

/* ---------- Tài khoản chuyên viên ---------- */
.acc-page { padding-block: 24px 8px; }
.acc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.acc-card h1 { font: 700 26px/1.2 var(--f-display); }
.acc-card h2 { font: 700 16px/1.3 var(--f-ui); margin-bottom: 14px; }
.acc-card--wait { background: #FFF8E6; border-color: #F0D591; color: #5E4510; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.acc-card--warn { background: #FFF5F6; border-color: #F3C9CF; border-left: 4px solid var(--brand); color: #5B1A24; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.acc-card--ok { background: #EEF8F2; border-color: #A9D3BB; color: #14563A; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
/* Trang Hồ sơ: hướng dẫn bổ sung mục bắt buộc */
.acc-guide { gap: 12px; }
.acc-steps { list-style: none; counter-reset: step; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); font-size: 13px; color: #5B6576; }
.acc-steps li { counter-increment: step; display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.acc-steps li::before { content: counter(step); flex: none; width: 22px; height: 22px; border-radius: 50%; background: #E2E5EB; color: #3A4556; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.acc-steps li.is-now { color: #5B1A24; font-weight: 600; }
.acc-steps li.is-now::before { background: var(--brand); color: #fff; }
.acc-todo { list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.acc-todo a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 10px 12px; background: #fff; border: 1px solid #F3C9CF; border-radius: 8px; color: var(--ink); }
.acc-todo a:hover { border-color: var(--brand); }
.acc-todo b { font-size: 14px; }
.acc-todo b::after { content: " →"; color: var(--brand); }
.acc-todo span { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.req-dot { color: var(--brand); font-weight: 700; }
/* Dấu * cho mục bắt buộc; viền đỏ cho mục còn thiếu */
.acc-form .f:has(> [required]) > span:first-child::after, .acc-form [data-req] > span:first-child::after, .acc-form legend[data-req]::after, .acc-form .img-pick[data-req] b::after { content: " *"; color: var(--brand); font-weight: 700; }
.acc-form .is-missing { outline: 2px solid #F3C9CF; outline-offset: 6px; border-radius: 8px; background: #FFF9FA; }
.acc-form [id] { scroll-margin-top: 120px; }
.f__count { font-size: 12.5px; color: var(--brand); font-weight: 500; }
.f__count.is-ok { color: var(--ok); }
.acc-missing { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.acc-missing a { display: inline-block; background: #fff; border: 1px solid #F3C9CF; border-radius: 99px; padding: 3px 10px; font-size: 13px; font-weight: 600; color: #5B1A24; }
.acc-missing a:hover { border-color: var(--brand); color: var(--brand); }
.acc-form { display: flex; flex-direction: column; gap: 16px; }
.acc-form .acc-card { display: flex; flex-direction: column; gap: 14px; }
.acc-form .acc-card h2 { margin-bottom: 0; }
.acc-actions { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; padding: 12px 0; background: linear-gradient(transparent, var(--bg) 30%); }
.acc-narrow { max-width: 520px; }
.acc-notice { padding: 11px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; border: 1px solid; }
.acc-notice--ok { background: #E4F2EA; border-color: #A9D3BB; color: #14563A; }
.acc-notice--err { background: #FDECEE; border-color: #F2B8C0; color: #8A1024; }
.f__hint { font-size: 12px; font-weight: 400; color: var(--muted); }
.f--err input, .f--err select, .f--err textarea { border-color: var(--brand); background: #FFF7F8; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--brand); }
.btn-block { width: 100%; min-height: 46px; font-size: 15px; }
.pill { display: inline-block; font: 600 11px/1.6 var(--f-ui); padding: 1px 8px; border-radius: 99px; background: var(--soft); color: var(--muted); vertical-align: middle; white-space: nowrap; }
.pill--ok { background: #E4F2EA; color: var(--ok); }
.pill--wait { background: #FFF1CC; color: #8A6100; }
.pill--err { background: #FDE8EB; color: var(--brand); }

/* Đăng nhập / đăng ký */
.auth { display: grid; gap: 24px; max-width: 980px; margin: 8px auto 0; align-items: start; }
@media (min-width: 860px) { .auth { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); } }
.auth__card { padding: 28px; }
.auth__card h1 { margin-bottom: 4px; }
.auth__card .acc-form { margin-top: 18px; gap: 14px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; }
.auth__row a, .auth__card .muted a { color: var(--brand); font-weight: 600; }
.auth__aside { padding: 28px; border-radius: 12px; background: var(--ink); color: #E9ECF2; }
.auth__aside h2 { font: 700 24px/1.25 var(--f-display); color: #fff; margin: 8px 0 18px; }
.auth__perks { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; }
.auth__perks li { padding-left: 28px; position: relative; opacity: .92; }
.auth__perks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.auth__perks b { color: #fff; }
@media (max-width: 859px) { .auth__aside { order: 2; } }

/* Khung quản lý */
.acc { display: grid; gap: 24px; align-items: start; grid-template-columns: minmax(0, 1fr); }
.acc > * { min-width: 0; } /* thanh menu cuộn ngang không được đẩy rộng cả trang */
@media (min-width: 900px) { .acc { grid-template-columns: 250px minmax(0, 1fr); } }
.acc__nav { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) { .acc__nav { position: sticky; top: calc(var(--head-h) + 12px); } }
.acc__me { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; }
.acc__me .avatar { width: 48px; height: 48px; font-size: 15px; }
.acc__me b { display: block; font-size: 14.5px; line-height: 1.3; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc__nav ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.acc__nav nav a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.acc__nav nav a:hover { background: var(--soft); color: var(--ink); }
.acc__nav nav a[aria-current="page"] { background: #FDF3F4; color: var(--brand); }
.acc__count { font-size: 11.5px; min-width: 22px; text-align: center; padding: 0 6px; border-radius: 99px; background: var(--soft); color: var(--muted); }
.acc__links { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; }
.acc__links a { color: var(--muted); }
.acc__links a:hover { color: var(--brand); }
@media (max-width: 899px) {
	.acc__nav { padding: 12px; }
	.acc__nav ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; }
	.acc__nav ul::-webkit-scrollbar { display: none; }
	.acc__nav nav a { white-space: nowrap; gap: 6px; }
	.acc__links { flex-direction: row; justify-content: space-between; }
}
.acc__main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.acc__head h1 { font: 700 clamp(24px, 3vw, 30px)/1.2 var(--f-display); }
.acc__head p { margin-top: 4px; }
.acc__head a { color: var(--brand); font-weight: 600; font-size: 13.5px; }
.acc__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }

.acc-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.acc-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.acc-stat > span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.acc-stat b { font: 700 30px/1.1 var(--f-ui); font-variant-numeric: tabular-nums; }
.acc-stat small { font-size: 12px; color: var(--muted); }
.acc-stat small.up { color: var(--ok); font-weight: 600; }
.acc-stat small.down { color: var(--brand); font-weight: 600; }
.acc-grid2 { display: grid; gap: 16px; }
@media (min-width: 1000px) { .acc-grid2 { grid-template-columns: 1fr 1fr; } }
.progress { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; margin-bottom: 14px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #E8384F, var(--brand)); border-radius: inherit; }
.checklist { list-style: none; display: grid; gap: 6px 14px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-bottom: 14px; font-size: 13.5px; color: var(--muted); }
.checklist li::before { content: "○"; margin-right: 6px; }
.checklist li.is-ok { color: var(--ink); }
.checklist li.is-ok::before { content: "✓"; color: var(--ok); font-weight: 700; }
.acc-quick { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.acc-quick a { display: flex; flex-direction: column; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.acc-quick a:hover { border-color: var(--brand); color: var(--ink); }
.acc-quick b { font-size: 14px; }
.acc-quick span { font-size: 12.5px; color: var(--muted); }

.acc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.acc-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; }
.acc-item__thumb, .acc-item__date { width: 56px; height: 56px; border-radius: 8px; background: var(--ph); overflow: hidden; }
.acc-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.acc-item__date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #FDF3F4; color: var(--brand); font-size: 11px; font-weight: 600; }
.acc-item__date b { font-size: 20px; line-height: 1; }
.acc-item__body { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.acc-item__body b { font-size: 14.5px; }
.acc-item__body small { font-size: 12.5px; color: var(--muted); }
.acc-item__act { display: flex; gap: 6px; }
@media (max-width: 560px) { .acc-item { grid-template-columns: 48px minmax(0, 1fr); } .acc-item__act { grid-column: 1 / -1; } .acc-item__thumb, .acc-item__date { width: 48px; height: 48px; } }
.acc-empty { text-align: center; padding: 32px 20px; display: flex; flex-direction: column; gap: 6px; }

/* Chọn ảnh */
.img-fields { display: flex; flex-direction: column; gap: 12px; }
.img-pick { display: flex; align-items: center; gap: 16px; cursor: pointer; }
.img-pick__preview { flex: none; width: 96px; height: 96px; border-radius: 12px; background: var(--soft); border: 1px dashed var(--line); overflow: hidden; display: grid; place-items: center; }
.img-pick--round .img-pick__preview { border-radius: 50%; }
.img-pick__preview img, .img-pick__preview .avatar { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.img-pick__preview--wide { width: 192px; height: 96px; }
.img-pick__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.img-pick__txt small { font-size: 12.5px; color: var(--muted); }
.img-pick:focus-within .btn { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 480px) { .img-pick__preview--wide { width: 128px; height: 64px; } }

/* Chọn nhiều (dự án, khu vực) */
.pick { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pick legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 6px; }
.pick legend small { font-weight: 400; color: var(--muted); }
.pick__filter { min-height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: var(--bg); }
.pick__list { max-height: 240px; overflow-y: auto; display: grid; gap: 2px 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.pick__list label { display: flex; gap: 8px; align-items: center; font-size: 13.5px; padding: 5px 4px; border-radius: 6px; cursor: pointer; }
.pick__list label:hover { background: var(--soft); }
.pick__list input { accent-color: var(--brand); }

/* Dòng link lặp */
.rows { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rows + .rows { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.rows legend { font-size: 15px; font-weight: 700; padding: 0; }
.rows__list { display: flex; flex-direction: column; gap: 8px; }
.rows__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 36px; gap: 8px; }
.rows__item input { min-height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: var(--bg); min-width: 0; }
/* Ảnh bìa + tiêu đề video TikTok/Facebook (trang quản lý chuyên viên) */
.vcov { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.vcov__h { font: 700 15px var(--f-ui); }
.vcov__row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; }
.vcov__img { width: 72px; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #111, #2B2B33); display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.vcov__img img { width: 100%; height: 100%; object-fit: cover; }
.vcov__fields { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vcov__link { font-size: 12.5px; color: var(--muted); }
.vcov__fields input[type=text] { min-height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: var(--bg); }
.vcov__file { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vcov__file input { font-size: 12.5px; max-width: 100%; }
.vauto-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.vauto-note.is-ok { color: #1c7c4e; }
.rows__del { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 18px; cursor: pointer; color: var(--muted); }
.rows__del:hover { color: var(--brand); border-color: var(--brand); }
.rows__add { align-self: flex-start; }
@media (max-width: 560px) { .rows__item { grid-template-columns: minmax(0, 1fr) 36px; } .rows__item input[type=url] { grid-column: 1; grid-row: 2; } .rows__del { grid-row: 1 / 3; grid-column: 2; } }

/* ---------- Về chúng tôi ---------- */
.about-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.about-hero__grid { display: grid; gap: 32px; padding-block: 12px clamp(36px, 5vw, 60px); align-items: end; }
@media (min-width: 960px) { .about-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; } }
.about-hero h1 { font: 700 clamp(32px, 5vw, 54px)/1.08 var(--f-display); letter-spacing: -.02em; margin: 8px 0 18px; }
.about-hero__lede { font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.65; color: #2C3646; max-width: 62ch; }
.about-stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.about-stats li { background: var(--bg); padding: 18px 16px; display: flex; flex-direction: column; gap: 2px; }
.about-stats b { font: 700 clamp(28px, 3.2vw, 38px)/1 var(--f-display); color: var(--brand); font-variant-numeric: tabular-nums; }
.about-stats span { font-size: 13px; color: var(--muted); }
.about-sec { padding-block: clamp(40px, 6vw, 72px); }
.about-sec--alt { background: var(--surface); border-block: 1px solid var(--line); }
.about-h { font: 700 clamp(24px, 3.2vw, 34px)/1.2 var(--f-display); letter-spacing: -.01em; margin: 6px 0 24px; max-width: 26ch; }
.lp-h-row .about-h { margin-bottom: 0; }
.about-intro { display: grid; gap: 8px 56px; }
@media (min-width: 960px) { .about-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.about-intro .prose { font-size: 17.5px; }
.vmv { display: grid; gap: 18px; }
@media (min-width: 900px) { .vmv { grid-template-columns: repeat(3, 1fr); } }
.vmv__card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; line-height: 1.65; color: #2C3646; }
.vmv__card h2 { font: 700 21px/1.2 var(--f-display); color: var(--ink); padding-bottom: 12px; border-bottom: 2px solid var(--brand); align-self: flex-start; }
.vmv__card p + p { margin-top: .8em; }
.vmv__card--values { background: var(--ink); border-color: var(--ink); color: #D7DCE6; }
.vmv__card--values h2 { color: #fff; }
.vmv__card--values ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.vmv__card--values li { display: flex; flex-direction: column; }
.vmv__card--values b { color: #fff; font-size: 16px; }
.vmv__card--values span { font-size: 14.5px; opacity: .85; }
.service-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.service-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.service-card:hover { border-color: #E3A9B2; box-shadow: 0 10px 28px rgba(16,27,43,.08); }
.service-card__img { display: block; aspect-ratio: 16 / 10; background: var(--ph); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card h3 { font: 700 18px/1.3 var(--f-ui); }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { font-size: 14.5px; color: var(--muted); }
.service-card__more { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--brand); }
/* Đội ngũ: hàng lãnh đạo (thẻ lớn nằm ngang) + lưới thành viên (thẻ gọn) */
.team-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; margin-bottom: 28px; }
.team-head .about-h { margin-bottom: 0; }
.team-head__note { font-size: 14px; color: var(--muted); }
.team-head__note b { font: 700 26px/1 var(--f-display); color: var(--brand); margin-right: 4px; }
.team-sub { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font: 700 12px/1 var(--f-ui); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.team-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team-leads + .team-sub { margin-top: 36px; }
.team-leads, .team-grid { list-style: none; display: grid; gap: 16px; }
.team-leads { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.team-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.team-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; display: grid; align-items: center; min-width: 0; transition: border-color .15s, box-shadow .15s, transform .15s; }
.team-card:hover { border-color: #E3A9B2; box-shadow: 0 12px 30px rgba(16,27,43,.08); transform: translateY(-2px); }
.team-card__photo { flex: none; border-radius: 50%; overflow: hidden; background: var(--soft); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo span { font-weight: 700; color: var(--muted); }
.team-card__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.team-card__role { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); line-height: 1.35; }
.team-card__name { font-family: var(--f-display); font-weight: 700; line-height: 1.2; letter-spacing: -.005em; }
.team-card__bio { font-size: 14px; line-height: 1.55; color: #3A4556; margin-top: 2px; }
.team-card__link { align-self: flex-start; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--brand); }
.team-card--lead { grid-template-columns: 132px minmax(0, 1fr); gap: 24px; padding: 26px; background: linear-gradient(135deg, var(--surface), var(--bg)); }
.team-card--lead .team-card__photo { width: 132px; height: 132px; }
.team-card--lead .team-card__photo span { font-size: 40px; }
.team-card--lead .team-card__name { font-size: clamp(22px, 2.4vw, 27px); }
/* Số cột hàng lãnh đạo theo số người (màn hình rộng): 1 → thẻ đơn; 2, 4 → 2 cột; 3, 5, 6+ → 3 cột, thẻ gọn hơn */
.team-leads--n1 { grid-template-columns: minmax(0, 620px); }
@media (min-width: 900px) {
	.team-leads--n2, .team-leads--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.team-leads--n3, .team-leads--n5, .team-leads--n6, .team-leads--n7 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.team-leads--n3 .team-card--lead, .team-leads--n5 .team-card--lead, .team-leads--n6 .team-card--lead, .team-leads--n7 .team-card--lead { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 22px; }
	.team-leads--n3 .team-card__photo, .team-leads--n5 .team-card__photo, .team-leads--n6 .team-card__photo, .team-leads--n7 .team-card__photo { width: 96px; height: 96px; }
	.team-leads--n3 .team-card__name, .team-leads--n5 .team-card__name, .team-leads--n6 .team-card__name, .team-leads--n7 .team-card__name { font-size: 21px; }
}
/* Thu gọn danh sách dài */
[data-collapse] > .is-extra { display: none; }
[data-collapse].is-open > .is-extra { display: grid; }
.collapse-more { display: flex; justify-content: center; margin-top: 20px; }

/* Thành viên: thẻ dọc căn giữa, tên trước rồi đến chức danh */
.team-card--member { grid-template-columns: 1fr; justify-items: center; align-content: start; text-align: center; gap: 16px; padding: 26px 18px 22px; }
.team-card--member .team-card__photo { width: 104px; height: 104px; }
.team-card--member .team-card__photo span { font-size: 30px; }
.team-card--member .team-card__body { align-items: center; gap: 6px; }
.team-card--member .team-card__name { font-size: 18.5px; order: 1; }
.team-card--member .team-card__role { order: 2; text-wrap: balance; }
.team-card--member .team-card__bio { order: 3; }
.team-card--member .team-card__link { order: 4; align-self: center; }
@media (max-width: 560px) { /* điện thoại: thành viên 2 cột */
	.team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.team-card--member { padding: 20px 10px 16px; gap: 12px; }
	.team-card--member .team-card__photo { width: 84px; height: 84px; }
	.team-card--member .team-card__name { font-size: 16.5px; }
	.team-card--member .team-card__role { font-size: 10.5px; }
}
@media (max-width: 480px) {
	.team-leads { grid-template-columns: 1fr; }
	.team-card--lead { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 18px; }
	.team-card--lead .team-card__photo { width: 88px; height: 88px; }
}
.about-cta { background: linear-gradient(125deg, #0B1320, #1A2740 70%, #2A1F30); color: #D7DCE6; padding-block: clamp(40px, 6vw, 68px); }
.about-cta__grid { display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .about-cta__grid { grid-template-columns: minmax(0, 1fr) auto; } }
.about-cta h2 { font: 700 clamp(24px, 3.4vw, 36px)/1.2 var(--f-display); color: #fff; }
.about-cta p { margin-top: 10px; max-width: 58ch; }
.about-cta__contact a { color: #fff; font-weight: 700; }
.about-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
body.page-template-page-ve-chung-toi .site-footer { margin-top: 0; }
.page-404 { padding-block: 40px; display: flex; flex-direction: column; gap: 16px; }
.page-404 h1 { font: 700 34px/1.2 var(--f-display); }

/* Bình luận */
.comments-area { margin-top: 12px; }
.comment-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.comment-list .children { list-style: none; padding-left: 24px; margin-top: 16px; }
.comment-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; font-size: 14.5px; }
.comment-form { display: flex; flex-direction: column; gap: 10px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--surface); }
.comment-form .submit { background: var(--brand); color: #fff; border: 0; border-radius: 8px; padding: 10px 18px; font-weight: 600; cursor: pointer; }

/* Footer */
.site-footer { margin-top: 56px; background: #0E1726; color: #A9B2C3; font-size: 14px; border-top: 3px solid var(--brand); }
.site-footer a { color: #D5DAE4; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.footer-cols { display: grid; gap: 32px 28px; padding-block: 48px 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-cols > nav ul { display: flex; flex-direction: column; gap: 9px; }
.footer-cols > nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; grid-column: 1 / -1; }
@media (min-width: 900px) { /* số cột liên kết thay đổi (3 hoặc 4) nên dùng flex: cột thương hiệu rộng hơn, các cột còn lại chia đều */
	.footer-cols { display: flex; gap: 40px; }
	.footer-brand { flex: 1.7 1 0; max-width: 400px; }
	.footer-cols > nav { flex: 1 1 0; min-width: 0; }
}
.footer-brand p { line-height: 1.6; }
.site-footer .logo b { color: #fff; }
.site-footer .logo small { color: #8B95A8; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact li { display: flex; flex-direction: column; gap: 1px; }
.footer-contact span { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #7F8A9E; }
.footer-contact a { font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.footer-contact__hot { font-size: 20px; letter-spacing: .01em; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-ghost-dark { background: transparent; border: 1px solid rgba(255,255,255,.28); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social a { display: inline-block; padding: 5px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; font-size: 13px; font-weight: 600; }
.footer-social a:hover { border-color: #fff; }
.footer-h { color: #fff; font: 700 12.5px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-trust { border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.footer-trust ul { display: grid; gap: 14px 28px; padding-block: 20px; }
@media (min-width: 760px) { .footer-trust ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-trust li { display: flex; flex-direction: column; gap: 3px; padding-left: 14px; border-left: 2px solid var(--brand); }
.footer-trust b { color: #fff; font-size: 14px; }
.footer-trust span { font-size: 13px; line-height: 1.5; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: flex-start; padding-block: 20px 24px; font-size: 12.5px; color: #8B95A8; }
.footer-legal__txt { display: flex; flex-direction: column; gap: 6px; max-width: 70ch; }
.footer-company { line-height: 1.6; color: #A9B2C3; }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal__links a { color: #A9B2C3; }
.footer-top { white-space: nowrap; }
@media (max-width: 899px) { .site-footer { padding-bottom: 64px; } } /* chừa chỗ cho banner dính đáy trên điện thoại */
/* Máy tính bảng: 3 cột liên kết dưới khối thương hiệu */
@media (min-width: 600px) and (max-width: 899px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Màn hình rộng: khối thương hiệu không quá dài dòng, dòng cuối canh hai đầu */
@media (min-width: 900px) {
	.footer-cols { padding-block: 56px 44px; }
	.footer-legal { align-items: center; }
	.footer-legal__links { justify-content: flex-end; }
}
/* Điện thoại: các cột liên kết gập lại (main.js), cam kết biên tập chỉ còn tiêu đề, vùng bấm đủ lớn */
@media (max-width: 599px) {
	.site-footer { margin-top: 40px; }
	.footer-cols { display: block; padding-block: 32px 8px; }
	.footer-brand { gap: 12px; padding-bottom: 20px; }
	.footer-cta { width: 100%; }
	.footer-cta .btn { flex: 1 1 0; min-height: 42px; }
	.footer-cols > nav { border-top: 1px solid rgba(255,255,255,.1); }
	.footer-cols > nav:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
	.footer-h { margin: 0; padding-block: 15px; display: flex; justify-content: space-between; align-items: center; }
	.footer-cols > nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding-bottom: 12px; }
	.footer-cols > nav a { display: block; padding-block: 8px; }
	.footer-cols > nav.is-acc .footer-h { cursor: pointer; }
	.footer-cols > nav.is-acc .footer-h::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; color: #8B95A8; }
	.footer-cols > nav.is-acc.is-open .footer-h::after { content: "−"; }
	.footer-cols > nav.is-acc:not(.is-open) ul { display: none; }
	.footer-trust { border-top: 0; margin-top: 20px; }
	.footer-trust ul { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-block: 14px; }
	.footer-trust li { border-left: 0; padding-left: 0; flex-direction: row; align-items: center; gap: 6px; }
	.footer-trust li::before { content: "✓"; color: #4CC38A; font-weight: 700; }
	.footer-trust b { font-size: 13px; font-weight: 600; }
	.footer-trust span { display: none; }
	.footer-legal { flex-direction: column; gap: 12px; padding-block: 16px 20px; }
	.footer-legal__links { gap: 4px 16px; }
	.footer-legal__links a { display: inline-block; padding-block: 6px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .ad, .sidebar, .site-footer, .cta-band { display: none !important; } .layout { display: block; } }

/* ---------- Uy tín chuyên viên: dấu Tin cậy, sao đánh giá, phản hồi ---------- */
.trust-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: #3A4556; margin-top: 4px; }
.trust-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 7px; border-radius: 99px; background: linear-gradient(135deg, #0F6E46, #1C9A62); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.trust-badge::before { content: "✓"; display: grid; place-items: center; width: 14px; height: 14px; flex: none; border-radius: 50%; background: rgba(255,255,255,.25); font-size: 9.5px; }
.trust-badge--lg { font-size: 13px; padding: 4px 12px 4px 8px; }
.trust-badge--lg::before { width: 17px; height: 17px; font-size: 11px; }
.trust-badge.is-off { background: #E2E5EB; color: #8891A1; box-shadow: none; }
.trust-stars b { color: #B7791F; font-weight: 700; }
.trust-resp { display: inline-flex; align-items: center; gap: 4px; }
.trust-resp::before { content: "⚡"; font-size: 11px; }
.trust-line--hero { font-size: 14px; color: #D7DCE6; gap: 6px 14px; margin-top: 2px; }
.trust-line--hero .trust-stars b { color: #F6C453; }
.trust-line--hero .trust-badge { font-size: 12.5px; padding: 3px 11px 3px 8px; }
.trust-line--mini { font-size: 11.5px; margin-top: 2px; gap: 2px 8px; }
.trust-line--mini .trust-resp { display: none; }

/* Sao: phần tô vàng theo % (--v) */
.rv-stars { position: relative; display: inline-block; font-size: 20px; letter-spacing: 2px; color: #E2E5EB; line-height: 1; }
.rv-stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--v, 0%); overflow: hidden; color: #F2A900; white-space: nowrap; }
.rv-bars { list-style: none; display: flex; flex-direction: column; gap: 4px; width: 100%; font-size: 12.5px; color: var(--muted); }
.rv-bars li { display: grid; grid-template-columns: 26px minmax(0, 1fr) 26px; gap: 8px; align-items: center; }
.rv-bars__bar { height: 7px; border-radius: 99px; background: #EEF0F4; overflow: hidden; }
.rv-bars__bar i { display: block; height: 100%; background: #F2A900; border-radius: inherit; }

/* Trang hồ sơ công khai: khối đánh giá */
.rv-pub { display: grid; gap: 24px; align-items: start; }
@media (min-width: 860px) { .rv-pub { grid-template-columns: 300px minmax(0, 1fr); gap: 36px; } }
.rv-pub__sum { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
@media (min-width: 860px) { .rv-pub__sum { position: sticky; top: calc(var(--head-h) + 70px); } }
.rv-pub__score { font: 700 48px/1 var(--f-display); color: var(--ink); }
.rv-pub__sum small { color: var(--muted); }
.rv-pub__note { font-size: 12.5px; color: var(--muted); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.rv-pub__list { display: flex; flex-direction: column; gap: 12px; }
.rv-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.rv-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.rv-card__stars { color: #F2A900; letter-spacing: 1px; font-size: 15px; }
.rv-card__ok { font-size: 11.5px; font-weight: 600; color: var(--ok); background: #E4F2EA; border-radius: 99px; padding: 1px 8px; }
.rv-card p { font-size: 15px; line-height: 1.6; color: #2C3646; }
.rv-card small { color: var(--muted); font-size: 12.5px; }
.rv-card__reply { margin-top: 2px; padding: 10px 12px; background: var(--soft); border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; font-size: 14px; color: #2C3646; }

/* Trang đánh giá cho khách */
.review-page { max-width: 640px; padding-block: 24px 40px; display: flex; flex-direction: column; gap: 18px; }
.review-agent { display: flex; align-items: center; gap: 16px; }
.review-agent .avatar { width: 72px; height: 72px; }
.review-agent h1 { font: 700 26px/1.2 var(--f-display); }
.review-form { display: flex; flex-direction: column; gap: 16px; padding: 22px; }
.star-pick { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.star-pick legend { font: 700 18px/1.3 var(--f-display); margin-bottom: 6px; padding: 0; }
.star-pick__row { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; }
.star-pick__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick__row label { font-size: 44px; line-height: 1; color: #D9DDE4; cursor: pointer; transition: transform .1s, color .1s; padding: 2px; }
.star-pick__row label:hover, .star-pick__row label:hover ~ label, .star-pick__row input:checked ~ label { color: #F2A900; }
.star-pick__row label:hover { transform: scale(1.12); }
.star-pick__row input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.star-pick__label { font-size: 14px; font-weight: 600; color: #3A4556; min-height: 20px; }
.review-form__note { font-size: 12.5px; color: var(--muted); text-align: center; }
.review-form__done { padding: 18px; border-radius: 10px; background: #E4F2EA; border: 1px solid #A9D3BB; color: #14563A; font-weight: 600; text-align: center; font-size: 16px; }
.review-form [hidden] { display: none; }

/* Trang quản lý: uy tín, phản hồi, mời đánh giá, trả lời đánh giá */
.trust-card { display: flex; flex-direction: column; gap: 14px; }
.trust-card.is-ok { border-color: #A9D3BB; background: linear-gradient(180deg, #F2FAF6, #fff 60%); }
.trust-card__head { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.trust-card__head h2 { font-size: 17px; margin-bottom: 2px; }
.trust-card__list { list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.trust-card__list li { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; color: #3A4556; }
.trust-card__list li span::before { content: "○ "; color: var(--muted); }
.trust-card__list li.is-ok { border-color: #A9D3BB; background: #F2FAF6; color: #14563A; }
.trust-card__list li.is-ok span::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.trust-card__list small { color: var(--muted); white-space: nowrap; font-size: 12.5px; }
.acc-resp { display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: start; margin-bottom: 14px; }
.acc-resp > div { display: flex; flex-direction: column; gap: 2px; }
.acc-resp > div > b { font: 700 26px/1.1 var(--f-display); color: var(--ink); }
.acc-resp > div > span { font-size: 13px; color: var(--muted); }
.acc-resp p { grid-column: 1 / -1; font-size: 13px; }
.cust .late { color: var(--brand); font-weight: 600; }
.cust__rv { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding-top: 10px; font-size: 13.5px; }
.cust__rv summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.cust__rv textarea { width: 100%; margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13.5px; background: var(--bg); resize: vertical; }
.cust__rv-act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cust__rv.is-done { color: var(--ok); }
.cust__rv.is-done b { color: #F2A900; }
.rv-summary { display: grid; gap: 16px 32px; grid-template-columns: auto minmax(0, 360px); align-items: center; margin-bottom: 14px; }
.rv-summary__score { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rv-summary__score b { font: 700 40px/1 var(--f-display); }
.rv-summary__score small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 560px) { .rv-summary { grid-template-columns: 1fr; } }
.rv-item { display: flex; flex-direction: column; gap: 8px; }
.rv-item__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.rv-item__stars { color: #F2A900; letter-spacing: 1px; }
.rv-item__reply { background: var(--soft); border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.rv-item__form, .rv-item__report { display: flex; flex-direction: column; gap: 8px; }
.rv-item__report[hidden] { display: none; }
.rv-item__act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn-link { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 0 4px; cursor: pointer; font-size: 13px; }
.btn-link:hover { color: var(--brand); }

/* ---------- Coin, cấp độ (chìa khoá), cửa hàng, thả tim ---------- */
.coin-key { color: #B08D57; }
.coin-key--1 { color: #B87333; } /* đồng */
.coin-key--2 { color: #9AA3AF; } /* bạc */
.coin-key--3 { color: #D4A017; } /* vàng */
.coin-key--4 { color: #7FA7B5; } /* bạch kim */
.coin-key--5 { color: #4FB3D9; } /* kim cương */
.coin-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; background: linear-gradient(135deg, #101B2B, #26354D); color: #E9ECF2; border: 0; }
.coin-hero__key { width: 72px; height: 72px; border-radius: 18px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.coin-hero__key svg { width: 46px; height: 46px; }
.coin-hero .eyebrow { color: #FF8795; }
.coin-hero h2 { font: 700 26px/1.2 var(--f-display); color: #fff; margin: 2px 0 8px; }
.coin-hero .progress { background: rgba(255,255,255,.15); }
.coin-hero .muted { color: #B8C0CE; margin-top: 6px; }
.coin-hero__bal { text-align: right; display: flex; flex-direction: column; }
.coin-hero__bal b { font: 700 34px/1 var(--f-display); color: #F6C453; }
.coin-hero__bal span { font-size: 12.5px; color: #B8C0CE; }
@media (max-width: 600px) { .coin-hero { grid-template-columns: auto minmax(0, 1fr); } .coin-hero__bal { grid-column: 1 / -1; flex-direction: row; gap: 8px; align-items: baseline; text-align: left; } }
.coin-ladder { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 12px 0 16px; }
.coin-ladder li { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 10px 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); opacity: .65; }
.coin-ladder li.is-past { opacity: .85; }
.coin-ladder li.is-now { opacity: 1; border-color: var(--brand); box-shadow: 0 0 0 2px rgba(200,16,46,.12); }
.coin-ladder .coin-key { font-size: 20px; line-height: 1; }
.coin-ladder b { font-size: 13px; }
.coin-ladder small { font-size: 11.5px; color: var(--muted); }
@media (max-width: 600px) { .coin-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.coin-rules { list-style: none; display: flex; flex-direction: column; }
.coin-rules li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.coin-rules li span { display: flex; flex-direction: column; }
.coin-rules small { color: var(--muted); font-size: 12px; }
.coin-rules b { color: #B7791F; white-space: nowrap; }
.coin-soon { margin-top: 10px; font-size: 13px; }
.shop-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.shop-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.shop-item.is-locked { background: var(--soft); }
.shop-item__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.shop-item__price { font-weight: 700; color: #B7791F; white-space: nowrap; }
.shop-item__meta { font-size: 12.5px; color: var(--muted); }
.shop-item__on { font-size: 13px; font-weight: 600; color: var(--ok); }
.shop-item__lock { font-size: 13px; color: var(--muted); }
.shop-item__lock::before { content: "🔒 "; }
.shop-item__buy { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.shop-item__buy select { flex: 1 1 180px; min-height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; background: var(--bg); }
.coin-log { list-style: none; display: flex; flex-direction: column; }
.coin-log li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.coin-log li span { display: flex; flex-direction: column; }
.coin-log small { color: var(--muted); font-size: 12px; }
.coin-log .is-plus { color: var(--ok); }
.coin-log .is-minus { color: var(--brand); }
.coin-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; margin-bottom: 14px; color: var(--ink); }
.coin-strip:hover { border-color: var(--brand); }
.coin-strip .coin-key { font-size: 26px; line-height: 1; }
.coin-strip__lv { display: flex; flex-direction: column; }
.coin-strip__lv small { color: var(--muted); font-size: 12.5px; }
.coin-strip__bal b { font: 700 20px/1 var(--f-display); color: #B7791F; }
.coin-strip__go { color: var(--brand); font-weight: 600; font-size: 14px; }
@media (max-width: 560px) { .coin-strip { grid-template-columns: auto minmax(0, 1fr) auto; } .coin-strip__go { display: none; } }
/* Nhãn "Nổi bật" (suất đổi bằng coin) */
.agent-card { position: relative; }
.agent-card__featured, .person__featured { position: absolute; top: 10px; right: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8F6717; background: var(--gold-soft); border: 1px solid rgba(143,103,23,.3); padding: 2px 7px; border-radius: 4px; z-index: 1; }
.agent-card--featured { border-color: rgba(143,103,23,.45); }
.person { position: relative; }
/* Thẻ chuyên viên nhỏ: nhãn treo giữa mép trên, không che ảnh; tên đại lý luôn ở đáy để các thẻ thẳng hàng */
.person__featured { top: -1px; right: auto; left: 50%; transform: translateX(-50%); border-top: 0; border-radius: 0 0 6px 6px; padding: 1px 8px 2px; font-size: 9.5px; line-height: 1.4; white-space: nowrap; }
.slider--people .person { padding-top: 22px; }
.slider--people .person--featured { border-color: rgba(143,103,23,.5); background: linear-gradient(180deg, #FFF9EC, var(--surface) 45%); }
.slider--people .person__sub { margin-top: auto; padding-top: 2px; }
.person__stars { font-size: 12px; color: #B7791F; font-weight: 600; }
.person__stars small { color: var(--muted); font-weight: 400; }
.person .trust-badge { font-size: 10.5px; padding: 1px 7px 1px 5px; }
/* Thả tim */
.article__react { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.heart-wrap { display: flex; flex-direction: column; gap: 4px; }
.heart-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #F3C9CF; border-radius: 99px; background: #fff; color: var(--brand); font: 600 14px var(--f-ui); cursor: pointer; transition: background .15s, transform .15s; }
.heart-btn:hover:not(:disabled) { background: #FFF5F6; }
.heart-btn__icon { font-size: 18px; line-height: 1; }
.heart-btn b { color: var(--muted); font-weight: 600; }
.heart-btn.is-on { background: var(--brand); color: #fff; border-color: var(--brand); cursor: default; }
.heart-btn.is-on b { color: rgba(255,255,255,.85); }
.heart-btn.is-pop .heart-btn__icon { animation: heart-pop .4s ease; }
@keyframes heart-pop { 50% { transform: scale(1.5); } }
.heart-hint, .heart-msg { font-size: 12px; color: var(--muted); }
.heart-msg.is-coin { color: #B7791F; font-weight: 700; font-size: 13px; }

/* ---------- Cập nhật thực tế từ chuyên viên (trang dự án) ---------- */
.upd-list { list-style: none; display: flex; flex-direction: column; gap: 14px; position: relative; }
.upd { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.upd__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--muted); }
.upd__type { font-weight: 700; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; background: #E8F0FB; color: #1F4E8C; }
.upd--gia .upd__type { background: var(--gold-soft); color: #8F6717; }
.upd--anh .upd__type { background: #E4F2EA; color: #14563A; }
.upd__text { font-size: 15px; line-height: 1.6; color: #2C3646; }
.upd__src { font-size: 13px; color: var(--muted); }
.upd__photos { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.upd__photos a { display: block; border-radius: 8px; overflow: hidden; cursor: zoom-in; background: var(--ph); }
.upd__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.upd__photos a:hover img { transform: scale(1.05); }
.upd__by { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13.5px; color: #3A4556; }
.upd__by .avatar { width: 34px; height: 34px; font-size: 12px; }
.upd__by > span { display: flex; flex-direction: column; gap: 1px; }
.upd__by:hover b { color: var(--brand); }

/* ---------- Hỏi chuyên viên (trang dự án) ---------- */
.qa-pub { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.qa-q { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.qa-q__head { font-size: 13px; color: var(--muted); }
.qa-q__text { font: 600 16.5px/1.45 var(--f-ui); color: var(--ink); }
.qa-q__wait { font-size: 13.5px; color: var(--muted); font-style: italic; }
.qa-a { border-left: 3px solid #A9D3BB; background: #F7FBF9; border-radius: 0 10px 10px 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.qa-a__who { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.qa-a__who .avatar { width: 36px; height: 36px; font-size: 12px; }
.qa-a__who > span { display: flex; flex-direction: column; gap: 1px; }
.qa-a__who:hover b { color: var(--brand); }
.qa-a__text { font-size: 15px; line-height: 1.6; color: #2C3646; }
.qa-a__act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qa-helpful { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 12px; font: 600 13px var(--f-ui); color: #3A4556; cursor: pointer; }
.qa-helpful:hover:not(:disabled) { border-color: var(--ok); color: var(--ok); }
.qa-helpful.is-on { background: #E4F2EA; border-color: #A9D3BB; color: #14563A; cursor: default; }
.qa-ask { display: flex; flex-direction: column; gap: 12px; }
.qa-ask h3 { font-size: 16px; }
.qa-ask__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.qa-ask__row .f { flex: 1 1 220px; }
.qa-ask__done { padding: 14px; border-radius: 8px; background: #E4F2EA; border: 1px solid #A9D3BB; color: #14563A; font-weight: 600; }
.qa-ask [hidden] { display: none; }
.qa-ask__note { font-size: 12.5px; }

/* ---------- Trang quản lý: đóng góp, hỏi đáp ---------- */
.ct-perks { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-bottom: 14px; }
.ct-perks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; }
.ct-perks b { font: 700 18px/1 var(--f-display); color: #B7791F; white-space: nowrap; }
.ct-types { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-types legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; width: 100%; }
.ct-type { position: relative; }
.ct-type input { position: absolute; opacity: 0; }
.ct-type span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; font-weight: 600; cursor: pointer; background: var(--surface); }
.ct-type input:checked + span { border-color: var(--brand); background: #FFF5F6; color: var(--brand); }
.ct-type input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.ct-previews { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-previews img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; }
.ct-rule { font-size: 12.5px; }
.ct-mine { list-style: none; display: flex; flex-direction: column; }
.ct-mine li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ct-mine__thumb img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; display: block; }
.ct-mine__txt { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.ct-mine__txt small { color: var(--muted); font-size: 12.5px; }
.ct-mine__why { color: var(--brand) !important; }
.ct-mine__end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ct-mine__coin { color: #a06a00; font-weight: 700; font-size: 12.5px; }
.qa-item { display: flex; flex-direction: column; gap: 8px; }
.qa-item--open { border-left: 3px solid var(--brand); }
.qa-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.qa-item__q { font-weight: 600; font-size: 15px; }
.qa-item__form { display: flex; flex-direction: column; gap: 6px; }
