/*
Theme Name: Saazita Blog
Theme URI: https://blog.saazita.ir
Author: Saazita
Author URI: https://saazita.ir
Description: قالب اختصاصی وردپرس وبلاگ سازیتا؛ یک زیردامنه محتوایی با هویت بصری «لوکس تاریک» و افکت شیشه‌ای (Glassmorphism)، راست‌چین و بهینه‌شده برای زبان فارسی. طراحی‌شده برای سرعت بالا، خوانایی عالی و هماهنگی کامل با هویت برند سازیتا در saazita.ir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: saazita-blog
Tags: dark, black, red, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, translation-ready, threaded-comments, blog, glassmorphism, one-column, two-columns
*/

/* =========================================================
   0. RESET
========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote {
	margin: 0;
}

ul, ol {
	padding: 0;
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

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

/* =========================================================
   1. ROOT VARIABLES — هویت بصری سازیتا
========================================================= */
:root {
	--sz-bg-black: #000000;
	--sz-bg-navy: #08080A;
	--sz-primary: #BB1F22;
	--sz-primary-rgb: 187, 31, 34;
	--sz-secondary: #FF007F;
	--sz-secondary-rgb: 255, 0, 127;
	--sz-text: #F2F1F3;
	--sz-text-muted: #A9A7B0;
	--sz-text-dim: #706E78;
	--sz-glass-bg: rgba(255, 255, 255, 0.04);
	--sz-glass-bg-strong: rgba(255, 255, 255, 0.07);
	--sz-glass-border: rgba(255, 255, 255, 0.10);
	--sz-glass-border-accent: rgba(var(--sz-primary-rgb), 0.35);
	--sz-radius: 18px;
	--sz-radius-sm: 12px;
	--sz-font-fa: 'Vazirmatn', 'Dana', 'Kalameh', Tahoma, sans-serif;
	--sz-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
	--sz-max-width: 1240px;
	--sz-header-h: 76px;
}

/* =========================================================
   2. BASE
========================================================= */
html {
	background: var(--sz-bg-black);
}

body {
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(var(--sz-secondary-rgb), 0.10), transparent 60%),
		radial-gradient(1000px 500px at 5% 10%, rgba(var(--sz-primary-rgb), 0.14), transparent 55%),
		linear-gradient(180deg, var(--sz-bg-navy) 0%, var(--sz-bg-black) 320px);
	color: var(--sz-text);
	font-family: var(--sz-font-fa);
	line-height: 1.9;
	direction: rtl;
	text-align: right;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
}

/* ── پایه تایپوگرافی فارسی ────────────────────────────────────────────────
   فارسی به ارتفاع خط بیشتری از لاتین نیاز دارد: کلاهک «آ» بالاتر از خط بالا
   می‌نشیند و دنباله‌ی گ/ژ/چ/پ پایین‌تر از خط کرسی می‌رود؛ با line-height کم،
   این بخش‌ها بریده می‌شوند. */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.65;
	padding-block: 0.08em;
}
p, li, blockquote, figcaption, dd, dt, label, td, th {
	line-height: 1.95;
}
/* متن‌های گرادیانی (background-clip:text) دقیقاً تا مرز گلیف بریده می‌شوند */
.sz-gradient-text,
.sz-text-gradient {
	padding-block: 0.12em;
	overflow: visible;
	line-height: 1.7;
}

.sz-container {
	max-width: var(--sz-max-width);
	margin: 0 auto;
	padding: 0 20px;
}

::selection {
	background: var(--sz-primary);
	color: #fff;
}

::-webkit-scrollbar {
	width: 10px;
}
::-webkit-scrollbar-track {
	background: var(--sz-bg-black);
}
::-webkit-scrollbar-thumb {
	background: linear-gradient(var(--sz-primary), var(--sz-secondary));
	border-radius: 10px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--sz-secondary);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* =========================================================
   3. GLASSMORPHISM CORE
========================================================= */
.sz-glass {
	background: var(--sz-glass-bg);
	border: 1px solid var(--sz-glass-border);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: var(--sz-radius);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
	transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.sz-glass:hover {
	border-color: var(--sz-glass-border-accent);
}

.sz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	border: 1px solid var(--sz-glass-border);
	cursor: pointer;
	transition: all .25s ease;
	white-space: nowrap;
}

.sz-btn-primary {
	background: linear-gradient(90deg, var(--sz-primary), var(--sz-secondary));
	color: #fff;
	border: none;
	box-shadow: 0 0 0 rgba(var(--sz-primary-rgb), 0);
}
.sz-btn-primary:hover {
	box-shadow: 0 6px 24px rgba(var(--sz-primary-rgb), 0.45);
	transform: translateY(-2px);
}

.sz-btn-ghost {
	background: var(--sz-glass-bg);
	color: var(--sz-text);
}
.sz-btn-ghost:hover {
	border-color: var(--sz-glass-border-accent);
	color: #fff;
	background: var(--sz-glass-bg-strong);
}

/* =========================================================
   4. HEADER
========================================================= */
.sz-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(8, 8, 10, 0.72);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--sz-glass-border);
}

.sz-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	height: var(--sz-header-h);
}

.sz-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 20px;
	color: #fff;
}
.sz-brand .custom-logo-link {
	display: flex;
	align-items: center;
}
.sz-brand img.custom-logo {
	max-height: 40px;
	width: auto;
	height: auto;
	display: block;
}
.sz-brand .sz-brand-fa {
	background: linear-gradient(90deg, #fff, var(--sz-secondary));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.sz-brand .sz-brand-badge {
	font-size: 11px;
	font-weight: 500;
	color: var(--sz-text-muted);
	border: 1px solid var(--sz-glass-border);
	border-radius: 999px;
	padding: 2px 10px;
}

.sz-nav-main {
	display: flex;
	align-items: center;
	gap: 24px;
}
.sz-nav-main ul {
	display: flex;
	align-items: center;
	gap: 22px;
}
.sz-nav-main a {
	font-size: 14.5px;
	color: var(--sz-text-muted);
	position: relative;
	padding: 6px 2px;
	transition: color .2s ease;
}
.sz-nav-main a:hover,
.sz-nav-main .current-menu-item > a {
	color: #fff;
}
.sz-nav-main a::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: -2px;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--sz-primary), var(--sz-secondary));
	transition: width .25s ease;
}
.sz-nav-main a:hover::after {
	width: 100%;
}

.sz-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* ── جست‌وجوی فشرده و مینیمال ──────────────────────────────────────────────
   نسخه قبلی یک باکس بزرگ و سنگین بود؛ این نسخه یک فیلد شیشه‌ای باریک با
   آیکون ذره‌بین SVG داخل خود فیلد است. */
.sz-search-form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 260px;
}
.sz-search-form input[type="search"] {
	width: 100%;
	height: 38px;
	padding: 0 36px 0 12px; /* جای آیکون در سمت چپ */
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--sz-glass-border);
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	line-height: 38px;
	outline: none;
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.sz-search-form input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}
.sz-search-form input[type="search"]::placeholder {
	color: var(--sz-text-muted);
	opacity: .75;
}
.sz-search-form input[type="search"]:focus {
	border-color: rgba(var(--sz-secondary-rgb), 0.55);
	background: rgba(255, 255, 255, 0.07);
	box-shadow: 0 0 0 3px rgba(var(--sz-secondary-rgb), 0.14);
}
.sz-search-form button {
	position: absolute;
	left: 4px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: var(--sz-text-muted);
	cursor: pointer;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	transition: color .2s ease, background .2s ease;
}
.sz-search-form button:hover,
.sz-search-form input[type="search"]:focus ~ button {
	color: var(--sz-secondary);
	background: rgba(255, 255, 255, 0.06);
}
/* در صفحه نتایج و ۴۰۴ فیلد می‌تواند کمی پهن‌تر و وسط‌چین باشد */
.search-results .sz-search-form,
.error404 .sz-search-form {
	max-width: 360px;
	margin-inline: auto;
}

/* ── نمادهای اعتماد و مجوزها (فوتر) ──────────────────────────────────────── */
.sz-trust-seals {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 22px 0 4px;
	border-top: 1px solid var(--sz-glass-border);
	margin-top: 26px;
}
.sz-trust-seal {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 96px;
	min-height: 66px;
	padding: 10px 14px;
	border-radius: var(--sz-radius-sm);
	border: 1px solid var(--sz-glass-border);
	background: rgba(255, 255, 255, 0.035);
	color: var(--sz-text-muted);
	font-size: 11px;
	line-height: 1.7;
	text-align: center;
	transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.sz-trust-seal:hover {
	border-color: rgba(var(--sz-primary-rgb), 0.55);
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}
.sz-trust-seal img {
	display: block;
	max-height: 58px;
	width: auto;
	border-radius: 4px;
}

/* لینک‌های متنی دارای آیکون درون‌خطی (به‌جای کاراکتر فلش) */
.sz-inline-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.sz-inline-link svg {
	flex-shrink: 0;
	transition: transform .2s ease;
}
.sz-inline-link:hover svg {
	transform: translateX(-3px); /* در RTL حرکت به سمت جلو */
}

/* رشته‌های صرفاً لاتین (ایمیل، دامنه، کد) — جداسازی جهت متن */
.sz-latin {
	font-family: var(--sz-font-mono);
	direction: ltr;
	unicode-bidi: isolate;
	display: inline-block;
}

.sz-burger {
	display: none;
	background: var(--sz-glass-bg);
	border: 1px solid var(--sz-glass-border);
	border-radius: 10px;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.sz-burger span,
.sz-burger span::before,
.sz-burger span::after {
	content: '';
	display: block;
	width: 18px;
	height: 2px;
	background: #fff;
	position: relative;
	transition: all .25s ease;
}
.sz-burger span::before { position: absolute; top: -6px; }
.sz-burger span::after { position: absolute; top: 6px; }

/* =========================================================
   5. READING PROGRESS BAR
========================================================= */
#sz-progress {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	width: 0%;
	background: linear-gradient(90deg, var(--sz-primary), var(--sz-secondary));
	box-shadow: 0 0 12px rgba(var(--sz-primary-rgb), 0.8);
	z-index: 999;
	transition: width .1s linear;
}

/* =========================================================
   6. HERO / FEATURED GRID
========================================================= */
.sz-hero {
	padding: 48px 0 20px;
}
.sz-hero-title {
	font-size: 26px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.sz-hero-title::before {
	content: '';
	width: 5px;
	height: 24px;
	border-radius: 4px;
	background: linear-gradient(var(--sz-primary), var(--sz-secondary));
	display: inline-block;
}

.sz-hero-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.sz-hero-grid .sz-card:first-child {
	grid-column: span 2;
	grid-row: span 2;
}
.sz-hero-grid .sz-card:first-child .sz-card-thumb {
	height: 380px;
}
.sz-hero-grid .sz-card:not(:first-child) .sz-card-thumb {
	height: 175px;
}

/* =========================================================
   7. POST CARDS
========================================================= */
.sz-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.sz-card-thumb {
	position: relative;
	overflow: hidden;
	height: 210px;
	background: linear-gradient(135deg, #14060a, #0a0a0d);
}
.sz-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.sz-card:hover .sz-card-thumb img {
	transform: scale(1.06);
}
.sz-card-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85));
}
.sz-card-thumb-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--sz-text-dim);
}

.sz-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	font-size: 11.5px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
	color: #fff;
	background: rgba(var(--sz-primary-rgb), 0.85);
	box-shadow: 0 0 16px rgba(var(--sz-primary-rgb), 0.55);
	backdrop-filter: blur(6px);
}
.sz-badge-outline {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(var(--sz-secondary-rgb), 0.5);
	color: var(--sz-secondary);
	box-shadow: none;
}

.sz-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.sz-card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12.5px;
	color: var(--sz-text-dim);
}
.sz-card-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.sz-card-title {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	line-height: 1.6;
	transition: color .2s ease;
}
.sz-hero-grid .sz-card:first-child .sz-card-title {
	font-size: 24px;
}
.sz-card:hover .sz-card-title {
	color: var(--sz-secondary);
}
.sz-card-excerpt {
	font-size: 14px;
	color: var(--sz-text-muted);
	overflow: hidden;
}
.sz-card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* =========================================================
   8. LATEST POSTS / MAIN LAYOUT
========================================================= */
.sz-main-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 36px;
	padding: 40px 0 80px;
	align-items: start;
}

.sz-section-title {
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.sz-section-title::before {
	content: '';
	width: 5px;
	height: 22px;
	border-radius: 4px;
	background: linear-gradient(var(--sz-primary), var(--sz-secondary));
}

.sz-posts-feed {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}
.sz-posts-feed.is-list {
	grid-template-columns: 1fr;
}

.sz-load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 34px;
}

/* =========================================================
   9. SIDEBAR & WIDGETS
========================================================= */
.sz-sidebar {
	display: flex;
	flex-direction: column;
	gap: 22px;
	position: sticky;
	top: calc(var(--sz-header-h) + 20px);
}
.widget {
	padding: 22px;
}
.widget-title {
	font-size: 15.5px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--sz-glass-border);
	display: flex;
	align-items: center;
	gap: 8px;
}
.widget-title::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 3px;
	background: var(--sz-primary);
	box-shadow: 0 0 8px var(--sz-primary);
}

/* Newsletter widget */
.sz-newsletter p {
	font-size: 13.5px;
	color: var(--sz-text-muted);
	margin-bottom: 14px;
}
.sz-newsletter form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.sz-newsletter input[type="email"] {
	padding: 12px 14px;
	border-radius: var(--sz-radius-sm);
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--sz-glass-border);
	color: #fff;
}
.sz-newsletter input[type="email"]:focus {
	border-color: var(--sz-secondary);
}
.sz-newsletter button {
	width: 100%;
}

/* Popular posts widget */
.sz-popular-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--sz-glass-border);
}
.sz-popular-item:last-child { border-bottom: none; }
.sz-popular-num {
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 13px;
	background: rgba(var(--sz-primary-rgb), 0.15);
	color: var(--sz-secondary);
	border: 1px solid rgba(var(--sz-primary-rgb), 0.3);
}
.sz-popular-title {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--sz-text);
	line-height: 1.6;
}
.sz-popular-item:hover .sz-popular-title {
	color: var(--sz-secondary);
}

/* Tag cloud */
.sz-tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.sz-tagcloud a,
.tagcloud a {
	display: inline-block;
	padding: 6px 14px;
	font-size: 12.5px !important;
	border-radius: 999px;
	background: var(--sz-glass-bg);
	border: 1px solid var(--sz-glass-border);
	color: var(--sz-text-muted) !important;
	transition: all .2s ease;
}
.sz-tagcloud a:hover,
.tagcloud a:hover {
	color: #fff !important;
	border-color: var(--sz-secondary);
	box-shadow: 0 0 12px rgba(var(--sz-secondary-rgb), 0.3);
}

/* CTA widget */
.sz-cta-widget {
	background: linear-gradient(160deg, rgba(var(--sz-primary-rgb), 0.22), rgba(var(--sz-secondary-rgb), 0.10));
	text-align: center;
	padding: 28px 22px;
}
.sz-cta-widget h3 {
	font-size: 17px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 8px;
}
.sz-cta-widget p {
	font-size: 13px;
	color: var(--sz-text-muted);
	margin-bottom: 18px;
}

/* Generic widget lists (categories/archives/recent posts from core) */
.widget ul li {
	padding: 8px 0;
	border-bottom: 1px dashed var(--sz-glass-border);
	font-size: 13.5px;
	color: var(--sz-text-muted);
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--sz-text); }
.widget ul li a:hover { color: var(--sz-secondary); }
.widget select {
	width: 100%;
	padding: 10px;
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--sz-glass-border);
	border-radius: var(--sz-radius-sm);
}

/* =========================================================
   10. SINGLE POST
========================================================= */
.sz-single-header {
	padding: 46px 0 20px;
}
.sz-breadcrumb {
	font-size: 13px;
	color: var(--sz-text-dim);
	margin-bottom: 18px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.sz-breadcrumb a { color: var(--sz-text-muted); }
.sz-breadcrumb a:hover { color: var(--sz-secondary); }

.sz-single-title {
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	line-height: 1.6;
	margin-bottom: 20px;
}

.sz-single-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
	padding-bottom: 24px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--sz-glass-border);
}
.sz-author-mini {
	display: flex;
	align-items: center;
	gap: 10px;
}
.sz-author-mini img {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 2px solid rgba(var(--sz-primary-rgb), 0.5);
}
.sz-author-mini strong {
	display: block;
	font-size: 13.5px;
	color: #fff;
}
.sz-author-mini span {
	font-size: 12px;
	color: var(--sz-text-dim);
}
.sz-single-meta-item {
	font-size: 12.5px;
	color: var(--sz-text-dim);
	display: flex;
	align-items: center;
	gap: 6px;
}

.sz-single-body-layout {
	display: grid;
	grid-template-columns: 260px minmax(0,1fr);
	gap: 40px;
	padding-bottom: 60px;
	align-items: start;
}
.sz-single-body-layout.no-toc {
	grid-template-columns: minmax(0, 1fr);
}

/* Table of Contents */
.sz-toc {
	position: sticky;
	top: calc(var(--sz-header-h) + 20px);
	padding: 20px;
}
.sz-toc-title {
	font-size: 13.5px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 14px;
}
.sz-toc ol {
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-right: 2px solid var(--sz-glass-border);
}
.sz-toc a {
	display: block;
	font-size: 13px;
	color: var(--sz-text-muted);
	padding: 6px 14px;
	border-right: 2px solid transparent;
	margin-right: -2px;
	transition: all .2s ease;
}
.sz-toc a.sz-toc-h3 {
	padding-right: 26px;
	font-size: 12.5px;
}
.sz-toc a:hover {
	color: #fff;
}
.sz-toc a.is-active {
	color: var(--sz-secondary);
	border-right-color: var(--sz-secondary);
	font-weight: 700;
}

/* Article content typography */
.sz-content,
.entry-content {
	font-size: 16.5px;
	line-height: 2.05;
	color: var(--sz-text);
}
.sz-content > * + *,
.entry-content > * + * {
	margin-top: 22px;
}
.sz-content h2,
.entry-content h2 {
	font-size: 24px;
	font-weight: 800;
	color: #fff;
	margin-top: 44px;
	scroll-margin-top: 100px;
}
.sz-content h3,
.entry-content h3 {
	font-size: 19px;
	font-weight: 700;
	color: #fff;
	margin-top: 34px;
	scroll-margin-top: 100px;
}
.sz-content p,
.entry-content p {
	color: var(--sz-text-muted);
}
.sz-content strong,
.entry-content strong { color: #fff; }
.sz-content a,
.entry-content a {
	color: var(--sz-secondary);
	text-decoration: underline;
	text-decoration-color: rgba(var(--sz-secondary-rgb), 0.4);
	text-underline-offset: 3px;
}
.sz-content ul,
.entry-content ul {
	list-style: disc;
	padding-right: 24px;
	color: var(--sz-text-muted);
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.sz-content ol,
.entry-content ol {
	list-style: decimal;
	padding-right: 24px;
	color: var(--sz-text-muted);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sz-content blockquote,
.entry-content blockquote {
	position: relative;
	padding: 20px 24px;
	border-right: 4px solid var(--sz-primary);
	background: var(--sz-glass-bg);
	border-radius: 0 var(--sz-radius-sm) var(--sz-radius-sm) 0;
	font-style: normal;
	color: #fff;
	font-size: 16px;
}

.sz-content figure,
.entry-content figure {
	border-radius: var(--sz-radius);
	overflow: hidden;
	border: 1px solid var(--sz-glass-border);
	box-shadow: 0 0 30px rgba(var(--sz-primary-rgb), 0.08);
}
.sz-content figure img,
.entry-content figure img {
	width: 100%;
}
.sz-content figcaption,
.entry-content figcaption {
	padding: 10px 16px;
	font-size: 12.5px;
	color: var(--sz-text-dim);
	text-align: center;
	background: rgba(0,0,0,0.3);
}

.sz-content table,
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	overflow: hidden;
	border-radius: var(--sz-radius-sm);
}
.sz-content th, .sz-content td,
.entry-content th, .entry-content td {
	padding: 12px 14px;
	border: 1px solid var(--sz-glass-border);
	font-size: 14px;
}
.sz-content th, .entry-content th {
	background: rgba(255,255,255,0.06);
	color: #fff;
}

.sz-content hr, .entry-content hr {
	border: none;
	height: 1px;
	background: var(--sz-glass-border);
}

/* code blocks */
.sz-content code,
.entry-content code {
	font-family: var(--sz-font-mono);
	direction: ltr;
	unicode-bidi: isolate;
	font-size: 13.5px;
	background: rgba(255,255,255,0.08);
	padding: 2px 6px;
	border-radius: 5px;
	color: #ffb6c9;
}
.sz-code-block {
	position: relative;
	background: #0a0a0d;
	border: 1px solid var(--sz-glass-border);
	border-radius: var(--sz-radius-sm);
	overflow: hidden;
	direction: ltr;
	text-align: left;
}
.sz-code-block .sz-code-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 14px;
	background: rgba(255,255,255,0.04);
	border-bottom: 1px solid var(--sz-glass-border);
	font-family: var(--sz-font-mono);
	font-size: 11.5px;
	color: var(--sz-text-dim);
}
.sz-copy-btn {
	background: var(--sz-glass-bg);
	border: 1px solid var(--sz-glass-border);
	color: var(--sz-text-muted);
	font-family: var(--sz-font-fa);
	font-size: 11.5px;
	padding: 4px 12px;
	border-radius: 999px;
	cursor: pointer;
	transition: all .2s ease;
}
.sz-copy-btn:hover {
	color: #fff;
	border-color: var(--sz-secondary);
}
.sz-copy-btn.copied {
	color: #fff;
	background: var(--sz-primary);
	border-color: var(--sz-primary);
}
.sz-content pre,
.entry-content pre {
	margin: 0;
	padding: 18px;
	overflow-x: auto;
	font-family: var(--sz-font-mono);
	font-size: 13.5px;
	line-height: 1.8;
	color: #e8e6f0;
	background: transparent;
}
.sz-content pre code,
.entry-content pre code {
	background: transparent;
	padding: 0;
	color: inherit;
}

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

/* tags on single */
.sz-post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--sz-glass-border);
}

/* Share bar */
.sz-share-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 40px 0;
	flex-wrap: wrap;
}
.sz-share-label {
	font-size: 13px;
	color: var(--sz-text-dim);
	font-weight: 700;
}
.sz-share-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sz-glass-bg);
	border: 1px solid var(--sz-glass-border);
	transition: all .2s ease;
}
.sz-share-btn:hover {
	transform: translateY(-3px);
	border-color: var(--sz-secondary);
	box-shadow: 0 6px 18px rgba(var(--sz-secondary-rgb), 0.3);
}
.sz-share-btn.copied {
	border-color: var(--sz-primary);
	color: var(--sz-primary);
}

/* Author bio */
.sz-author-card {
	display: flex;
	gap: 20px;
	padding: 26px;
	margin: 40px 0;
}
.sz-author-card img {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	border: 2px solid rgba(var(--sz-primary-rgb), 0.5);
	flex: none;
}
.sz-author-card h4 {
	font-size: 16px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 6px;
}
.sz-author-card p {
	font-size: 13.5px;
	color: var(--sz-text-muted);
	margin-bottom: 10px;
}

/* Related posts */
.sz-related {
	padding: 20px 0 60px;
}
.sz-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* =========================================================
   11. COMMENTS
========================================================= */
.sz-comments {
	padding: 10px 0 60px;
}
.comment-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 30px;
}
.comment-list .children {
	margin-top: 16px;
	margin-right: 30px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.sz-comment {
	padding: 18px 20px;
	display: flex;
	gap: 14px;
}
.sz-comment img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex: none;
}
.sz-comment-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.sz-comment-author {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}
.sz-comment-date {
	font-size: 12px;
	color: var(--sz-text-dim);
}
.sz-comment-text {
	font-size: 14px;
	color: var(--sz-text-muted);
	line-height: 1.9;
}
.sz-comment .reply a {
	display: inline-block;
	margin-top: 10px;
	font-size: 12px;
	color: var(--sz-secondary);
	border-bottom: 1px dashed var(--sz-secondary);
}

#respond, .comment-respond {
	padding: 26px;
}
.comment-form p { margin-bottom: 16px; }
.comment-form label {
	display: block;
	font-size: 13px;
	color: var(--sz-text-muted);
	margin-bottom: 8px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--sz-glass-border);
	border-radius: var(--sz-radius-sm);
	color: #fff;
}
.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--sz-secondary);
}
.comment-reply-title {
	font-size: 19px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 20px;
}

/* =========================================================
   12. ARCHIVE / SEARCH / 404
========================================================= */
.sz-archive-header {
	padding: 50px 0 30px;
	text-align: center;
}
.sz-archive-header .sz-eyebrow {
	font-size: 13px;
	color: var(--sz-secondary);
	font-weight: 700;
	letter-spacing: .5px;
	margin-bottom: 10px;
	display: block;
}
.sz-archive-header h1 {
	font-size: 30px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 12px;
}
.sz-archive-header p {
	color: var(--sz-text-muted);
	max-width: 640px;
	margin: 0 auto;
}

.sz-404 {
	text-align: center;
	padding: 90px 0;
}
.sz-404-code {
	font-family: var(--sz-font-mono);
	font-size: 100px;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(90deg, var(--sz-primary), var(--sz-secondary));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 10px;
}
.sz-404 h1 {
	font-size: 22px;
	color: #fff;
	margin-bottom: 12px;
}
.sz-404 p {
	color: var(--sz-text-muted);
	margin-bottom: 30px;
}
.sz-404-search {
	max-width: 460px;
	margin: 0 auto 30px;
}

/* pagination */
.sz-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
	flex-wrap: wrap;
}
.sz-pagination a,
.sz-pagination span {
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--sz-glass-bg);
	border: 1px solid var(--sz-glass-border);
	font-size: 13.5px;
	color: var(--sz-text-muted);
}
.sz-pagination .current {
	background: linear-gradient(90deg, var(--sz-primary), var(--sz-secondary));
	color: #fff;
	border: none;
}
.sz-pagination a:hover {
	color: #fff;
	border-color: var(--sz-secondary);
}

/* =========================================================
   13. FOOTER
========================================================= */
.sz-footer {
	margin-top: auto;
	border-top: 1px solid var(--sz-glass-border);
	background: rgba(8,8,10,0.6);
	padding: 50px 0 26px;
}
.sz-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 30px;
	padding-bottom: 30px;
}
.sz-footer-brand p {
	font-size: 13.5px;
	color: var(--sz-text-muted);
	margin-top: 14px;
	line-height: 1.9;
}
.sz-footer h4 {
	font-size: 14px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 16px;
}
.sz-footer ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.sz-footer ul a {
	font-size: 13.5px;
	color: var(--sz-text-muted);
}
.sz-footer ul a:hover {
	color: var(--sz-secondary);
}
.sz-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}
.sz-footer-social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sz-glass-bg);
	border: 1px solid var(--sz-glass-border);
}
.sz-footer-social a:hover {
	border-color: var(--sz-secondary);
	color: var(--sz-secondary);
}
.sz-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--sz-glass-border);
	font-size: 12.5px;
	color: var(--sz-text-dim);
}
.sz-footer-bottom a { color: var(--sz-text-muted); }
.sz-footer-bottom a:hover { color: var(--sz-secondary); }

/* =========================================================
   14. MOBILE MENU
========================================================= */
.sz-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(0,0,0,0.6);
	backdrop-filter: blur(6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease;
}
.sz-mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
}
.sz-mobile-menu-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: 82%;
	max-width: 340px;
	height: 100%;
	background: var(--sz-bg-navy);
	border-left: 1px solid var(--sz-glass-border);
	padding: 26px 22px;
	transform: translateX(100%);
	transition: transform .3s ease;
	overflow-y: auto;
}
.sz-mobile-menu.is-open .sz-mobile-menu-panel {
	transform: translateX(0);
}
.sz-mobile-menu-close {
	background: var(--sz-glass-bg);
	border: 1px solid var(--sz-glass-border);
	border-radius: 10px;
	width: 36px;
	height: 36px;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	margin-bottom: 24px;
}
.sz-mobile-menu ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.sz-mobile-menu ul a {
	display: block;
	padding: 12px 4px;
	font-size: 15px;
	color: var(--sz-text);
	border-bottom: 1px solid var(--sz-glass-border);
}

/* =========================================================
   15. RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
	.sz-main-layout {
		grid-template-columns: 1fr;
	}
	.sz-sidebar {
		position: static;
	}
	.sz-single-body-layout {
		grid-template-columns: 1fr;
	}
	.sz-toc {
		position: static;
		order: 2;
	}
	.sz-related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.sz-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.sz-nav-main, .sz-search-form { display: none; }
	.sz-burger { display: flex; }
	.sz-hero-grid {
		grid-template-columns: 1fr;
	}
	.sz-hero-grid .sz-card:first-child {
		grid-column: span 1;
		grid-row: span 1;
	}
	.sz-hero-grid .sz-card:first-child .sz-card-thumb {
		height: 220px;
	}
	.sz-posts-feed {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.sz-single-title { font-size: 24px; }
	.sz-related-grid { grid-template-columns: 1fr; }
	.sz-footer-grid { grid-template-columns: 1fr; }
	.sz-author-card { flex-direction: column; }
	.sz-brand .sz-brand-badge { display: none; }
}
