/* ==========================================================================
   Lau-Xanh.us – main stylesheet
   ========================================================================== */
:root {
	--lx-bg: #0f0d10;
	--lx-bg-2: #141115;
	--lx-surface: #1a161a;
	--lx-card: #1d181c;
	--lx-card-2: #241d22;
	--lx-line: #2e262c;
	--lx-line-2: #3a3037;
	--lx-text: #f4eff2;
	--lx-text-2: #cfc6cb;
	--lx-muted: #9b8f96;
	--lx-accent: #f0386b;
	--lx-accent-2: #ff5c86;
	--lx-btn: linear-gradient(180deg, #b52a50 0%, #8c1d3c 100%);
	--lx-btn-hover: linear-gradient(180deg, #c93360 0%, #a0244a 100%);
	--lx-radius: 12px;
	--lx-radius-sm: 8px;
	--lx-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	--lx-container: 1200px;
	--lx-header-h: 68px;
	--lx-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--lx-header-h) + 16px); }
body {
	margin: 0;
	background: var(--lx-bg);
	color: var(--lx-text);
	font-family: var(--lx-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--lx-accent-2); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.lx-container { width: 100%; max-width: var(--lx-container); margin: 0 auto; padding: 0 20px; }
.screen-reader-text, .lx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 9999; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--lx-accent); color: #fff; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--lx-accent-2); outline-offset: 2px; }
.lx-icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lx-icon--sm { width: 15px; height: 15px; }
.lx-icon--lg { width: 30px; height: 30px; stroke-width: 1.6; }

/* ---------- Buttons ---------- */
.lx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 26px; border-radius: 10px;
	font-weight: 600; font-size: 16px; line-height: 1; cursor: pointer;
	border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.lx-btn--primary { background: var(--lx-btn); border-color: rgba(255, 110, 150, .45); color: #fff; box-shadow: 0 8px 24px rgba(181, 42, 80, .35); }
.lx-btn--primary:hover { background: var(--lx-btn-hover); color: #fff; transform: translateY(-1px); }
.lx-btn--ghost { background: rgba(0, 0, 0, .2); border-color: rgba(255, 255, 255, .75); color: #fff; }
.lx-btn--ghost:hover { border-color: var(--lx-accent-2); color: #fff; background: rgba(240, 56, 107, .12); }
.lx-btn--block { width: 100%; }

/* ---------- Logo ---------- */
.lx-logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: #fff; line-height: 1; }
.lx-logo img { max-height: 44px; width: auto; }
.lx-logo__text span { color: var(--lx-accent); }
.lx-logo:hover { color: #fff; }

/* ---------- Header ---------- */
.lx-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(17, 14, 17, .92);
	backdrop-filter: saturate(140%) blur(12px);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid var(--lx-line);
}
.admin-bar .lx-header { top: 32px; }
.lx-header__inner { display: flex; align-items: center; gap: 28px; height: var(--lx-header-h); }
.lx-header__brand { flex: none; }
.lx-nav { flex: 1; display: flex; justify-content: center; }
.lx-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.lx-menu > li { position: relative; }
.lx-menu > li > a {
	display: flex; align-items: center; gap: 4px; height: var(--lx-header-h);
	padding: 0 12px; font-size: 14.5px; font-weight: 500; color: var(--lx-text-2);
	border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.lx-menu > li > a:hover, .lx-menu > li:focus-within > a { color: #fff; }
.lx-menu > li.current-menu-item > a, .lx-menu > li.current-menu-ancestor > a, .lx-menu > li.current_page_item > a { color: #fff; border-bottom-color: var(--lx-accent); }
.lx-menu .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 4px; margin-top: -3px;
	border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg);
}
.lx-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px;
	background: var(--lx-surface); border: 1px solid var(--lx-line-2); border-radius: var(--lx-radius);
	box-shadow: var(--lx-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.lx-menu li:hover > .sub-menu, .lx-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.lx-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--lx-text-2); }
.lx-menu .sub-menu a:hover { background: var(--lx-card-2); color: #fff; }
.lx-menu .sub-menu .sub-menu { left: 100%; top: -8px; }

.lx-header__tools { display: flex; align-items: center; gap: 14px; flex: none; }
.lx-search { position: relative; width: 270px; }
.lx-search input[type=search] {
	width: 100%; height: 42px; padding: 0 44px 0 18px; border-radius: 999px;
	background: var(--lx-card); border: 1px solid var(--lx-line-2); color: var(--lx-text); font-size: 14px;
	-webkit-appearance: none; appearance: none;
}
.lx-search input::placeholder { color: var(--lx-muted); }
.lx-search input:focus { outline: none; border-color: rgba(240, 56, 107, .6); }
.lx-search button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; background: none; color: var(--lx-text-2); cursor: pointer; display: grid; place-items: center; }
.lx-iconbtn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--lx-text); border-radius: 10px; cursor: pointer; }
.lx-iconbtn:hover { background: var(--lx-card-2); color: #fff; }
.lx-iconbtn .lx-icon { width: 24px; height: 24px; }
.lx-header__burger, .lx-header__searchbtn { display: none; }

/* Mobile drawer */
.lx-drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.lx-drawer.is-open { visibility: visible; }
.lx-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: .25s; }
.lx-drawer.is-open .lx-drawer__backdrop { opacity: 1; }
.lx-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: var(--lx-surface);
	border-right: 1px solid var(--lx-line); transform: translateX(-100%); transition: transform .25s; overflow-y: auto; padding: 18px;
}
.lx-drawer.is-open .lx-drawer__panel { transform: none; }
.lx-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lx-drawer .lx-search { width: 100%; margin-bottom: 14px; }
.lx-drawer-menu, .lx-drawer-menu ul { list-style: none; margin: 0; padding: 0; }
.lx-drawer-menu a { display: block; padding: 12px 10px; border-bottom: 1px solid var(--lx-line); color: var(--lx-text-2); font-weight: 500; }
.lx-drawer-menu .sub-menu a { padding-left: 26px; font-weight: 400; font-size: 14.5px; }
.lx-drawer-menu .current-menu-item > a { color: var(--lx-accent-2); }

.lx-mobile-search { display: none; padding: 10px 16px 14px; border-top: 1px solid var(--lx-line); }
.lx-mobile-search.is-open { display: block; }
.lx-mobile-search .lx-search { width: 100%; }

/* ---------- Hero ---------- */
.lx-hero {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: 500px; display: flex; align-items: center;
	background-color: #1a0c12; background-size: cover; background-position: var(--lx-hero-pos, center right);
}
.lx-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(15, 9, 12, var(--lx-hero-overlay, .92)) 0%, rgba(20, 10, 15, calc(var(--lx-hero-overlay, .92) * .75)) 38%, rgba(20, 10, 15, 0) 72%),
		linear-gradient(0deg, rgba(15, 13, 16, .85) 0%, rgba(15, 13, 16, 0) 30%);
}
.lx-hero__inner { padding-top: 64px; padding-bottom: 110px; }
.lx-hero__content { max-width: 620px; }
.lx-hero__eyebrow { color: var(--lx-accent); font-weight: 800; font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; text-transform: uppercase; }
.lx-hero__title { max-width: 560px; font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; line-height: 1.18; }
.lx-hero__title em { font-style: normal; color: var(--lx-accent); }
.lx-hero__text { font-size: 18px; color: var(--lx-text-2); margin-bottom: 28px; max-width: 520px; }
.lx-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Feature strip */
.lx-features { position: relative; z-index: 2; margin-top: -84px; }
.lx-features__list {
	list-style: none; margin: 0; padding: 22px 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
	background: rgba(26, 21, 25, .88); border: 1px solid var(--lx-line); border-radius: var(--lx-radius);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lx-feature { display: flex; align-items: center; gap: 14px; }
.lx-feature__icon { width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(240, 56, 107, .12); color: var(--lx-accent); }
.lx-feature__icon .lx-icon { width: 24px; height: 24px; }
.lx-feature__title { font-weight: 600; font-size: 15px; display: block; }
.lx-feature__desc { font-size: 13px; color: var(--lx-muted); display: block; }

/* ---------- Sections ---------- */
.lx-section { padding: 34px 0 6px; }
.lx-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.lx-section__title { position: relative; margin: 0; padding-left: 16px; font-size: 24px; font-weight: 700; }
.lx-section__title::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: var(--lx-accent); }
.lx-more { display: inline-flex; align-items: center; gap: 6px; color: var(--lx-accent); font-size: 14px; font-weight: 500; white-space: nowrap; }
.lx-more .lx-icon { width: 15px; height: 15px; }

/* ---------- Post cards ---------- */
.lx-grid { display: grid; gap: 20px; }
.lx-grid--4 { grid-template-columns: repeat(4, 1fr); }
.lx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lx-card {
	position: relative; display: flex; flex-direction: column; background: var(--lx-card);
	border: 1px solid var(--lx-line); border-radius: var(--lx-radius); overflow: hidden; transition: border-color .2s, transform .2s;
}
.lx-card:hover { border-color: rgba(240, 56, 107, .45); transform: translateY(-2px); }
.lx-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lx-card-2); }
.lx-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.lx-card:hover .lx-card__media img { transform: scale(1.04); }
.lx-badge {
	display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.5;
	background: var(--lx-btn); color: #fff; border: 1px solid rgba(255, 110, 150, .35);
}
.lx-card__media .lx-badge { position: absolute; left: 12px; bottom: 12px; }
.lx-card__body { padding: 14px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.lx-card__title { font-size: 16px; font-weight: 600; margin: 0 0 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-card__title a::after { content: ""; position: absolute; inset: 0; }
.lx-card__meta { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--lx-muted); }
.lx-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.lx-meta-item .lx-icon { width: 15px; height: 15px; }

/* Compact card ("Bài viết mới nhất") */
.lx-card--compact .lx-card__media { aspect-ratio: 16 / 7.5; }
.lx-card--compact .lx-card__title { font-size: 15px; margin-bottom: 8px; }
.lx-card--compact .lx-card__body { padding: 10px 14px 12px; }

/* ---------- Category tiles ---------- */
.lx-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.lx-cat {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
	padding: 22px 12px 18px; background: var(--lx-card); border: 1px solid var(--lx-line); border-radius: var(--lx-radius);
	transition: border-color .2s, background .2s;
}
.lx-cat:hover { border-color: rgba(240, 56, 107, .5); background: var(--lx-card-2); color: inherit; }
.lx-cat .lx-icon { width: 36px; height: 36px; color: var(--lx-accent); stroke-width: 1.5; margin-bottom: 4px; }
.lx-cat__name { font-weight: 600; font-size: 16px; }
.lx-cat__count { font-size: 13px; color: var(--lx-muted); }

/* ---------- Breadcrumb ---------- */
.lx-breadcrumb { font-size: 13px; color: var(--lx-muted); margin: 22px 0 18px; }
.lx-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lx-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.lx-breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 4px; }
.lx-breadcrumb a { color: var(--lx-text-2); }
.lx-breadcrumb [aria-current] { color: var(--lx-text); }

/* ---------- Single ---------- */
.lx-single { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding-bottom: 50px; }
.lx-article__title { font-size: clamp(26px, 3.4vw, 36px); margin: 12px 0 14px; letter-spacing: -.01em; }
.lx-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; color: var(--lx-text-2); margin-bottom: 20px; }
.lx-article__meta a { color: var(--lx-text-2); }
.lx-article__thumb { border-radius: var(--lx-radius); overflow: hidden; margin: 0 0 22px; background: var(--lx-card-2); }
.lx-article__thumb img { width: 100%; height: auto; }
.lx-article__thumb figcaption { font-size: 13px; color: var(--lx-muted); padding: 8px 12px; }

.lx-content { font-size: 16.5px; color: var(--lx-text-2); line-height: 1.75; counter-reset: lx-h2; }
.lx-content > * { margin-top: 0; margin-bottom: 1.1em; }
.lx-content h2 { font-size: 22px; color: var(--lx-text); margin: 1.6em 0 .6em; counter-increment: lx-h2; }
.lx-content.has-toc h2::before { content: counter(lx-h2) ". "; color: var(--lx-accent); }
.lx-content h3 { font-size: 19px; color: var(--lx-text); margin: 1.4em 0 .5em; }
.lx-content a { color: var(--lx-accent-2); text-decoration: underline; text-underline-offset: 3px; }
.lx-content ul, .lx-content ol { padding-left: 1.4em; }
.lx-content ul li::marker { color: var(--lx-accent); }
.lx-content li { margin-bottom: .35em; }
.lx-content blockquote { margin-left: 0; margin-right: 0; padding: 14px 20px; border-left: 4px solid var(--lx-accent); background: var(--lx-card); border-radius: 0 10px 10px 0; color: var(--lx-text); }
.lx-content img { border-radius: 10px; }
.lx-content figure { margin-left: 0; margin-right: 0; }
.lx-content figcaption { font-size: 13px; color: var(--lx-muted); text-align: center; margin-top: 6px; }
.lx-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lx-content th, .lx-content td { border: 1px solid var(--lx-line-2); padding: 10px 12px; text-align: left; }
.lx-content th { background: var(--lx-card-2); color: var(--lx-text); }
.lx-content pre { background: var(--lx-card); padding: 16px; border-radius: 10px; overflow: auto; }
.lx-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.lx-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.lx-content .aligncenter { margin-left: auto; margin-right: auto; }
.lx-content .wp-block-image img { height: auto; }

.lx-toc-inline { display: none; }
.lx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.lx-tags a { padding: 5px 12px; border-radius: 999px; font-size: 13px; background: var(--lx-card); border: 1px solid var(--lx-line-2); color: var(--lx-text-2); }
.lx-tags a:hover { border-color: var(--lx-accent); color: #fff; }
.lx-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.lx-postnav a { display: block; padding: 14px 16px; background: var(--lx-card); border: 1px solid var(--lx-line); border-radius: var(--lx-radius); font-weight: 600; font-size: 15px; }
.lx-postnav small { display: block; color: var(--lx-muted); font-weight: 400; font-size: 12.5px; margin-bottom: 2px; }
.lx-postnav__next { text-align: right; }

/* Sidebar */
.lx-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--lx-header-h) + 20px); }
.admin-bar .lx-sidebar { top: calc(var(--lx-header-h) + 52px); }
.lx-box { background: var(--lx-card); border: 1px solid var(--lx-line); border-radius: var(--lx-radius); padding: 18px; }
.lx-box__title { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.lx-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: lx-toc; }
.lx-toc li { counter-increment: lx-toc; }
.lx-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14px; color: var(--lx-text-2); line-height: 1.45; }
.lx-toc a::before { content: counter(lx-toc) "."; color: var(--lx-muted); min-width: 16px; }
.lx-toc a:hover, .lx-toc a.is-active { background: rgba(240, 56, 107, .1); color: #fff; }
.lx-toc a.is-active::before { color: var(--lx-accent); }
.lx-toc ol ol { padding-left: 22px; counter-reset: lx-toc-sub; }
.lx-toc ol ol li { counter-increment: lx-toc-sub; }
.lx-toc ol ol a { font-size: 13.5px; }
.lx-toc ol ol a::before { content: "–"; }

.lx-mini { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--lx-line); position: relative; }
.lx-mini:first-of-type { border-top: 0; padding-top: 0; }
.lx-mini__thumb { width: 92px; flex: none; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--lx-card-2); }
.lx-mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lx-mini__title { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-mini__title a::after { content: ""; position: absolute; inset: 0; }
.lx-mini .lx-meta-item { font-size: 12.5px; color: var(--lx-muted); }
.lx-sidebar .widget { background: var(--lx-card); border: 1px solid var(--lx-line); border-radius: var(--lx-radius); padding: 18px; }
.lx-sidebar .widget-title, .lx-sidebar .wp-block-heading { font-size: 17px; margin: 0 0 12px; }
.lx-sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.lx-sidebar .widget li { padding: 6px 0; border-top: 1px solid var(--lx-line); font-size: 14px; }
.lx-sidebar .widget li:first-child { border-top: 0; }

/* Related (below content on mobile/standalone) */
.lx-related { margin-top: 30px; }

/* ---------- Archive ---------- */
.lx-archive { padding-bottom: 50px; }
.lx-archive__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.lx-archive__title { display: flex; align-items: center; gap: 12px; font-size: clamp(26px, 3vw, 32px); margin: 0 0 6px; }
.lx-archive__title .lx-icon { width: 30px; height: 30px; color: var(--lx-accent); }
.lx-archive__desc { color: var(--lx-text-2); font-size: 15px; margin: 0; max-width: 760px; }
.lx-archive__desc p { margin: 0; }
.lx-sort { position: relative; }
.lx-sort select {
	height: 40px; padding: 0 40px 0 16px; border-radius: 10px; background: var(--lx-card); border: 1px solid var(--lx-line-2);
	color: var(--lx-text); font-size: 14px; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.lx-sort::after { content: ""; position: absolute; right: 16px; top: 15px; width: 7px; height: 7px; border-right: 1.6px solid var(--lx-text-2); border-bottom: 1.6px solid var(--lx-text-2); transform: rotate(45deg); pointer-events: none; }
.lx-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 22px; }
.lx-subcats a { padding: 6px 14px; border-radius: 999px; background: var(--lx-card); border: 1px solid var(--lx-line-2); font-size: 13.5px; color: var(--lx-text-2); }
.lx-subcats a:hover { border-color: var(--lx-accent); color: #fff; }
.lx-empty { padding: 40px 24px; text-align: center; background: var(--lx-card); border: 1px dashed var(--lx-line-2); border-radius: var(--lx-radius); color: var(--lx-text-2); }
.lx-empty .lx-search { margin: 18px auto 0; max-width: 420px; width: 100%; }

/* Pagination */
.lx-pagination { margin-top: 34px; display: flex; justify-content: center; }
.lx-pagination .nav-links, .lx-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.lx-pagination .page-numbers {
	min-width: 40px; height: 40px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 9px;
	background: var(--lx-card); border: 1px solid var(--lx-line-2); color: var(--lx-text-2); font-size: 14px; font-weight: 600;
}
.lx-pagination a.page-numbers:hover { border-color: var(--lx-accent); color: #fff; }
.lx-pagination .page-numbers.current { background: var(--lx-btn); border-color: rgba(255, 110, 150, .5); color: #fff; }
.lx-pagination .page-numbers.dots { background: none; border: 0; min-width: 20px; }
.lx-pagination .lx-icon { width: 16px; height: 16px; }

/* Page */
.lx-page { max-width: 860px; margin: 0 auto; padding-bottom: 50px; }
.lx-page__title { font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 18px; }

/* 404 */
.lx-404 { text-align: center; padding: 70px 0 80px; max-width: 640px; margin: 0 auto; }
.lx-404__code { font-size: clamp(80px, 16vw, 140px); font-weight: 800; line-height: 1; background: linear-gradient(180deg, #ff6b93, #8c1d3c); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.lx-404 .lx-search { width: 100%; max-width: 440px; margin: 22px auto; }
.lx-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }

/* Comments */
.lx-comments { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--lx-line); }
.lx-comments .comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.lx-comments .comment-list .children { list-style: none; padding-left: 28px; }
.lx-comments .comment-body { background: var(--lx-card); border: 1px solid var(--lx-line); border-radius: var(--lx-radius); padding: 14px 16px; margin-bottom: 12px; font-size: 15px; }
.lx-comments .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lx-comments .comment-author img { border-radius: 50%; }
.lx-comments .comment-metadata { font-size: 12.5px; color: var(--lx-muted); margin: 2px 0 8px; }
.lx-comments .comment-metadata a { color: var(--lx-muted); }
.lx-comments .reply a { font-size: 13px; color: var(--lx-accent-2); }
.lx-comments input[type=text], .lx-comments input[type=email], .lx-comments input[type=url], .lx-comments textarea {
	width: 100%; padding: 12px 14px; background: var(--lx-card); border: 1px solid var(--lx-line-2); border-radius: 10px; color: var(--lx-text);
}
.lx-comments label { display: block; font-size: 14px; color: var(--lx-text-2); margin-bottom: 6px; }
.lx-comments .form-submit input { background: var(--lx-btn); border: 1px solid rgba(255, 110, 150, .45); color: #fff; padding: 12px 24px; border-radius: 10px; font-weight: 600; cursor: pointer; }
.lx-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.lx-comments .comment-form-cookies-consent label { margin: 0; }

/* ---------- Footer ---------- */
.lx-footer { margin-top: 40px; background: #0c0b0d; border-top: 1px solid var(--lx-line); }
.lx-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr auto; gap: 28px; padding-top: 32px; padding-bottom: 26px; }
.lx-footer__about p { font-size: 13.5px; color: var(--lx-muted); margin: 14px 0 0; line-height: 1.6; white-space: pre-line; }
.lx-footer__col h3 { font-size: 15px; margin: 0 0 12px; }
.lx-footer__col ul { list-style: none; margin: 0; padding: 0; }
.lx-footer__col li { margin-bottom: 6px; }
.lx-footer__col a { font-size: 13.5px; color: var(--lx-muted); }
.lx-footer__col a:hover { color: #fff; }
.lx-footer__side { display: flex; align-items: center; gap: 12px; }
.lx-social { display: flex; gap: 10px; }
.lx-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lx-card-2); color: var(--lx-text-2); }
.lx-social a:hover { background: var(--lx-accent); color: #fff; }
.lx-social .lx-icon { width: 18px; height: 18px; }
.lx-age-badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--lx-accent); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 0 22px rgba(240, 56, 107, .45), inset 0 0 12px rgba(240, 56, 107, .35); margin-left: 14px; }
.lx-footer__bottom { border-top: 1px solid var(--lx-line); padding: 14px 0; text-align: center; font-size: 13px; color: var(--lx-muted); }

/* Mobile bottom nav */
.lx-tabbar { display: none; }

/* ---------- Age gate ---------- */
.lx-gate { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.lx-gate.is-open, html.lx-gate-pending .lx-gate { display: flex; }
.lx-gate__backdrop { position: absolute; inset: 0; background: rgba(8, 6, 8, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
html.lx-gate-pending body { overflow: hidden; }
.lx-gate__dialog {
	position: relative; width: 100%; max-width: 420px; text-align: center; padding: 34px 28px 26px;
	background: linear-gradient(180deg, #221a1f 0%, #171316 100%); border: 1px solid var(--lx-line-2); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.lx-gate__badge { width: 86px; height: 86px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800; border: 3px solid var(--lx-accent); box-shadow: 0 0 30px rgba(240, 56, 107, .45), inset 0 0 14px rgba(240, 56, 107, .3); }
.lx-gate__title { font-size: 24px; margin-bottom: 12px; }
.lx-gate__text { font-size: 15px; color: var(--lx-text-2); margin-bottom: 22px; }
.lx-gate__actions { display: grid; gap: 12px; }
.lx-gate__remember { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--lx-text-2); cursor: pointer; }
.lx-gate__remember input { width: 17px; height: 17px; accent-color: var(--lx-accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.lx-search { width: 200px; }
	.lx-menu > li > a { padding: 0 9px; }
	.lx-single { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
}
@media (max-width: 960px) {
	:root { --lx-header-h: 60px; }
	.lx-nav, .lx-header__tools .lx-search, .lx-header__account { display: none; }
	.lx-header__burger, .lx-header__searchbtn { display: grid; }
	.lx-header__inner { gap: 10px; }
	.lx-header__brand { flex: 1; }
	.lx-header__tools { gap: 4px; }
	.lx-features__list { grid-template-columns: repeat(2, 1fr); }
	.lx-grid--4 { grid-template-columns: repeat(3, 1fr); }
	.lx-cats { grid-template-columns: repeat(3, 1fr); }
	.lx-single { grid-template-columns: 1fr; }
	.lx-sidebar { position: static; }
	.lx-sidebar .lx-toc-box { display: none; }
	.lx-toc-inline { display: block; margin-bottom: 22px; }
	.lx-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.lx-footer__about { grid-column: 1 / -1; }
	.lx-footer__side { grid-column: 1 / -1; }
}
@media (max-width: 782px) { .admin-bar .lx-header { top: 46px; } }
@media (max-width: 680px) {
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.lx-container { padding: 0 16px; }
	.lx-logo { font-size: 21px; }
	.lx-hero { min-height: 0; background-position: var(--lx-hero-pos-m, 70% center); }
	.lx-hero::before { background: linear-gradient(180deg, rgba(15, 9, 12, .55) 0%, rgba(15, 9, 12, .85) 70%, var(--lx-bg) 100%); }
	.lx-hero__inner { padding-top: 34px; padding-bottom: 28px; }
	.lx-hero__eyebrow { display: none; }
	.lx-hero__title { font-size: 26px; margin-bottom: 10px; }
	.lx-hero__text { font-size: 14.5px; margin-bottom: 18px; }
	.lx-hero__actions { display: grid; }
	.lx-hero__actions .lx-btn--ghost { display: none; }
	.lx-hero__actions .lx-btn { width: 100%; min-height: 46px; }
	.lx-features { margin-top: 0; }
	.lx-features__list { grid-template-columns: repeat(4, 1fr); background: none; border: 0; padding: 18px 0 4px; backdrop-filter: none; gap: 8px; }
	.lx-feature { flex-direction: column; text-align: center; gap: 6px; }
	.lx-feature__icon { width: 46px; height: 46px; background: none; }
	.lx-feature__title { font-size: 11.5px; font-weight: 500; color: var(--lx-text-2); }
	.lx-feature__desc { display: none; }
	.lx-section { padding-top: 22px; }
	.lx-section__title { font-size: 19px; padding-left: 12px; }
	.lx-more { font-size: 12.5px; }
	.lx-grid { gap: 12px; }
	.lx-grid--4, .lx-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.lx-card__body { padding: 10px 10px 10px; }
	.lx-card__title { font-size: 14px; margin-bottom: 8px; }
	.lx-card__meta { font-size: 11.5px; }
	.lx-card__meta .lx-meta-item + .lx-meta-item { display: none; }
	.lx-card__media .lx-badge { left: 8px; bottom: 8px; font-size: 11px; padding: 2px 8px; }
	.lx-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.lx-cat { padding: 14px 10px 12px; }
	.lx-cat .lx-icon { width: 28px; height: 28px; }
	.lx-cat__name { font-size: 15px; }
	.lx-cats .lx-cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.lx-archive__head { align-items: flex-start; }
	.lx-postnav { grid-template-columns: 1fr; }
	.lx-footer { margin-top: 28px; }
	.lx-footer__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
	.lx-footer__col:last-of-type { grid-column: auto; }
	.lx-tabbar {
		display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		background: rgba(17, 14, 17, .96); border-top: 1px solid var(--lx-line); padding-bottom: env(safe-area-inset-bottom);
		backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	}
	.lx-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 8px; font-size: 11.5px; color: var(--lx-text-2); }
	.lx-tabbar .lx-icon { width: 23px; height: 23px; }
	.lx-tabbar a.is-active { color: var(--lx-accent); }
}
@media (max-width: 380px) {
	.lx-features__list { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.lx-features--flat { margin-top: 24px; }
.lx-gate__actions .lx-btn { font-size: 15px; padding: 0 14px; line-height: 1.3; }
