/* =========================================================================
   BlueNova — 蓝白科技风 WordPress 主题
   1. Design tokens
   2. Reset & base
   3. Utilities, buttons, chips
   4. Header & navigation
   5. Search overlay
   6. Homepage hero
   7. Section headings & empty states
   8. Featured card & post cards
   9. Sidebar modules
   10. Archive page header
   11. Single post
   12. Entry content (editorial styles)
   13. Author box, post navigation, related
   14. Comments
   15. Page & 404
   16. Footer & back-to-top
   17. WordPress core classes
   18. Responsive
   19. Motion & print
   ========================================================================= */

/* 1. Design tokens
   ========================================================================= */
:root {
	--brand: #1769ff;
	--brand-rgb: 23, 105, 255;
	--brand-2: #3b9dff;
	--cyan: #25d4ea;
	--cyan-rgb: 37, 212, 234;

	--bg: #f7faff;
	--bg-soft: #eaf1fb;
	--surface: #ffffff;
	--surface-2: #f7faff;
	--surface-3: #eef4fe;

	--ink: #0a1a33;
	--ink-soft: #3c4e68;
	--muted: #5d6f87;

	--line: rgba(16, 45, 90, 0.09);
	--line-strong: rgba(16, 45, 90, 0.16);

	--navy: #04101f;
	--navy-2: #071b36;
	--navy-3: #0a2a52;

	--shadow-sm: 0 2px 8px rgba(10, 26, 51, 0.05);
	--shadow-md: 0 18px 44px -20px rgba(10, 35, 80, 0.24);
	--shadow-lg: 0 44px 90px -40px rgba(4, 24, 60, 0.4);

	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 26px;

	--container: 1200px;
	--header-h: 74px;

	--font-sans: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="dark"] {
	--bg: #050d19;
	--bg-soft: #071424;
	--surface: #0a182a;
	--surface-2: #0c1e33;
	--surface-3: #102740;

	--ink: #eef5ff;
	--ink-soft: #b9cbe2;
	--muted: #8fa5c0;

	--line: rgba(142, 190, 255, 0.12);
	--line-strong: rgba(142, 190, 255, 0.22);

	--brand: #4a8dff;
	--brand-rgb: 74, 141, 255;

	--shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
	--shadow-md: 0 20px 48px -22px rgba(0, 0, 0, 0.65);
	--shadow-lg: 0 44px 100px -36px rgba(0, 0, 0, 0.75);

	color-scheme: dark;
}

/* 2. Reset & base
   ========================================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--bg);
	background-image:
		radial-gradient(1100px 620px at 88% -160px, rgba(var(--brand-rgb), 0.07), transparent 62%),
		radial-gradient(900px 520px at -160px 26%, rgba(var(--cyan-rgb), 0.05), transparent 60%);
	background-attachment: fixed;
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.is-search-open {
	overflow: hidden;
}

img,
svg,
video,
canvas {
	max-width: 100%;
}

img {
	display: block;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s var(--ease);
}

p {
	margin: 0 0 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.02em;
	color: var(--ink);
}

ul,
ol {
	margin: 0;
	padding: 0;
}

button,
input,
textarea,
select {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

figure {
	margin: 0;
}

::selection {
	background: rgba(var(--brand-rgb), 0.22);
	color: var(--ink);
}

:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 3px;
	border-radius: 4px;
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: rgba(var(--brand-rgb), 0.28);
	border-radius: 8px;
	border: 3px solid transparent;
	background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
	background: rgba(var(--brand-rgb), 0.48);
	background-clip: padding-box;
}

.container {
	width: min(var(--container), calc(100% - 48px));
	margin-inline: auto;
}

.site-main {
	position: relative;
}

/* 3. Utilities, buttons, chips
   ========================================================================= */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 18px;
	background: var(--surface);
	color: var(--brand);
	border-radius: 8px;
	box-shadow: var(--shadow-md);
	z-index: 100000;
}

.skip-link {
	position: fixed;
	top: -100px;
	left: 16px;
	z-index: 9999;
}

.skip-link:focus {
	top: 12px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--brand);
}

.eyebrow::before {
	content: "";
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--brand), var(--cyan));
	flex: none;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--font-sans);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn svg {
	flex: none;
	transition: transform 0.3s var(--ease);
}

.btn:hover svg.icon--arrow-right {
	transform: translateX(3px);
}

.btn--primary {
	background: linear-gradient(135deg, #2f82ff 0%, var(--brand) 52%, #0d54e6 100%);
	color: #fff;
	box-shadow: 0 14px 32px -12px rgba(var(--brand-rgb), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 40px -14px rgba(var(--brand-rgb), 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	color: #fff;
}

.btn--primary:active {
	transform: translateY(0);
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.7);
	border-color: rgba(var(--brand-rgb), 0.22);
	color: var(--ink-soft);
	box-shadow: 0 10px 26px -18px rgba(10, 45, 100, 0.35);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.btn--ghost:hover {
	background: #fff;
	border-color: rgba(var(--brand-rgb), 0.45);
	transform: translateY(-2px);
	color: var(--brand);
}

.btn--line {
	background: var(--surface);
	border-color: var(--line-strong);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}

.btn--line:hover {
	border-color: rgba(var(--brand-rgb), 0.4);
	color: var(--brand);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn--light {
	background: #fff;
	color: #0a3a9e;
	box-shadow: 0 12px 26px -12px rgba(1, 15, 40, 0.5);
	font-weight: 700;
}

.btn--light:hover {
	transform: translateY(-2px);
	background: #f4f9ff;
	color: #0a3a9e;
}

.btn--block {
	width: 100%;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border: 1px solid rgba(var(--brand-rgb), 0.16);
	border-radius: 7px;
	background: rgba(var(--brand-rgb), 0.06);
	color: var(--brand);
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.5;
	text-transform: uppercase;
}

.chip:hover {
	background: rgba(var(--brand-rgb), 0.12);
	color: var(--brand);
}

.chip--glass {
	background: rgba(var(--brand-rgb), 0.07);
	border-color: rgba(var(--brand-rgb), 0.2);
	color: #2f6fd4;
}

.chip--glass:hover {
	background: rgba(var(--brand-rgb), 0.13);
	color: var(--brand);
}

.meta-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.45;
	flex: none;
}

.meta-sep {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: rgba(190, 212, 235, 0.4);
	flex: none;
}

.avatar-fallback {
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #2f82ff, #0f4bc4 65%, #25d4ea);
	color: #fff;
	font-family: var(--font-sans);
	font-weight: 700;
	line-height: 1;
	overflow: hidden;
	flex: none;
}

.avatar-fallback--xxs {
	width: 24px;
	height: 24px;
	font-size: 11px;
}

.avatar-fallback--sm {
	width: 28px;
	height: 28px;
	font-size: 12px;
}

.social-row,
.footer-social,
.profile-card__socials,
.author-box__socials {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.social-link {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--surface-2);
	color: var(--ink-soft);
	transition: all 0.28s var(--ease);
}

.social-link:hover {
	transform: translateY(-2px);
	border-color: rgba(var(--brand-rgb), 0.4);
	background: rgba(var(--brand-rgb), 0.08);
	color: var(--brand);
}

/* Reading progress */
.reading-progress {
	position: fixed;
	inset: 0 0 auto;
	z-index: 120;
	height: 3px;
	background: transparent;
	pointer-events: none;
	display: none;
}

.single .reading-progress {
	display: block;
}

.reading-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--brand), var(--cyan));
	box-shadow: 0 0 12px rgba(var(--brand-rgb), 0.7);
	transition: width 0.1s linear;
}

/* 4. Header & navigation
   ========================================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	display: flex;
	align-items: center;
	color: var(--ink);
	background: rgba(243, 247, 253, 0.86);
	background: color-mix(in srgb, var(--bg) 86%, transparent);
	-webkit-backdrop-filter: blur(20px) saturate(160%);
	backdrop-filter: blur(20px) saturate(160%);
	border-bottom: 1px solid transparent;
	transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

[data-theme="dark"] .site-header {
	background: rgba(5, 13, 25, 0.88);
	background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.site-header.is-scrolled {
	background: rgba(243, 247, 253, 0.94);
	background: color-mix(in srgb, var(--bg) 94%, transparent);
	border-bottom-color: var(--line);
	box-shadow: 0 12px 34px -28px rgba(5, 25, 55, 0.65);
}

[data-theme="dark"] .site-header.is-scrolled {
	background: rgba(5, 13, 25, 0.94);
	background: color-mix(in srgb, var(--bg) 94%, transparent);
	box-shadow: 0 14px 40px -24px rgba(0, 0, 0, 0.8);
}

.site-header--hero {
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border-bottom-color: transparent;
	color: var(--ink);
}

html:not(.js) .site-header--hero {
	background: rgba(244, 249, 255, 0.92);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	color: var(--ink);
}

.site-header--hero.is-scrolled {
	background: rgba(243, 247, 253, 0.94);
	background: color-mix(in srgb, var(--bg) 94%, transparent);
	-webkit-backdrop-filter: blur(20px) saturate(160%);
	backdrop-filter: blur(20px) saturate(160%);
	border-bottom-color: var(--line);
	color: var(--ink);
	box-shadow: 0 12px 34px -28px rgba(5, 25, 55, 0.65);
}

[data-theme="dark"] .site-header--hero.is-scrolled {
	background: rgba(5, 13, 25, 0.94);
	background: color-mix(in srgb, var(--bg) 94%, transparent);
	color: var(--ink);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	height: 100%;
}

.site-branding {
	display: flex;
	align-items: center;
	min-width: 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.brand__mark {
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 12px;
	filter: drop-shadow(0 8px 16px rgba(var(--brand-rgb), 0.35));
}

.brand__logo {
	width: auto;
	max-width: 150px;
	height: 40px;
	flex: none;
	object-fit: contain;
}

.brand__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	line-height: 1.18;
}

.brand__name {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.03em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.brand__tagline {
	font-family: var(--font-mono);
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 250px;
}

.site-header--hero:not(.is-scrolled) .brand__tagline {
	color: var(--muted);
}

.primary-nav {
	display: flex;
	align-items: center;
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.primary-nav li {
	position: relative;
}

.primary-nav .menu > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--ink-soft);
	transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.primary-nav .menu > li > a:hover {
	color: var(--brand);
	background: rgba(var(--brand-rgb), 0.07);
}

.site-header--hero:not(.is-scrolled) .primary-nav .menu > li > a {
	color: var(--ink-soft);
}

.site-header--hero:not(.is-scrolled) .primary-nav .menu > li > a:hover {
	color: var(--brand);
	background: rgba(var(--brand-rgb), 0.08);
}

.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a {
	color: var(--brand);
}

.site-header--hero:not(.is-scrolled) .primary-nav .current-menu-item > a,
.site-header--hero:not(.is-scrolled) .primary-nav .current_page_item > a {
	color: var(--brand);
}

.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
	content: "";
	position: absolute;
	bottom: 3px;
	left: 50%;
	transform: translateX(-50%);
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--brand), var(--cyan));
}

.site-header--hero:not(.is-scrolled) .primary-nav .current-menu-item > a::after,
.site-header--hero:not(.is-scrolled) .primary-nav .current_page_item > a::after {
	background: linear-gradient(90deg, var(--brand), var(--cyan));
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 208px;
	padding: 8px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.25s var(--ease);
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-nav .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 13.5px;
	color: var(--ink-soft);
	white-space: nowrap;
}

.primary-nav .sub-menu a:hover {
	background: var(--surface-2);
	color: var(--brand);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: none;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	color: inherit;
	transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.icon-btn:hover {
	background: rgba(var(--brand-rgb), 0.08);
	border-color: var(--line);
	color: var(--brand);
}

.site-header--hero:not(.is-scrolled) .icon-btn:hover {
	background: rgba(var(--brand-rgb), 0.08);
	border-color: var(--line);
	color: var(--brand);
}

.theme-toggle {
	position: relative;
}

.theme-toggle__sun,
.theme-toggle__moon {
	display: inline-grid;
	place-items: center;
	transition: opacity 0.3s var(--ease), transform 0.5s var(--ease);
}

.theme-toggle__sun {
	display: none;
}

[data-theme="dark"] .theme-toggle__sun {
	display: inline-grid;
}

[data-theme="dark"] .theme-toggle__moon {
	display: none;
}

.theme-toggle:hover .theme-toggle__moon,
.theme-toggle:hover .theme-toggle__sun {
	transform: rotate(18deg);
}

.menu-toggle {
	display: none;
}

.menu-toggle__lines {
	position: relative;
	display: block;
	width: 18px;
	height: 12px;
}

.menu-toggle__lines span {
	position: absolute;
	left: 0;
	display: block;
	width: 18px;
	height: 1.8px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.3s var(--ease), top 0.3s var(--ease), width 0.3s var(--ease);
}

.menu-toggle__lines span:first-child {
	top: 1px;
}

.menu-toggle__lines span:last-child {
	top: 9px;
	width: 13px;
}

.nav-open .menu-toggle__lines span:first-child {
	top: 5px;
	transform: rotate(45deg);
}

.nav-open .menu-toggle__lines span:last-child {
	top: 5px;
	width: 18px;
	transform: rotate(-45deg);
}

/* 5. Search overlay
   ========================================================================= */
.search-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: start center;
	padding: clamp(24px, 9vh, 110px) 20px 24px;
}

.search-modal[hidden] {
	display: none;
}

.search-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 12, 25, 0.62);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	animation: bn-fade-in 0.25s var(--ease) both;
}

.search-modal__panel {
	position: relative;
	width: min(720px, 100%);
	padding: 26px 30px 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: 0 60px 140px -40px rgba(0, 10, 30, 0.7);
	animation: bn-modal-in 0.35s var(--ease) both;
}

.search-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.search-modal__title {
	margin: 18px 0 22px;
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.search-modal__form {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 8px 8px 16px;
	background: var(--surface-2);
	border: 1px solid var(--line-strong);
	border-radius: 16px;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-modal__form:focus-within {
	border-color: rgba(var(--brand-rgb), 0.5);
	box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

.search-modal__icon {
	color: var(--muted);
	flex: none;
}

.search-modal__form input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-size: 16px;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.search-modal__form input[type="search"]::placeholder {
	color: var(--muted);
	opacity: 0.8;
}

.search-modal__form .btn {
	min-height: 46px;
	padding: 0 20px;
	border-radius: 11px;
	flex: none;
}

.search-modal__hints {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.search-modal__hints-label {
	margin-right: 2px;
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.hint-chip {
	padding: 5px 11px;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: var(--surface-2);
	color: var(--ink-soft);
	font-size: 12px;
	transition: all 0.25s var(--ease);
}

.hint-chip:hover {
	border-color: rgba(var(--brand-rgb), 0.35);
	color: var(--brand);
	background: rgba(var(--brand-rgb), 0.06);
}

.search-modal__tip {
	margin: 24px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 11.5px;
	color: var(--muted);
}

.search-modal__tip kbd {
	display: inline-block;
	min-width: 22px;
	padding: 1px 5px;
	border: 1px solid var(--line-strong);
	border-bottom-width: 2px;
	border-radius: 5px;
	background: var(--surface-2);
	font-family: var(--font-mono);
	font-size: 10.5px;
	color: var(--ink-soft);
	text-align: center;
}

/* 6. Homepage hero
   ========================================================================= */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 760px;
	display: flex;
	align-items: center;
	padding: 96px 0 118px;
	border-bottom: 1px solid rgba(var(--brand-rgb), 0.07);
	color: var(--ink);
	background:
		radial-gradient(860px 540px at 82% 4%, rgba(37, 212, 234, 0.18), transparent 62%),
		radial-gradient(780px 560px at 4% 92%, rgba(23, 105, 255, 0.18), transparent 66%),
		linear-gradient(142deg, #fbfdff 0%, #edf8ff 46%, #dcefff 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.bluenova-home .hero {
	margin-top: calc(var(--header-h) * -1);
	padding-top: calc(var(--header-h) + 92px);
}

.hero__canvas {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	opacity: 0.85;
	pointer-events: none;
}

.hero__grid {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(30, 105, 210, 0.075) 1px, transparent 1px),
		linear-gradient(90deg, rgba(30, 105, 210, 0.075) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 62% at 52% 38%, #000 10%, transparent 78%);
	mask-image: radial-gradient(ellipse 70% 62% at 52% 38%, #000 10%, transparent 78%);
}

.hero__orb {
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(92px);
	opacity: 0.75;
}

.hero__orb--1 {
	top: -210px;
	left: -140px;
	width: 540px;
	height: 540px;
	background: rgba(23, 105, 255, 0.25);
	animation: bn-drift 20s ease-in-out infinite;
}

.hero__orb--2 {
	top: 18%;
	right: -120px;
	width: 430px;
	height: 430px;
	background: rgba(37, 212, 234, 0.22);
	animation: bn-drift 25s ease-in-out infinite reverse;
}

.hero__orb--3 {
	left: 34%;
	bottom: -260px;
	width: 520px;
	height: 520px;
	background: rgba(80, 150, 255, 0.2);
	animation: bn-drift 23s 2s ease-in-out infinite;
}

.hero__inner {
	position: relative;
	z-index: 5;
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.84fr);
	align-items: center;
	gap: 64px;
}

.hero__copy {
	position: relative;
	z-index: 2;
	min-width: 0;
}

.hero__copy > * {
	animation: bn-rise 0.85s var(--ease) both;
}

.hero__copy > :nth-child(2) {
	animation-delay: 0.06s;
}

.hero__copy > :nth-child(3) {
	animation-delay: 0.12s;
}

.hero__copy > :nth-child(4) {
	animation-delay: 0.18s;
}

.hero__copy > :nth-child(5) {
	animation-delay: 0.24s;
}

.hero__copy > :nth-child(6) {
	animation-delay: 0.3s;
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 15px;
	border: 1px solid rgba(120, 185, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.66);
	border-color: rgba(var(--brand-rgb), 0.18);
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.15em;
	line-height: 1.4;
	text-transform: uppercase;
	color: #2f6fd4;
	box-shadow: 0 8px 24px -18px rgba(18, 70, 150, 0.45);
}

.hero__badge i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 0 4px rgba(37, 212, 234, 0.14), 0 0 14px rgba(37, 212, 234, 0.8);
	animation: bn-pulse 2.6s ease-in-out infinite;
	flex: none;
}

.hero__title {
	margin: 22px 0 22px;
	font-size: clamp(2.5rem, 4.6vw, 4rem);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -0.035em;
	color: var(--ink);
	text-wrap: balance;
}

.hero__title .grad {
	background: linear-gradient(100deg, #1769ff 0%, #2f86ff 46%, #00b8d9 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.hero__subtitle {
	max-width: 545px;
	margin: 0 0 30px;
	color: #4d637f;
	font-size: 16.5px;
	line-height: 1.9;
}

.hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

.hero-search {
	display: flex;
	align-items: center;
	gap: 8px;
	width: min(480px, 100%);
	padding: 7px 7px 7px 17px;
	border: 1px solid rgba(var(--brand-rgb), 0.16);
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 18px 44px -30px rgba(14, 62, 135, 0.5);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.hero-search:focus-within {
	border-color: rgba(var(--brand-rgb), 0.45);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.09), 0 20px 46px -30px rgba(14, 62, 135, 0.5);
}

.hero-search__icon {
	color: #7d93ad;
	flex: none;
}

.hero-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-size: 14px;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.hero-search input[type="search"]::placeholder {
	color: #8a9cb3;
}

.hero-search button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #2f83ff, var(--brand));
	color: #fff;
	box-shadow: 0 8px 18px -8px rgba(var(--brand-rgb), 0.8);
	transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.hero-search button:hover {
	transform: translateX(2px);
	filter: brightness(1.08);
}

.hero__stats {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-top: 42px;
	flex-wrap: wrap;
}

.hero-stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hero-stat + .hero-stat {
	padding-left: 30px;
	border-left: 1px solid rgba(var(--brand-rgb), 0.14);
}

.hero-stat__num {
	font-family: var(--font-mono);
	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: var(--ink);
}

.hero-stat__label {
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--muted);
}

.hero__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 470px;
	animation: bn-rise 1s 0.2s var(--ease) both;
}

.orbit {
	position: absolute;
	top: 50%;
	left: 50%;
	border: 1px dashed rgba(var(--brand-rgb), 0.22);
	border-radius: 50%;
	pointer-events: none;
}

.orbit--1 {
	width: 530px;
	height: 530px;
	margin: -265px 0 0 -265px;
	animation: bn-spin 70s linear infinite;
}

.orbit--2 {
	width: 390px;
	height: 390px;
	margin: -195px 0 0 -195px;
	border-style: solid;
	border-color: rgba(var(--brand-rgb), 0.1);
	animation: bn-spin 52s linear infinite reverse;
}

.orbit::before {
	content: "";
	position: absolute;
	top: -4px;
	left: 50%;
	width: 8px;
	height: 8px;
	margin-left: -4px;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 18px 4px rgba(37, 212, 234, 0.55);
}

.terminal {
	position: relative;
	z-index: 2;
	width: min(424px, 100%);
	overflow: hidden;
	border: 1px solid rgba(var(--brand-rgb), 0.22);
	border-radius: 20px;
	background: linear-gradient(158deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.98) 100%);
	box-shadow:
		0 46px 100px -38px rgba(15, 60, 130, 0.4),
		0 0 80px rgba(var(--brand-rgb), 0.08),
		0 18px 38px -30px rgba(15, 60, 130, 0.4),
		inset 0 1px 0 #fff;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
	animation: bn-terminal-float 7s ease-in-out infinite;
}

.terminal__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(var(--brand-rgb), 0.1);
	background: rgba(235, 245, 255, 0.72);
	font-family: var(--font-mono);
	font-size: 10.5px;
	color: #6b86a4;
}

.terminal__dots {
	display: flex;
	gap: 5px;
	margin-right: 4px;
}

.terminal__dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #ff5f57;
}

.terminal__dots i:nth-child(2) {
	background: #febc2e;
}

.terminal__dots i:nth-child(3) {
	background: #28c840;
}

.terminal__title {
	letter-spacing: 0.05em;
}

.terminal__badge {
	margin-left: auto;
	padding: 1px 6px;
	border: 1px solid rgba(var(--brand-rgb), 0.18);
	border-radius: 4px;
	font-size: 9px;
	letter-spacing: 0.08em;
	color: #6b86a4;
}

.terminal__body {
	padding: 18px 20px 14px;
	font-family: var(--font-mono);
	font-size: 12.5px;
	line-height: 2;
	color: #2b4767;
}

.terminal__line {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.terminal__prompt {
	color: #009fc4;
	font-weight: 700;
}

.terminal__cmd {
	color: #1769ff;
}

.terminal__out {
	margin: 0 0 0 18px;
	color: #5d7694;
}

.terminal__file {
	color: #b57200;
}

.terminal__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 7px 0 2px 18px;
}

.terminal__tags span {
	padding: 2px 8px;
	border: 1px solid rgba(var(--brand-rgb), 0.14);
	border-radius: 4px;
	background: rgba(var(--brand-rgb), 0.06);
	color: #2f6fd4;
	font-size: 10px;
	letter-spacing: 0.04em;
}

.terminal__line--cursor {
	margin-top: 2px;
}

.terminal__cursor {
	display: inline-block;
	width: 7px;
	height: 14px;
	background: #00b8d4;
	box-shadow: 0 0 10px rgba(0, 184, 212, 0.7);
	animation: bn-blink 1.15s steps(2, start) infinite;
}

.terminal__foot {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 10px 16px;
	border-top: 1px solid rgba(var(--brand-rgb), 0.09);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.1em;
	color: #7d92ad;
}

.terminal__spacer {
	flex: 1;
}

.status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #38e8a0;
	box-shadow: 0 0 8px #38e8a0;
	flex: none;
}

.float-chip {
	position: absolute;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 12px;
	border: 1px solid rgba(var(--brand-rgb), 0.18);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 18px 36px -20px rgba(20, 70, 140, 0.4);
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.04em;
	color: #3a6ea8;
	animation: bn-float 6s ease-in-out infinite;
}

.float-chip__dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 8px rgba(37, 212, 234, 0.9);
}

.float-chip--1 {
	top: 9%;
	left: -4%;
	animation-delay: -1s;
}

.float-chip--2 {
	bottom: 12%;
	left: -7%;
	animation-delay: -3.2s;
}

.float-chip--3 {
	top: 19%;
	right: -5%;
	animation-delay: -2s;
}

.hero__scroll {
	position: absolute;
	right: 38px;
	bottom: 42px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.28em;
	color: rgba(45, 80, 130, 0.35);
	writing-mode: vertical-rl;
}

.hero__scroll i {
	display: block;
	width: 1px;
	height: 46px;
	background: linear-gradient(to bottom, rgba(var(--brand-rgb), 0.5), transparent);
	animation: bn-scroll-line 2.4s ease-in-out infinite;
}

.hero__fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	z-index: 4;
	height: 96px;
	background: linear-gradient(to bottom, transparent, var(--bg));
	pointer-events: none;
}

/* 7. Section headings & empty states
   ========================================================================= */
.home-layout,
.archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 52px;
	align-items: start;
}

.home-layout {
	margin-top: 72px;
}

.archive-layout {
	margin-top: 56px;
}

.home-content,
.archive-content {
	min-width: 0;
}

.section + .section {
	margin-top: 68px;
}

.section,
#latest,
#comments {
	scroll-margin-top: calc(var(--header-h) + 24px);
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.section-head__copy {
	min-width: 0;
}

.section-head__title {
	margin-top: 7px;
	font-size: clamp(1.5rem, 2.3vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.3;
}

.section-head__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: none;
	padding-bottom: 3px;
	font-size: 13px;
	font-weight: 600;
	color: var(--brand);
	white-space: nowrap;
}

.section-head__link svg {
	transition: transform 0.3s var(--ease);
}

.section-head__link:hover svg {
	transform: translateX(4px);
}

.empty-note {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding: 24px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--muted);
	font-size: 14px;
}

.empty-note__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(var(--brand-rgb), 0.08);
	color: var(--brand);
	flex: none;
}

.empty-note p {
	margin: 0;
	flex: 1;
	min-width: 180px;
}

.empty-state {
	padding: 56px 40px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(600px 260px at 50% -60px, rgba(var(--brand-rgb), 0.08), transparent 70%),
		var(--surface);
	text-align: center;
	box-shadow: var(--shadow-sm);
}

.empty-state__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.12), rgba(var(--cyan-rgb), 0.1));
	border: 1px solid rgba(var(--brand-rgb), 0.18);
	color: var(--brand);
}

.empty-state .eyebrow {
	justify-content: center;
}

.empty-state__title {
	margin: 12px 0 10px;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
}

.empty-state__text {
	max-width: 480px;
	margin: 0 auto 26px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.85;
}

.empty-state__search {
	max-width: 420px;
	margin: 0 auto 24px;
}

.empty-state__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

/* 8. Featured card & post cards
   ========================================================================= */
.featured-card {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.featured-card:hover {
	transform: translateY(-4px);
	border-color: rgba(var(--brand-rgb), 0.24);
	box-shadow: var(--shadow-md);
}

.featured-card__media {
	position: relative;
	min-height: 386px;
	overflow: hidden;
	background: var(--navy-2);
}

.featured-card__cover {
	position: absolute;
	inset: 0;
	display: block;
}

.featured-card__cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 16, 32, 0.02) 30%, rgba(4, 16, 32, 0.42) 100%);
	pointer-events: none;
}

.featured-card__cover img,
.featured-card__cover .cover-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.featured-card:hover .featured-card__cover img {
	transform: scale(1.045);
}

.featured-card__badge {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border: 1px solid rgba(150, 205, 255, 0.3);
	border-radius: 7px;
	background: rgba(6, 22, 44, 0.55);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #d8ecff;
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.featured-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 36px 36px 32px;
	min-width: 0;
}

.featured-card__kicker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.featured-card__title {
	margin: 15px 0 14px;
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
	font-weight: 800;
	line-height: 1.42;
	letter-spacing: -0.025em;
}

.featured-card__title a:hover {
	color: var(--brand);
}

.featured-card__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 0 0 24px;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.85;
}

.featured-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.03em;
}

.author-mini {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--ink-soft);
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
}

.featured-card__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--brand);
}

.featured-card__more-icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(var(--brand-rgb), 0.08);
	transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.featured-card__more:hover .featured-card__more-icon {
	transform: translate(2px, -2px);
	background: var(--brand);
	color: #fff;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease), border-color 0.38s var(--ease);
}

.post-card:hover {
	transform: translateY(-6px);
	border-color: rgba(var(--brand-rgb), 0.22);
	box-shadow: var(--shadow-md);
}

.post-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--navy-2);
}

.post-card__cover {
	position: absolute;
	inset: 0;
	display: block;
}

.post-card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.75s var(--ease);
}

.post-card:hover .post-card__cover img {
	transform: scale(1.055);
}

.post-card__cat {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	max-width: calc(100% - 28px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 7px;
	background: rgba(7, 22, 42, 0.55);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #eaf3ff;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.03em;
	transition: background 0.25s var(--ease);
}

.post-card__cat:hover {
	background: rgba(var(--brand-rgb), 0.85);
	color: #fff;
}

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 22px 20px;
}

.post-card__meta {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.03em;
}

.post-card__title {
	margin: 10px 0 9px;
	font-size: 1.17rem;
	font-weight: 750;
	line-height: 1.5;
	letter-spacing: -0.02em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.post-card__title a:hover {
	color: var(--brand);
}

.post-card__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
}

.post-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid var(--line);
}

.card-arrow {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--surface-2);
	color: var(--muted);
	transition: all 0.3s var(--ease);
}

.post-card:hover .card-arrow {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
	transform: rotate(8deg);
}

.cover-fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: linear-gradient(140deg, #062044, #0b3b78 58%, #08567a);
}

.cover-fallback--1 {
	background: linear-gradient(140deg, #051a34 0%, #0b3568 55%, #0b5d7f 100%);
}

.cover-fallback--2 {
	background: linear-gradient(140deg, #071a33 0%, #123b6e 55%, #1b2f72 100%);
}

.cover-fallback--3 {
	background: linear-gradient(140deg, #04182b 0%, #0b3a5c 55%, #0a5d73 100%);
}

.cover-fallback--4 {
	background: linear-gradient(140deg, #0a1c3a 0%, #1d3a7a 55%, #0b4d8a 100%);
}

.cover-fallback__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(140, 195, 255, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(140, 195, 255, 0.09) 1px, transparent 1px);
	background-size: 34px 34px;
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 78%);
	mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 78%);
}

.cover-fallback::after {
	content: "";
	position: absolute;
	top: -40%;
	right: -20%;
	width: 70%;
	height: 110%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(80, 185, 255, 0.35), transparent 66%);
	filter: blur(10px);
}

.cover-fallback__char {
	position: relative;
	z-index: 1;
	font-family: var(--font-mono);
	font-size: 5.4rem;
	font-weight: 800;
	line-height: 1;
	color: rgba(255, 255, 255, 0.13);
	text-shadow: 0 0 40px rgba(100, 190, 255, 0.2);
	transform: translateY(3px);
}

.featured-card .cover-fallback__char {
	font-size: 8.5rem;
}

.cover-fallback__mark {
	position: absolute;
	right: 16px;
	bottom: 14px;
	color: rgba(160, 215, 255, 0.5);
}

/* 9. Sidebar modules
   ========================================================================= */
.sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.widget {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.widget-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
}

.widget-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 15px;
	font-weight: 750;
	letter-spacing: -0.01em;
}

.widget-title__icon {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: rgba(var(--brand-rgb), 0.08);
	color: var(--brand);
	flex: none;
}

.widget-head__meta {
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: 0.16em;
	color: var(--muted);
	opacity: 0.7;
}

.widget-empty {
	margin: 0;
	padding: 10px 0;
	color: var(--muted);
	font-size: 13px;
}

.profile-card {
	position: relative;
	overflow: hidden;
	padding: 28px 24px 24px;
	border: 1px solid rgba(var(--brand-rgb), 0.14);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(300px 200px at 88% 0%, rgba(37, 212, 234, 0.16), transparent 70%),
		linear-gradient(155deg, #ffffff 0%, #f1f9ff 48%, #e4f3ff 100%);
	box-shadow: 0 26px 60px -38px rgba(20, 70, 140, 0.45);
	color: var(--ink-soft);
}

.profile-card__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(var(--brand-rgb), 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(var(--brand-rgb), 0.055) 1px, transparent 1px);
	background-size: 32px 32px;
	-webkit-mask-image: radial-gradient(circle at 80% 0%, #000, transparent 76%);
	mask-image: radial-gradient(circle at 80% 0%, #000, transparent 76%);
	pointer-events: none;
}

.profile-card__glow {
	position: absolute;
	top: -80px;
	right: -70px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: rgba(37, 212, 234, 0.2);
	filter: blur(50px);
	pointer-events: none;
}

.profile-card__avatar {
	position: relative;
	z-index: 1;
	width: 86px;
	height: 86px;
	margin-bottom: 16px;
	padding: 3px;
	border-radius: 50%;
	background: linear-gradient(135deg, #5ab7ff, #1769ff 55%, #25d4ea);
	box-shadow: 0 14px 34px -20px rgba(20, 70, 140, 0.55);
}

.profile-card__img {
	width: 100%;
	height: 100%;
	border: 3px solid #fff;
	border-radius: 50%;
	object-fit: cover;
	background: linear-gradient(135deg, #1b4f92, #0c2a50);
	color: #dceeff;
	font-size: 30px;
}

.profile-card__badge {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #0b93b2;
}

.profile-card__badge i {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 8px rgba(37, 212, 234, 0.9);
}

.profile-card__name {
	position: relative;
	z-index: 1;
	margin: 6px 0 2px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.profile-card__role {
	position: relative;
	z-index: 1;
	margin: 0 0 12px;
	font-size: 11.5px;
	letter-spacing: 0.04em;
	color: var(--brand);
}

.profile-card__bio {
	position: relative;
	z-index: 1;
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
}

.profile-card__socials {
	position: relative;
	z-index: 1;
	gap: 7px;
}

.profile-card__socials .social-link {
	width: 33px;
	height: 33px;
	border-color: var(--line);
	background: rgba(255, 255, 255, 0.72);
	color: #4f6d90;
}

.profile-card__socials .social-link:hover {
	border-color: rgba(var(--brand-rgb), 0.35);
	background: #fff;
	color: var(--brand);
}

.popular-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	list-style: none;
}

.popular-item {
	display: flex;
	align-items: flex-start;
	gap: 13px;
}

.popular-item__num {
	min-width: 26px;
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: -0.03em;
	color: transparent;
	-webkit-text-stroke: 1.2px rgba(var(--brand-rgb), 0.8);
}

.popular-item:first-child .popular-item__num {
	color: var(--brand);
	-webkit-text-stroke: 0;
}

.popular-item__body {
	min-width: 0;
}

.popular-item__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.55;
	letter-spacing: -0.005em;
}

.popular-item__title:hover {
	color: var(--brand);
}

.popular-item__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.03em;
}

.cat-list {
	display: flex;
	flex-direction: column;
	gap: 1px;
	list-style: none;
}

.cat-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 10px;
	border-radius: 9px;
	color: var(--ink-soft);
	font-size: 13.5px;
	transition: all 0.25s var(--ease);
}

.cat-list a:hover {
	padding-left: 14px;
	background: var(--surface-2);
	color: var(--brand);
}

.cat-list__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cat-list__count {
	flex: none;
	min-width: 26px;
	padding: 1px 7px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--surface-2);
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10px;
	text-align: center;
	transition: all 0.25s var(--ease);
}

.cat-list a:hover .cat-list__count {
	border-color: rgba(var(--brand-rgb), 0.3);
	background: rgba(var(--brand-rgb), 0.08);
	color: var(--brand);
}

.tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.tagcloud a {
	padding: 5px 10px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--surface-2);
	color: var(--ink-soft);
	font-size: 11.5px !important;
	line-height: 1.55;
	transition: all 0.25s var(--ease);
}

.tagcloud a:hover {
	transform: translateY(-1px);
	border-color: rgba(var(--brand-rgb), 0.35);
	background: rgba(var(--brand-rgb), 0.07);
	color: var(--brand);
}

.widget--cta {
	position: relative;
	overflow: hidden;
	padding: 28px 24px;
	border: 0;
	background: linear-gradient(145deg, #1a6dff 0%, #0c4fd0 58%, #0a3a9e 100%);
	box-shadow: 0 26px 54px -26px rgba(10, 70, 200, 0.6);
	color: #fff;
}

.widget--cta__orbit {
	position: absolute;
	top: -70px;
	right: -80px;
	width: 250px;
	height: 250px;
	border: 1px solid rgba(160, 220, 255, 0.28);
	border-radius: 50%;
	pointer-events: none;
}

.widget--cta__orbit::before,
.widget--cta__orbit::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(160, 220, 255, 0.18);
	border-radius: 50%;
}

.widget--cta__orbit::before {
	inset: 26px;
}

.widget--cta__orbit::after {
	inset: 56px;
}

.widget--cta .eyebrow {
	position: relative;
	color: #cae8ff;
}

.widget--cta .eyebrow::before {
	background: #fff;
}

.widget--cta__title {
	position: relative;
	margin: 9px 0 8px;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

.widget--cta__text {
	position: relative;
	margin: 0 0 18px;
	color: rgba(235, 245, 255, 0.8);
	font-size: 12.5px;
	line-height: 1.8;
}

.widget--cta .btn {
	position: relative;
}

.widget--cta__link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
	color: rgba(235, 245, 255, 0.76);
	font-size: 11.5px;
}

.widget--cta__link:hover {
	color: #fff;
}

/* Widgets added by users */
.widget > ul,
.widget .menu {
	list-style: none;
}

.widget > ul li,
.widget .menu li {
	padding: 7px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 13.5px;
}

.widget > ul li:last-child,
.widget .menu li:last-child {
	border-bottom: 0;
}

.widget > ul a,
.widget .menu a {
	color: var(--ink-soft);
}

.widget > ul a:hover,
.widget .menu a:hover {
	color: var(--brand);
}

.widget .search-form {
	margin-top: 4px;
}

.widget select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 9px;
	background: var(--surface-2);
	color: var(--ink);
}

.widget .wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
}

/* Search form */
.search-form__row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 6px 6px 13px;
	border: 1px solid var(--line-strong);
	border-radius: 11px;
	background: var(--surface-2);
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-form__row:focus-within {
	border-color: rgba(var(--brand-rgb), 0.5);
	box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.08);
}

.search-form__icon {
	display: inline-flex;
	color: var(--muted);
	flex: none;
}

.search-field {
	flex: 1;
	min-width: 0;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-size: 13.5px;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.search-field::placeholder {
	color: var(--muted);
	opacity: 0.8;
}

.search-form__btn {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	flex: none;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--brand);
	color: #fff;
	transition: filter 0.25s var(--ease), transform 0.25s var(--ease);
}

.search-form__btn:hover {
	transform: translateX(2px);
	filter: brightness(1.08);
}

/* 10. Archive page header
   ========================================================================= */
.page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 60px 0 54px;
	color: var(--ink);
	background:
		radial-gradient(760px 380px at 82% -20%, rgba(37, 212, 234, 0.16), transparent 62%),
		radial-gradient(520px 380px at 4% 110%, rgba(23, 105, 255, 0.12), transparent 66%),
		linear-gradient(135deg, #fbfdff 0%, #f0f8ff 56%, #e4f2ff 100%);
	border-bottom: 1px solid var(--line);
}

.page-hero--page {
	padding: 54px 0 48px;
}

.page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(30, 105, 210, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(30, 105, 210, 0.06) 1px, transparent 1px);
	background-size: 58px 58px;
	-webkit-mask-image: radial-gradient(ellipse 80% 90% at 68% 0%, #000 10%, transparent 76%);
	mask-image: radial-gradient(ellipse 80% 90% at 68% 0%, #000 10%, transparent 76%);
	pointer-events: none;
}

.page-hero::after {
	content: "";
	position: absolute;
	right: -140px;
	bottom: -260px;
	width: 560px;
	height: 560px;
	border: 1px dashed rgba(var(--brand-rgb), 0.14);
	border-radius: 50%;
	pointer-events: none;
}

.page-hero .breadcrumbs {
	margin-bottom: 28px;
}

.breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	color: #7b8fa7;
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.04em;
}

.breadcrumbs a {
	color: #506a89;
}

.breadcrumbs a:hover {
	color: var(--brand);
}

.breadcrumbs__sep {
	opacity: 0.45;
}

.breadcrumbs__current {
	color: #8ea2b8;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 340px;
}

.page-hero__content {
	max-width: 760px;
}

.page-hero .eyebrow {
	color: var(--brand);
}

.page-hero__title {
	margin: 12px 0 14px;
	font-size: clamp(2rem, 3.8vw, 3.1rem);
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: -0.035em;
	color: var(--ink);
	text-wrap: balance;
}

.page-hero__desc {
	max-width: 640px;
	margin: 0;
	color: #4d637f;
	font-size: 15px;
	line-height: 1.85;
}

.page-hero__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 22px;
}

.page-hero__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border: 1px solid rgba(var(--brand-rgb), 0.14);
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.66);
	color: #3f6fa8;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.05em;
	box-shadow: 0 8px 20px -18px rgba(20, 70, 140, 0.45);
}

.page-hero__chip--link {
	transition: all 0.25s var(--ease);
}

.page-hero__chip--link:hover {
	border-color: rgba(var(--brand-rgb), 0.35);
	background: #fff;
	color: var(--brand);
}

.page-hero__search {
	max-width: 460px;
	margin-top: 26px;
}

.page-hero .search-form__row {
	border-color: rgba(var(--brand-rgb), 0.16);
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 14px 30px -24px rgba(14, 62, 135, 0.5);
}

.page-hero .search-form__row:focus-within {
	border-color: rgba(var(--brand-rgb), 0.45);
	box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.09);
}

.page-hero .search-field {
	color: var(--ink);
}

.page-hero .search-field::placeholder {
	color: #8a9cb3;
}

.page-hero .search-form__icon {
	color: #7d93ad;
}

/* Pagination */
.pagination {
	margin-top: 46px;
}

.pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--surface);
	color: var(--ink-soft);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	transition: all 0.25s var(--ease);
}

.pagination .page-numbers:hover {
	border-color: rgba(var(--brand-rgb), 0.4);
	color: var(--brand);
	transform: translateY(-2px);
}

.pagination .current {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
	box-shadow: 0 10px 22px -10px rgba(var(--brand-rgb), 0.7);
}

.pagination .prev,
.pagination .next {
	font-family: var(--font-sans);
	font-weight: 600;
}

.pagination .dots {
	border-color: transparent;
	background: transparent;
}

/* 11. Single post
   ========================================================================= */
.entry-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 54px 0 84px;
	color: var(--ink);
	background:
		radial-gradient(760px 420px at 84% 0%, rgba(37, 212, 234, 0.14), transparent 60%),
		radial-gradient(620px 420px at 0% 100%, rgba(23, 105, 255, 0.12), transparent 66%),
		linear-gradient(140deg, #fbfdff 0%, #f0f8ff 52%, #e3f1ff 100%);
	border-bottom: 1px solid var(--line);
}

.entry-hero--cover {
	padding-bottom: 156px;
}

.entry-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(30, 105, 210, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(30, 105, 210, 0.06) 1px, transparent 1px);
	background-size: 60px 60px;
	-webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 10%, #000 10%, transparent 80%);
	mask-image: radial-gradient(ellipse 80% 80% at 50% 10%, #000 10%, transparent 80%);
	pointer-events: none;
}

.entry-hero .breadcrumbs {
	margin-bottom: 30px;
}

.entry-hero__inner {
	max-width: 860px;
	margin: 0 auto;
}

.entry-hero__kicker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.entry-hero__type {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #8a9db4;
}

.entry-title {
	margin: 18px 0 16px;
	font-size: clamp(1.9rem, 3.7vw, 3rem);
	font-weight: 800;
	line-height: 1.28;
	letter-spacing: -0.03em;
	color: var(--ink);
	text-wrap: balance;
}

.entry-lead {
	max-width: 730px;
	margin: 0 0 26px;
	color: #4d637f;
	font-size: 16px;
	line-height: 1.85;
}

.entry-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	color: #6d8199;
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.03em;
}

.entry-meta a {
	color: inherit;
}

.entry-meta a:hover {
	color: var(--brand);
}

.author-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #23405f;
	font-family: var(--font-sans);
	font-size: 12.5px;
	font-weight: 600;
}

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.entry-hero--plain {
	padding-bottom: 64px;
}

.single-cover-wrap {
	position: relative;
	z-index: 2;
	margin-top: -112px;
	padding: 0 24px;
}

.single-cover {
	max-width: 1040px;
	margin: 0 auto;
	padding: 9px;
	border-radius: 26px;
	background: var(--bg);
	box-shadow: 0 34px 80px -44px rgba(20, 70, 140, 0.4);
}

.single-cover__img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 18px;
}

.single-cover figcaption {
	padding: 10px 10px 2px;
	color: var(--muted);
	font-size: 11.5px;
	text-align: center;
}

.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 740px) 300px;
	justify-content: center;
	gap: 76px;
	align-items: start;
	margin-top: 64px;
}

.single-main {
	min-width: 0;
}

.single-rail {
	position: sticky;
	top: calc(var(--header-h) + 26px);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.toc-card {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.toc-card[hidden] {
	display: none;
}

.toc-card__head {
	margin-bottom: 14px;
}

.toc-card__title {
	margin: 5px 0 0;
	font-size: 15px;
	font-weight: 750;
}

.toc-list {
	max-height: 42vh;
	overflow: auto;
	list-style: none;
	scrollbar-width: thin;
}

.toc-list .toc-sublist {
	list-style: none;
}

.toc-list a {
	display: block;
	padding: 7px 0 7px 15px;
	border-left: 1px solid var(--line);
	color: var(--muted);
	font-size: 12px;
	line-height: 1.55;
	transition: all 0.22s var(--ease);
}

.toc-list a:hover {
	color: var(--brand);
}

.toc-list a.is-active {
	border-left-color: var(--brand);
	background: linear-gradient(90deg, rgba(var(--brand-rgb), 0.06), transparent);
	color: var(--brand);
	font-weight: 600;
}

.toc-list .toc-level-3 a {
	padding-left: 29px;
	font-size: 11.5px;
}

.toc-mobile {
	display: none;
	margin-bottom: 30px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: var(--surface);
}

.toc-mobile[hidden] {
	display: none !important;
}

.toc-mobile summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 0;
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 650;
	list-style: none;
	cursor: pointer;
}

.toc-mobile summary::-webkit-details-marker {
	display: none;
}

.toc-mobile summary svg {
	color: var(--muted);
	transition: transform 0.25s var(--ease);
}

.toc-mobile[open] summary svg {
	transform: rotate(180deg);
}

.toc-mobile .toc-list {
	max-height: none;
	padding-bottom: 12px;
}

.share-card {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.share-card__title {
	margin: 6px 0 6px;
	font-size: 16px;
	font-weight: 750;
}

.share-card__text {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 11.5px;
	line-height: 1.7;
}

.share-card__list,
.entry-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface-2);
	color: var(--ink-soft);
	font-size: 11.5px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.25s var(--ease);
}

.share-btn:hover {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
	transform: translateY(-1px);
}

.share-btn.is-copied {
	border-color: #20c997;
	background: rgba(32, 201, 151, 0.12);
	color: #12a97e;
}

.share-card__list .share-btn {
	flex: 1 1 calc(50% - 4px);
}

/* 12. Entry content
   ========================================================================= */
.entry-content {
	color: var(--ink-soft);
	font-size: 17px;
	line-height: 1.95;
	word-wrap: break-word;
}

.entry-content > * + * {
	margin-top: 1.35em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	color: var(--ink);
	font-weight: 750;
	line-height: 1.45;
	letter-spacing: -0.02em;
	scroll-margin-top: calc(var(--header-h) + 28px);
}

.entry-content h2 {
	position: relative;
	margin-top: 2.3em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid var(--line);
	font-size: 1.62rem;
}

.entry-content h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 56px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--brand), var(--cyan));
}

.entry-content h3 {
	margin-top: 1.9em;
	font-size: 1.28rem;
}

.entry-content h4 {
	margin-top: 1.7em;
	font-size: 1.1rem;
}

.entry-content h5,
.entry-content h6 {
	margin-top: 1.5em;
	font-size: 1rem;
}

.entry-content p {
	margin: 0 0 1.35em;
}

.entry-content a {
	color: var(--brand);
	text-decoration: underline;
	text-decoration-color: rgba(var(--brand-rgb), 0.3);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease), background 0.2s var(--ease);
}

.entry-content a:hover {
	text-decoration-color: var(--brand);
	background: rgba(var(--brand-rgb), 0.06);
}

.entry-content strong,
.entry-content b {
	color: var(--ink);
	font-weight: 700;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.4em;
}

.entry-content li {
	margin: 0.45em 0;
	padding-left: 0.15em;
}

.entry-content li::marker {
	color: var(--brand);
}

.entry-content li > ul,
.entry-content li > ol {
	margin: 0.45em 0;
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	position: relative;
	margin: 2em 0;
	padding: 24px 28px;
	overflow: hidden;
	border: 0;
	border-left: 3px solid var(--brand);
	border-radius: 0 14px 14px 0;
	background: var(--surface-2);
	color: var(--ink-soft);
	font-style: normal;
}

.entry-content blockquote::before,
.entry-content .wp-block-quote::before {
	content: "“";
	position: absolute;
	top: -10px;
	right: 20px;
	color: rgba(var(--brand-rgb), 0.12);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 68px;
	line-height: 1;
	pointer-events: none;
}

.entry-content blockquote p:last-child,
.entry-content .wp-block-quote p:last-child {
	margin-bottom: 0;
}

.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
	display: block;
	margin-top: 10px;
	color: var(--muted);
	font-size: 12px;
	font-style: normal;
}

.entry-content code {
	padding: 0.15em 0.4em;
	border: 1px solid rgba(var(--brand-rgb), 0.12);
	border-radius: 5px;
	background: rgba(var(--brand-rgb), 0.07);
	color: var(--brand);
	font-family: var(--font-mono);
	font-size: 0.86em;
}

.entry-content pre {
	position: relative;
	margin: 2em 0;
	padding: 48px 22px 22px;
	overflow: auto;
	border: 1px solid rgba(120, 180, 255, 0.16);
	border-radius: 14px;
	background: #07182c;
	box-shadow: 0 22px 46px -30px rgba(0, 10, 30, 0.8);
	color: #c9def5;
	font-family: var(--font-mono);
	font-size: 13.5px;
	line-height: 1.8;
	tab-size: 4;
}

.entry-content pre code {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: inherit;
	white-space: pre;
}

.code-lang {
	position: absolute;
	top: 13px;
	left: 17px;
	color: #6f95bd;
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.code-copy {
	position: absolute;
	top: 9px;
	right: 10px;
	padding: 5px 10px;
	border: 1px solid rgba(140, 190, 255, 0.2);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.05);
	color: #9fc0e2;
	font-family: var(--font-sans);
	font-size: 10.5px;
	line-height: 1.5;
	transition: all 0.2s var(--ease);
}

.code-copy:hover {
	border-color: rgba(140, 200, 255, 0.4);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.code-copy.is-copied {
	border-color: rgba(56, 232, 160, 0.4);
	color: #6ff0b8;
}

.entry-content table {
	width: 100%;
	margin: 2em 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	font-size: 13.5px;
}

.entry-content th,
.entry-content td {
	padding: 12px 15px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.entry-content th {
	background: var(--surface-2);
	color: var(--ink);
	font-weight: 700;
}

.entry-content tr:last-child td {
	border-bottom: 0;
}

.entry-content tbody tr:hover td {
	background: rgba(var(--brand-rgb), 0.025);
}

.entry-content img {
	border-radius: 12px;
}

.entry-content figure {
	margin: 2em 0;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
	margin-top: 10px;
	color: var(--muted);
	font-size: 11.5px;
	line-height: 1.6;
	text-align: center;
}

.entry-content hr,
.entry-content .wp-block-separator {
	height: 1px;
	margin: 3em 0;
	border: 0;
	background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.entry-content .wp-block-image {
	margin: 2em 0;
}

.entry-content .wp-block-image img {
	width: auto;
	max-width: 100%;
	margin-inline: auto;
}

.entry-content .wp-block-image.is-style-rounded img,
.entry-content .wp-block-image img.rounded {
	border-radius: 14px;
}

.entry-content .wp-block-gallery {
	padding: 0;
	list-style: none;
}

.entry-content .wp-block-button__link {
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.entry-content .wp-block-button__link:hover {
	background: var(--brand);
	color: #fff;
	filter: brightness(1.05);
}

.entry-content .alignwide {
	width: min(1040px, calc(100vw - 48px));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.page-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 2em;
	font-family: var(--font-mono);
	font-size: 12px;
}

.page-links__title {
	color: var(--muted);
}

.page-links .post-page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 32px;
	height: 32px;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: var(--surface);
}

.page-links .post-page-numbers.current {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
}

.entry-footer {
	margin-top: 46px;
	padding-top: 26px;
	border-top: 1px solid var(--line);
}

.entry-tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.entry-tags__label {
	margin-right: 2px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.entry-tags a {
	padding: 5px 11px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--surface-2);
	color: var(--ink-soft);
	font-size: 11.5px;
	transition: all 0.25s var(--ease);
}

.entry-tags a:hover {
	border-color: rgba(var(--brand-rgb), 0.35);
	background: rgba(var(--brand-rgb), 0.07);
	color: var(--brand);
}

.entry-share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background:
		radial-gradient(400px 120px at 0% 0%, rgba(var(--brand-rgb), 0.06), transparent 70%),
		var(--surface);
}

.entry-share__copy {
	min-width: 200px;
}

.entry-share__copy p {
	margin: 5px 0 0;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.7;
}

/* 13. Author box, post navigation, related
   ========================================================================= */
.author-box {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-top: 44px;
	padding: 28px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: linear-gradient(150deg, var(--surface) 0%, var(--surface-2) 100%);
}

.author-box::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, var(--brand), var(--cyan), transparent 80%);
	opacity: 0.7;
}

.author-box__avatar {
	flex: none;
	width: 72px;
	height: 72px;
	padding: 3px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--brand), var(--cyan));
}

.author-box__img {
	width: 100%;
	height: 100%;
	border: 3px solid var(--surface);
	border-radius: 50%;
	object-fit: cover;
	background: linear-gradient(135deg, #1769ff, #0a2a52);
	color: #fff;
	font-size: 26px;
}

.author-box__body {
	min-width: 0;
}

.author-box__name {
	margin: 6px 0 2px;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.author-box__role {
	margin: 0 0 8px;
	color: var(--brand);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.author-box__bio {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
}

.author-box__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.author-box__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--brand);
	font-size: 12px;
	font-weight: 600;
}

.author-box__link svg {
	transition: transform 0.25s var(--ease);
}

.author-box__link:hover svg {
	transform: translateX(3px);
}

.author-box__socials .social-link {
	width: 30px;
	height: 30px;
	border-radius: 8px;
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.post-nav__item {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 19px 20px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: var(--surface);
	transition: all 0.3s var(--ease);
}

.post-nav__item:only-child {
	grid-column: 1 / -1;
}

.post-nav__item:hover {
	transform: translateY(-2px);
	border-color: rgba(var(--brand-rgb), 0.3);
	box-shadow: var(--shadow-md);
}

.post-nav__label {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.post-nav__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.55;
}

.post-nav__item:hover .post-nav__title {
	color: var(--brand);
}

.post-nav__item--next {
	align-items: flex-end;
	text-align: right;
}

.related-section {
	margin-top: 78px;
	padding-top: 56px;
	border-top: 1px solid var(--line);
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.mini-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--surface);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.mini-card:hover {
	transform: translateY(-4px);
	border-color: rgba(var(--brand-rgb), 0.25);
	box-shadow: var(--shadow-md);
}

.mini-card__media {
	position: relative;
	aspect-ratio: 16 / 9.2;
	overflow: hidden;
	background: var(--navy-2);
}

.mini-card__media a {
	position: absolute;
	inset: 0;
	display: block;
}

.mini-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}

.mini-card:hover .mini-card__media img {
	transform: scale(1.05);
}

.mini-card__body {
	padding: 16px 18px 18px;
}

.mini-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.03em;
}

.mini-card__title {
	margin: 7px 0 0;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.55;
	letter-spacing: -0.01em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.mini-card__title a:hover {
	color: var(--brand);
}

/* 14. Comments
   ========================================================================= */
.comments-wrap {
	max-width: 820px;
	margin: 78px auto 0;
}

.page-layout .comments-wrap {
	max-width: none;
	margin-top: 56px;
}

.comments-area {
	padding-top: 8px;
}

.comments-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 26px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.comments-title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 6px 0 0;
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.comments-title__count {
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	height: 24px;
	padding: 0 7px;
	border-radius: 7px;
	background: rgba(var(--brand-rgb), 0.08);
	color: var(--brand);
	font-family: var(--font-mono);
	font-size: 11px;
}

.comments-head__hint {
	color: var(--muted);
	font-size: 11.5px;
}

.comment-list {
	list-style: none;
}

.comment-item {
	margin: 0 0 16px;
}

.comment-body {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--surface);
}

.comment-avatar {
	flex: none;
}

.comment-avatar__img,
.comment-avatar img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.comment-content {
	min-width: 0;
	flex: 1;
}

.comment-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 7px;
}

.comment-author {
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 650;
}

.comment-author a {
	color: inherit;
}

.comment-time {
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.03em;
}

.comment-awaiting {
	padding: 1px 7px;
	border: 1px solid rgba(245, 158, 11, 0.3);
	border-radius: 5px;
	background: rgba(245, 158, 11, 0.08);
	color: #b57508;
	font-size: 9.5px;
}

.comment-text {
	color: var(--ink-soft);
	font-size: 13.5px;
	line-height: 1.8;
	word-wrap: break-word;
}

.comment-text p:last-child {
	margin-bottom: 0;
}

.comment-footer {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 8px;
}

.comment-footer a {
	color: var(--brand);
	font-size: 11.5px;
	font-weight: 600;
}

.comment-footer a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.comment-edit {
	margin-left: auto;
}

.children {
	margin-top: 16px;
	padding-left: 28px;
	list-style: none;
	border-left: 1px solid var(--line);
}

.comment-navigation {
	margin: 22px 0;
}

.comment-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 12px;
}

.comment-navigation a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	color: var(--ink-soft);
}

.comment-navigation a:hover {
	border-color: rgba(var(--brand-rgb), 0.35);
	color: var(--brand);
}

.comment-respond {
	margin-top: 34px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.comment-reply-title {
	margin: 0 0 18px;
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.comment-reply-title small {
	font-size: 11px;
	font-weight: 500;
}

.comment-reply-title small a {
	color: var(--muted);
}

.comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.comment-form p {
	margin: 0;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--ink-soft);
	font-size: 11.5px;
	font-weight: 600;
}

.comment-form .required {
	color: #e5484d;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: var(--surface-2);
	color: var(--ink);
	font-size: 13.5px;
	line-height: 1.6;
	outline: none;
	transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}

.comment-form textarea {
	min-height: 142px;
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: rgba(var(--brand-rgb), 0.55);
	background: var(--surface);
	box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.09);
}

.comment-form-comment,
.comment-form-url,
.comment-notes,
.logged-in-as,
.comment-form-cookies-consent,
.form-submit {
	grid-column: 1 / -1;
}

.comment-notes,
.logged-in-as {
	color: var(--muted);
	font-size: 11.5px;
	line-height: 1.7;
}

.comment-notes {
	margin-bottom: -2px !important;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--muted);
	font-size: 11.5px;
}

.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.comment-form-cookies-consent input {
	margin-top: 4px;
	accent-color: var(--brand);
}

.form-submit {
	margin-top: 2px !important;
}

.form-submit .submit,
.form-submit input[type="submit"] {
	min-height: 46px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #2f82ff, var(--brand));
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 12px 26px -12px rgba(var(--brand-rgb), 0.7);
	cursor: pointer;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-submit .submit:hover,
.form-submit input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px -14px rgba(var(--brand-rgb), 0.8);
}

.no-comments {
	padding: 16px 18px;
	border: 1px dashed var(--line-strong);
	border-radius: 10px;
	color: var(--muted);
	font-size: 13px;
}

/* 15. Page & 404
   ========================================================================= */
.page-layout {
	max-width: 820px;
	margin: 56px auto 0;
}

.page-content {
	font-size: 17px;
}

.page-cover {
	margin: 0 0 36px;
	overflow: hidden;
	border-radius: 18px;
}

.page-cover__img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 18px;
}

.error-page {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: calc(100vh - var(--header-h));
	padding: 72px 0 84px;
	color: var(--ink);
	background:
		radial-gradient(900px 520px at 50% -10%, rgba(23, 105, 255, 0.16), transparent 64%),
		radial-gradient(700px 480px at 88% 90%, rgba(37, 212, 234, 0.12), transparent 66%),
		linear-gradient(140deg, #fbfdff 0%, #eef8ff 52%, #ddeeff 100%);
}

.error-page__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(30, 105, 210, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(30, 105, 210, 0.06) 1px, transparent 1px);
	background-size: 62px 62px;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 78%);
	mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 78%);
}

.error-inner {
	max-width: 780px;
	text-align: center;
}

.error-page .eyebrow {
	justify-content: center;
	color: var(--brand);
}

.error-code {
	margin: 8px 0 0;
	font-family: var(--font-mono);
	font-size: clamp(7rem, 19vw, 13rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.07em;
	background: linear-gradient(180deg, #0b3b8f 4%, #2f86ff 54%, rgba(20, 80, 180, 0.14) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	filter: drop-shadow(0 16px 36px rgba(40, 130, 255, 0.18));
}

.error-title {
	margin: 4px 0 12px;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--ink);
}

.error-text {
	max-width: 520px;
	margin: 0 auto;
	color: #4d637f;
	font-size: 14.5px;
	line-height: 1.85;
}

.error-search {
	max-width: 470px;
	margin: 28px auto 0;
}

.error-page .search-form__row {
	border-color: rgba(var(--brand-rgb), 0.16);
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 14px 30px -24px rgba(14, 62, 135, 0.5);
}

.error-page .search-field {
	color: var(--ink);
}

.error-page .search-field::placeholder {
	color: #8a9cb3;
}

.error-page .search-form__icon {
	color: #7d93ad;
}

.error-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.error-tip {
	margin: 34px 0 0;
	color: #8aa0b8;
	font-size: 10.5px;
	letter-spacing: 0.04em;
}

.error-tip code {
	padding: 5px 10px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.6);
	color: #6d8199;
	font-family: var(--font-mono);
}

/* 16. Footer & back-to-top
   ========================================================================= */
.site-footer {
	position: relative;
	overflow: hidden;
	margin-top: 100px;
	border-top: 1px solid var(--line);
	color: #52677f;
	background:
		radial-gradient(760px 360px at 50% -120px, rgba(var(--brand-rgb), 0.1), transparent 70%),
		linear-gradient(180deg, #f0f8ff 0%, #e2f1ff 100%);
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), 0.7), rgba(var(--cyan-rgb), 0.55), transparent);
}

.footer-glow {
	position: absolute;
	top: -230px;
	left: 50%;
	width: 720px;
	height: 420px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: rgba(23, 105, 255, 0.1);
	filter: blur(90px);
	pointer-events: none;
}

.footer-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.55fr 0.8fr 0.85fr 0.9fr;
	gap: 48px;
	padding: 64px 0 48px;
}

.footer-brand {
	min-width: 0;
}

.brand--footer .brand__name {
	color: var(--ink);
}

.brand--footer .brand__tagline {
	color: #7b8fa7;
}

.footer-about {
	max-width: 340px;
	margin: 18px 0 20px;
	color: #5d7089;
	font-size: 13px;
	line-height: 1.85;
}

.footer-social {
	gap: 8px;
}

.footer-social .social-link {
	width: 35px;
	height: 35px;
	border-color: var(--line);
	background: rgba(255, 255, 255, 0.7);
	color: #4f6d90;
}

.footer-social .social-link:hover {
	border-color: rgba(var(--brand-rgb), 0.4);
	background: #fff;
	color: var(--brand);
}

.footer-grid--widgets {
	grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(170px, 1fr));
}

.footer-col {
	min-width: 0;
}

.footer-col--widget .widget {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.footer-col--widget .footer-widget__title {
	margin: 6px 0 18px;
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.footer-col--widget .widget ul {
	list-style: none;
}

.footer-col--widget .widget li {
	padding: 4px 0;
	color: #52677f;
	font-size: 13px;
}

.footer-col--widget .widget a {
	color: #52677f;
	font-size: 13px;
}

.footer-col--widget .widget a:hover {
	color: var(--brand);
}

.footer-col--widget .search-form__row {
	border-color: var(--line);
	background: rgba(255, 255, 255, 0.72);
}

.footer-col--widget .search-field {
	color: var(--ink);
}

.footer-col--widget .search-field::placeholder {
	color: #8a9cb3;
}

.footer-col--widget .search-form__icon {
	color: #7d93ad;
}

.footer-col__title {
	margin: 6px 0 18px;
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.footer-col .menu,
.footer-list {
	display: flex;
	flex-direction: column;
	gap: 9px;
	list-style: none;
}

.footer-col .menu a,
.footer-list a {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: #52677f;
	font-size: 13px;
	transition: color 0.25s var(--ease), padding 0.25s var(--ease);
}

.footer-col .menu a:hover,
.footer-list a:hover {
	padding-left: 2px;
	color: var(--brand);
}

.footer-list__count {
	color: #8aa0b8;
	font-family: var(--font-mono);
	font-size: 9.5px;
}

.footer-empty {
	margin: 0;
	color: #7b8fa7;
	font-size: 12.5px;
}

.footer-bottom {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 24px;
	padding: 22px 0 26px;
	border-top: 1px solid var(--line);
	color: #7b8fa7;
	font-size: 11.5px;
}

.footer-copyright {
	margin: 0;
}

.footer-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.footer-meta a {
	color: #52677f;
}

.footer-meta a:hover {
	color: var(--brand);
}

.footer-meta__dot {
	opacity: 0.4;
}

.footer-meta__top {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 8px;
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.1em;
}

.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.9);
	background: color-mix(in srgb, var(--surface) 90%, transparent);
	color: var(--ink);
	box-shadow: var(--shadow-md);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all 0.3s var(--ease);
}

.back-to-top:hover {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
	transform: translateY(-2px);
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* 17. WordPress core classes
   ========================================================================= */
.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5em;
}

.wp-caption img {
	max-width: 100%;
	height: auto;
}

.wp-caption-text {
	margin-top: 8px;
	color: var(--muted);
	font-size: 11.5px;
	text-align: center;
}

.sticky {
	position: relative;
}

.bypostauthor {
	display: block;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 2em 0;
}

.gallery-columns-1 {
	grid-template-columns: minmax(0, 1fr);
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gallery-item {
	margin: 0;
}

.gallery-item img {
	width: 100%;
	border-radius: 8px;
}

.gallery-caption {
	margin-top: 5px;
	color: var(--muted);
	font-size: 10.5px;
}

.wp-block-table {
	overflow-x: auto;
}

.wp-block-table table {
	margin: 0;
}

.wp-block-embed {
	margin: 2em 0;
}

.wp-block-embed__wrapper {
	position: relative;
}

.wp-block-embed iframe {
	max-width: 100%;
	border-radius: 12px;
}

.wp-block-separator {
	border: 0;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 80px;
}

.wp-block-pullquote {
	padding: 2em 0;
	border-top: 2px solid var(--line-strong);
	border-bottom: 2px solid var(--line-strong);
	text-align: center;
}

.wp-block-pullquote blockquote {
	padding: 0;
	border: 0;
	background: transparent;
}

.wp-block-pullquote blockquote::before {
	display: none;
}

.wp-block-pullquote p {
	color: var(--ink);
	font-size: 1.4em;
	font-weight: 600;
	line-height: 1.5;
}

.wp-block-pullquote cite {
	color: var(--muted);
	font-size: 12px;
}

/* 17b. Dark scheme overrides
   The default experience is light blue/white. These rules keep the
   optional dark mode deep and high-contrast.
   ========================================================================= */
[data-theme="dark"] .btn--ghost {
	background: rgba(255, 255, 255, 0.055);
	border-color: rgba(150, 195, 255, 0.26);
	color: #eaf3ff;
	box-shadow: none;
}

[data-theme="dark"] .btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(150, 195, 255, 0.5);
	color: #fff;
}

[data-theme="dark"] .chip--glass {
	background: rgba(90, 160, 255, 0.12);
	border-color: rgba(120, 185, 255, 0.3);
	color: #bfe0ff;
}

[data-theme="dark"] .chip--glass:hover {
	background: rgba(120, 190, 255, 0.2);
	color: #fff;
}

[data-theme="dark"] .site-header--hero {
	color: #eef6ff;
}

html[data-theme="dark"]:not(.js) .site-header--hero {
	background: rgba(4, 16, 31, 0.92);
	color: #eef6ff;
}

[data-theme="dark"] .site-header--hero:not(.is-scrolled) .brand__tagline {
	color: rgba(198, 220, 245, 0.6);
}

[data-theme="dark"] .site-header--hero:not(.is-scrolled) .primary-nav .menu > li > a {
	color: rgba(226, 239, 255, 0.8);
}

[data-theme="dark"] .site-header--hero:not(.is-scrolled) .primary-nav .menu > li > a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .site-header--hero:not(.is-scrolled) .primary-nav .current-menu-item > a,
[data-theme="dark"] .site-header--hero:not(.is-scrolled) .primary-nav .current_page_item > a {
	color: #fff;
}

[data-theme="dark"] .site-header--hero:not(.is-scrolled) .primary-nav .current-menu-item > a::after,
[data-theme="dark"] .site-header--hero:not(.is-scrolled) .primary-nav .current_page_item > a::after {
	background: linear-gradient(90deg, #7cc4ff, var(--cyan));
}

[data-theme="dark"] .site-header--hero:not(.is-scrolled) .icon-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.16);
	color: #fff;
}

[data-theme="dark"] .hero {
	border-bottom-color: rgba(120, 180, 255, 0.08);
	color: #eaf3ff;
	background:
		radial-gradient(900px 540px at 82% 4%, rgba(37, 212, 234, 0.16), transparent 62%),
		radial-gradient(760px 560px at 4% 92%, rgba(23, 105, 255, 0.34), transparent 66%),
		linear-gradient(142deg, #030c18 0%, #061a33 48%, #082a52 100%);
	box-shadow: none;
}

[data-theme="dark"] .hero__grid {
	background-image:
		linear-gradient(rgba(112, 172, 255, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(112, 172, 255, 0.055) 1px, transparent 1px);
}

[data-theme="dark"] .hero__orb {
	filter: blur(86px);
	opacity: 0.55;
}

[data-theme="dark"] .hero__orb--1 {
	background: rgba(23, 105, 255, 0.55);
}

[data-theme="dark"] .hero__orb--2 {
	background: rgba(37, 212, 234, 0.28);
}

[data-theme="dark"] .hero__orb--3 {
	background: rgba(58, 120, 255, 0.32);
}

[data-theme="dark"] .hero__badge {
	border-color: rgba(120, 185, 255, 0.22);
	background: rgba(80, 150, 255, 0.08);
	color: #a9cef6;
	box-shadow: none;
}

[data-theme="dark"] .hero__title {
	color: #f4f9ff;
}

[data-theme="dark"] .hero__title .grad {
	background-image: linear-gradient(100deg, #96d4ff 0%, #4388ff 46%, #4ce7f7 100%);
}

[data-theme="dark"] .hero__subtitle {
	color: #a7c0dc;
}

[data-theme="dark"] .hero-search {
	border-color: rgba(140, 190, 255, 0.2);
	background: rgba(10, 33, 62, 0.55);
	box-shadow: none;
}

[data-theme="dark"] .hero-search:focus-within {
	border-color: rgba(90, 170, 255, 0.55);
	background: rgba(10, 33, 62, 0.76);
	box-shadow: 0 0 0 4px rgba(50, 130, 255, 0.12);
}

[data-theme="dark"] .hero-search__icon {
	color: rgba(163, 198, 235, 0.7);
}

[data-theme="dark"] .hero-search input[type="search"] {
	color: #eaf4ff;
}

[data-theme="dark"] .hero-search input[type="search"]::placeholder {
	color: rgba(170, 200, 235, 0.5);
}

[data-theme="dark"] .hero-stat + .hero-stat {
	border-left-color: rgba(140, 190, 255, 0.16);
}

[data-theme="dark"] .hero-stat__num {
	color: #fff;
}

[data-theme="dark"] .hero-stat__label {
	color: rgba(170, 200, 235, 0.62);
}

[data-theme="dark"] .orbit {
	border-color: rgba(120, 180, 255, 0.18);
}

[data-theme="dark"] .orbit--2 {
	border-color: rgba(80, 160, 255, 0.1);
}

[data-theme="dark"] .terminal {
	border-color: rgba(120, 180, 255, 0.22);
	background: linear-gradient(158deg, rgba(16, 40, 72, 0.94) 0%, rgba(5, 18, 36, 0.97) 100%);
	box-shadow:
		0 46px 100px -34px rgba(0, 8, 24, 0.95),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .terminal__bar {
	border-bottom-color: rgba(140, 190, 255, 0.12);
	background: rgba(255, 255, 255, 0.035);
	color: #8fb0d4;
}

[data-theme="dark"] .terminal__badge {
	border-color: rgba(140, 190, 255, 0.25);
	color: #7fa8d4;
}

[data-theme="dark"] .terminal__body {
	color: #c6dcf5;
}

[data-theme="dark"] .terminal__prompt {
	color: var(--cyan);
}

[data-theme="dark"] .terminal__cmd {
	color: #7cb6ff;
}

[data-theme="dark"] .terminal__out {
	color: #8ba6c5;
}

[data-theme="dark"] .terminal__file {
	color: #ffd479;
}

[data-theme="dark"] .terminal__tags span {
	border-color: rgba(70, 150, 255, 0.2);
	background: rgba(70, 150, 255, 0.12);
	color: #8ec5ff;
}

[data-theme="dark"] .terminal__cursor {
	background: var(--cyan);
	box-shadow: 0 0 10px rgba(37, 212, 234, 0.8);
}

[data-theme="dark"] .terminal__foot {
	border-top-color: rgba(140, 190, 255, 0.1);
	color: #6f8dab;
}

[data-theme="dark"] .float-chip {
	border-color: rgba(130, 180, 255, 0.25);
	background: rgba(8, 26, 50, 0.78);
	box-shadow: 0 18px 36px -16px rgba(0, 8, 24, 0.9);
	color: #b9d8ff;
}

[data-theme="dark"] .hero__scroll {
	color: rgba(170, 200, 235, 0.45);
}

[data-theme="dark"] .hero__scroll i {
	background: linear-gradient(to bottom, rgba(120, 190, 255, 0.6), transparent);
}

[data-theme="dark"] .page-hero {
	border-bottom-color: rgba(120, 180, 255, 0.12);
	color: #eaf3ff;
	background:
		radial-gradient(760px 380px at 82% -20%, rgba(37, 212, 234, 0.16), transparent 62%),
		radial-gradient(520px 380px at 4% 110%, rgba(23, 105, 255, 0.28), transparent 66%),
		linear-gradient(135deg, #04101f 0%, #071e3b 56%, #0a2c55 100%);
}

[data-theme="dark"] .page-hero__bg {
	background-image:
		linear-gradient(rgba(112, 172, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(112, 172, 255, 0.05) 1px, transparent 1px);
}

[data-theme="dark"] .page-hero::after {
	border-color: rgba(110, 180, 255, 0.12);
}

[data-theme="dark"] .breadcrumbs {
	color: rgba(180, 205, 230, 0.6);
}

[data-theme="dark"] .breadcrumbs a {
	color: rgba(190, 214, 240, 0.72);
}

[data-theme="dark"] .breadcrumbs a:hover {
	color: #fff;
}

[data-theme="dark"] .breadcrumbs__current {
	color: rgba(200, 220, 240, 0.5);
}

[data-theme="dark"] .page-hero .eyebrow {
	color: #7fbaff;
}

[data-theme="dark"] .page-hero__title {
	color: #fff;
}

[data-theme="dark"] .page-hero__desc {
	color: #a9c2df;
}

[data-theme="dark"] .page-hero__chip {
	border-color: rgba(140, 190, 255, 0.2);
	background: rgba(80, 150, 255, 0.08);
	color: #b7d5f5;
	box-shadow: none;
}

[data-theme="dark"] .page-hero__chip--link:hover {
	border-color: rgba(120, 200, 255, 0.45);
	background: rgba(80, 150, 255, 0.16);
	color: #fff;
}

[data-theme="dark"] .page-hero .search-form__row {
	border-color: rgba(140, 190, 255, 0.22);
	background: rgba(10, 33, 62, 0.55);
	box-shadow: none;
}

[data-theme="dark"] .page-hero .search-form__row:focus-within {
	border-color: rgba(90, 170, 255, 0.55);
	box-shadow: 0 0 0 3px rgba(50, 130, 255, 0.14);
}

[data-theme="dark"] .page-hero .search-field {
	color: #eaf4ff;
}

[data-theme="dark"] .page-hero .search-field::placeholder {
	color: rgba(170, 200, 235, 0.5);
}

[data-theme="dark"] .page-hero .search-form__icon {
	color: rgba(170, 200, 235, 0.6);
}

[data-theme="dark"] .entry-hero {
	border-bottom-color: transparent;
	color: #eaf3ff;
	background:
		radial-gradient(760px 420px at 84% 0%, rgba(37, 212, 234, 0.15), transparent 60%),
		radial-gradient(620px 420px at 0% 100%, rgba(23, 105, 255, 0.28), transparent 66%),
		linear-gradient(140deg, #04101f 0%, #061c37 52%, #082a52 100%);
}

[data-theme="dark"] .entry-hero__bg {
	background-image:
		linear-gradient(rgba(112, 172, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(112, 172, 255, 0.05) 1px, transparent 1px);
}

[data-theme="dark"] .entry-hero__type {
	color: rgba(170, 200, 235, 0.5);
}

[data-theme="dark"] .entry-title {
	color: #fff;
}

[data-theme="dark"] .entry-lead {
	color: #a9c2df;
}

[data-theme="dark"] .entry-meta {
	color: rgba(190, 212, 235, 0.75);
}

[data-theme="dark"] .entry-meta a:hover {
	color: #fff;
}

[data-theme="dark"] .author-chip {
	color: #dcecff;
}

[data-theme="dark"] .single-cover {
	box-shadow: 0 34px 80px -40px rgba(0, 0, 0, 0.65);
}

[data-theme="dark"] .profile-card {
	border-color: rgba(120, 180, 255, 0.18);
	background: linear-gradient(155deg, #071c38 0%, #0a2c56 55%, #0b3a6b 100%);
	box-shadow: 0 30px 60px -34px rgba(3, 20, 48, 0.8);
	color: #eaf3ff;
}

[data-theme="dark"] .profile-card__grid {
	background-image:
		linear-gradient(rgba(140, 195, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(140, 195, 255, 0.06) 1px, transparent 1px);
}

[data-theme="dark"] .profile-card__glow {
	background: rgba(37, 212, 234, 0.22);
}

[data-theme="dark"] .profile-card__avatar {
	box-shadow: 0 14px 34px -18px rgba(0, 10, 30, 0.9);
}

[data-theme="dark"] .profile-card__img {
	border-color: #071c38;
}

[data-theme="dark"] .profile-card__badge {
	color: #79d8ee;
}

[data-theme="dark"] .profile-card__name {
	color: #fff;
}

[data-theme="dark"] .profile-card__role {
	color: #8fc3f5;
}

[data-theme="dark"] .profile-card__bio {
	color: #a9c4e0;
}

[data-theme="dark"] .profile-card__socials .social-link {
	border-color: rgba(140, 190, 255, 0.2);
	background: rgba(255, 255, 255, 0.04);
	color: #bfe0ff;
}

[data-theme="dark"] .profile-card__socials .social-link:hover {
	border-color: rgba(120, 210, 255, 0.5);
	background: rgba(37, 212, 234, 0.14);
	color: #fff;
}

[data-theme="dark"] .site-footer {
	border-top-color: transparent;
	color: #a9bfd8;
	background: linear-gradient(180deg, #04101f 0%, #030b16 100%);
}

[data-theme="dark"] .footer-glow {
	background: rgba(23, 105, 255, 0.16);
}

[data-theme="dark"] .brand--footer .brand__name {
	color: #fff;
}

[data-theme="dark"] .brand--footer .brand__tagline {
	color: rgba(160, 190, 225, 0.5);
}

[data-theme="dark"] .footer-about {
	color: #8ea6c0;
}

[data-theme="dark"] .footer-social .social-link {
	border-color: rgba(140, 180, 230, 0.15);
	background: rgba(255, 255, 255, 0.03);
	color: #b7d4f2;
}

[data-theme="dark"] .footer-social .social-link:hover {
	border-color: rgba(var(--brand-rgb), 0.45);
	background: rgba(var(--brand-rgb), 0.18);
	color: #fff;
}

[data-theme="dark"] .footer-col__title,
[data-theme="dark"] .footer-col--widget .footer-widget__title {
	color: #fff;
}

[data-theme="dark"] .footer-col .menu a,
[data-theme="dark"] .footer-list a,
[data-theme="dark"] .footer-col--widget .widget li,
[data-theme="dark"] .footer-col--widget .widget a {
	color: #94abc4;
}

[data-theme="dark"] .footer-col .menu a:hover,
[data-theme="dark"] .footer-list a:hover,
[data-theme="dark"] .footer-col--widget .widget a:hover {
	color: #fff;
}

[data-theme="dark"] .footer-list__count {
	color: rgba(140, 170, 205, 0.55);
}

[data-theme="dark"] .footer-empty {
	color: #7189a3;
}

[data-theme="dark"] .footer-col--widget .search-form__row {
	border-color: rgba(140, 180, 230, 0.16);
	background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .footer-col--widget .search-field {
	color: #eaf4ff;
}

[data-theme="dark"] .footer-col--widget .search-field::placeholder {
	color: rgba(170, 200, 235, 0.45);
}

[data-theme="dark"] .footer-col--widget .search-form__icon {
	color: rgba(170, 200, 235, 0.5);
}

[data-theme="dark"] .footer-bottom {
	border-top-color: rgba(140, 180, 225, 0.1);
	color: #7189a3;
}

[data-theme="dark"] .footer-meta a {
	color: #94abc4;
}

[data-theme="dark"] .footer-meta a:hover {
	color: #fff;
}

[data-theme="dark"] .error-page {
	color: #eaf3ff;
	background:
		radial-gradient(900px 520px at 50% -10%, rgba(23, 105, 255, 0.3), transparent 64%),
		radial-gradient(700px 480px at 88% 90%, rgba(37, 212, 234, 0.12), transparent 66%),
		linear-gradient(140deg, #030c18 0%, #061a33 52%, #082a52 100%);
}

[data-theme="dark"] .error-page__bg {
	background-image:
		linear-gradient(rgba(112, 172, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(112, 172, 255, 0.05) 1px, transparent 1px);
}

[data-theme="dark"] .error-page .eyebrow {
	color: #79b9ff;
}

[data-theme="dark"] .error-code {
	background-image: linear-gradient(180deg, #eaf6ff 6%, #4f9bff 54%, rgba(20, 80, 180, 0.16) 100%);
}

[data-theme="dark"] .error-title {
	color: #fff;
}

[data-theme="dark"] .error-text {
	color: #a9c2df;
}

[data-theme="dark"] .error-page .search-form__row {
	border-color: rgba(140, 190, 255, 0.22);
	background: rgba(10, 33, 62, 0.58);
	box-shadow: none;
}

[data-theme="dark"] .error-page .search-field {
	color: #eaf4ff;
}

[data-theme="dark"] .error-page .search-field::placeholder {
	color: rgba(170, 200, 235, 0.5);
}

[data-theme="dark"] .error-page .search-form__icon {
	color: rgba(170, 200, 235, 0.6);
}

[data-theme="dark"] .error-tip {
	color: rgba(160, 190, 225, 0.45);
}

[data-theme="dark"] .error-tip code {
	border-color: rgba(140, 190, 255, 0.14);
	background: rgba(255, 255, 255, 0.03);
	color: inherit;
}

/* 18. Responsive
   ========================================================================= */
@media (max-width: 1180px) {
	.hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.9fr);
		gap: 40px;
	}

	.home-layout,
	.archive-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 40px;
	}

	.single-layout {
		grid-template-columns: minmax(0, 700px) 280px;
		gap: 48px;
	}

	.terminal {
		width: min(390px, 100%);
	}

	.orbit--1 {
		width: 470px;
		height: 470px;
		margin: -235px 0 0 -235px;
	}

	.orbit--2 {
		width: 350px;
		height: 350px;
		margin: -175px 0 0 -175px;
	}
}

@media (max-width: 1024px) {
	:root {
		--header-h: 68px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	body.nav-open {
		overflow: hidden;
	}

	body.nav-open::before {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 95;
		background: rgba(8, 30, 60, 0.28);
		-webkit-backdrop-filter: blur(5px);
		backdrop-filter: blur(5px);
		animation: bn-fade-in 0.25s var(--ease) both;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - var(--header-h));
		overflow: auto;
		padding: 16px 24px 22px;
		border-top: 1px solid var(--line);
		border-bottom: 1px solid var(--line-strong);
		background: linear-gradient(160deg, #f9fcff 0%, #eaf5ff 100%);
		border-radius: 0 0 20px 20px;
		box-shadow: 0 28px 50px -24px rgba(20, 70, 140, 0.35);
	}

	.nav-open .primary-nav {
		display: block;
		animation: bn-nav-in 0.28s var(--ease) both;
	}

	.primary-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.primary-nav .menu > li > a {
		height: 48px;
		padding: 0 12px;
		border-radius: 9px;
		color: var(--ink-soft);
		font-size: 15px;
	}

	.primary-nav .menu > li > a:hover {
		background: rgba(var(--brand-rgb), 0.06);
		color: var(--brand);
	}

	.primary-nav .current-menu-item > a,
	.primary-nav .current_page_item > a {
		color: var(--brand);
		background: rgba(var(--brand-rgb), 0.08);
	}

	.primary-nav .current-menu-item > a::after,
	.primary-nav .current_page_item > a::after {
		display: none;
	}

	.primary-nav .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 2px 0 4px 14px;
		border: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav .sub-menu a {
		color: #5d7089;
	}

	.primary-nav .sub-menu a:hover {
		background: rgba(var(--brand-rgb), 0.05);
		color: var(--brand);
	}

	[data-theme="dark"] body.nav-open::before {
		background: rgba(3, 12, 24, 0.62);
	}

	[data-theme="dark"] .primary-nav {
		border-top-color: rgba(140, 190, 255, 0.12);
		border-bottom-color: rgba(6, 20, 40, 0.5);
		background: linear-gradient(160deg, #071b36 0%, #0a2b52 100%);
		box-shadow: 0 28px 50px -24px rgba(0, 8, 24, 0.8);
	}

	[data-theme="dark"] .primary-nav .menu > li > a {
		color: rgba(230, 241, 255, 0.88);
	}

	[data-theme="dark"] .primary-nav .menu > li > a:hover {
		background: rgba(255, 255, 255, 0.06);
		color: #fff;
	}

	[data-theme="dark"] .primary-nav .current-menu-item > a,
	[data-theme="dark"] .primary-nav .current_page_item > a {
		color: #fff;
		background: rgba(var(--brand-rgb), 0.18);
	}

	[data-theme="dark"] .primary-nav .sub-menu a {
		color: rgba(190, 212, 235, 0.72);
	}

	[data-theme="dark"] .primary-nav .sub-menu a:hover {
		background: rgba(255, 255, 255, 0.05);
		color: #fff;
	}

	.hero {
		min-height: 0;
		padding-top: 80px;
		padding-bottom: 96px;
	}

	.bluenova-home .hero {
		padding-top: calc(var(--header-h) + 68px);
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 52px;
	}

	.hero__copy {
		max-width: 680px;
	}

	.hero__visual {
		min-height: 430px;
		margin-top: 4px;
	}

	.hero__scroll {
		display: none;
	}

	.home-layout,
	.archive-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.sidebar {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.widget--cta {
		grid-column: 1 / -1;
	}

	.single-layout {
		grid-template-columns: minmax(0, 740px);
		gap: 0;
		margin-top: 56px;
	}

	.single-rail {
		display: none;
	}

	.toc-mobile {
		display: block;
	}

	.single-cover-wrap {
		margin-top: -96px;
	}

	.entry-hero--cover {
		padding-bottom: 138px;
	}

	.footer-grid {
		gap: 36px;
	}

	.related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.container {
		width: calc(100% - 40px);
	}

	.hero__title {
		font-size: clamp(2.3rem, 7vw, 3.2rem);
	}

	.hero__stats {
		gap: 22px;
	}

	.hero-stat + .hero-stat {
		padding-left: 22px;
	}

	.featured-card {
		grid-template-columns: 1fr;
	}

	.featured-card__media {
		min-height: 300px;
		aspect-ratio: 16 / 9;
	}

	.featured-card__body {
		padding: 26px 26px 26px;
	}

	.section-head {
		align-items: center;
	}

	.single-cover-wrap {
		padding: 0 20px;
	}

	.page-hero {
		padding: 46px 0 42px;
	}

	.post-grid {
		gap: 22px;
	}

	.related-grid {
		gap: 18px;
	}

	.entry-content {
		font-size: 16.5px;
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-col:last-child {
		grid-column: auto;
	}
}

@media (max-width: 720px) {
	:root {
		--header-h: 64px;
	}

	.container {
		width: calc(100% - 36px);
	}

	.brand__mark {
		width: 36px;
		height: 36px;
		border-radius: 10px;
	}

	.brand__logo {
		height: 36px;
		max-width: 120px;
	}

	.brand__name {
		font-size: 17px;
	}

	.brand__tagline {
		max-width: 150px;
		font-size: 8.5px;
	}

	.header-actions {
		gap: 1px;
	}

	.icon-btn {
		width: 38px;
		height: 38px;
	}

	.hero {
		padding-bottom: 80px;
	}

	.bluenova-home .hero {
		padding-top: calc(var(--header-h) + 50px);
	}

	.hero__badge {
		font-size: 9.5px;
		letter-spacing: 0.1em;
	}

	.hero__title {
		margin: 18px 0;
		font-size: clamp(2.1rem, 8.6vw, 2.8rem);
		line-height: 1.2;
	}

	.hero__subtitle {
		font-size: 14.5px;
		line-height: 1.85;
	}

	.hero__actions .btn {
		min-height: 44px;
		padding: 0 18px;
		font-size: 13.5px;
	}

	.hero-search {
		padding-left: 14px;
	}

	.hero__stats {
		margin-top: 34px;
		gap: 18px;
	}

	.hero-stat + .hero-stat {
		padding-left: 18px;
	}

	.hero-stat__num {
		font-size: 21px;
	}

	.hero-stat__label {
		font-size: 10px;
	}

	.hero__visual {
		min-height: 360px;
	}

	.terminal {
		width: min(100%, 400px);
		transform: none;
		animation: bn-float 7s ease-in-out infinite;
	}

	.terminal__body {
		font-size: 11.5px;
	}

	.float-chip--1,
	.float-chip--3 {
		display: none;
	}

	.float-chip--2 {
		left: -2%;
		bottom: 5%;
	}

	.orbit--1 {
		width: 400px;
		height: 400px;
		margin: -200px 0 0 -200px;
	}

	.orbit--2 {
		width: 300px;
		height: 300px;
		margin: -150px 0 0 -150px;
	}

	.hero__fade {
		height: 90px;
	}

	.home-layout {
		margin-top: 48px;
	}

	.section + .section {
		margin-top: 48px;
	}

	.section-head {
		margin-bottom: 20px;
	}

	.section-head__link {
		font-size: 12px;
	}

	.post-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.post-card__media {
		aspect-ratio: 16 / 9.4;
	}

	.post-card__title {
		font-size: 1.12rem;
	}

	.sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.widget {
		padding: 22px;
	}

	.profile-card {
		padding: 26px 22px 22px;
	}

	.widget--cta {
		grid-column: auto;
	}

	.archive-layout {
		margin-top: 40px;
	}

	.page-hero {
		padding: 40px 0 38px;
	}

	.page-hero__title {
		font-size: clamp(1.8rem, 7vw, 2.4rem);
	}

	.page-hero__desc {
		font-size: 14px;
	}

	.breadcrumbs {
		font-size: 9.5px;
	}

	.breadcrumbs__current {
		max-width: 180px;
	}

	.pagination {
		margin-top: 36px;
	}

	.pagination .page-numbers {
		min-width: 38px;
		height: 38px;
		padding: 0 11px;
		font-size: 11px;
	}

	.entry-hero {
		padding: 38px 0 60px;
	}

	.entry-hero__inner {
		max-width: none;
	}

	.entry-hero--cover {
		padding-bottom: 108px;
	}

	.entry-hero .breadcrumbs {
		margin-bottom: 22px;
	}

	.entry-title {
		font-size: clamp(1.7rem, 6.8vw, 2.4rem);
		margin: 14px 0 12px;
	}

	.entry-lead {
		font-size: 14.5px;
		line-height: 1.8;
		margin-bottom: 20px;
	}

	.entry-meta {
		gap: 9px;
		font-size: 9.5px;
	}

	.author-chip {
		font-size: 12px;
	}

	.single-cover-wrap {
		margin-top: -80px;
		padding: 0 16px;
	}

	.single-cover {
		padding: 6px;
		border-radius: 18px;
	}

	.single-cover__img {
		border-radius: 13px;
	}

	.entry-hero--plain {
		padding-bottom: 48px;
	}

	.single-layout {
		margin-top: 42px;
	}

	.entry-content {
		font-size: 16px;
		line-height: 1.9;
	}

	.entry-content h2 {
		font-size: 1.42rem;
	}

	.entry-content h3 {
		font-size: 1.18rem;
	}

	.entry-content pre {
		padding: 44px 16px 16px;
		font-size: 12.5px;
		border-radius: 12px;
	}

	.entry-share {
		padding: 18px;
	}

	.entry-share__list {
		width: 100%;
	}

	.entry-share__list .share-btn {
		flex: 1 1 auto;
	}

	.author-box {
		flex-direction: column;
		gap: 16px;
		padding: 24px;
	}

	.author-box__avatar {
		width: 62px;
		height: 62px;
	}

	.author-box__footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.post-nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-nav__item--next {
		align-items: flex-start;
		text-align: left;
	}

	.related-section {
		margin-top: 56px;
		padding-top: 42px;
	}

	.related-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.comments-wrap {
		margin-top: 56px;
	}

	.comment-body {
		padding: 18px;
		gap: 12px;
	}

	.comment-avatar__img,
	.comment-avatar img {
		width: 38px;
		height: 38px;
	}

	.children {
		padding-left: 14px;
	}

	.comment-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.comment-form-author,
	.comment-form-email,
	.comment-form-url {
		grid-column: 1 / -1;
	}

	.comment-respond {
		padding: 22px;
	}

	.page-layout {
		margin-top: 40px;
	}

	.page-layout .comments-wrap {
		margin-top: 40px;
	}

	.error-page {
		min-height: calc(100vh - 64px);
		padding: 60px 0;
	}

	.error-code {
		font-size: clamp(6rem, 26vw, 9rem);
	}

	.error-actions .btn {
		min-height: 44px;
		padding: 0 18px;
		font-size: 13px;
	}

	.footer-grid {
		padding: 46px 0 36px;
		gap: 34px;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-footer {
		margin-top: 72px;
	}

	.back-to-top {
		right: 16px;
		bottom: 16px;
		width: 40px;
		height: 40px;
	}

	.search-modal {
		padding-top: 16vh;
	}

	.search-modal__panel {
		padding: 22px 20px 20px;
		border-radius: 20px;
	}

	.search-modal__title {
		font-size: 1.5rem;
		margin: 14px 0 18px;
	}

	.search-modal__form {
		flex-wrap: wrap;
		padding: 10px;
	}

	.search-modal__form input[type="search"] {
		flex: 1 1 180px;
		font-size: 15px;
	}

	.search-modal__form .btn {
		flex: 1 1 100%;
		justify-content: center;
	}

	.search-modal__icon {
		display: none;
	}

	.search-modal__hints-label {
		width: 100%;
	}
}

@media (max-width: 480px) {
	:root {
		--header-h: 60px;
	}

	.container {
		width: calc(100% - 32px);
	}

	.brand__tagline {
		display: none;
	}

	.brand__name {
		max-width: 132px;
	}

	.hero__title {
		font-size: 2rem;
	}

	.hero__badge {
		padding: 7px 12px;
		font-size: 8.5px;
	}

	.hero__badge i {
		width: 5px;
		height: 5px;
	}

	.hero__subtitle {
		font-size: 13.5px;
	}

	.hero__stats {
		display: grid;
		grid-template-columns: repeat(3, auto);
		justify-content: start;
		gap: 14px;
	}

	.hero-stat + .hero-stat {
		padding-left: 14px;
	}

	.hero-stat__num {
		font-size: 19px;
	}

	.hero-stat__label {
		font-size: 9.5px;
	}

	.hero__visual {
		min-height: 320px;
	}

	.terminal {
		width: 100%;
	}

	.float-chip {
		display: none;
	}

	.orbit {
		display: none;
	}

	.section-head__link {
		display: none;
	}

	.featured-card__media {
		min-height: 220px;
	}

	.featured-card__body {
		padding: 22px 20px 22px;
	}

	.featured-card__title {
		font-size: 1.28rem;
	}

	.featured-card__meta {
		margin-bottom: 18px;
	}

	.post-card__body {
		padding: 18px 18px 16px;
	}

	.widget {
		padding: 20px;
	}

	.entry-hero__type {
		display: none;
	}

	.entry-meta {
		gap: 8px;
	}

	.meta-sep {
		display: none;
	}

	.entry-meta .author-chip {
		width: 100%;
		margin-bottom: 2px;
	}

	.entry-content {
		font-size: 15.5px;
	}

	.entry-content .alignwide,
	.entry-content .alignfull {
		width: 100%;
		margin-left: 0;
		transform: none;
		border-radius: 12px;
	}

	.entry-content h2 {
		font-size: 1.32rem;
	}

	.comments-head__hint {
		display: none;
	}

	.comment-body {
		padding: 16px;
	}

	.error-code {
		letter-spacing: -0.05em;
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.footer-bottom {
		font-size: 10.5px;
	}

	.footer-meta {
		gap: 6px;
	}

	.footer-meta__top {
		display: none;
	}

	.back-to-top {
		display: none;
	}
}

/* 19. Motion & print
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.hero__orb,
	.orbit,
	.terminal,
	.float-chip,
	.hero__scroll i {
		animation: none;
	}
}

@keyframes bn-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes bn-modal-in {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes bn-nav-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bn-rise {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bn-drift {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(36px, -28px, 0) scale(1.08);
	}
}

@keyframes bn-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-9px);
	}
}

@keyframes bn-terminal-float {
	0%,
	100% {
		transform: perspective(1200px) rotateY(-7deg) rotateX(3deg) translateY(0);
	}
	50% {
		transform: perspective(1200px) rotateY(-7deg) rotateX(3deg) translateY(-10px);
	}
}

@keyframes bn-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes bn-pulse {
	0%,
	100% {
		opacity: 1;
		box-shadow: 0 0 0 4px rgba(37, 212, 234, 0.14), 0 0 14px rgba(37, 212, 234, 0.8);
	}
	50% {
		opacity: 0.72;
		box-shadow: 0 0 0 7px rgba(37, 212, 234, 0.05), 0 0 22px rgba(37, 212, 234, 0.9);
	}
}

@keyframes bn-blink {
	0%,
	45% {
		opacity: 1;
	}
	46%,
	100% {
		opacity: 0;
	}
}

@keyframes bn-scroll-line {
	0%,
	100% {
		opacity: 0.35;
		transform: scaleY(0.55);
		transform-origin: top;
	}
	50% {
		opacity: 1;
		transform: scaleY(1);
		transform-origin: top;
	}
}

/* =========================================================================
   20. Editorial tech-blog layout
   Content first: compact header, article list, quiet sidebar, reading view.
   ========================================================================= */
:root {
	--header-h: 64px;
	--blog-width: 1120px;
	--article-width: 760px;
}

body {
	background: var(--bg);
	background-image: none;
	font-size: 15.5px;
}

body::before {
	content: "";
	position: fixed;
	inset: 0 0 auto;
	z-index: 110;
	height: 2px;
	background: linear-gradient(90deg, var(--brand), var(--cyan));
	pointer-events: none;
}

.container {
	width: min(var(--blog-width), calc(100% - 48px));
}

.site-header {
	height: var(--header-h);
	background: rgba(255, 255, 255, 0.9);
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	border-bottom: 1px solid var(--line);
	box-shadow: none;
}

[data-theme="dark"] .site-header {
	background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.site-header.is-scrolled {
	background: color-mix(in srgb, var(--surface) 96%, transparent);
	border-bottom-color: var(--line);
	box-shadow: 0 1px 0 var(--line);
}

.header-inner {
	gap: 24px;
}

.brand__mark {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	filter: none;
}

.brand__logo {
	height: 30px;
	max-width: 120px;
}

.brand__name {
	font-size: 16px;
	font-weight: 700;
}

.brand__tagline {
	display: none;
}

.header-actions {
	gap: 2px;
}

.icon-btn {
	width: 36px;
	height: 36px;
	border-radius: 8px;
}

.site-header .icon-btn:hover {
	background: var(--surface-2);
	border-color: var(--line);
	color: var(--brand);
}

@media (min-width: 1025px) {
	.primary-nav .menu {
		gap: 2px;
	}

	.primary-nav .menu > li > a {
		height: 32px;
		padding: 0 10px;
		border-radius: 6px;
		color: var(--muted);
		font-size: 13.5px;
		font-weight: 500;
	}

	.primary-nav .menu > li > a:hover {
		background: transparent;
		color: var(--brand);
	}

	.primary-nav .current-menu-item > a,
	.primary-nav .current_page_item > a,
	.primary-nav .current-menu-ancestor > a {
		color: var(--brand);
	}

	.primary-nav .current-menu-item > a::after,
	.primary-nav .current_page_item > a::after {
		display: none;
	}

	.primary-nav .sub-menu {
		top: calc(100% + 8px);
		border-radius: 8px;
		box-shadow: 0 12px 30px -16px rgba(16, 40, 80, 0.3);
	}

	.primary-nav .sub-menu a {
		border-radius: 5px;
		font-size: 12.5px;
	}
}

/* Feed ---------------------------------------------------------------- */
.blog-main {
	padding: 0 0 48px;
}

.blog-layout {
	display: grid;
	grid-template-columns: minmax(0, var(--article-width)) 280px;
	justify-content: center;
	align-items: start;
	gap: 64px;
	padding-top: 30px;
}

.blog-content {
	min-width: 0;
}

.feed-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--line);
}

.feed-head__title {
	margin: 0;
	color: var(--ink);
	font-size: 23px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.025em;
}

.feed-head__desc {
	margin: 5px 0 0;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.6;
}

.feed-head__rss {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex: none;
	padding-bottom: 2px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.04em;
}

.feed-head__rss:hover {
	color: var(--brand);
}

.post-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 14px;
}

.post-item {
	position: relative;
	padding: 18px 20px 15px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--surface);
	transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.post-item::before {
	content: "";
	position: absolute;
	top: 14px;
	bottom: 14px;
	left: 0;
	width: 2px;
	border-radius: 0 2px 2px 0;
	background: linear-gradient(to bottom, var(--brand), var(--cyan));
	opacity: 0;
	transition: opacity 0.22s var(--ease);
}

.post-item:hover {
	border-color: rgba(var(--brand-rgb), 0.24);
	box-shadow: 0 10px 26px -24px rgba(16, 55, 110, 0.4);
	transform: translateY(-1px);
}

.post-item:hover::before {
	opacity: 1;
}

.post-item__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.post-item__date {
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.02em;
	line-height: 1.5;
}

.post-item__cat {
	display: inline-block;
	padding: 1px 6px;
	border-radius: 4px;
	background: rgba(var(--brand-rgb), 0.07);
	color: var(--brand);
	font-size: 9.5px;
	line-height: 1.6;
	transition: background 0.2s var(--ease);
}

.post-item__cat:hover {
	background: rgba(var(--brand-rgb), 0.13);
	color: var(--brand);
}

.post-item__title {
	margin: 0 0 6px;
	font-size: 18.5px;
	font-weight: 650;
	line-height: 1.55;
	letter-spacing: -0.018em;
}

.post-item__title a {
	color: var(--ink);
}

.post-item__title a:hover {
	color: var(--brand);
}

.post-item__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 0 0 12px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.75;
}

.post-item__foot {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding-top: 10px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.02em;
}

.post-item__foot a {
	color: var(--muted);
}

.post-item__foot a:hover {
	color: var(--brand);
}

.post-item__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	color: var(--brand) !important;
	font-family: var(--font-sans);
	font-size: 11px;
	font-weight: 600;
}

.post-item__more svg {
	transition: transform 0.22s var(--ease);
}

.post-item__more:hover svg {
	transform: translateX(3px);
}

.post-item__dot {
	opacity: 0.55;
}

/* Sidebar ------------------------------------------------------------- */
.sidebar {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
	position: static;
}

.sidebar .widget {
	padding: 17px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--surface);
	box-shadow: none;
}

.sidebar .widget-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.sidebar .widget-title {
	margin: 0;
	color: var(--ink);
	font-size: 12.5px;
	font-weight: 650;
	letter-spacing: 0;
}

.sidebar .widget-head__meta {
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.04em;
}

.about-widget__head {
	display: flex;
	align-items: center;
	gap: 11px;
}

.about-widget__avatar {
	width: 42px;
	height: 42px;
	flex: none;
	overflow: hidden;
	border-radius: 50%;
	background: linear-gradient(135deg, #2f82ff, #0f4bc4);
}

.about-widget__img {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 50%;
	object-fit: cover;
	color: #fff;
	font-size: 16px;
}

.about-widget__name {
	margin: 0 0 1px;
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 650;
	letter-spacing: -0.01em;
}

.about-widget__role {
	margin: 0;
	color: var(--brand);
	font-family: var(--font-mono);
	font-size: 10px;
	line-height: 1.5;
}

.about-widget__bio {
	margin: 12px 0 13px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.7;
}

.about-widget__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.about-widget__socials .social-link {
	width: 28px;
	height: 28px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--surface-2);
	color: var(--muted);
}

.about-widget__socials .social-link:hover {
	border-color: rgba(var(--brand-rgb), 0.3);
	background: rgba(var(--brand-rgb), 0.05);
	color: var(--brand);
	transform: none;
}

.sidebar .cat-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.sidebar .cat-list a {
	padding: 7px 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	color: var(--ink-soft);
	font-size: 12.5px;
}

.sidebar .cat-list li:last-child a {
	border-bottom: 0;
}

.sidebar .cat-list a:hover {
	padding-left: 0;
	background: transparent;
	color: var(--brand);
}

.sidebar .cat-list__count {
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--muted);
	font-size: 10px;
}

.sidebar .tagcloud {
	gap: 5px;
}

.sidebar .tagcloud a {
	padding: 3px 7px;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--surface-2);
	color: var(--muted);
	font-size: 10.5px !important;
	line-height: 1.6;
}

.sidebar .tagcloud a:hover {
	border-color: rgba(var(--brand-rgb), 0.3);
	background: rgba(var(--brand-rgb), 0.05);
	color: var(--brand);
	transform: none;
}

.subscribe-widget__text {
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 11.5px;
	line-height: 1.65;
}

.subscribe-widget__links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.subscribe-widget__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 8px;
	border: 1px solid var(--line);
	border-radius: 5px;
	color: var(--ink-soft);
	font-size: 10.5px;
	line-height: 1.6;
}

.subscribe-widget__link:hover {
	border-color: rgba(var(--brand-rgb), 0.3);
	color: var(--brand);
}

/* Archive header ------------------------------------------------------ */
.archive-head {
	padding: 34px 0 22px;
	border-bottom: 1px solid var(--line);
}

.archive-head .breadcrumbs {
	margin-bottom: 16px;
}

.breadcrumbs {
	gap: 7px;
	color: var(--muted);
	font-size: 10px;
	letter-spacing: 0.02em;
}

.breadcrumbs a {
	color: var(--muted);
}

.breadcrumbs a:hover {
	color: var(--brand);
}

.breadcrumbs__current {
	color: #9aabba;
	max-width: 320px;
}

.archive-head__main {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.archive-head__kicker {
	color: var(--brand);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.04em;
}

.archive-head__title {
	margin: 5px 0 8px;
	color: var(--ink);
	font-size: clamp(23px, 3vw, 30px);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.025em;
}

.archive-head__desc {
	max-width: 640px;
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.75;
}

.archive-head__aside {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10px;
}

.archive-head__feed {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--muted);
}

.archive-head__feed:hover {
	color: var(--brand);
}

.archive-head__search {
	max-width: 440px;
	margin-top: 18px;
}

/* Article ------------------------------------------------------------- */
.article-main {
	padding: 0 0 24px;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, var(--article-width)) 280px;
	justify-content: center;
	align-items: start;
	gap: 0 64px;
	padding-top: 34px;
}

.article-head {
	grid-column: 1;
	grid-row: 1;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}

.article-head .breadcrumbs {
	margin-bottom: 18px;
}

.article-head__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 11px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.02em;
}

.article-cat {
	padding: 2px 7px;
	border-radius: 4px;
	background: rgba(var(--brand-rgb), 0.07);
	color: var(--brand);
	font-size: 10px;
}

.article-title {
	margin: 0 0 12px;
	color: var(--ink);
	font-size: clamp(26px, 3.4vw, 36px);
	font-weight: 750;
	line-height: 1.35;
	letter-spacing: -0.03em;
}

.article-lead {
	max-width: 700px;
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
}

.article-byline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10.5px;
}

.article-byline a {
	color: var(--muted);
}

.article-byline a:hover {
	color: var(--brand);
}

.article-byline__name {
	color: var(--ink-soft);
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
}

.article-body {
	grid-column: 1;
	grid-row: 2;
	min-width: 0;
	padding-top: 26px;
}

.article-rail {
	position: sticky;
	top: calc(var(--header-h) + 20px);
	grid-column: 2;
	grid-row: 1 / span 2;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.article-rail .toc-card,
.article-rail .share-card {
	padding: 15px;
	border-radius: 9px;
	box-shadow: none;
}

.article-rail .toc-card__title,
.article-rail .share-card__title {
	font-size: 13px;
	font-weight: 650;
}

.article-rail .toc-card__head {
	margin-bottom: 10px;
}

.article-rail .toc-list {
	max-height: 44vh;
}

.article-rail .toc-list a {
	padding: 5px 0 5px 11px;
	font-size: 11.5px;
}

.article-rail .toc-list .toc-level-3 a {
	padding-left: 22px;
	font-size: 11px;
}

.article-rail .share-card__text {
	font-size: 11px;
}

.article-rail .share-card__list {
	gap: 6px;
}

.article-rail .share-btn {
	min-height: 31px;
	padding: 0 9px;
	font-size: 10.5px;
	border-radius: 5px;
}

.entry-content {
	color: var(--ink-soft);
	font-size: 16px;
	line-height: 1.9;
}

.entry-content h2 {
	font-size: 1.44rem;
	margin-top: 2em;
}

.entry-content h3 {
	font-size: 1.18rem;
	margin-top: 1.7em;
}

.article-body .entry-footer {
	margin-top: 34px;
	padding-top: 20px;
}

.article-body .entry-share {
	padding: 16px 18px;
	border-radius: 8px;
	background: var(--surface);
}

.article-body .author-box {
	margin-top: 34px;
	padding: 18px;
	border-radius: 9px;
	background: var(--surface);
	box-shadow: none;
}

.article-body .author-box::before {
	display: none;
}

.article-body .author-box__avatar {
	width: 52px;
	height: 52px;
	padding: 2px;
}

.article-body .author-box__name {
	margin: 0 0 1px;
	font-size: 15.5px;
}

.article-body .author-box__role {
	margin-bottom: 5px;
	font-size: 10.5px;
	color: var(--muted);
}

.article-body .author-box__bio {
	margin-bottom: 9px;
	font-size: 12px;
	line-height: 1.7;
}

.article-body .author-box__footer {
	margin-top: 4px;
}

.article-body .post-nav {
	margin-top: 18px;
	gap: 12px;
}

.article-body .post-nav__item {
	padding: 14px 16px;
	border-radius: 8px;
}

.article-body .post-nav__label {
	font-size: 9px;
}

.article-body .post-nav__title {
	font-size: 12.5px;
}

.article-body .toc-mobile {
	display: none;
	margin-bottom: 24px;
	border-radius: 8px;
	padding: 0 15px;
}

/* Related ------------------------------------------------------------- */
.related-section {
	margin-top: 54px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}

.related-section .section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
}

.related-section .section-head__title {
	margin-top: 5px;
	font-size: 19px;
	font-weight: 650;
	letter-spacing: -0.02em;
}

.related-section .eyebrow {
	font-size: 9.5px;
}

.related-section .section-head__link {
	font-size: 11px;
}

.related-list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--line);
}

.related-item {
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink-soft);
	font-size: 13px;
}

.related-item:hover {
	color: var(--brand);
}

.related-item__date {
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10px;
}

.related-item__title {
	font-weight: 500;
	line-height: 1.5;
}

.related-item svg {
	color: var(--muted);
}

.related-item:hover svg {
	color: var(--brand);
}

/* Page ---------------------------------------------------------------- */
.page-main {
	padding: 0 0 40px;
}

.page-layout {
	max-width: var(--article-width);
	margin: 0 auto;
	padding-top: 34px;
}

.page-head {
	padding-bottom: 22px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--line);
}

.page-head .breadcrumbs {
	margin-bottom: 16px;
}

.page-content {
	font-size: 16px;
}

.page-layout .comments-wrap {
	max-width: none;
	margin-top: 48px;
}

/* 404 ----------------------------------------------------------------- */
.notfound {
	max-width: 560px;
	margin: 0 auto;
	padding: 84px 0 96px;
	text-align: center;
}

.notfound__code {
	margin: 0 0 6px;
	color: var(--brand);
	font-family: var(--font-mono);
	font-size: 62px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.05em;
}

.notfound__title {
	margin: 0 0 8px;
	color: var(--ink);
	font-size: 23px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.notfound__text {
	max-width: 420px;
	margin: 0 auto 22px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
}

.notfound__search {
	max-width: 400px;
	margin: 0 auto 18px;
}

.notfound__back {
	min-height: 42px;
	padding: 0 18px;
	font-size: 12.5px;
}

.notfound__tip {
	margin-top: 26px;
	color: var(--muted);
	font-size: 10px;
}

.notfound__tip code {
	padding: 4px 8px;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--surface-2);
	color: var(--muted);
	font-family: var(--font-mono);
}

/* Footer -------------------------------------------------------------- */
.site-footer {
	margin-top: 64px;
	border-top: 1px solid var(--line);
	background: var(--surface);
	background-image: none;
}

.footer-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 24px;
	min-height: 74px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.footer-bar__left {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
}

.brand--footer {
	gap: 9px;
}

.brand--footer .brand__mark {
	width: 26px;
	height: 26px;
	border-radius: 7px;
	filter: none;
}

.footer-bar__name {
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 650;
}

.footer-bar__copy {
	margin: 0;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10px;
}

.footer-bar__right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.footer-social {
	gap: 5px;
}

.footer-social .social-link {
	width: 28px;
	height: 28px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: transparent;
	color: var(--muted);
}

.footer-social .social-link:hover {
	border-color: rgba(var(--brand-rgb), 0.3);
	background: rgba(var(--brand-rgb), 0.05);
	color: var(--brand);
	transform: none;
}

.footer-bar__link {
	color: var(--muted);
	font-size: 10px;
}

.footer-bar__link:hover {
	color: var(--brand);
}

.footer-bar__top {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.06em;
}

.footer-bar__top:hover {
	color: var(--brand);
}

/* Pagination --------------------------------------------------------- */
.pagination {
	margin-top: 28px;
}

.pagination .page-numbers {
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 5px;
	background: var(--surface);
	color: var(--muted);
	font-size: 11px;
}

.pagination .page-numbers:hover {
	border-color: rgba(var(--brand-rgb), 0.35);
	color: var(--brand);
	transform: none;
}

.pagination .current {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
	box-shadow: none;
}

.pagination .prev,
.pagination .next {
	font-size: 11.5px;
}

/* Empty state -------------------------------------------------------- */
.empty-state {
	padding: 48px 24px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--surface);
	box-shadow: none;
}

.empty-state__icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
}

.empty-state__title {
	font-size: 20px;
}

/* Comments ----------------------------------------------------------- */
.comments-wrap {
	max-width: var(--article-width);
	margin: 54px auto 0;
}

body.single .comments-wrap {
	margin-left: max(0px, calc((100% - (var(--article-width) + 280px + 64px)) / 2));
	margin-right: auto;
}

@media (max-width: 1180px) {
	body.single .comments-wrap {
		margin-left: auto;
		margin-right: auto;
	}
}

.comments-head {
	margin-bottom: 20px;
	padding-bottom: 14px;
}

.comments-title {
	font-size: 1.2rem;
}

.comment-body {
	padding: 16px 18px;
	border-radius: 8px;
}

.comment-respond {
	padding: 20px;
	border-radius: 9px;
}

/* Responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
	.blog-layout {
		grid-template-columns: minmax(0, var(--article-width));
		justify-content: center;
		gap: 28px;
		padding-top: 26px;
	}

	.article-layout {
		grid-template-columns: minmax(0, var(--article-width));
		justify-content: center;
		gap: 0;
	}

	.article-head,
	.article-body {
		grid-column: 1;
	}

	.article-rail {
		display: none;
	}

	.article-body .toc-mobile {
		display: block;
	}

	.sidebar {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 860px) {
	.container {
		width: calc(100% - 40px);
	}
}

@media (max-width: 720px) {
	.container {
		width: calc(100% - 36px);
	}

	.blog-layout {
		padding-top: 22px;
		gap: 30px;
	}

	.sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.feed-head {
		align-items: flex-start;
	}

	.feed-head__title {
		font-size: 21px;
	}

	.feed-head__desc {
		font-size: 12px;
	}

	.post-item {
		padding: 15px 16px 13px;
	}

	.post-item__meta {
		margin-bottom: 7px;
	}

	.post-item__title {
		font-size: 17px;
	}

	.post-item__excerpt {
		font-size: 12.5px;
		margin-bottom: 10px;
	}

	.post-item__foot {
		padding-top: 9px;
		font-size: 9px;
	}

	.post-item__more {
		font-size: 10.5px;
	}

	.archive-head {
		padding: 26px 0 18px;
	}

	.archive-head__main {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.archive-head__aside {
		width: 100%;
		justify-content: space-between;
	}

	.article-layout,
	.page-layout {
		padding-top: 24px;
	}

	.article-title {
		font-size: clamp(24px, 7vw, 30px);
	}

	.article-lead {
		font-size: 13.5px;
	}

	.article-body {
		padding-top: 20px;
	}

	.entry-content {
		font-size: 15.5px;
		line-height: 1.85;
	}

	.entry-content h2 {
		font-size: 1.32rem;
	}

	.entry-content h3 {
		font-size: 1.12rem;
	}

	.article-body .entry-footer {
		margin-top: 28px;
	}

	.article-body .author-box {
		flex-direction: row;
		align-items: flex-start;
		padding: 16px;
	}

	.article-body .author-box__avatar {
		width: 46px;
		height: 46px;
	}

	.article-body .author-box__footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.article-body .post-nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.article-body .post-nav__item--next {
		align-items: flex-start;
		text-align: left;
	}

	.related-item {
		grid-template-columns: 74px minmax(0, 1fr) auto;
		gap: 10px;
		font-size: 12.5px;
	}

	.related-section {
		margin-top: 42px;
		padding-top: 24px;
	}

	.comments-wrap {
		margin-top: 42px;
	}

	.footer-bar {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.footer-bar__right {
		width: 100%;
		justify-content: space-between;
	}

	.notfound {
		padding: 60px 0 70px;
	}

	.notfound__code {
		font-size: 52px;
	}
}

@media (max-width: 360px) {
	.header-inner {
		gap: 10px;
	}

	.brand__mark {
		width: 26px;
		height: 26px;
		border-radius: 7px;
	}

	.brand__name {
		max-width: 100px;
		font-size: 15px;
	}

	.icon-btn {
		width: 32px;
		height: 32px;
	}

	.post-item {
		padding: 14px 14px 12px;
	}

	.post-item__title {
		font-size: 16px;
	}

	.article-title {
		font-size: 22px;
	}
}

@media (max-width: 480px) {
	.container {
		width: calc(100% - 32px);
	}

	.feed-head__rss {
		display: none;
	}

	.article-byline {
		font-size: 10px;
	}

	.related-item__date {
		display: none;
	}

	.related-item {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

@media print {
	.site-header,
	.search-modal,
	.reading-progress,
	.back-to-top,
	.site-footer,
	.single-rail,
	.toc-mobile,
	.entry-share,
	.post-nav,
	.related-section,
	.comments-area {
		display: none !important;
	}

	body {
		background: #fff;
		color: #111;
	}

	.container,
	.single-layout {
		width: 100%;
		max-width: none;
		display: block;
	}

	.entry-hero,
	.page-hero {
		padding: 0 !important;
		background: none !important;
		color: #111 !important;
	}

	.entry-hero__bg,
	.page-hero__bg,
	.entry-hero .breadcrumbs {
		display: none;
	}

	.entry-title,
	.page-hero__title {
		color: #111 !important;
	}

	.entry-lead {
		color: #444;
	}

	.single-cover-wrap {
		margin-top: 20px;
		padding: 0;
	}

	.single-cover {
		padding: 0;
		box-shadow: none;
	}

	.entry-content a {
		color: #111;
		text-decoration: underline;
	}
}
