/* ==========================================================================
   NPaint Bảng Hiệu – App-style, mobile-first
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--npbh-primary: #ff5a1f;
	--npbh-primary-ink: #fff;
	--npbh-primary-soft: color-mix(in srgb, var(--npbh-primary) 12%, #fff);
	--npbh-ink: #0f172a;
	--npbh-text: #334155;
	--npbh-muted: #64748b;
	--npbh-line: #e7eaf0;
	--npbh-bg: #f4f5f7;
	--npbh-surface: #fff;
	--npbh-dark: #111827;
	--npbh-radius: 20px;
	--npbh-radius-sm: 12px;
	--npbh-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
	--npbh-shadow-lg: 0 18px 50px rgba(15, 23, 42, .18);
	--npbh-appbar-h: 60px;
	--npbh-bnav-h: 66px;
	--safe-b: env(safe-area-inset-bottom, 0px);
	--npbh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--npbh-ease: cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-color-scheme: dark) {
	:root.npbh-auto-dark {
		--npbh-ink: #f1f5f9;
		--npbh-text: #cbd5e1;
		--npbh-muted: #94a3b8;
		--npbh-line: #1f2937;
		--npbh-bg: #0b1220;
		--npbh-surface: #111a2e;
	}
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--npbh-appbar-h) + 12px); }
body {
	margin: 0;
	font-family: var(--npbh-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--npbh-text);
	background: var(--npbh-bg);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	padding-bottom: calc(var(--npbh-bnav-h) + var(--safe-b));
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--npbh-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--npbh-ink); line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--npbh-primary) 60%, transparent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: var(--npbh-ink); border-radius: 10px;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 780px; }
.site-main { min-height: 60vh; outline: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 15px/1 var(--npbh-font); cursor: pointer; text-decoration: none !important;
	transition: transform .15s var(--npbh-ease), background .2s, box-shadow .2s;
	user-select: none;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--npbh-primary); color: var(--npbh-primary-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--npbh-primary) 35%, transparent); }
.btn--primary:hover { background: color-mix(in srgb, var(--npbh-primary) 88%, #000); }
.btn--ghost { background: var(--npbh-surface); color: var(--npbh-ink); border-color: var(--npbh-line); }
.btn--ghost:hover { border-color: var(--npbh-primary); color: var(--npbh-primary); }
.btn--light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: transparent; color: var(--npbh-ink); cursor: pointer;
}
.icon-btn:hover { background: var(--npbh-bg); }

/* ---------- App bar ---------- */
.app-bar {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--npbh-surface) 86%, transparent);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .app-bar { top: 46px; }
@media (min-width: 783px) { .admin-bar .app-bar { top: 32px; } }
.app-bar.is-scrolled { border-color: var(--npbh-line); box-shadow: 0 4px 20px rgba(15, 23, 42, .05); }
.app-bar__inner { display: flex; align-items: center; gap: 8px; height: var(--npbh-appbar-h); }
.brand { flex: 1; min-width: 0; display: flex; align-items: center; }
.brand .custom-logo { max-height: 40px; width: auto; }
.brand__name { font-weight: 800; font-size: 18px; color: var(--npbh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-bar__actions { display: flex; align-items: center; gap: 4px; }
.app-bar__cta { display: none; }
.primary-nav { display: none; }

@media (min-width: 1024px) {
	.app-bar__menu { display: none; }
	.brand { flex: 0 0 auto; margin-right: 24px; }
	.primary-nav { display: block; flex: 1; }
	.primary-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
	.primary-nav__list > li { position: relative; }
	.primary-nav__list a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--npbh-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
	.primary-nav__list a:hover, .primary-nav__list .current-menu-item > a { background: var(--npbh-primary-soft); color: var(--npbh-primary); }
	.primary-nav__list .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px;
		background: var(--npbh-surface); border-radius: 16px; box-shadow: var(--npbh-shadow-lg);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--npbh-ease);
	}
	.primary-nav__list li:hover > .sub-menu, .primary-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.primary-nav__list .sub-menu a { border-radius: 10px; font-weight: 500; }
	.app-bar__cta { display: inline-flex; }
}

/* ---------- Sheets (dialog) ---------- */
.sheet {
	border: 0; padding: 0; background: var(--npbh-surface); color: var(--npbh-text);
	max-width: none; max-height: none; box-shadow: var(--npbh-shadow-lg);
}
.sheet::backdrop { background: rgba(15, 23, 42, .45); backdrop-filter: blur(2px); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--npbh-line); }
.sheet__title { font-weight: 700; color: var(--npbh-ink); }
.sheet__foot { display: grid; gap: 10px; padding: 16px 20px calc(16px + var(--safe-b)); margin-top: auto; }

.sheet--drawer[open] {
	display: flex; flex-direction: column;
	margin: 0; inset: 0 auto 0 0; width: min(86vw, 360px); height: 100%;
	border-radius: 0 24px 24px 0; animation: npbh-slide-in .28s var(--npbh-ease);
}
.drawer-nav { overflow-y: auto; padding: 8px 12px; }
.drawer-nav__list, .drawer-nav__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.drawer-nav__list li { position: relative; }
.drawer-nav__list a { display: flex; align-items: center; min-height: 50px; padding: 0 12px; border-radius: 14px; color: var(--npbh-ink); font-weight: 600; text-decoration: none; }
.drawer-nav__list a:hover, .drawer-nav__list .current-menu-item > a { background: var(--npbh-primary-soft); color: var(--npbh-primary); }
.drawer-nav__list .sub-menu { display: none; padding-left: 12px; }
.drawer-nav__list .sub-menu a { font-weight: 500; min-height: 44px; }
.drawer-nav__list li.is-open > .sub-menu { display: block; }
.submenu-toggle { position: absolute; right: 2px; top: 3px; }
.submenu-toggle .icon { transition: transform .2s; }
li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }

.sheet--search[open] {
	margin: 0 auto; inset: 0 0 auto 0; width: 100%; max-width: 720px;
	border-radius: 0 0 24px 24px; padding-bottom: 16px; animation: npbh-slide-down .25s var(--npbh-ease);
}
.sheet--search .search-form { margin: 16px 20px 8px; }
.sheet--search .chips { padding: 0 20px; }

@keyframes npbh-slide-in { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes npbh-slide-down { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes npbh-slide-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Search form ---------- */
.search-form {
	display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px;
	background: var(--npbh-bg); border: 1.5px solid var(--npbh-line); border-radius: 999px;
}
.search-form:focus-within { border-color: var(--npbh-primary); background: var(--npbh-surface); }
.search-form__icon { color: var(--npbh-muted); display: grid; }
.search-form__input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; color: var(--npbh-ink); outline: none; height: 38px; }

/* ---------- Bottom nav ---------- */
.bottom-nav {
	position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
	padding-bottom: var(--safe-b);
	background: color-mix(in srgb, var(--npbh-surface) 92%, transparent);
	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	border-top: 1px solid var(--npbh-line);
}
.bottom-nav ul { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0 auto; padding: 0; max-width: 600px; height: var(--npbh-bnav-h); }
.bottom-nav a {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%;
	color: var(--npbh-muted); font-size: 11px; font-weight: 600; text-decoration: none;
}
.bottom-nav__icon { display: grid; place-items: center; width: 56px; height: 30px; border-radius: 999px; transition: background .2s; }
.bottom-nav a.is-active { color: var(--npbh-primary); }
.bottom-nav a.is-active .bottom-nav__icon { background: var(--npbh-primary-soft); }
.bottom-nav__fab a { color: var(--npbh-ink); }
.bottom-nav__fab .bottom-nav__icon {
	width: 56px; height: 56px; margin-top: -26px; border-radius: 50%;
	background: var(--npbh-primary); color: #fff;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--npbh-primary) 45%, transparent), 0 0 0 5px var(--npbh-surface);
	animation: npbh-pulse 2.4s infinite;
}
@keyframes npbh-pulse {
	0%, 100% { box-shadow: 0 8px 22px color-mix(in srgb, var(--npbh-primary) 45%, transparent), 0 0 0 5px var(--npbh-surface); }
	50% { box-shadow: 0 8px 22px color-mix(in srgb, var(--npbh-primary) 45%, transparent), 0 0 0 5px var(--npbh-surface), 0 0 0 12px color-mix(in srgb, var(--npbh-primary) 18%, transparent); }
}

.fab-zalo {
	position: fixed; z-index: 55; right: 14px; bottom: calc(var(--npbh-bnav-h) + var(--safe-b) + 14px);
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	background: #0068ff; color: #fff; font: 800 12px/1 var(--npbh-font); text-decoration: none !important;
	box-shadow: 0 8px 22px rgba(0, 104, 255, .4);
}

@media (min-width: 1024px) {
	body { padding-bottom: 0; }
	.bottom-nav { display: none; }
	.fab-zalo { bottom: 24px; right: 24px; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin: 12px 0 4px; font-size: 13px; overflow-x: auto; scrollbar-width: none; }
.breadcrumbs::-webkit-scrollbar { display: none; }
.breadcrumbs ol { display: flex; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.breadcrumbs li { display: flex; align-items: center; color: var(--npbh-muted); }
.breadcrumbs li + li::before { content: "›"; margin: 0 8px; opacity: .6; }
.breadcrumbs a { color: var(--npbh-muted); }
.breadcrumbs [aria-current] { color: var(--npbh-ink); font-weight: 600; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	margin: 0 12px; border-radius: 28px; color: #fff;
	background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--npbh-primary) 70%, #000) 0%, var(--npbh-dark) 60%);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 24, 39, .35), rgba(17, 24, 39, .85)); }
.hero__inner { padding-top: 40px; padding-bottom: 28px; }
.hero__eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.hero__title { color: #fff; font-size: clamp(28px, 7vw, 52px); font-weight: 800; max-width: 16ch; }
.hero__lead { font-size: 16px; opacity: .9; max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
.hero__stats li { padding: 12px 10px; border-radius: 16px; background: rgba(255, 255, 255, .1); text-align: center; backdrop-filter: blur(6px); }
.hero__stats strong { display: block; font-size: 20px; color: #fff; }
.hero__stats span { font-size: 12px; opacity: .85; }
@media (min-width: 768px) {
	.hero { margin: 0 16px; }
	.hero__inner { padding-top: 80px; padding-bottom: 56px; }
	.hero__stats { max-width: 520px; }
}

/* ---------- Chips ---------- */
.chips { overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px; }
.chips::-webkit-scrollbar { display: none; }
.chips ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; width: max-content; }
.chip {
	display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px;
	background: var(--npbh-surface); border: 1px solid var(--npbh-line); color: var(--npbh-ink);
	font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none !important;
}
.chip:hover { border-color: var(--npbh-primary); color: var(--npbh-primary); }
.chip.is-active { background: var(--npbh-ink); border-color: var(--npbh-ink); color: #fff; }
.chip--soft { background: var(--npbh-primary-soft); border-color: transparent; color: var(--npbh-primary); min-height: 30px; font-size: 13px; margin-bottom: 10px; }
.quick-chips { margin-top: 16px; }

/* ---------- Sections ---------- */
.section { padding: 28px 0; }
.section--soft { background: var(--npbh-surface); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section__title { font-size: clamp(20px, 4.6vw, 30px); font-weight: 800; margin: 0; }
.section__desc { margin: 6px 0 0; color: var(--npbh-muted); font-size: 14px; }
.section__more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 700; white-space: nowrap; }
@media (min-width: 768px) { .section { padding: 48px 0; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 12px; }
.cards--grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .cards--grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .cards--grid { grid-template-columns: repeat(4, 1fr); } }
.cards--scroll {
	grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory;
	margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.cards--scroll::-webkit-scrollbar { display: none; }
.cards--scroll > * { scroll-snap-align: start; }
@media (min-width: 768px) { .cards--scroll { grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; } }
@media (min-width: 1100px) { .cards--scroll { grid-auto-columns: calc((100% - 54px) / 4); } }

.card {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	background: var(--npbh-surface); border-radius: var(--npbh-radius); box-shadow: var(--npbh-shadow);
	transition: transform .2s var(--npbh-ease), box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--npbh-shadow-lg); }
.card:active { transform: scale(.985); }
.card__media { display: block; aspect-ratio: 3 / 2; background: var(--npbh-bg); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { display: grid; place-items: center; height: 100%; color: var(--npbh-muted); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.card__eyebrow { font-size: 12px; font-weight: 700; color: var(--npbh-primary); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.card__title { font-size: 15px; font-weight: 700; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { color: var(--npbh-ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* toàn card clickable */
.card__excerpt { font-size: 14px; color: var(--npbh-muted); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; align-items: center; gap: 4px; margin: auto 0 0; font-size: 12px; color: var(--npbh-muted); }
.card__price { margin: auto 0 0; font-weight: 800; color: var(--npbh-primary); font-size: 14px; }
.card__go {
	position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px;
	border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--npbh-ink); box-shadow: var(--npbh-shadow);
}
.card--project .card__media { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .card__title { font-size: 17px; } .card__body { padding: 16px 18px 18px; } }

/* ---------- USP & Steps ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .usp-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.usp { padding: 16px; border-radius: var(--npbh-radius); background: var(--npbh-bg); }
.usp__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--npbh-primary); color: #fff; margin-bottom: 12px; }
.usp__title { font-size: 15px; margin-bottom: 4px; }
.usp__desc { font-size: 13px; color: var(--npbh-muted); margin: 0; }

.steps { counter-reset: step; display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.step { position: relative; padding: 16px 16px 16px 64px; background: var(--npbh-surface); border-radius: var(--npbh-radius); box-shadow: var(--npbh-shadow); }
.step::before {
	counter-increment: step; content: counter(step);
	position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px;
	border-radius: 50%; background: var(--npbh-primary-soft); color: var(--npbh-primary); font-weight: 800;
}
.step__title { font-size: 16px; margin-bottom: 4px; }
.step__desc { font-size: 14px; color: var(--npbh-muted); margin: 0; }

/* ---------- Quote ---------- */
.quote-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; } }
.panel { background: var(--npbh-surface); border-radius: var(--npbh-radius); box-shadow: var(--npbh-shadow); padding: 18px; }
.panel--center { text-align: center; }
@media (min-width: 768px) { .panel { padding: 24px; } }

/* ---------- Page / entry ---------- */
.page-header { margin: 8px 0 16px; }
.page-title, .entry-title { font-size: clamp(26px, 6vw, 40px); font-weight: 800; margin: 4px 0 8px; }
.page-lead { color: var(--npbh-muted); font-size: 16px; max-width: 70ch; }
.page-lead p:last-child { margin: 0; }
.entry-header { padding-top: 6px; padding-bottom: 12px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--npbh-muted); font-size: 14px; }
.entry-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.entry-meta a { color: inherit; }
.media-hero { margin: 0 auto 20px; }
.media-hero img { width: 100%; border-radius: var(--npbh-radius); aspect-ratio: 16 / 9; object-fit: cover; }
.media-hero figcaption { font-size: 13px; color: var(--npbh-muted); text-align: center; margin-top: 8px; }

.entry-content { font-size: 17px; line-height: 1.75; color: var(--npbh-text); }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h2 { font-size: 24px; margin-top: 1.6em; }
.entry-content h3 { font-size: 20px; margin-top: 1.4em; }
.entry-content img { border-radius: var(--npbh-radius-sm); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 1.5em 0; padding: 14px 18px; border-left: 4px solid var(--npbh-primary); background: var(--npbh-surface); border-radius: 0 var(--npbh-radius-sm) var(--npbh-radius-sm) 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--npbh-line); text-align: left; }
.entry-content th { background: var(--npbh-surface); color: var(--npbh-ink); }
.entry-content .alignwide { margin-left: auto; margin-right: auto; max-width: 1100px; }
.entry-content--full > * { max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 16px; }
.entry-content--full > .alignfull { max-width: none; padding: 0; }
.entry-footer { padding-bottom: 24px; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.tags a { padding: 4px 12px; border-radius: 999px; background: var(--npbh-surface); border: 1px solid var(--npbh-line); color: var(--npbh-text); }

.meta-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.meta-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--npbh-surface); border: 1px solid var(--npbh-line); font-size: 14px; font-weight: 600; color: var(--npbh-ink); }
.meta-pill--accent { background: var(--npbh-primary); border-color: var(--npbh-primary); color: #fff; }

.layout-aside { display: grid; gap: 20px; }
@media (min-width: 1024px) {
	.layout-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
	.layout-aside__side { position: sticky; top: calc(var(--npbh-appbar-h) + 20px); }
}
.sticky-card { display: grid; gap: 10px; padding: 18px; background: var(--npbh-surface); border-radius: var(--npbh-radius); box-shadow: var(--npbh-shadow); }
.sticky-card__label { margin: 0; font-size: 13px; font-weight: 700; color: var(--npbh-muted); text-transform: uppercase; letter-spacing: .04em; }
.sticky-card__price { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: var(--npbh-primary); }

.feature-box { padding: 18px; margin-bottom: 20px; background: var(--npbh-surface); border-radius: var(--npbh-radius); box-shadow: var(--npbh-shadow); }
.feature-box h2 { font-size: 18px; }
.check-list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .check-list { grid-template-columns: 1fr 1fr; } }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { flex: none; color: #16a34a; margin-top: 3px; }

.specs { margin: 0; display: grid; gap: 0; }
.specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--npbh-line); font-size: 14px; }
.specs dt { color: var(--npbh-muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--npbh-ink); text-align: right; }

.gallery-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 20px; padding: 0 16px; scrollbar-width: none; }
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll figure { margin: 0; scroll-snap-align: center; }
.gallery-scroll img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--npbh-radius); }
.gallery-scroll figcaption { font-size: 13px; color: var(--npbh-muted); margin-top: 6px; }
@media (min-width: 900px) { .gallery-scroll { grid-auto-columns: 60%; } }

.cta-card { margin: 24px 0; padding: 20px; border-radius: var(--npbh-radius); color: #fff; background: linear-gradient(135deg, var(--npbh-primary), color-mix(in srgb, var(--npbh-primary) 55%, #000)); }
.cta-card__title { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-card .btn--primary { background: #fff; color: var(--npbh-ink); box-shadow: none; }
.cta-card .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }

.author-box { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--npbh-surface); border-radius: var(--npbh-radius); }
.author-box img { border-radius: 50%; }
.author-box__name { font-weight: 700; color: var(--npbh-ink); margin: 0 0 2px; }
.author-box p:last-child { margin-bottom: 0; font-size: 14px; }

/* ---------- Pagination ---------- */
.pagination { margin: 24px 0; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; background: var(--npbh-surface); color: var(--npbh-ink); font-weight: 600; text-decoration: none; }
.pagination .page-numbers.current { background: var(--npbh-primary); color: #fff; }

/* ---------- Empty / 404 ---------- */
.empty-state { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 48px 0; color: var(--npbh-muted); }
.empty-state .search-form { width: 100%; max-width: 520px; }
.empty-state__code { font-size: 88px; font-weight: 900; line-height: 1; margin: 0; color: var(--npbh-primary); }

/* ---------- Comments ---------- */
.comments { padding: 24px 0; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 20px; }
.comment-body { padding: 14px; background: var(--npbh-surface); border-radius: var(--npbh-radius-sm); margin-bottom: 12px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--npbh-line); border-radius: var(--npbh-radius-sm); font: inherit; background: var(--npbh-surface);
}

/* ---------- Footer ---------- */
.site-footer { margin-top: 24px; padding: 36px 0 20px; background: var(--npbh-dark); color: #cbd5e1; font-size: 14px; }
.site-footer a { color: #e2e8f0; }
.site-footer__grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer__brand { color: #fff; font-size: 20px; }
.site-footer .widget-title { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nap { font-style: normal; display: grid; gap: 8px; }
.nap p { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.nap .icon { flex: none; margin-top: 2px; color: var(--npbh-primary); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 28px; padding-top: 16px; font-size: 13px; color: #94a3b8; }
.site-footer__bottom p { margin: 0; }

/* ---------- Widgets (sidebar) ---------- */
.widget { margin-bottom: 20px; }
.widget ul { list-style: none; padding: 0; }
