/*
Theme Name: Lozihome
Theme URI: https://lozihome.com
Author: Lozihome
Description: Theme cho Lozihome — kết nối người mua nhà (để ở, cho thuê, đầu tư) với chủ đầu tư, ngân hàng, bảo hiểm và đối tác nội thất. Gồm trang chủ, hồ sơ tìm nhà theo mục đích, chuyên mục bài viết, trang chi tiết bài viết và quản lý đối tác, yêu cầu khách hàng.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lozihome
*/

/* ---------- Tokens ---------- */
:root {
	--ground: #FBF8F3;
	--sand: #F2EDE4;
	--sand-2: #F8F5EF;
	--line: #E8E1D5;
	--line-2: #D9D2C5;
	--ink: #1C2B27;
	--muted: #4A5753;
	--muted-2: #5C6965;
	--green: #13574C;
	--green-d: #0C3D35;
	--green-l: #E6EFEC;
	--orange: #C45A1C;
	--orange-l: #FBE9DC;
	--orange-cta: #F2A65A;
	--gold: #F2C38F;
	--blue: #2B4F86;
	--blue-l: #E3EAF4;
	--purple: #5B3F86;
	--purple-l: #ECE6F4;
	--brown: #6B5418;
	--brown-l: #F1EBDD;
	--warn-bg: #FFF6E6;
	--warn-line: #F2D3A3;
	--warn-ink: #6B4A12;
	--error: #A33A12;
	--radius: 20px;
	--font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--shadow: 0 24px 48px -24px rgba(28, 43, 39, .18);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-d); }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; }
p { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.ico { flex: 0 0 auto; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); }
.eyebrow.light { color: var(--gold); }
.h-section { margin-top: 12px; font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; max-width: 760px; }
.lead { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 660px; }
.section { padding: 88px 0; }
.bg-sand { background: var(--sand); }
.bg-green { background: var(--green); color: var(--ground); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); color: #fff; }
.btn-outline { background: #fff; color: var(--green); border: 1.5px solid #C9D8D3; }
.btn-outline:hover { border-color: var(--green); color: var(--green-d); }
.btn-cta { background: var(--orange-cta); color: var(--ink); }
.btn-cta:hover { background: #E89543; color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--ground); border: 1.5px solid #5E716B; }
.btn-ghost-dark:hover { color: #fff; border-color: #8FA39D; }
.btn-pill { border-radius: 999px; }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; font-size: 16px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-word { font-size: 24px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.brand-word span { color: var(--green); }
.custom-logo { max-height: 48px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; display: inline-flex; min-height: 44px; align-items: center; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--green); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-actions .btn { min-height: 44px; font-size: 14px; padding: 0 18px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1020px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; }
	.header-actions .btn-zalo { display: none; }
}
@media (max-width: 480px) { .header-actions .btn-primary { display: none; } }

/* ---------- Chips & forms ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .12s, border-color .12s; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.chips.soft .chip { min-height: 40px; border-radius: 999px; font-size: 13px; padding: 0 14px; }
.chips.soft .chip[aria-pressed="true"] { background: var(--green-l); color: var(--green-d); border: 1.5px solid var(--green); }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.field-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field-label small { font-weight: 400; font-size: 14px; }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 15px; font-weight: 400; color: var(--ink); }
.select { min-height: 48px; padding: 0 12px; }
.textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 96px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meter { background: #F5F1EA; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.meter-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.meter-row strong { color: var(--green); }
.meter-bar { height: 8px; border-radius: 999px; background: #E3DCCF; overflow: hidden; }
.meter-bar span { display: block; height: 8px; border-radius: 999px; background: var(--green); width: 0; transition: width .25s; }
.meter-hint { font-size: 13px; color: var(--muted); }
.form-note { font-size: 12px; color: var(--muted-2); text-align: center; }
.form-error { font-size: 13px; font-weight: 600; color: var(--error); }
.reward { background: var(--green-l); border-radius: 16px; padding: 16px 20px; color: var(--green-d); }
.reward strong { font-size: 15px; display: block; }
.reward p { margin-top: 4px; font-size: 13px; line-height: 1.55; color: #2F4A44; }
.hint-ok { font-size: 13px; font-weight: 500; color: var(--green); }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: #3A4743; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: 0 0 auto; }
.success { text-align: center; padding: 40px 8px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.success-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--green-l); color: var(--green); display: flex; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 72px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 460px; min-width: 0; padding-top: 24px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--green-l); color: var(--green); font-size: 13px; font-weight: 600; }
.hero h1 { margin-top: 24px; font-size: clamp(44px, 6vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -2px; }
.hero h1 span { color: var(--orange); }
.hero-lead { margin-top: 24px; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.hero-points { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.hero-point { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.ibox { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.ibox-lg { width: 56px; height: 56px; border-radius: 16px; }
.ibox-md { width: 48px; height: 48px; border-radius: 14px; }
.t-green { background: var(--green-l); color: var(--green); }
.t-orange { background: var(--orange-l); color: #B4521A; }
.t-blue { background: var(--blue-l); color: var(--blue); }
.t-purple { background: var(--purple-l); color: var(--purple); }
.request-card { flex: 1 1 480px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.request-card h2 { font-size: 22px; font-weight: 700; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; background: #F2EEE7; border-radius: 16px; padding: 5px; }
.seg button { min-height: 46px; border: 0; border-radius: 12px; background: transparent; font-size: 15px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--green); color: #fff; }
@media (max-width: 560px) { .request-card { padding: 22px; } }

/* ---------- Purpose cards ---------- */
.cards-3 { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.pcard { background: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.pcard h3 { font-size: 24px; font-weight: 800; }
.pcard > p { font-size: 15px; color: var(--muted); }
.pcard-list { border-top: 1px solid #EFE9DF; padding-top: 16px; display: flex; flex-direction: column; gap: 10px; margin: 0; list-style: none; padding-left: 0; }
.pcard-list li { font-size: 15px; line-height: 1.5; }
.pcard-list li::before { content: '• '; }
.pcard-list li.pcard-list-label { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }
.pcard-list li.pcard-list-label::before { content: none; }
.pcard .btn { margin-top: auto; }

/* ---------- How it works ---------- */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step-card .num { font-size: 40px; font-weight: 800; color: var(--gold); }
.step-card h3 { font-size: 20px; font-weight: 700; }
.step-card p { font-size: 15px; color: #D5E3DF; }
.bg-green .h-section { color: var(--ground); }

/* ---------- Articles ---------- */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.tabs { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-selected="true"], .tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.with-aside { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.with-aside > .main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.with-aside > .aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.feature { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ink); }
.feature:hover { color: var(--ink); border-color: #CFC6B6; }
.feature-media { flex: 1 1 300px; min-height: 260px; background: var(--ink); position: relative; display: flex; align-items: center; justify-content: center; color: var(--orange-cta); }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-media .flag { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: var(--orange-cta); color: var(--ink); font-size: 12px; font-weight: 700; z-index: 1; }
.feature-body { flex: 1 1 320px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.feature-body h3 { font-size: 26px; line-height: 1.3; font-weight: 800; }
.feature-body p { font-size: 15px; color: var(--muted); }
.meta { font-size: 13px; color: var(--muted-2); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pcard-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.pcard-post:hover { color: var(--ink); border-color: #CFC6B6; transform: translateY(-2px); }
.pcard-post[hidden] { display: none; }
.thumb { height: 160px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .cat { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; color: var(--ink); z-index: 1; }
.c-green { background: var(--green-l); color: var(--green); }
.c-orange { background: var(--orange-l); color: #B4521A; }
.c-blue { background: var(--blue-l); color: var(--blue); }
.c-purple { background: var(--purple-l); color: var(--purple); }
.c-sand { background: var(--brown-l); color: var(--brown); }
.pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard-body h3 { font-size: 17px; line-height: 1.4; font-weight: 700; }
.pcard-body .meta { margin-top: auto; font-size: 12px; }
.purpose-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ptag { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; text-decoration: none; }
.p-o { background: var(--green-l); color: var(--green); }
.p-thue { background: var(--orange-l); color: #8F3F12; }
.p-dautu { background: var(--blue-l); color: var(--blue); }
.empty { background: #fff; border: 1px dashed var(--line-2); border-radius: 20px; padding: 32px; text-align: center; color: var(--muted); }

/* ---------- Sidebar widgets ---------- */
.widget { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.widget h3 { font-size: 18px; font-weight: 800; }
.widget-dark { background: var(--green); border-color: var(--green); color: var(--ground); }
.widget-dark p { font-size: 14px; color: #D5E3DF; }
.widget-dark .field { color: #D5E3DF; font-size: 13px; }
.widget-dark .input { border: 0; }
.rate-list { display: flex; flex-direction: column; }
.rate-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #F0EBE2; }
.rate-row:last-child { border-bottom: 0; }
.rate-name { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.rate-val { text-align: right; }
.rate-val strong { display: block; font-size: 15px; font-weight: 800; color: var(--green); }
.rate-val span { font-size: 11px; color: var(--muted-2); }
.mono { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; background: var(--blue-l); color: var(--blue); overflow: hidden; }
.mono.sm { width: 32px; height: 32px; border-radius: 8px; font-size: 10px; }
.mono.lg { width: 52px; height: 52px; border-radius: 14px; font-size: 15px; background: var(--green); color: #fff; }
.mono.has-logo { background: #fff; border: 1px solid var(--line); padding: 4px; }
.mono.has-logo img { width: 100%; height: 100%; object-fit: contain; }
.popular { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.popular a { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: var(--ink); font-size: 14px; line-height: 1.45; font-weight: 600; }
.popular a:hover { color: var(--green); }
.popular .n { font-size: 22px; font-weight: 800; color: var(--orange); min-width: 24px; line-height: 1.1; }
.small-note { font-size: 12px; line-height: 1.5; color: var(--muted-2); }

/* ---------- After-purchase ---------- */
.box { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 48px; }
.mini-cards { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.mini-card { background: var(--sand-2); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.mini-card h3 { font-size: 20px; font-weight: 700; }
.mini-card p { font-size: 15px; color: var(--muted); }
@media (max-width: 560px) { .box { padding: 28px; } }

/* ---------- Partners ---------- */
.notice { margin-top: 24px; display: flex; gap: 12px; align-items: flex-start; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 14px; padding: 14px 18px; font-size: 13px; line-height: 1.55; color: var(--warn-ink); }
.counts { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.count { background: #fff; border-radius: 16px; padding: 18px 20px; }
.count strong { font-size: 26px; font-weight: 800; color: var(--green); display: block; }
.count span { font-size: 13px; color: var(--muted); }
.ptabs .tab { border-radius: 12px; }
.ptabs .tab[aria-selected="true"] { background: var(--green); border-color: var(--green); }
.panel { margin-top: 20px; background: #fff; border-radius: 24px; padding: 32px; }
.panel[hidden] { display: none; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: baseline; }
.panel-head h3 { font-size: 22px; font-weight: 800; }
.panel-head span { font-size: 14px; color: var(--muted); }
.partner-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.partner { border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.partner-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rank { padding: 4px 10px; border-radius: 999px; background: var(--warn-bg); color: var(--warn-ink); font-size: 12px; font-weight: 700; }
.partner h4 { font-size: 17px; font-weight: 800; }
.partner .legal { font-size: 12px; color: var(--muted-2); }
.partner .desc { font-size: 13px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 3px 9px; border-radius: 999px; background: #F2EEE7; font-size: 12px; font-weight: 500; }
.partner .link-arrow { margin-top: auto; font-size: 14px; min-height: 32px; }
.partner-row { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; gap: 12px; align-items: center; }
.partner-row h4 { font-size: 15px; font-weight: 700; }
.partner-row span { font-size: 12px; color: var(--muted-2); }
.subgroup { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.subgroup h4 { font-size: 17px; font-weight: 800; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.table-scroll { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.rates-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14px; }
.rates-table th { background: var(--sand-2); text-align: left; padding: 14px 16px; font-weight: 700; }
.rates-table td { padding: 14px 16px; border-top: 1px solid #F0EBE2; vertical-align: middle; }
.rates-table .rate { font-weight: 800; color: var(--green); font-size: 16px; }
.bank-cell { display: flex; align-items: center; gap: 12px; }
.bank-cell div { display: flex; flex-direction: column; gap: 2px; }
.bank-cell span { font-size: 12px; color: var(--muted-2); }
.rates-table .btn { min-height: 40px; padding: 0 14px; font-size: 13px; border-radius: 10px; white-space: nowrap; }
.callouts { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }
.callouts > div { flex: 1 1 300px; border-radius: 14px; padding: 16px 18px; font-size: 14px; line-height: 1.55; }
.callout-green { background: var(--green-l); color: var(--green-d); }
.callout-sand { background: var(--sand-2); color: var(--muted); font-size: 13px !important; }
.principles { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.principle { display: flex; gap: 14px; align-items: flex-start; }
.principle .ibox { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--green); }
.principle strong { font-size: 15px; }
.principle p { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- Story & CTA ---------- */
.story { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.story-photo { flex: 0 0 auto; width: 160px; height: 160px; border-radius: 50%; background: #E9E3D8; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #6B6458; text-align: center; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story blockquote { margin: 16px 0 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; font-weight: 600; }
.story cite { display: block; margin-top: 20px; font-size: 15px; color: var(--muted); font-style: normal; }
.cta-band { background: var(--ink); color: var(--ground); border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; }
.cta-band p { margin-top: 12px; font-size: 17px; color: #C9D3D0; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .story, .cta-band { padding: 28px; } .cta-band h2 { font-size: 28px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding: 48px 24px; font-size: 14px; color: var(--muted); }
.footer-cols h2 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: var(--green); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-legal { padding: 0 24px 32px; font-size: 13px; color: var(--muted-2); }
.float-contact { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float-contact a { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); text-decoration: none; }
.float-zalo { background: #0068FF; color: #fff; font-weight: 800; font-size: 13px; }
.float-zalo:hover { color: #fff; }
.float-phone { background: var(--green); color: #fff; }
.float-phone:hover { color: #fff; }

/* ---------- Archive ---------- */
.page-hero { padding: 56px 0 8px; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; letter-spacing: -1.5px; }
.page-hero p { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 680px; }
.breadcrumb { font-size: 13px; color: var(--muted-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--muted-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.pagination { margin-top: 12px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-form { display: flex; gap: 8px; }
.search-form .input { flex: 1; }

/* ---------- Single article ---------- */
.article-head { padding: 40px 0 0; }
.article-head .wrap-narrow { max-width: 880px; }
.article-cats { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cat-chip { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; }
.article-head h1 { margin-top: 16px; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.15; font-weight: 800; letter-spacing: -1.2px; }
.article-lead { margin-top: 18px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.byline { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.byline img { width: 44px; height: 44px; border-radius: 50%; }
.byline .who { display: flex; flex-direction: column; }
.byline .who strong { font-size: 15px; }
.byline .who span { font-size: 13px; color: var(--muted-2); }
.byline .dot { width: 4px; height: 4px; border-radius: 50%; background: #B9B1A3; }
.byline .read { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted-2); }
.article-cover { margin: 32px auto 0; max-width: 1240px; padding: 0 24px; }
.article-cover img, .article-cover .cover-ph { width: 100%; border-radius: 24px; aspect-ratio: 2 / 1; object-fit: cover; }
.article-cover .cover-ph { display: flex; align-items: center; justify-content: center; aspect-ratio: auto; height: 220px; }
.article-cover figcaption { margin-top: 10px; font-size: 13px; color: var(--muted-2); text-align: center; }
.article-layout { max-width: 1240px; margin: 40px auto 0; padding: 0 24px; display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 14px; }
.toc-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc li.lv3 a { padding-left: 26px; font-size: 13px; }
.toc li a:hover { color: var(--ink); }
.toc li a.is-active { color: var(--green); border-left-color: var(--green); font-weight: 600; }
.share { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.share-title { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-2); }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.share-btn:hover { border-color: var(--green); color: var(--green); }
.share-toast { font-size: 12px; color: var(--green); min-height: 18px; }
.article-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.cta-card { background: var(--green); color: var(--ground); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.cta-card h3 { font-size: 19px; font-weight: 800; }
.cta-card p { font-size: 14px; color: #D5E3DF; }
@media (max-width: 1180px) {
	.article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
	.article-toc-col { grid-column: 1 / -1; }
	.toc { position: static; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
	.share { flex-direction: row; align-items: center; gap: 12px; }
}
@media (max-width: 900px) {
	.article-layout { grid-template-columns: minmax(0, 1fr); }
	.article-aside { position: static; }
}

/* Article typography */
.entry-content { font-size: 18px; line-height: 1.75; color: #24332F; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.8em; font-size: 28px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.entry-content h3 { margin-top: 1.5em; font-size: 22px; font-weight: 700; color: var(--ink); }
.entry-content h4 { margin-top: 1.3em; font-size: 18px; font-weight: 700; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 1.6em 0; padding: 20px 24px; background: var(--sand-2); border-radius: 16px; font-size: 19px; font-weight: 600; color: var(--ink); border: 0; }
.entry-content blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--muted-2); font-style: normal; }
.entry-content figure { margin: 1.6em 0; }
.entry-content img { border-radius: 16px; }
.entry-content figcaption { margin-top: 8px; font-size: 14px; color: var(--muted-2); text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content .wp-block-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.entry-content th { background: var(--sand-2); text-align: left; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid #F0EBE2; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content .alignwide { margin-left: -60px; margin-right: -60px; }
.entry-content pre, .entry-content code { background: var(--sand-2); border-radius: 8px; padding: 2px 6px; font-size: .9em; }
.entry-content pre { padding: 16px; overflow-x: auto; }
@media (max-width: 900px) { .entry-content { font-size: 17px; } .entry-content .alignwide { margin-left: 0; margin-right: 0; } }

.inline-cta { margin-top: 40px; background: var(--green-l); border-radius: 20px; padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.inline-cta h3 { font-size: 20px; font-weight: 800; color: var(--green-d); }
.inline-cta p { margin-top: 6px; font-size: 15px; color: #2F4A44; }
.disclaimer { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--muted-2); background: var(--sand-2); border-radius: 14px; padding: 14px 18px; }
.post-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 13px; text-decoration: none; color: var(--ink); }
.author-box { margin-top: 32px; display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; }
.author-box strong { font-size: 16px; }
.author-box p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.post-nav { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.4; }
.post-nav a span { font-size: 12px; font-weight: 600; color: var(--muted-2); }
.post-nav .next { text-align: right; }
.related { margin-top: 72px; padding: 72px 0; background: var(--sand); }

/* Comments */
.comments { margin-top: 40px; }
.comments h2 { font-size: 22px; font-weight: 800; }
.comment-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 16px; }
.comment-list .children { list-style: none; padding-left: 24px; margin-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.comment-body { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; font-size: 15px; }
.comment-meta { font-size: 13px; color: var(--muted-2); display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.comment-meta img { border-radius: 50%; }
.comment-respond { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.comment-form p { margin-top: 12px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.comment-form .submit { min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--green); color: #fff; font-weight: 700; cursor: pointer; }

/* ---------- Hồ sơ wizard ---------- */
.hoso-intro .wrap-narrow { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 88px; }
.hoso-intro h1 { margin-top: 12px; font-size: clamp(34px, 4.6vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -1.5px; }
.hoso-intro .lead { font-size: 18px; }
.why-list { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.why-item .ibox { width: 40px; height: 40px; border-radius: 12px; font-weight: 800; }
.why-item strong { font-size: 16px; }
.why-item p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.wizard { padding: 40px 0 88px; }
.stepper { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.stepper button { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; min-height: 44px; font-size: 13px; color: var(--muted-2); }
.stepper .bar { height: 6px; border-radius: 999px; background: #E3DCCF; display: block; }
.stepper .done .bar { background: var(--green); }
.stepper .done { color: var(--green); font-weight: 600; }
.stepper .cur .bar { background: var(--orange); }
.stepper .cur { color: var(--ink); font-weight: 700; }
.wiz-body { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.wiz-card { flex: 999 1 560px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; }
.wiz-card h2 { font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.wiz-step[hidden] { display: none; }
.wiz-nav { margin-top: 32px; padding-top: 24px; border-top: 1px solid #EFE9DF; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.wiz-nav .right { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-skip { background: transparent; border: 0; color: var(--muted); font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 48px; padding: 0 12px; }
.wiz-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.why-panel { background: var(--green); color: var(--ground); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.why-panel .label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.why-panel h3 { font-size: 20px; font-weight: 700; line-height: 1.35; }
.why-panel ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.why-panel li { font-size: 14px; color: #D5E3DF; line-height: 1.6; }
.why-panel li::before { content: '• '; }
.purpose-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.purpose-card { display: flex; flex-direction: column; gap: 12px; text-align: left; padding: 22px; border-radius: 18px; border: 2px solid #E3DCCF; background: #fff; cursor: pointer; color: var(--ink); }
.purpose-card:hover { border-color: var(--green); }
.purpose-card strong { font-size: 20px; font-weight: 800; }
.purpose-card .d { font-size: 14px; line-height: 1.55; color: var(--muted); }
.purpose-card .ask { font-size: 12px; line-height: 1.5; font-weight: 600; color: var(--green); }
.purpose-card[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.purpose-card[aria-pressed="true"] .d { color: #D5E3DF; }
.purpose-card[aria-pressed="true"] .ask { color: var(--gold); }
.purpose-card[aria-pressed="true"] .ibox { background: rgba(255, 255, 255, .15); color: #fff; }
.kid-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--sand-2); border-radius: 14px; padding: 12px 14px; }
.kid-row label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.kid-row .input { width: 110px; min-height: 42px; }
.kid-row .stage { flex: 1 1 160px; font-size: 13px; font-weight: 500; color: var(--green); }
.kid-row button { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: var(--muted-2); }
.summary { background: var(--sand-2); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.summary .label { font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: 1px; text-transform: uppercase; }
.summary-row { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; line-height: 1.5; }
.summary-row b { min-width: 110px; }
.summary-row span { flex: 1 1 240px; color: #3A4743; }
.trust-line { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .wiz-card { padding: 22px; } .wiz-aside { position: static; } }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: 48px; font-weight: 800; }
.notfound p { margin-top: 12px; color: var(--muted); }
.notfound .btns { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Generic page ---------- */
.page-content { max-width: 820px; margin: 0 auto; padding: 48px 24px 88px; }
.page-content h1 { font-size: clamp(32px, 4.5vw, 44px); font-weight: 800; letter-spacing: -1px; margin-bottom: 24px; }

/* WordPress core alignment */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 14px; color: var(--muted-2); }
.sticky, .bypostauthor, .gallery-caption { }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
