/* Tân Hoàng Linh Solar — theme.css
   Mọi màu lấy từ preset trong theme.json (--wp--preset--color--*). Tiền tố lớp: thl-  */

:root {
	--thl-ease: var(--wp--custom--ease, cubic-bezier(0.2, 0.7, 0.2, 1));
	--thl-fast: 200ms;
	--thl-mid: 400ms;
	--thl-slow: 700ms;
	--thl-brocade: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6 6 .8 12 6 6 11.2Z M12 6 18 .8 24 6 18 11.2Z' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3Cpath d='M6 3.6 8.4 6 6 8.4 3.6 6Z M18 3.6 20.4 6 18 8.4 15.6 6Z' fill='%23000'/%3E%3C/svg%3E");
	--thl-focus: var(--wp--preset--color--pine);
	--thl-header-h: 80px;
	--thl-field-border: #8c8577; /* ≥3:1 trên nền sáng (WCAG 1.4.11) */
}

/* ---------- Chế độ tối "Đêm đại ngàn" (theo cài đặt hệ điều hành) ---------- */
@media (prefers-color-scheme: dark) {
	:root:root {
		--wp--preset--color--paper: #101814;
		--wp--preset--color--paper-raised: #18241d;
		--wp--preset--color--line: #2a3a30;
		--wp--preset--color--coffee: #f1e9df;
		--wp--preset--color--coffee-muted: #b9a897;
		--wp--preset--color--basalt: #e06a3d;
		--wp--preset--color--basalt-deep: #ec8158;
		--wp--preset--color--basalt-on: #1e140e;
		--wp--preset--color--panel: #c7d4f5;
		--wp--preset--color--sun: #e8b04f;
		--wp--preset--color--sun-ink: #e8b04f;
		--wp--preset--color--night: #1d4434;
		--wp--preset--color--night-deep: #0e1c16;
		--wp--preset--color--pine: #7fc08a;
		--wp--preset--color--brass: #c99a4b;
		--thl-focus: #e8b04f;
		--thl-field-border: #5d7266;
		color-scheme: dark;
	}
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--thl-header-h) + 16px); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:where(a, button, input, summary, [tabindex]):focus-visible { outline: 2px solid var(--thl-focus); outline-offset: 3px; }
img { height: auto; }

/* ---------- Eyebrow ---------- */
.thl-eyebrow, .is-style-eyebrow {
	font-family: var(--wp--preset--font-family--sans) !important;
	font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important;
	letter-spacing: 0.18em !important; text-transform: uppercase;
	color: var(--wp--preset--color--sun-ink);
}
.is-style-night .thl-eyebrow, .thl-calc__result .thl-eyebrow { color: var(--wp--preset--color--sun-glow); }

/* ---------- Dải tối ---------- */
.wp-block-group.is-style-night {
	background: var(--wp--preset--color--night);
	color: var(--wp--preset--color--night-ink);
}
.is-style-night :where(h1, h2, h3, h4) { color: var(--wp--preset--color--night-ink); }
.is-style-night .thl-muted, .is-style-night .has-coffee-muted-color { color: var(--wp--preset--color--night-muted) !important; }
.is-style-night a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--sun-glow); }
.thl-muted { color: var(--wp--preset--color--coffee-muted); }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
	transition: background-color var(--thl-fast) var(--thl-ease), color var(--thl-fast) var(--thl-ease), border-color var(--thl-fast) var(--thl-ease);
}
.wp-block-button__link::after {
	content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform var(--thl-fast) var(--thl-ease);
}
.wp-block-button__link:hover::after { transform: translateX(3px); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--coffee); border: 1px solid currentColor; padding: 13px 31px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--coffee); color: var(--wp--preset--color--paper); }
.wp-block-button.is-style-sun > .wp-block-button__link { background: var(--wp--preset--color--sun); color: var(--wp--preset--color--sun-on); }
.wp-block-button.is-style-sun > .wp-block-button__link:hover { background: var(--wp--preset--color--night-ink); color: var(--wp--preset--color--sun-on); }
.wp-block-button.is-style-ghost-night > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--night-ink); border: 1px solid var(--wp--preset--color--night-muted); padding: 13px 31px; }
.wp-block-button.is-style-ghost-night > .wp-block-button__link:hover { color: var(--wp--preset--color--sun-glow); border-color: var(--wp--preset--color--sun-glow); }
.wp-block-button.is-style-ghost-night > .wp-block-button__link::after,
.thl-no-arrow .wp-block-button__link::after { display: none; }
.thl-btn-sm .wp-block-button__link { min-height: 40px; padding: 10px 22px; font-size: 14px; }

/* ---------- Hoạ tiết thổ cẩm ---------- */
.wp-block-separator.is-style-brocade {
	border: 0 !important; height: 12px; width: 96px; max-width: 100%; margin-left: 0; opacity: 1;
	background: var(--wp--preset--color--brass) !important;
	-webkit-mask: var(--thl-brocade) repeat-x left center / 24px 12px;
	        mask: var(--thl-brocade) repeat-x left center / 24px 12px;
}
.wp-block-separator.is-style-brocade.alignwide, .wp-block-separator.is-style-brocade.alignfull { width: 100%; }
.wp-block-separator.is-style-brocade.has-text-align-center, .has-text-align-center > .wp-block-separator.is-style-brocade { margin-inline: auto; }
.is-style-night .wp-block-separator.is-style-brocade { background: var(--wp--preset--color--sun-glow) !important; }
.wp-block-separator.is-style-brocade.will-draw { clip-path: inset(0 100% 0 0); transition: clip-path var(--thl-slow) var(--thl-ease); }
.wp-block-separator.is-style-brocade.will-draw.is-drawn { clip-path: inset(0 0 0 0); }

/* ---------- Khung mái nhà Rông ---------- */
.wp-block-image.is-style-rong img, .thl-rong { clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%); border-radius: 0 !important; }

/* ---------- Header ---------- */
.thl-header-wrap { position: sticky; top: 0; z-index: 50; }
.admin-bar .thl-header-wrap { top: var(--wp-admin--admin-bar--height, 32px); }
.thl-header {
	min-height: var(--thl-header-h);
	background: color-mix(in srgb, var(--wp--preset--color--paper) 92%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--thl-mid) var(--thl-ease), box-shadow var(--thl-mid) var(--thl-ease);
}
.is-scrolled .thl-header { border-bottom-color: var(--wp--preset--color--line); }
.thl-logo { align-items: center; }
.thl-logo .wp-block-image { margin: 0; flex: none; }
.thl-logo .wp-block-image img { display: block; height: auto; }
.thl-logo :where(.wp-block-site-title, .wp-block-site-tagline) { margin: 0; white-space: nowrap; }
.thl-footer .thl-logo .wp-block-site-title a { color: var(--wp--preset--color--night-ink); }
.thl-footer .thl-logo .wp-block-site-tagline { color: var(--wp--preset--color--sun-glow); }
@media (max-width: 420px) { .thl-header .thl-logo .wp-block-site-title { font-size: 17px !important; } .thl-header .wp-block-site-tagline { display: none; } }
.thl-header .wp-block-navigation a { position: relative; padding-block: 8px; color: var(--wp--preset--color--coffee); }
.thl-header .wp-block-navigation .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--wp--preset--color--basalt);
	transform: scaleX(0); transform-origin: left; transition: transform var(--thl-fast) var(--thl-ease);
}
.thl-header .wp-block-navigation .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }
.thl-header .is-menu-open .wp-block-navigation-item__content::after { display: none; }
.thl-hotline { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.thl-hotline a { color: var(--wp--preset--color--basalt); text-decoration: none; }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--paper) !important; color: var(--wp--preset--color--coffee) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--display); font-size: 28px; }
@media (max-width: 900px) { .thl-hotline { display: none; } }
@media (max-width: 600px) { .thl-header .wp-block-buttons { display: none; } }

/* ---------- Hero ---------- */
.thl-hero { position: relative; overflow: hidden; }
.thl-hero h1 { color: var(--wp--preset--color--night-ink); }
.thl-hero .thl-lead { color: var(--wp--preset--color--night-muted); max-width: 34em; }
.thl-hero-media { position: relative; }
.thl-hero-media::before, .thl-hero-media::after {
	content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--wp--preset--color--sun-glow); opacity: 0.35; pointer-events: none;
	left: 50%; top: 0; transform: translate(-50%, -38%);
}
.thl-hero-media::before { width: 78%; aspect-ratio: 1; }
.thl-hero-media::after { width: 104%; aspect-ratio: 1; opacity: 0.18; }
.thl-hero-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.thl-trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--wp--preset--color--night-muted); }
.thl-trust li { display: flex; align-items: center; gap: 8px; }
.thl-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wp--preset--color--sun-glow); }
@media (max-width: 781px) { .thl-hero-media img { aspect-ratio: 4 / 3; } }

/* ---------- Hero B: nền cát, mặt trời, đồi pin, đất đỏ ---------- */
/* Hero luôn giữ tông sáng (cả ở chế độ tối) vì hình minh hoạ có màu cố định. */
.thl-hero-b {
	--wp--preset--color--coffee: #2a1d15; --wp--preset--color--coffee-muted: #5a4a3f;
	--wp--preset--color--basalt: #b73f18; --wp--preset--color--basalt-deep: #94300f; --wp--preset--color--basalt-on: #fff8f0;
	--wp--preset--color--sun-ink: #8a5a12; --wp--preset--color--brass: #b88a3e; --thl-focus: #1d4434;
	position: relative; overflow: hidden; color: #2a1d15;
	background: #f4ead5 url("../images/hero-highlands-b.svg") right bottom / cover no-repeat;
	min-height: clamp(680px, 60vw, 880px);
	padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(300px, 26vw, 380px);
	box-sizing: border-box;
}
.thl-hero-b__inner { width: 100%; max-width: 760px; min-width: 0; }
.thl-hero-b__inner > * { max-width: 100%; min-width: 0; box-sizing: border-box; }
.thl-hero-b .thl-eyebrow { color: #8a5a12; }
.thl-hero-b__rule.wp-block-separator { width: 96px; margin: 0; }
.thl-hero-b__title { margin: 0; font-size: clamp(40px, 5.2vw, 76px) !important; line-height: 1.04 !important; letter-spacing: -0.02em; color: #2a1d15; }
.thl-hero-b .thl-hl { color: #b73f18; }
.thl-hero-b__lead { margin: 0; max-width: 32em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: #5a4a3f; }
.thl-hero-b__ctas { margin-top: 8px; align-items: center; }
.wp-block-button.is-style-link-arrow > .wp-block-button__link { background: transparent; color: #2a1d15; padding: 12px 0; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #b88a3e; }
.wp-block-button.is-style-link-arrow > .wp-block-button__link:hover { color: #b73f18; }
.thl-hero-b__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 12px; }
.thl-hero-b__card { margin: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255, 252, 248, 0.86); border: 1px solid #dfe3d6; border-radius: var(--wp--custom--radius--sm, 4px); max-width: 300px; }
.thl-hero-b__card strong { font-family: var(--wp--preset--font-family--display); font-size: 28px; font-weight: 600; color: #2f7d32; white-space: nowrap; font-variant-numeric: tabular-nums; }
.thl-hero-b__card span { min-width: 0; font-size: 13px; line-height: 1.4; color: #5a4a3f; }
.thl-hero-b__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #5a4a3f; }
.thl-hero-b__trust li { display: flex; align-items: center; gap: 8px; }
.thl-hero-b__trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e0a43a; }
.thl-hero-b__trust a { color: #2a1d15; font-weight: 600; text-decoration: none; display: inline-block; padding-block: 10px; }
.thl-hero-b__trust a:hover { color: #b73f18; }
@media (max-width: 781px) {
	/* Mặt trời và đồi nằm gọn dưới phần chữ, không chèn sau đoạn văn */
	.thl-hero-b { min-height: 0; padding-top: 40px; padding-bottom: 250px; background-size: 190% auto; background-position: 72% bottom; }
	.thl-hero-b__card { max-width: none; }
}

/* ---------- Số liệu ---------- */
.thl-stat { border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--sun-glow) 45%, transparent); padding-top: 24px; }
.thl-stat > * { margin: 0; }
.thl-stat__num {
	font-family: var(--wp--preset--font-family--display); font-weight: 500;
	font-size: clamp(40px, 4.4vw, 56px); line-height: 1.07;
	color: var(--wp--preset--color--sun-glow); font-variant-numeric: tabular-nums lining-nums;
}
.thl-stat__num span { font-family: var(--wp--preset--font-family--sans); font-size: 18px; font-weight: 600; letter-spacing: 0.04em; margin-left: 6px; color: var(--wp--preset--color--night-ink); }
.thl-stat__label { margin-top: 8px !important; font-size: 14px; line-height: 22px; color: var(--wp--preset--color--night-muted); }

/* ---------- Giải pháp ---------- */
.thl-service {
	position: relative; height: 100%;
	background: var(--wp--preset--color--paper-raised); border-radius: var(--wp--custom--radius--md);
	border-top: 2px solid var(--wp--preset--color--basalt);
	transition: transform var(--thl-mid) var(--thl-ease), box-shadow var(--thl-mid) var(--thl-ease);
}
.thl-service:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--raise); }
.thl-service h3 { margin: 0; }
.thl-service h3 a { color: inherit; text-decoration: none; }
.thl-service h3 a::after { content: ""; position: absolute; inset: 0; }
.thl-service .thl-meta { margin: 0; font-size: 14px; font-weight: 600; color: var(--wp--preset--color--sun-ink); font-variant-numeric: tabular-nums; }
.thl-service--accent { border-top-color: var(--wp--preset--color--pine); }

/* ---------- Thẻ dự án ---------- */
.thl-project {
	position: relative; overflow: hidden; height: 100%;
	background: var(--wp--preset--color--paper-raised); border-radius: var(--wp--custom--radius--md);
	transition: transform var(--thl-mid) var(--thl-ease), box-shadow var(--thl-mid) var(--thl-ease);
}
.thl-project:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--raise); }
.thl-project .wp-block-image { margin: 0; overflow: hidden; }
.thl-project .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform var(--thl-slow) var(--thl-ease); }
.thl-project:hover .wp-block-image img { transform: scale(1.04); }
.thl-project h3 a { color: inherit; text-decoration: none; }
.thl-project h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.thl-project .wp-block-separator.is-style-brocade { width: 0; transition: width var(--thl-mid) var(--thl-ease); }
.thl-project:hover .wp-block-separator.is-style-brocade { width: 72px; }
.thl-specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 24px; margin: 0; padding-top: 12px; border-top: 1px solid var(--wp--preset--color--line); }
.thl-specs dt { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--coffee-muted); }
.thl-specs dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Quy trình ---------- */
.thl-steps { counter-reset: step; }
.thl-step { counter-increment: step; position: relative; padding-top: 72px; }
.thl-step::before {
	content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
	font-family: var(--wp--preset--font-family--display); font-size: 48px; line-height: 1; font-weight: 500;
	color: var(--wp--preset--color--basalt); font-variant-numeric: tabular-nums;
}
.thl-step::after { content: ""; position: absolute; top: 24px; left: 72px; right: -24px; height: 1px; background: var(--wp--preset--color--line); }
.thl-steps > .wp-block-column:last-child .thl-step::after { display: none; }
.thl-step h3 { margin: 0 0 8px; font-size: var(--wp--preset--font-size--lead) !important; }
.thl-step p { margin: 0; color: var(--wp--preset--color--coffee-muted); font-size: 15px; line-height: 24px; }
@media (max-width: 781px) { .thl-step::after { display: none; } .thl-step { padding-top: 60px; } }

/* ---------- Hỏi đáp ---------- */
.thl-faq .wp-block-details { border-bottom: 1px solid var(--wp--preset--color--line); padding-block: 20px; margin: 0; }
.thl-faq .wp-block-details summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px;
	font-family: var(--wp--preset--font-family--display); font-size: 22px; line-height: 1.35; font-weight: 500;
}
.thl-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.thl-faq .wp-block-details summary::after {
	content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center;
	border: 1px solid var(--wp--preset--color--line); border-radius: 50%;
	font-family: var(--wp--preset--font-family--sans); font-size: 18px; color: var(--wp--preset--color--basalt);
	transition: transform var(--thl-fast) var(--thl-ease);
}
.thl-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.thl-faq .wp-block-details p { margin: 12px 0 0; max-width: 62ch; color: var(--wp--preset--color--coffee-muted); }

/* ---------- Máy tính tiết kiệm ---------- */
.thl-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--wp--preset--color--paper-raised); border-radius: var(--wp--custom--radius--lg); overflow: hidden; box-shadow: var(--wp--preset--shadow--raise); }
.thl-calc__form { display: grid; gap: 24px; padding: clamp(24px, 4vw, 40px); align-content: start; }
.thl-field { display: grid; gap: 8px; min-width: 0; }
.thl-field label, .thl-field legend { font-size: 14px; line-height: 20px; font-weight: 600; }
.thl-field output { font-family: var(--wp--preset--font-family--display); font-size: 32px; line-height: 40px; font-weight: 500; color: var(--wp--preset--color--basalt); font-variant-numeric: tabular-nums; }
.thl-range { width: 100%; accent-color: var(--wp--preset--color--basalt); height: 28px; margin: 0; }
.thl-hint { margin: 0; font-size: 14px; line-height: 22px; color: var(--wp--preset--color--coffee-muted); }
.thl-seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.thl-seg legend { margin-bottom: 8px; padding: 0; }
.thl-seg label { cursor: pointer; position: relative; }
.thl-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.thl-seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--thl-field-border); border-radius: var(--wp--custom--radius--sm); font-size: 14px; font-weight: 400; transition: background-color var(--thl-fast) var(--thl-ease), color var(--thl-fast) var(--thl-ease); }
.thl-seg input:checked + span { background: var(--wp--preset--color--coffee); color: var(--wp--preset--color--paper); border-color: var(--wp--preset--color--coffee); }
.thl-seg input:focus-visible + span { outline: 2px solid var(--thl-focus); outline-offset: 3px; }
.thl-calc__result { display: grid; gap: 24px; align-content: start; padding: clamp(24px, 4vw, 40px); background: var(--wp--preset--color--night); color: var(--wp--preset--color--night-ink); }
.thl-calc__result > * { margin: 0; }
.thl-calc__rows { display: grid; gap: 16px; margin: 0; }
.thl-calc__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--night-muted) 25%, transparent); }
.thl-calc__rows dt { font-size: 14px; line-height: 22px; color: var(--wp--preset--color--night-muted); }
.thl-calc__rows dd { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: 28px; line-height: 34px; font-weight: 500; color: var(--wp--preset--color--sun-glow); font-variant-numeric: tabular-nums; text-align: right; }
.thl-calc__note { font-size: 12px; line-height: 18px; color: var(--wp--preset--color--night-muted); }
@media (max-width: 781px) { .thl-calc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Form liên hệ (khung tạm, thay bằng plugin form) ---------- */
.thl-contact-card { background: var(--wp--preset--color--paper-raised); color: var(--wp--preset--color--coffee); border-radius: var(--wp--custom--radius--lg); }
.thl-contact-card :where(h3) { color: var(--wp--preset--color--coffee) !important; }
.thl-form { display: grid; gap: 16px; }
.thl-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.thl-form :where(input, select, textarea) {
	font: inherit; font-weight: 400; color: var(--wp--preset--color--coffee); background: var(--wp--preset--color--paper);
	border: 1px solid var(--thl-field-border); border-radius: var(--wp--custom--radius--sm); padding: 12px 14px; min-height: 48px; width: 100%; box-sizing: border-box;
}
.thl-form :where(input, select, textarea):focus { border-color: var(--wp--preset--color--basalt); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--basalt) 20%, transparent); }
.thl-form .thl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .thl-form .thl-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.wp-block-group.thl-footer.is-style-night { background: var(--wp--preset--color--night-deep); }
.thl-footer a { color: var(--wp--preset--color--night-ink); text-decoration: none; }
.thl-footer a:hover { color: var(--wp--preset--color--sun-glow); }
.thl-footer .thl-footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.thl-footer .thl-footer-areas { gap: 12px; font-size: 14px; line-height: 1.55; color: var(--wp--preset--color--night-muted); }
.thl-footer .thl-footer-areas strong { color: var(--wp--preset--color--night-ink); font-weight: 600; }
.thl-footer .thl-footer-seo { max-width: 100ch; line-height: 1.6; }
.thl-footer-bottom { border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--night-ink) 14%, transparent); padding-top: 24px; }
.thl-footer-bottom > p { margin: 0; }
.thl-footer-bottom > p + p { margin-top: 20px; }
.thl-footer .thl-footer-list a, .thl-footer .thl-footer-list li { overflow-wrap: anywhere; }
@media (min-width: 782px) and (max-width: 1080px) {
	.thl-footer-cols { flex-wrap: wrap !important; }
	.thl-footer-cols > .wp-block-column { flex: 1 1 calc(50% - var(--wp--preset--spacing--50)) !important; }
}
.thl-footer .thl-footer-heading { margin: 0 0 18px !important; line-height: 16px; font-family: var(--wp--preset--font-family--sans) !important; font-size: 12px !important; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--wp--preset--color--sun-glow) !important; }

/* ---------- Bài viết ---------- */
/* Đoạn văn cùng mép với tiêu đề: cột nội dung đã giới hạn 760px bởi layout constrained. */
.wp-block-post-featured-image img { border-radius: var(--wp--custom--radius--md); }

/* ---------- Nút liên hệ nổi (inc/float.php) ---------- */
/* Điện thoại: thanh 3 nút ở đáy */
.thl-callbar { display: none; }
@media (max-width: 781px) {
	.thl-callbar {
		position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
		display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
		padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
		background: var(--wp--preset--color--night-deep);
		box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.12);
		transition: transform var(--thl-mid) var(--thl-ease);
	}
	.thl-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--wp--custom--radius--sm); font-weight: 600; font-size: 15px; text-decoration: none; }
	.thl-callbar a svg { flex: none; }
	.thl-callbar a:nth-child(1) { background: var(--wp--preset--color--sun); color: var(--wp--preset--color--sun-on); }
	.thl-callbar a:nth-child(2) { background: #fff; color: #0b3d91; }
	.thl-callbar a:nth-child(3) { background: var(--wp--preset--color--basalt); color: #fff8f0; }
	.thl-at-form .thl-callbar, .thl-typing .thl-callbar { transform: translateY(110%); }
	body { padding-bottom: 72px; }
}

/* Máy tính: cụm nút tròn góc phải dưới */
.thl-fab { display: none; }
@media (min-width: 782px) {
	.thl-fab {
		position: fixed; z-index: 60; right: 24px; bottom: 24px;
		display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
		transition: opacity var(--thl-mid) var(--thl-ease), transform var(--thl-mid) var(--thl-ease);
	}
	.thl-at-form .thl-fab { opacity: 0; transform: translateY(12px); pointer-events: none; }
	.thl-fab__btn {
		position: relative; display: inline-flex; align-items: center; justify-content: center;
		width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 1px solid var(--wp--preset--color--line);
		background: #fff; color: var(--wp--preset--color--coffee); cursor: pointer; text-decoration: none;
		box-shadow: 0 6px 18px rgba(42, 29, 21, 0.14);
		transition: transform var(--thl-fast) var(--thl-ease), box-shadow var(--thl-fast) var(--thl-ease);
	}
	.thl-fab__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(42, 29, 21, 0.2); }
	.thl-fab__btn:focus-visible { outline: 2px solid var(--wp--preset--color--panel); outline-offset: 3px; }
	.thl-fab__call { background: var(--wp--preset--color--basalt); border-color: var(--wp--preset--color--basalt); color: #fff8f0; }
	.thl-fab__zalo { width: 60px; height: 60px; }
	.thl-fab__zalo svg { width: 32px; height: 32px; }
	.thl-fab__msg { color: var(--wp--preset--color--panel); }
	.thl-fab__up { width: 40px; height: 40px; margin-right: 6px; }
	.thl-fab__up[hidden] { display: none; }
	.thl-fab__tip {
		position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
		padding: 8px 12px; border-radius: 4px; background: var(--wp--preset--color--coffee); color: #fff8f0;
		font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none;
		transition: opacity var(--thl-fast) var(--thl-ease), transform var(--thl-fast) var(--thl-ease);
	}
	.thl-fab__btn:hover .thl-fab__tip, .thl-fab__btn:focus-visible .thl-fab__tip { opacity: 1; transform: translate(0, -50%); }
	.thl-fab__zalo.is-nudge { animation: thl-nudge 1.2s var(--thl-ease) 1; }
	@keyframes thl-nudge { 0%, 100% { transform: none; } 20% { transform: translateY(-6px) rotate(-6deg); } 40% { transform: translateY(0) rotate(5deg); } 60% { transform: rotate(-3deg); } }
}
@media print { .thl-fab, .thl-callbar { display: none !important; } }

/* ---------- Giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
	.wp-block-separator.is-style-brocade.will-draw { clip-path: none; }
}

/* Hotline trên dải tối */
.is-style-night .thl-hotline a { color: var(--wp--preset--color--sun-glow); }

/* Không để khoảng trống giữa các phần lớn của trang (header, main, footer) */
.wp-site-blocks > * { margin-block-start: 0; }

/* ---------- Khả năng truy cập: viền focus trên nền xanh ---------- */
.is-style-night, .thl-calc__result, .thl-callbar, .thl-footer { --thl-focus: #f8dc9a; }
.is-style-night :where(a, button, input, select, textarea, summary):focus-visible,
.thl-callbar a:focus-visible { outline-color: #f8dc9a; }

/* ---------- Form liên hệ ---------- */
.thl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thl-form__status { margin: 0; font-size: 14px; font-weight: 600; min-height: 1em; }
.thl-form__status.is-ok { color: #2f7d32; }
.thl-form__status.is-err { color: #b73f18; }

/* ---------- Nhãn "Nội dung demo" (chỉ người đã đăng nhập thấy; khách không có HTML này) ---------- */
.thl-demo-slot:empty { display: none; }
.thl-demo-note {
	display: block; margin: 0 0 16px; padding: 10px 14px; max-width: 760px;
	background: #fff4c2; color: #3d2f00; border: 1px dashed #b88a3e; border-radius: 4px;
	font: 400 13px/1.5 var(--wp--preset--font-family--sans); text-align: left; letter-spacing: 0; text-transform: none;
}
.thl-demo-note strong { display: inline-block; margin-right: 6px; padding: 1px 6px; background: #e0a43a; color: #1c1300; border-radius: 3px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.thl-demo-note em { display: block; margin-top: 4px; font-style: normal; font-weight: 600; }

/* ---------- Ảnh thẻ dịch vụ (ảnh thật từ fanpage) ---------- */
.thl-service { overflow: hidden; }
.thl-service .thl-service__media {
	margin: calc(-1 * var(--wp--preset--spacing--40)) calc(-1 * var(--wp--preset--spacing--40)) 8px !important;
	height: 200px; overflow: hidden; background: #e8e1cf;
}
.thl-service .thl-service__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--thl-mid) var(--thl-ease); }
.thl-service:hover .thl-service__media img { transform: scale(1.03); }
.thl-service .thl-service__media--none { width: auto; background: #f4ead5 url("../images/hero-highlands-b.svg") center bottom / cover no-repeat; }
@media (prefers-reduced-motion: reduce) { .thl-service:hover .thl-service__media img { transform: none; } }

/* Văn bản chỉ dành cho trình đọc màn hình */
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

/* ---------- Tinh chỉnh theo review UX ---------- */
/* Nút mở menu trên điện thoại: vùng chạm ≥ 44px */
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
/* Số liệu: 2×2 trên điện thoại thay vì 4 hàng dọc */
@media (max-width: 600px) {
	.is-style-night .wp-block-group.alignwide:has(> .thl-stat) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 16px !important; }
	.thl-stat__num { font-size: clamp(32px, 9vw, 44px) !important; }
}
/* Thẻ dự án: tiêu đề không chạm đường kẻ, các thẻ cao bằng nhau */
.thl-project { display: flex; flex-direction: column; height: 100%; }
.thl-project h3 { margin-bottom: 4px !important; }
.thl-project .thl-specs { margin-top: auto; padding-top: 14px; }
/* Hero: dòng tin cậy đậm hơn trên nền mặt trời */
.thl-hero-b__trust li { color: #3d2f25; }
.thl-footer .thl-footer-links a { display: inline-block; padding-block: 6px; }

/* Footer: không để rớt 1 từ cuối xuống dòng */
.thl-footer :where(p, li) { text-wrap: pretty; }
.thl-footer .thl-footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 28px; }
.thl-footer .thl-footer-links a { white-space: nowrap; }

/* ---------- Nắng hôm nay (inc/sun-today.php) ---------- */
.thl-sun-today {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 24px;
	margin-top: var(--wp--preset--spacing--50); padding: 20px 24px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--sun-glow) 35%, transparent); border-radius: var(--wp--custom--radius--md, 8px);
	background: color-mix(in srgb, #000 12%, transparent);
}
.thl-sun-today p { margin: 0; }
.thl-sun-today__label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--sun-glow); }
.thl-sun-today__main { margin-top: 4px !important; font-family: var(--wp--preset--font-family--display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; color: var(--wp--preset--color--night-ink); }
.thl-sun-today__main strong { color: var(--wp--preset--color--sun-glow); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.thl-sun-today__note { margin-top: 6px !important; font-size: 13px; line-height: 1.5; color: var(--wp--preset--color--night-muted); }
.thl-sun-today__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--wp--preset--color--night-muted); border-radius: var(--wp--custom--radius--sm); color: var(--wp--preset--color--night-ink) !important; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.thl-sun-today__cta:hover { background: var(--wp--preset--color--night-ink); color: var(--wp--preset--color--night) !important; }
@media (max-width: 781px) { .thl-sun-today { grid-template-columns: auto 1fr; } .thl-sun-today__cta { grid-column: 1 / -1; justify-content: center; } }

/* ---------- Form giới thiệu (inc/referral.php) ---------- */
.thl-ref-form__group { margin: 0; padding: 0; border: 0; display: grid; gap: 14px; }
.thl-ref-form__group + .thl-ref-form__group { padding-top: 18px; border-top: 1px solid var(--wp--preset--color--line); }
.thl-ref-form__group legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--sun-ink); }
.thl-ref-form__consent { margin: 0; font-size: 13px; color: var(--wp--preset--color--coffee-muted); }
.thl-ref-note { margin: 0; font-size: 15px; }
.thl-muted:empty, p:empty:has(+ *) { }
.thl-entry p.thl-muted:empty, .wp-block-group > p.thl-muted:empty { display: none; }

/* ---------- Dữ liệu nắng Gia Nghĩa (inc/sun-data.php) ---------- */
.thl-nang-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0; }
.thl-nang-sum > div { padding: 18px 20px; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius--md, 8px); background: var(--wp--preset--color--paper-raised); }
.thl-nang-sum dt { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--coffee-muted); }
.thl-nang-sum dd { margin: 6px 0 0; font-family: var(--wp--preset--font-family--display); font-size: 34px; line-height: 1.1; color: var(--wp--preset--color--coffee); font-variant-numeric: tabular-nums; }
.thl-nang-sum dd span { display: block; margin-top: 4px; font-family: var(--wp--preset--font-family--sans); font-size: 14px; color: var(--wp--preset--color--coffee-muted); }
.thl-nang-chart { margin: 0; }
.thl-nang-chart svg { display: block; width: 100%; height: auto; }
.thl-nang-chart .g { stroke: var(--wp--preset--color--line); stroke-width: 1; }
.thl-nang-chart .ax { font: 12px var(--wp--preset--font-family--sans); fill: var(--wp--preset--color--coffee-muted); }
.thl-nang-chart .v { font: 600 11px var(--wp--preset--font-family--sans); fill: var(--wp--preset--color--coffee); }
.thl-nang-chart .dry, .thl-nang-chart figcaption .k.dry { fill: #e0a43a; background: #e0a43a; }
.thl-nang-chart .wet, .thl-nang-chart figcaption .k.wet { fill: #2e50b3; background: #2e50b3; }
.thl-nang-chart .avg { stroke: var(--wp--preset--color--basalt); stroke-width: 1.5; stroke-dasharray: 5 4; }
.thl-nang-chart .avgt { font: 600 12px var(--wp--preset--font-family--sans); fill: var(--wp--preset--color--basalt); }
.thl-nang-chart figcaption { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--wp--preset--color--coffee-muted); }
.thl-nang-chart figcaption .k { display: inline-block; width: 10px; height: 10px; margin: 0 4px 0 8px; border-radius: 2px; vertical-align: -1px; }
.thl-nang-table { overflow-x: auto; margin: 0; }
.thl-nang-table table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.thl-nang-table th, .thl-nang-table td { padding: 10px 12px; border-bottom: 1px solid var(--wp--preset--color--line); text-align: right; white-space: nowrap; }
.thl-nang-table th:first-child, .thl-nang-table td:first-child, .thl-nang-table td:nth-child(2):not(:last-child) { text-align: left; }
.thl-nang-table thead th { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--coffee-muted); white-space: normal; vertical-align: bottom; }
.thl-nang-table tfoot th { font-weight: 700; }
.thl-nang-table tr.is-here td { background: color-mix(in srgb, var(--wp--preset--color--sun) 14%, transparent); font-weight: 600; }
.thl-nang-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
.thl-nang-dl span { font-size: 13px; color: var(--wp--preset--color--coffee-muted); }

/* ---------- Bản đồ công trình (inc/project-map.php) ---------- */
.thl-map { margin: 0; }
.thl-map svg { display: block; width: 100%; height: auto; }
.thl-map .bg { fill: #f4ead5; stroke: var(--wp--preset--color--line); }
.thl-map .contour ellipse { fill: none; stroke: #d9c9a3; stroke-width: 1; stroke-dasharray: 2 6; }
.thl-map .town rect { fill: var(--wp--preset--color--coffee); }
.thl-map .town text { font: 600 13px var(--wp--preset--font-family--sans); fill: var(--wp--preset--color--coffee); }
.thl-map .pt circle { stroke: #fff; stroke-width: 3; transition: r var(--thl-fast) var(--thl-ease); }
.thl-map .pt text { font: 700 13px var(--wp--preset--font-family--sans); fill: var(--wp--preset--color--coffee); paint-order: stroke; stroke: #f4ead5; stroke-width: 4px; }
.thl-map .pt--bom circle, .thl-map .lg--bom { fill: #2f7d32; background: #2f7d32; }
.thl-map .pt--luu-tru circle, .thl-map .lg--luu-tru { fill: #2e50b3; background: #2e50b3; }
.thl-map .pt--bom-luu-tru circle, .thl-map .lg--bom-luu-tru { fill: #e2571e; background: #e2571e; }
.thl-map .pt:hover circle, .thl-map .pt:focus-visible circle { r: 12; }
.thl-map .pt:focus-visible { outline: none; }
.thl-map .pt:focus-visible circle { stroke: var(--wp--preset--color--panel); }
.thl-map .scale line { stroke: var(--wp--preset--color--coffee); stroke-width: 3; }
.thl-map .scale text, .thl-map .north text { font: 600 12px var(--wp--preset--font-family--sans); fill: var(--wp--preset--color--coffee); }
.thl-map .north path { fill: var(--wp--preset--color--coffee); }
.thl-map figcaption { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--wp--preset--color--coffee-muted); }
.thl-map .lg { display: inline-block; width: 10px; height: 10px; margin: 0 4px 0 8px; border-radius: 50%; vertical-align: -1px; }
.thl-sun-today__note a { color: var(--wp--preset--color--sun-glow); white-space: nowrap; }
.thl-map { max-width: 960px; margin-inline: auto; }
.thl-map a, .thl-map a:hover { text-decoration: none; }
.thl-nang-chart figcaption .k.avg { width: 16px; height: 0; border-top: 2px dashed var(--wp--preset--color--basalt); border-radius: 0; background: none; vertical-align: 3px; }

/* ---------- Sửa menu điện thoại (review UX mobile) ----------
   backdrop-filter của header tạo "containing block" → lớp menu position:fixed bị nhốt trong header 80px. */
.thl-header:has(.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; }
.thl-header-wrap:has(.is-menu-open) { z-index: 100001; }
.has-modal-open .thl-callbar, .has-modal-open .thl-fab { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 24px 24px calc(24px + env(safe-area-inset-bottom)) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px !important; align-items: flex-start !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start !important; gap: 4px !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--line); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: 14px 0 !important; }

/* Nút liên hệ trong menu điện thoại (ẩn trên máy tính vì header đã có) */
.thl-header .wp-block-navigation .thl-nav-cta, .thl-header .wp-block-navigation .thl-nav-call { display: none; }
.wp-block-navigation__responsive-container.is-menu-open .thl-nav-cta, .wp-block-navigation__responsive-container.is-menu-open .thl-nav-call { display: block; border-bottom: 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .thl-nav-cta { margin-top: 20px; }
.wp-block-navigation__responsive-container.is-menu-open .thl-nav-cta .wp-block-navigation-item__content { padding: 14px 20px !important; background: var(--wp--preset--color--basalt); color: #fff8f0 !important; border-radius: var(--wp--custom--radius--sm); font-family: var(--wp--preset--font-family--sans) !important; font-size: 17px !important; font-weight: 600; text-align: center; }
.wp-block-navigation__responsive-container.is-menu-open .thl-nav-call .wp-block-navigation-item__content { padding: 14px 20px !important; border: 1px solid var(--wp--preset--color--coffee-muted); border-radius: var(--wp--custom--radius--sm); font-family: var(--wp--preset--font-family--sans) !important; font-size: 17px !important; font-weight: 600; text-align: center; margin-top: 4px; }

/* Vùng bấm ≥ 44px (review UX mobile) */
.wp-block-details summary { min-height: 44px; padding-block: 10px; box-sizing: border-box; }
.thl-footer .thl-footer-links a { padding-block: 12px !important; }
.thl-range { height: 44px; }
.thl-specs dt { font-size: 12px !important; }
.wp-block-site-tagline { font-size: 12px !important; }
/* Breadcrumb bài viết: trên điện thoại bỏ tiêu đề bài (đã có ngay bên dưới) */
@media (max-width: 600px) { .thl-blog-crumbs li:last-child { display: none; } .thl-blog-crumbs li:nth-last-child(2)::after { content: none; } }

/* ---------- Review UX mobile: dữ liệu nắng + thông số thẻ dự án ---------- */
@media (max-width: 600px) {
	/* Thẻ tóm tắt 2×2 */
	.thl-nang-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.thl-nang-sum > div { padding: 14px; }
	.thl-nang-sum dd { font-size: 26px; }
	.thl-nang-sum dd span { font-size: 12px; }
	/* Biểu đồ: chữ trong SVG tính theo đơn vị viewBox (720) → phóng to để còn ~11px khi thu về 358px */
	.thl-nang-chart .ax { font-size: 21px; }
	.thl-nang-chart .v { font-size: 19px; }
	/* Bảng: giữ cột chính, cột phụ xem trên máy tính hoặc CSV */
	.thl-nang-table th:nth-child(n+4), .thl-nang-table td:nth-child(n+4) { display: none; }
	.thl-nang-table th, .thl-nang-table td { padding: 10px 8px; white-space: normal; }
	.thl-nang-table td:first-child { white-space: nowrap; }
	.thl-nang-table--months td:nth-child(2) { text-align: right !important; }
	.thl-nang-table::after { content: "Cột bức xạ chi tiết: xem trên máy tính hoặc tải CSV."; display: block; margin-top: 8px; font-size: 12px; color: var(--wp--preset--color--coffee-muted); }
	/* Thông số thẻ dự án: không gãy nhãn */
	.thl-specs { gap: 8px 16px !important; grid-template-columns: repeat(3, auto) !important; }
	.thl-specs dt { white-space: nowrap; letter-spacing: 0.08em !important; }
}
/* Ô đồng ý trong form */
.thl-consent { display: flex !important; align-items: flex-start; gap: 10px; font-size: 13px !important; font-weight: 400 !important; line-height: 1.5; color: var(--wp--preset--color--coffee-muted); }
.thl-consent input { flex: none; width: 20px !important; height: 20px !important; min-height: 0 !important; margin: 1px 0 0; accent-color: var(--wp--preset--color--basalt); }
.is-style-night .thl-contact-card a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--basalt); text-decoration: underline; }
