/*
 * Blog — Archive & Single Post styles.
 *
 * Depends on: variables.css, base.css, components.css
 *
 * @package Vinelec
 */

/* ─────────────────────────────────────────────────────────
   SHARED ATOMS
───────────────────────────────────────────────────────── */

.cat-pill {
	display: inline-flex;
	align-items: center;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.03em;
	padding: 3px 10px;
	border-radius: 100px;
	background: rgba(47, 201, 122, 0.1);
	color: var(--clr-accent);
	border: 1px solid rgba(47, 201, 122, 0.22);
	white-space: nowrap;
	text-decoration: none;
	transition: opacity 0.15s;
}

.cat-pill.blue   { background: rgba(44, 91, 255, 0.1);   color: #7aa3ff; border-color: rgba(44, 91, 255, 0.25); }
.cat-pill.purple { background: rgba(160, 110, 255, 0.1); color: #b07cff; border-color: rgba(160, 110, 255, 0.25); }
.cat-pill.amber  { background: rgba(255, 185, 50, 0.1);  color: #ffb832; border-color: rgba(255, 185, 50, 0.25); }

.read-time {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: var(--clr-muted);
	white-space: nowrap;
}

.author-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
	flex-shrink: 0;
	text-decoration: none;
	line-height: 1;
	user-select: none;
}

.author-avatar.av-lg { width: 40px; height: 40px; font-size: 14px; }

.av-blue   { background: rgba(44, 91, 255, 0.2);   color: #7aa3ff; }
.av-green  { background: rgba(47, 201, 122, 0.2);  color: var(--clr-accent); }
.av-purple { background: rgba(160, 110, 255, 0.2); color: #b07cff; }

/* ─────────────────────────────────────────────────────────
   ARCHIVE — PAGE HEADER
───────────────────────────────────────────────────────── */

.blog-page-header {
	padding: 56px 0 44px;
	border-bottom: 1px solid var(--clr-border);
}

.bph-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clr-accent);
	margin-bottom: 14px;
}

.blog-page-header h1 {
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 700;
	color: var(--clr-text-light);
	line-height: 1.1;
	letter-spacing: -0.025em;
	text-wrap: balance;
	margin-bottom: 12px;
}

.bph-desc {
	font-size: 16px;
	color: var(--clr-muted);
	max-width: 500px;
	line-height: 1.6;
	margin: 0;
}

/* ─────────────────────────────────────────────────────────
   ARCHIVE — FILTER BAR
───────────────────────────────────────────────────────── */

.blog-filter-bar {
	padding: 28px 0 22px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--clr-border);
}

.blog-filter-bar .filter-pill {
	background: transparent;
	border: 1px solid var(--clr-border);
	color: var(--clr-muted);
	font-size: 12px;
	font-weight: 500;
	padding: 5px 14px;
	border-radius: 100px;
	text-decoration: none;
	transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.blog-filter-bar .filter-pill:hover {
	color: var(--clr-text-light);
	border-color: rgba(255, 255, 255, 0.25);
}

.blog-filter-bar .filter-pill.active {
	background: rgba(44, 91, 255, 0.12);
	border-color: rgba(44, 91, 255, 0.35);
	color: #7aa3ff;
}

/* ─────────────────────────────────────────────────────────
   ARCHIVE — POST GRID
───────────────────────────────────────────────────────── */

.blog-grid {
	padding: 44px 0 56px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

/* ─────────────────────────────────────────────────────────
   BLOG CARD
───────────────────────────────────────────────────────── */

.blog-card {
	background: var(--clr-bg-card);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
	border-color: rgba(44, 91, 255, 0.35);
	transform: translateY(-3px);
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
}

/* Stretched link — makes whole card clickable */
.bc-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* Card image */
.bc-image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	position: relative;
}

.bc-img-inner {
	position: absolute;
	inset: 0;
	transition: transform 0.45s ease;
}

.blog-card:hover .bc-img-inner { transform: scale(1.05); }

.bc-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bc-thumb-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #0a1028 0%, #0d2060 50%, #0a1840 100%);
}

/* Card body */
.bc-body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.bc-meta {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bc-meta .read-time { margin-left: auto; }

.bc-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--clr-text-light);
	line-height: 1.45;
	text-wrap: balance;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
}

.bc-title a {
	color: inherit;
	text-decoration: none;
}

.bc-excerpt {
	font-size: 12.5px;
	color: var(--clr-muted);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	margin: 0;
}

.bc-footer {
	display: flex;
	align-items: center;
	gap: 9px;
	padding-top: 13px;
	border-top: 1px solid var(--clr-border);
	margin-top: auto;
	position: relative;
	z-index: 2;
}

.bc-author-name { font-size: 12px; font-weight: 500; color: var(--clr-text); }
.bc-date { font-size: 11px; color: var(--clr-muted); margin-left: auto; font-variant-numeric: tabular-nums; }

/* ─────────────────────────────────────────────────────────
   ARCHIVE — PAGINATION
───────────────────────────────────────────────────────── */

.blog-pagination { padding-bottom: 72px; }

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

.blog-pagination .page-numbers {
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border-radius: 8px;
	border: 1px solid var(--clr-border);
	background: transparent;
	color: var(--clr-muted);
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.blog-pagination .page-numbers:hover {
	border-color: rgba(255, 255, 255, 0.2);
	color: var(--clr-text-light);
}

.blog-pagination .page-numbers.current {
	background: var(--clr-primary);
	border-color: var(--clr-primary);
	color: #fff;
}

.blog-pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
	pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   SINGLE — HERO
───────────────────────────────────────────────────────── */

.single-post { padding: 0; }

.sp-hero {
	position: relative;
	height: 460px;
	overflow: hidden;
}

.sp-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.sp-hero-default {
	background-image: none !important;
	background: linear-gradient(135deg, #080f20 0%, #0c2060 45%, #143380 70%, #091840 100%);
}

.sp-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(5, 14, 26, 0) 0%,
		rgba(5, 14, 26, 0.2) 35%,
		rgba(5, 14, 26, 0.75) 72%,
		rgba(5, 14, 26, 1) 100%
	);
}

.sp-hero-bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

.sp-hero-content {
	padding-bottom: 36px;
	text-align: center;
}

.sp-hero-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 14px;
}

.sp-hero-content h1 {
	font-size: clamp(24px, 3.2vw, 42px);
	font-weight: 700;
	color: #fff;
	line-height: 1.15;
	letter-spacing: -0.025em;
	text-wrap: balance;
	max-width: 820px;
	margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────
   SINGLE — BODY LAYOUT (content + sidebar)
───────────────────────────────────────────────────────── */

.sp-body-wrap {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 52px;
	padding: 44px 0 80px;
	align-items: start;
}

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

/* ─────────────────────────────────────────────────────────
   SINGLE — BYLINE
───────────────────────────────────────────────────────── */

.sp-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--clr-border);
	margin-bottom: 32px;
}

.sp-byline-name { font-size: 14px; font-weight: 600; color: var(--clr-text-light); }
.sp-byline-date { font-size: 11.5px; color: var(--clr-muted); margin-top: 2px; }

.sp-byline-sep {
	width: 1px;
	height: 28px;
	background: var(--clr-border);
	margin: 0 6px;
	flex-shrink: 0;
}

.sp-byline-rt {
	font-size: 12.5px;
	color: var(--clr-muted);
	display: flex;
	align-items: center;
	gap: 6px;
}

/* ─────────────────────────────────────────────────────────
   SINGLE — FEATURED IMAGE
───────────────────────────────────────────────────────── */

.sp-featured-image {
	margin-bottom: 36px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--clr-border);
}

.sp-feat-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
}

/* ─────────────────────────────────────────────────────────
   SINGLE — ARTICLE CONTENT TYPOGRAPHY
───────────────────────────────────────────────────────── */

.sp-content > p:first-child {
	font-size: 17px;
	line-height: 1.7;
	color: var(--clr-text-light);
	margin-bottom: 26px;
}

.sp-content p {
	font-size: 15px;
	line-height: 1.8;
	color: var(--clr-text);
	margin-bottom: 20px;
}

.sp-content h2 {
	font-size: 22px;
	font-weight: 700;
	color: var(--clr-text-light);
	line-height: 1.25;
	letter-spacing: -0.02em;
	text-wrap: balance;
	margin: 36px 0 14px;
}

.sp-content h3 {
	font-size: 18px;
	font-weight: 600;
	color: var(--clr-text-light);
	line-height: 1.3;
	margin: 28px 0 12px;
}

.sp-content h4 {
	font-size: 15px;
	font-weight: 600;
	color: var(--clr-text-light);
	margin: 22px 0 10px;
}

.sp-content a {
	color: var(--clr-primary-soft);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.15s;
}

.sp-content a:hover { color: var(--clr-text-light); }

.sp-content blockquote {
	margin: 28px 0;
	padding: 18px 22px;
	border-left: 3px solid var(--clr-accent);
	background: rgba(47, 201, 122, 0.05);
	border-radius: 0 8px 8px 0;
}

.sp-content blockquote p {
	font-size: 15.5px;
	font-style: italic;
	color: var(--clr-text-light);
	margin: 0;
	line-height: 1.65;
}

.sp-content blockquote cite {
	display: block;
	font-size: 12px;
	font-style: normal;
	color: var(--clr-muted);
	margin-top: 10px;
	letter-spacing: 0.03em;
}

.sp-content ul,
.sp-content ol {
	padding-left: 0;
	margin-bottom: 20px;
	list-style: none;
}

.sp-content ul li,
.sp-content ol li {
	font-size: 15px;
	color: var(--clr-text);
	line-height: 1.7;
	padding-left: 18px;
	position: relative;
	margin-bottom: 6px;
}

.sp-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--clr-accent);
}

.sp-content ol { counter-reset: sp-list; }
.sp-content ol li { counter-increment: sp-list; }
.sp-content ol li::before {
	content: counter(sp-list) ".";
	position: absolute;
	left: 0;
	color: var(--clr-primary-soft);
	font-weight: 600;
	font-size: 12px;
}

.sp-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	display: block;
	margin: 24px 0;
}

.sp-content figure { margin: 28px 0; }

.sp-content figcaption {
	font-size: 12px;
	color: var(--clr-muted);
	text-align: center;
	margin-top: 8px;
}

.sp-content strong { font-weight: 600; color: var(--clr-text-light); }
.sp-content em { font-style: italic; }

.sp-content hr {
	border: none;
	border-top: 1px solid var(--clr-border);
	margin: 36px 0;
}

/* ─────────────────────────────────────────────────────────
   SINGLE — TAGS
───────────────────────────────────────────────────────── */

.sp-tags {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding: 28px 0;
	border-top: 1px solid var(--clr-border);
	margin-top: 40px;
}

.tags-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--clr-muted);
	margin-right: 4px;
}

.tag-pill {
	font-size: 12px;
	padding: 4px 12px;
	border-radius: 100px;
	border: 1px solid var(--clr-border);
	color: var(--clr-muted);
	text-decoration: none;
	transition: color 0.15s, border-color 0.15s;
}

.tag-pill:hover {
	color: var(--clr-text-light);
	border-color: rgba(255, 255, 255, 0.22);
}

/* ─────────────────────────────────────────────────────────
   SINGLE — RELATED POSTS
───────────────────────────────────────────────────────── */

.sp-related {
	background: var(--clr-bg-alt);
	padding: 60px 0;
}

.sr-header {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 28px;
}

.sr-header h2 {
	font-size: 20px;
	font-weight: 700;
	color: var(--clr-text-light);
	letter-spacing: -0.02em;
}

.sr-header span { font-size: 12px; color: var(--clr-muted); }

.sr-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

/* ─────────────────────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────────────────────── */

.sp-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 80px;
}

.sb-widget {
	background: var(--clr-bg-card);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	padding: 20px;
}

.sb-widget-title {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clr-muted);
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--clr-border);
}

/* Author widget */
.sb-author { text-align: center; }

.sb-author .author-avatar {
	width: 56px;
	height: 56px;
	font-size: 18px;
	margin: 0 auto 12px;
}

.sb-author-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--clr-text-light);
	margin-bottom: 3px;
}

.sb-author-bio {
	font-size: 12px;
	color: var(--clr-muted);
	line-height: 1.6;
	margin: 8px 0 0;
}

/* Recent posts widget */
.sb-recent {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sb-recent-item {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	text-decoration: none;
	transition: opacity 0.15s;
}

.sb-recent-item:hover { opacity: 0.75; }

.sb-recent-thumb {
	position: relative;
	width: 58px;
	height: 44px;
	border-radius: 6px;
	flex-shrink: 0;
	overflow: hidden;
	background: linear-gradient(135deg, #0a1028 0%, #0d2060 50%, #0a1840 100%);
}

.sb-recent-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sb-recent-ttl {
	font-size: 12px;
	font-weight: 500;
	color: var(--clr-text-light);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 4px;
}

.sb-recent-date { font-size: 11px; color: var(--clr-muted); }

/* Categories widget */
.sb-cats { list-style: none; margin: 0; padding: 0; }

.sb-cats li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	font-size: 13px;
	color: var(--clr-text);
	border-bottom: 1px solid var(--clr-border);
	text-decoration: none;
	transition: color 0.15s;
}

.sb-cats li:last-child a { border-bottom: none; }
.sb-cats li a:hover { color: var(--clr-accent); }

.sb-services li.active a {
	color: var(--clr-accent);
	font-weight: 600;
}

.sb-cats-count {
	font-size: 11px;
	color: var(--clr-muted);
	background: rgba(255, 255, 255, 0.06);
	padding: 2px 7px;
	border-radius: 100px;
	font-variant-numeric: tabular-nums;
}

/* CTA widget */
.sb-cta {
	background: linear-gradient(135deg, rgba(44, 91, 255, 0.12), rgba(47, 201, 122, 0.06));
	border: 1px solid rgba(44, 91, 255, 0.28);
	border-radius: var(--radius-lg);
	padding: 24px 20px;
	text-align: center;
}

.sb-cta-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(44, 91, 255, 0.2);
	border: 1px solid rgba(44, 91, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
	color: #7aa3ff;
}

.sb-cta h3 {
	font-size: 14px;
	font-weight: 700;
	color: var(--clr-text-light);
	margin-bottom: 8px;
	line-height: 1.4;
	text-wrap: balance;
}

.sb-cta p {
	font-size: 12px;
	color: var(--clr-muted);
	line-height: 1.55;
	margin-bottom: 16px;
}

.sb-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--clr-primary);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	padding: 9px 18px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.15s, transform 0.15s;
}

.sb-cta-btn:hover {
	background: var(--clr-primary-hover);
	transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
	.sp-body-wrap { grid-template-columns: 1fr 260px; gap: 36px; }
	.sr-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.blog-grid { grid-template-columns: 1fr; }
	.sr-grid { grid-template-columns: 1fr; }
	.sp-body-wrap { grid-template-columns: 1fr; padding: 32px 0 60px; }
	.sp-sidebar { position: static; }
	.sp-hero { height: 360px; }
	.sp-byline { flex-wrap: wrap; }
	.sp-byline-sep { display: none; }
}

/* =================================================================
   BLOG / ARCHIVE — TRANSPARENT HEADER + BANNER
   ================================================================= */

/* Make .site-header transparent and overlay the banner */
.has-page-banner .site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom-color: transparent;
	z-index: 100;
}

.blog-banner {
	background-image: url('../images/blog-banner.svg');
	background-size: cover;
	background-position: center top;
	background-color: var(--clr-bg);
	position: relative;
	display: flex;
	align-items: flex-start; /* anchor content to top */
}

/* Fade banner bottom into page background */
.blog-banner::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 220px;
	background: linear-gradient(to bottom, transparent, var(--clr-bg));
	pointer-events: none;
}

.blog-banner .container {
	position: relative;
	z-index: 2; /* above ::after gradient */
	padding-top: 150px; /* clears transparent nav (~80px) + breathing room */
}


.blog-banner-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-wider);
	text-transform: uppercase;
	color: var(--clr-accent);
	border-left: 3px solid var(--clr-accent);
	padding-left: 10px;
	margin-bottom: 16px;
}

.blog-banner-title {
	font-size: clamp(36px, 5vw, 64px);
	font-weight: var(--fw-extrabold);
	color: var(--clr-white);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tight);
	margin-bottom: 16px;
}

.blog-banner-desc {
	font-size: var(--fs-md);
	color: var(--clr-text);
	line-height: var(--lh-relaxed);
	max-width: 480px;
	margin: 0;
}

/* =================================================================
   EMPTY / NO-RESULTS STATE  (.archive-empty)
   ================================================================= */

.archive-empty {
	position: relative;
	text-align: center;
	padding: 72px 0 96px;
	overflow: hidden;
}

/* Decorative corner SVG */
.ae-deco {
	position: absolute;
	top: 0;
	right: 0;
	width: 400px;
	height: 300px;
	opacity: 0.55;
	pointer-events: none;
}

.ae-deco svg {
	width: 100%;
	height: 100%;
}

/* ── Icon ── */
.ae-icon-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	margin: 0 auto 36px;
}

.ae-icon-ring {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(44, 91, 255, 0.25);
}

.ae-ring-1 { inset: 0; }
.ae-ring-2 { inset: -14px; border-color: rgba(44, 91, 255, 0.14); }
.ae-ring-3 { inset: -28px; border-color: rgba(44, 91, 255, 0.07); }

.ae-icon {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: radial-gradient(
		circle at 50% 50%,
		rgba(44, 91, 255, 0.2) 0%,
		rgba(44, 91, 255, 0.06) 100%
	);
	border: 1px solid rgba(44, 91, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--clr-primary-soft);
	position: relative;
	z-index: 1;
}

.ae-icon svg {
	width: 36px;
	height: 36px;
}

/* ── Text ── */
.ae-body {
	position: relative;
	z-index: 1;
	max-width: 520px;
	margin: 0 auto;
}

.ae-overline {
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-wider);
	text-transform: uppercase;
	color: var(--clr-accent);
	margin-bottom: 12px;
}

.ae-title {
	font-size: clamp(22px, 2.8vw, 34px);
	font-weight: var(--fw-bold);
	color: var(--clr-white);
	line-height: var(--lh-snug);
	letter-spacing: var(--ls-tight);
	margin-bottom: 16px;
	text-wrap: balance;
}

.ae-desc {
	font-size: var(--fs-md);
	color: var(--clr-muted);
	line-height: var(--lh-relaxed);
	max-width: 460px;
	margin: 0 auto 32px;
}

.ae-desc strong {
	color: var(--clr-text-light);
	font-weight: var(--fw-semibold);
}

/* ── Search form ── */
.ae-search-wrap {
	max-width: 400px;
	margin: 0 auto 8px;
}

.ae-search-wrap .search-form {
	display: flex;
	gap: 10px;
}

.ae-search-wrap .search-field {
	flex: 1;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-md);
	padding: 11px 16px;
	font-family: var(--font-primary);
	font-size: var(--fs-sm);
	color: var(--clr-white);
	outline: none;
	transition: border-color var(--ease);
}

.ae-search-wrap .search-field:focus { border-color: var(--clr-primary); }

.ae-search-wrap .search-submit {
	background: var(--clr-primary);
	color: #fff;
	border: none;
	border-radius: var(--radius-md);
	padding: 11px 20px;
	font-family: var(--font-primary);
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	cursor: pointer;
	transition: background var(--ease), transform var(--ease);
	white-space: nowrap;
}

.ae-search-wrap .search-submit:hover {
	background: var(--clr-primary-hover);
	transform: translateY(-1px);
}

/* ── Actions ── */
.ae-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* ── Floating particles ── */
.ae-particles {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.ae-p {
	position: absolute;
	border-radius: 50%;
}

.ae-p-1 { width: 6px; height: 6px; background: rgba(44, 91, 255, 0.35); top: 18%; left: 12%; }
.ae-p-2 { width: 4px; height: 4px; background: rgba(47, 201, 122, 0.3); top: 30%; left: 88%; }
.ae-p-3 { width: 5px; height: 5px; background: rgba(44, 91, 255, 0.28); top: 65%; left: 6%;  }
.ae-p-4 { width: 3px; height: 3px; background: rgba(91, 130, 255, 0.4); top: 72%; left: 92%; }
.ae-p-5 { width: 4px; height: 4px; background: rgba(47, 201, 122, 0.25); top: 85%; left: 22%; }
.ae-p-6 { width: 5px; height: 5px; background: rgba(44, 91, 255, 0.3); top: 10%; left: 75%; }

/* ── Responsive ── */
@media (max-width: 768px) {
	.blog-banner::after { height: 160px; }
	.blog-banner .container { padding-top: 110px; }
	.blog-banner-title { font-size: clamp(28px, 7vw, 42px); }
	.ae-deco { width: 220px; height: 165px; }
	.archive-empty { padding: 56px 0 72px; }
}
