/**
 * AuraWrite - Soft Midnight Design System
 * Eye-friendly dark theme with warm undertones
 * Inspired by Discord, GitHub Dark, Notion
 *
 * @package AuraWrite
 */

/* ── Reset & Base ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
	/* Softer, muted purple-blue palette — easy on eyes */
	--aw-primary: #7c6ce7;
	--aw-primary-light: #9d90ef;
	--aw-secondary: #4db8c7;
	--aw-accent: #e88aaf;
	--aw-highlight: #6ec8d6;
	--aw-success: #5ec78a;

	/* Warm dark backgrounds — never pure black */
	--aw-dark: #1b1e2e;
	--aw-dark-soft: #212438;
	--aw-surface: #272b40;
	--aw-surface-light: #313650;
	--aw-surface-hover: #363c56;

	/* Soft text — never pure white */
	--aw-text: #d4d8e8;
	--aw-text-light: #9ba3be;
	--aw-text-muted: #6f7899;
	--aw-bg: #1e2134;
	--aw-white: #eef0f6;

	/* Subtle borders */
	--aw-border: rgba(255,255,255,.1);
	--aw-border-light: rgba(255,255,255,.06);

	/* Softer shadows — no harsh blacks */
	--aw-shadow: 0 4px 20px rgba(0,0,0,.22);
	--aw-shadow-hover: 0 10px 35px rgba(124,108,231,.15);
	--aw-shadow-soft: 0 2px 12px rgba(0,0,0,.15);

	/* Rounded, friendly corners */
	--aw-radius: 14px;
	--aw-radius-sm: 10px;
	--aw-radius-lg: 20px;
	--aw-radius-xl: 28px;

	/* Muted, comfortable gradients */
	--aw-gradient: linear-gradient(135deg, #7c6ce7, #4db8c7);
	--aw-gradient-hot: linear-gradient(135deg, #e88aaf, #7c6ce7);
	--aw-gradient-alt: linear-gradient(135deg, #4db8c7, #7c6ce7);
	--aw-gradient-warm: linear-gradient(135deg, #7c6ce7, #e88aaf);
	--aw-gradient-surface: linear-gradient(160deg, #272b40, #1e2134);

	/* Glass effects */
	--aw-glass: rgba(39,43,64,.75);
	--aw-glass-strong: rgba(39,43,64,.92);
	--aw-glass-border: rgba(255,255,255,.1);
	--aw-glass-border-hover: rgba(124,108,231,.35);

	/* Layout */
	--aw-max-width: 1240px;
	--aw-content-width: 820px;
	--aw-sidebar-width: 360px;
	--aw-header-height: 72px;

	/* Typography */
	--aw-font-primary: 'Inter', system-ui, -apple-system, sans-serif;
	--aw-font-heading: 'Inter', system-ui, -apple-system, sans-serif;

	/* Transitions */
	--aw-transition: all .3s cubic-bezier(.4,0,.2,1);
	--aw-transition-fast: all .15s cubic-bezier(.4,0,.2,1);
}

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

body {
	font-family: var(--aw-font-primary);
	font-size: 16px;
	line-height: 1.75;
	color: var(--aw-text);
	background: var(--aw-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* Very subtle ambient glow — adds warmth */
	background-image:
		radial-gradient(ellipse at 15% 50%, rgba(124,108,231,.03) 0%, transparent 50%),
		radial-gradient(ellipse at 85% 20%, rgba(77,184,199,.02) 0%, transparent 50%);
	background-attachment: fixed;
}

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

a {
	color: var(--aw-primary-light);
	text-decoration: none;
	transition: var(--aw-transition);
}

a:hover, a:focus {
	color: var(--aw-highlight);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--aw-font-heading);
	font-weight: 700;
	line-height: 1.3;
	color: var(--aw-white);
	letter-spacing: -.01em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1.25em; }

ul, ol { padding-left: 1.5em; }

blockquote {
	border-left: 3px solid var(--aw-primary);
	padding: 1.25em 1.75em;
	margin: 1.75em 0;
	background: rgba(124,108,231,.06);
	border-radius: 0 var(--aw-radius-sm) var(--aw-radius-sm) 0;
	font-style: italic;
	color: var(--aw-text-light);
}

::selection {
	background: rgba(124,108,231,.35);
	color: var(--aw-white);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--aw-dark); }
::-webkit-scrollbar-thumb { background: var(--aw-surface-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--aw-primary); }

/* ── Utility ── */
.aw-container {
	max-width: var(--aw-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

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

.screen-reader-text:focus {
	background-color: var(--aw-surface);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(124,108,231,.5);
	clip: auto !important; clip-path: none;
	color: var(--aw-white);
	display: block; font-size: .875rem; font-weight: 600;
	height: auto; left: 5px; line-height: normal;
	padding: 15px 23px 14px; top: 5px; width: auto; z-index: 100000;
}

.aw-skip-link:focus { z-index: 999999; }

/* ── Buttons ── */
.aw-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	border-radius: var(--aw-radius-sm);
	font-weight: 600;
	font-size: .9rem;
	transition: var(--aw-transition);
	border: none;
	cursor: pointer;
	font-family: inherit;
	position: relative;
}

.aw-btn--primary {
	background: var(--aw-gradient);
	color: #fff;
	box-shadow: 0 3px 14px rgba(124,108,231,.25);
}

.aw-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(124,108,231,.3);
	color: #fff;
}

.aw-btn--hero {
	background: rgba(255,255,255,.1);
	color: var(--aw-white);
	padding: 16px 36px;
	font-size: 1rem;
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,.18);
}

.aw-btn--hero:hover {
	background: rgba(255,255,255,.16);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,.2);
	color: var(--aw-white);
}

.aw-btn--load-more {
	background: var(--aw-gradient);
	color: #fff;
	padding: 14px 40px;
	box-shadow: 0 3px 14px rgba(124,108,231,.25);
}

/* ── Badge ── */
.aw-badge {
	display: inline-block;
	padding: 5px 14px;
	background: var(--aw-gradient);
	color: #fff;
	border-radius: 20px;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.aw-badge--sm {
	padding: 3px 10px;
	font-size: .65rem;
}

/* ── Progress Bar ── */
.aw-progress-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	z-index: 9999;
	background: rgba(255,255,255,.05);
}

.aw-progress-bar__fill {
	height: 100%;
	width: 0;
	background: var(--aw-gradient);
	transition: width .1s linear;
	box-shadow: 0 0 8px rgba(124,108,231,.3);
}

/* ── Header ── */
.aw-header {
	background: var(--aw-glass);
	backdrop-filter: blur(20px) saturate(150%);
	-webkit-backdrop-filter: blur(20px) saturate(150%);
	border-bottom: 1px solid var(--aw-glass-border);
	position: relative;
	z-index: 100;
}

.aw-header.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	box-shadow: 0 4px 24px rgba(0,0,0,.3);
	animation: aw-slideDown .35s cubic-bezier(.4,0,.2,1);
}

@keyframes aw-slideDown {
	from { transform: translateY(-100%); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.aw-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--aw-header-height);
	gap: 24px;
}

.aw-header__brand {
	flex-shrink: 0;
}

.aw-site-title a {
	font-size: 1.6rem;
	font-weight: 800;
	background: var(--aw-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -.02em;
}

.aw-site-description {
	font-size: .72rem;
	color: var(--aw-text-muted);
	margin: 0;
	letter-spacing: .02em;
}

.aw-logo img {
	max-height: 45px;
	width: auto;
}

/* ── Navigation ── */
.aw-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.aw-nav__list {
	display: flex;
	list-style: none;
	gap: 2px;
	padding: 0;
	margin: 0;
}

.aw-nav__list li {
	position: relative;
}

.aw-nav__list li a {
	display: block;
	padding: 8px 18px;
	color: var(--aw-text-light);
	font-weight: 500;
	font-size: .88rem;
	border-radius: var(--aw-radius-sm);
	transition: var(--aw-transition);
}

.aw-nav__list li a:hover,
.aw-nav__list li.current-menu-item > a {
	color: var(--aw-white);
	background: rgba(124,108,231,.1);
}

.aw-nav__list li.current-menu-item > a {
	background: rgba(124,108,231,.14);
}

/* Dropdown */
.aw-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 240px;
	background: var(--aw-glass-strong);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: var(--aw-radius);
	border: 1px solid var(--aw-glass-border);
	box-shadow: 0 16px 48px rgba(0,0,0,.35);
	padding: 8px;
	list-style: none;
	z-index: 100;
}

.aw-nav__list li:hover > .sub-menu {
	display: block;
	animation: aw-fadeUp .2s ease;
}

@keyframes aw-fadeUp {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.aw-nav__list .sub-menu li a {
	padding: 10px 16px;
	font-size: .85rem;
	color: var(--aw-text-light);
	border-radius: var(--aw-radius-sm);
}

.aw-nav__list .sub-menu li a:hover {
	background: rgba(124,108,231,.1);
	color: var(--aw-white);
}

.aw-nav__list .sub-menu .sub-menu {
	top: -8px;
	left: calc(100% + 4px);
}

/* Hamburger */
.aw-nav__toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
}

.aw-hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 24px;
}

.aw-hamburger__line {
	height: 2px;
	background: var(--aw-text);
	border-radius: 2px;
	transition: var(--aw-transition);
}

.aw-nav__toggle[aria-expanded="true"] .aw-hamburger__line:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
	background: var(--aw-primary);
}
.aw-nav__toggle[aria-expanded="true"] .aw-hamburger__line:nth-child(2) {
	opacity: 0;
}
.aw-nav__toggle[aria-expanded="true"] .aw-hamburger__line:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
	background: var(--aw-primary);
}

/* Header Actions */
.aw-header__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.aw-search-toggle,
.aw-theme-toggle {
	background: none;
	border: 1px solid transparent;
	cursor: pointer;
	padding: 10px;
	color: var(--aw-text-light);
	border-radius: var(--aw-radius-sm);
	transition: var(--aw-transition);
}

.aw-search-toggle:hover,
.aw-theme-toggle:hover {
	background: rgba(124,108,231,.1);
	color: var(--aw-primary-light);
	border-color: rgba(124,108,231,.15);
}

/* Search Overlay */
.aw-search-overlay {
	display: none;
	background: var(--aw-glass-strong);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--aw-glass-border);
	padding: 20px 0;
}

.aw-search-overlay.is-open {
	display: block;
	animation: aw-fadeUp .25s ease;
}

.aw-search-form {
	display: flex;
	gap: 10px;
	max-width: 600px;
	margin: 0 auto;
}

.aw-search-form__input {
	flex: 1;
	padding: 14px 22px;
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
	font-size: 1rem;
	font-family: inherit;
	outline: none;
	background: rgba(255,255,255,.05);
	color: var(--aw-text);
	transition: var(--aw-transition);
}

.aw-search-form__input:focus {
	border-color: var(--aw-primary);
	box-shadow: 0 0 0 3px rgba(124,108,231,.12);
	background: rgba(124,108,231,.04);
}

.aw-search-form__input::placeholder {
	color: var(--aw-text-muted);
}

.aw-search-form__submit {
	padding: 14px 22px;
	background: var(--aw-gradient);
	color: #fff;
	border: none;
	border-radius: var(--aw-radius);
	cursor: pointer;
	transition: var(--aw-transition);
}

.aw-search-form__submit:hover {
	transform: scale(1.04);
}

/* Header Ad */
.aw-header-ad-wrap {
	background: var(--aw-dark-soft);
	padding: 10px 0;
	text-align: center;
	border-bottom: 1px solid var(--aw-border-light);
}

/* ── Hero Section ── */
.aw-hero {
	position: relative;
	padding: 80px 0 60px;
	color: var(--aw-white);
	overflow: hidden;
	background: linear-gradient(160deg, #2a2450 0%, #1e2134 40%, #1b2a35 100%);
}

.aw-hero::before {
	content: '';
	position: absolute;
	top: -30%;
	right: -8%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(124,108,231,.12) 0%, transparent 65%);
	border-radius: 50%;
	filter: blur(40px);
	animation: aw-float 10s ease-in-out infinite;
}

.aw-hero::after {
	content: '';
	position: absolute;
	bottom: -15%;
	left: -8%;
	width: 350px;
	height: 350px;
	background: radial-gradient(circle, rgba(77,184,199,.08) 0%, transparent 65%);
	border-radius: 50%;
	filter: blur(40px);
	animation: aw-float 12s ease-in-out infinite reverse;
}

@keyframes aw-float {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(20px, -15px); }
}

.aw-hero .aw-container {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 48px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.aw-hero__title {
	font-size: 3rem;
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 18px;
	color: var(--aw-white);
	letter-spacing: -.03em;
}

.aw-hero__subtitle {
	font-size: 1.1rem;
	color: rgba(212,216,232,.7);
	margin-bottom: 32px;
	line-height: 1.7;
}

/* Featured Slider */
.aw-featured-slider {
	position: relative;
	border-radius: var(--aw-radius-lg);
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0,0,0,.3);
	border: 1px solid rgba(255,255,255,.08);
}

.aw-featured-slide {
	display: none;
	position: relative;
}

.aw-featured-slide.is-active {
	display: block;
	animation: aw-fadeIn .5s ease;
}

@keyframes aw-fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.aw-featured-slide__img img {
	width: 100%;
	height: 380px;
	object-fit: cover;
}

.aw-featured-slide__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px 32px 28px;
	background: linear-gradient(transparent, rgba(27,30,46,.9));
}

.aw-featured-slide__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.aw-featured-slide__time {
	font-size: .78rem;
	color: rgba(212,216,232,.6);
}

.aw-featured-slide__title {
	font-size: 1.45rem;
	color: var(--aw-white);
	margin-bottom: 8px;
}

.aw-featured-slide__title a {
	color: var(--aw-white);
}

.aw-featured-slide__title a:hover {
	color: var(--aw-highlight);
}

.aw-featured-slide__excerpt {
	font-size: .88rem;
	color: rgba(212,216,232,.55);
	margin: 0;
}

.aw-featured-slider__dots {
	position: absolute;
	bottom: 14px;
	right: 24px;
	display: flex;
	gap: 8px;
}

.aw-featured-slider__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,.3);
	background: transparent;
	cursor: pointer;
	transition: var(--aw-transition);
	padding: 0;
}

.aw-featured-slider__dot.is-active,
.aw-featured-slider__dot:hover {
	background: var(--aw-primary);
	border-color: var(--aw-primary);
}

/* ── Trending Section ── */
.aw-trending {
	padding: 48px 0;
	background: var(--aw-dark-soft);
	border-bottom: 1px solid var(--aw-border-light);
	position: relative;
}

.aw-trending::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--aw-gradient);
	opacity: .25;
}

.aw-section-header {
	margin-bottom: 28px;
}

.aw-section-header__title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--aw-white);
}

.aw-section-header__title svg {
	color: var(--aw-highlight);
}

.aw-trending__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.aw-trending__item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px;
	background: var(--aw-surface);
	border-radius: var(--aw-radius);
	border: 1px solid var(--aw-border-light);
	transition: var(--aw-transition);
}

.aw-trending__item:hover {
	border-color: rgba(124,108,231,.25);
	background: var(--aw-surface-hover);
	transform: translateY(-2px);
	box-shadow: var(--aw-shadow-soft);
}

.aw-trending__num {
	font-size: 2rem;
	font-weight: 900;
	background: var(--aw-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1;
	flex-shrink: 0;
	opacity: .7;
}

.aw-trending__cat {
	font-size: .68rem;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--aw-secondary);
	letter-spacing: .06em;
}

.aw-trending__title {
	font-size: .92rem;
	font-weight: 600;
	margin: 5px 0;
	line-height: 1.4;
}

.aw-trending__title a { color: var(--aw-text); }
.aw-trending__title a:hover { color: var(--aw-white); }

.aw-trending__meta {
	font-size: .73rem;
	color: var(--aw-text-muted);
	display: flex;
	gap: 6px;
}

/* ── Main Content ── */
.aw-main {
	padding: 48px 0;
	min-height: 60vh;
}

.aw-content-wrap {
	display: grid;
	grid-template-columns: 1fr var(--aw-sidebar-width);
	gap: 40px;
	align-items: start;
}

.aw-content-wrap--full { grid-template-columns: 1fr; }

.aw-sidebar--left .aw-content-wrap {
	grid-template-columns: var(--aw-sidebar-width) 1fr;
}

.aw-sidebar--left .aw-content-wrap .aw-sidebar { order: -1; }

.aw-no-sidebar .aw-content-wrap {
	grid-template-columns: 1fr;
	max-width: var(--aw-content-width);
}

/* ── Featured Categories ── */
.aw-featured-cats {
	margin-bottom: 40px;
}

.aw-featured-cats__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.aw-featured-cats__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 22px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border-light);
	border-radius: 50px;
	font-weight: 500;
	font-size: .88rem;
	color: var(--aw-text-light);
	transition: var(--aw-transition);
}

.aw-featured-cats__item:hover {
	border-color: var(--aw-primary);
	color: var(--aw-primary-light);
	background: rgba(124,108,231,.08);
	transform: translateY(-1px);
}

.aw-featured-cats__count {
	background: rgba(255,255,255,.06);
	padding: 2px 10px;
	border-radius: 20px;
	font-size: .72rem;
	color: var(--aw-text-muted);
	font-weight: 600;
}

/* ── Post Cards ── */
.aw-posts--grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.aw-posts--list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.aw-posts--list .aw-card {
	display: grid;
	grid-template-columns: 300px 1fr;
}

.aw-card {
	background: var(--aw-surface);
	border-radius: var(--aw-radius);
	overflow: hidden;
	border: 1px solid var(--aw-border-light);
	transition: var(--aw-transition);
}

.aw-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--aw-shadow-hover);
	border-color: rgba(124,108,231,.2);
}

.aw-card__thumb {
	overflow: hidden;
}

.aw-card__thumb img {
	width: 100%;
	height: 230px;
	object-fit: cover;
	transition: transform .4s ease;
}

.aw-card:hover .aw-card__thumb img {
	transform: scale(1.04);
}

.aw-posts--list .aw-card__thumb img {
	height: 100%;
	min-height: 210px;
}

.aw-card__body {
	padding: 22px;
}

.aw-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.aw-card__reading-time {
	font-size: .72rem;
	color: var(--aw-text-muted);
	font-weight: 500;
}

.aw-card__title {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 10px;
	line-height: 1.4;
}

.aw-card__title a { color: var(--aw-text); }
.aw-card__title a:hover { color: var(--aw-white); }

.aw-card__excerpt {
	font-size: .88rem;
	color: var(--aw-text-muted);
	line-height: 1.65;
	margin-bottom: 18px;
}

.aw-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid var(--aw-border-light);
}

.aw-card__author {
	display: flex;
	align-items: center;
	gap: 8px;
}

.aw-card__avatar {
	border-radius: 50%;
	border: 2px solid var(--aw-surface-light);
}

.aw-card__author-name {
	font-size: .8rem;
	font-weight: 600;
	color: var(--aw-text-light);
}

.aw-card__date {
	font-size: .78rem;
	color: var(--aw-text-muted);
}

/* ── Single Post ── */
.aw-single__header {
	margin-bottom: 32px;
}

.aw-single__cats {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
}

.aw-single__title {
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 24px;
	letter-spacing: -.02em;
}

.aw-single__meta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	color: var(--aw-text-muted);
	font-size: .88rem;
}

.aw-single__author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.aw-single__avatar {
	border-radius: 50%;
	border: 2px solid var(--aw-primary);
}

.aw-single__author-name {
	font-weight: 600;
	color: var(--aw-text);
}

.aw-single__reading-time {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--aw-secondary);
}

.aw-single__featured {
	margin: 28px 0 36px;
	border-radius: var(--aw-radius-lg);
	overflow: hidden;
	border: 1px solid var(--aw-border-light);
	box-shadow: var(--aw-shadow-soft);
}

.aw-single__featured img {
	width: 100%;
	height: auto;
}

.aw-single__caption {
	text-align: center;
	font-size: .82rem;
	color: var(--aw-text-muted);
	padding: 12px;
	background: var(--aw-surface);
}

/* Single Content */
.aw-single__content {
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--aw-text);
}

.aw-single__content h2 {
	margin: 2.2em 0 .8em;
	padding-top: .5em;
	position: relative;
}

.aw-single__content h2::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 36px;
	height: 3px;
	background: var(--aw-gradient);
	border-radius: 2px;
}

.aw-single__content h3 {
	margin: 1.8em 0 .6em;
	color: var(--aw-primary-light);
}

.aw-single__content p { margin-bottom: 1.5em; }

.aw-single__content img {
	border-radius: var(--aw-radius);
	margin: 2em 0;
	border: 1px solid var(--aw-border-light);
}

.aw-single__content ul,
.aw-single__content ol { margin-bottom: 1.5em; }

.aw-single__content li {
	margin-bottom: .5em;
	color: var(--aw-text-light);
}

.aw-single__content li::marker {
	color: var(--aw-primary-light);
}

.aw-single__content pre {
	background: var(--aw-dark);
	color: var(--aw-text);
	padding: 24px;
	border-radius: var(--aw-radius);
	overflow-x: auto;
	font-size: .88rem;
	margin: 2em 0;
	border: 1px solid var(--aw-border-light);
}

.aw-single__content code {
	background: rgba(124,108,231,.1);
	padding: 3px 8px;
	border-radius: 6px;
	font-size: .88em;
	color: var(--aw-highlight);
}

.aw-single__content pre code {
	background: none;
	padding: 0;
	border: none;
	color: inherit;
}

.aw-single__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2em 0;
}

.aw-single__content th,
.aw-single__content td {
	padding: 12px 16px;
	border: 1px solid var(--aw-border);
	text-align: left;
}

.aw-single__content th {
	background: var(--aw-surface);
	font-weight: 600;
	color: var(--aw-white);
}

.aw-single__content td { color: var(--aw-text-light); }

.aw-single__content a {
	color: var(--aw-primary-light);
	text-decoration: underline;
	text-decoration-color: rgba(157,144,239,.3);
	text-underline-offset: 3px;
}

.aw-single__content a:hover {
	text-decoration-color: var(--aw-primary-light);
	color: var(--aw-white);
}

/* Tags */
.aw-single__tags {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 36px;
}

.aw-single__tags-label {
	font-weight: 600;
	font-size: .88rem;
	color: var(--aw-text-muted);
}

.aw-tag {
	padding: 5px 16px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border-light);
	border-radius: 20px;
	font-size: .78rem;
	color: var(--aw-text-light);
	transition: var(--aw-transition);
	font-weight: 500;
}

.aw-tag:hover {
	background: rgba(124,108,231,.1);
	border-color: var(--aw-primary);
	color: var(--aw-primary-light);
}

/* ── Share Buttons ── */
.aw-share { margin-top: 24px; }

.aw-share__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.aw-share__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: var(--aw-radius-sm);
	font-size: .78rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	border: none;
	transition: var(--aw-transition);
	color: #fff;
}

.aw-share__btn:hover {
	transform: translateY(-2px);
	color: #fff;
}

.aw-share__btn--facebook { background: #3b6cce; }
.aw-share__btn--twitter { background: #2d3542; border: 1px solid rgba(255,255,255,.1); }
.aw-share__btn--linkedin { background: #2071b5; }
.aw-share__btn--whatsapp { background: #30b566; }
.aw-share__btn--copy {
	background: var(--aw-surface);
	color: var(--aw-text-light);
	border: 1px solid var(--aw-border);
}
.aw-share__btn--copy:hover {
	color: var(--aw-primary-light);
	border-color: var(--aw-primary);
}

/* Sticky Share */
.aw-sticky-share {
	position: fixed;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 50;
	display: none;
}

.aw-sticky-share .aw-share__buttons {
	flex-direction: column;
	background: var(--aw-glass-strong);
	backdrop-filter: blur(12px);
	padding: 10px;
	border-radius: var(--aw-radius);
	border: 1px solid var(--aw-glass-border);
	box-shadow: var(--aw-shadow);
}

.aw-sticky-share .aw-share__btn span { display: none; }
.aw-sticky-share .aw-share__btn { padding: 10px; border-radius: 50%; }

/* ── Table of Contents ── */
.aw-toc {
	background: var(--aw-surface);
	border: 1px solid var(--aw-border-light);
	border-radius: var(--aw-radius);
	padding: 28px;
	margin: 28px 0 36px;
	position: relative;
}

.aw-toc::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--aw-gradient);
	border-radius: var(--aw-radius) var(--aw-radius) 0 0;
}

.aw-toc__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
}

.aw-toc__title {
	font-size: 1.05rem;
	margin: 0;
}

.aw-toc__toggle {
	background: rgba(124,108,231,.1);
	border: 1px solid rgba(124,108,231,.15);
	cursor: pointer;
	color: var(--aw-primary-light);
	font-size: .82rem;
	font-weight: 600;
	font-family: inherit;
	padding: 5px 14px;
	border-radius: 20px;
	transition: var(--aw-transition);
}

.aw-toc__toggle:hover { background: rgba(124,108,231,.16); }

.aw-toc__list {
	padding-left: 1.2em;
	margin: 0;
	list-style-type: decimal;
}

.aw-toc__list li {
	margin-bottom: 8px;
	padding: 4px 0;
}

.aw-toc__list a {
	color: var(--aw-text-light);
	font-size: .9rem;
	transition: var(--aw-transition);
}

.aw-toc__list a:hover {
	color: var(--aw-primary-light);
	padding-left: 4px;
}

.aw-toc__sub { padding-left: 1.2em; font-size: .85rem; }

.aw-toc.is-collapsed .aw-toc__list { display: none; }

/* ── Author Box ── */
.aw-author-box {
	display: flex;
	gap: 24px;
	padding: 32px;
	background: var(--aw-surface);
	border-radius: var(--aw-radius);
	border: 1px solid var(--aw-border-light);
	margin: 40px 0;
	position: relative;
	overflow: hidden;
}

.aw-author-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 3px;
	background: var(--aw-gradient-warm);
}

.aw-author-box__img {
	border-radius: 50%;
	border: 3px solid var(--aw-surface-light);
}

.aw-author-box__label {
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--aw-primary-light);
	font-weight: 700;
}

.aw-author-box__name {
	font-size: 1.15rem;
	margin: 6px 0 10px;
}

.aw-author-box__name a { color: var(--aw-white); }

.aw-author-box__bio {
	font-size: .9rem;
	color: var(--aw-text-muted);
	margin: 0;
	line-height: 1.7;
}

/* ── Related Posts ── */
.aw-related { margin: 48px 0; }

.aw-related__title {
	font-size: 1.3rem;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.aw-related__title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--aw-border);
}

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

.aw-related__item {
	background: var(--aw-surface);
	border-radius: var(--aw-radius);
	overflow: hidden;
	border: 1px solid var(--aw-border-light);
	transition: var(--aw-transition);
}

.aw-related__item:hover {
	transform: translateY(-4px);
	box-shadow: var(--aw-shadow-hover);
	border-color: rgba(124,108,231,.2);
}

.aw-related__thumb { overflow: hidden; }

.aw-related__thumb img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	transition: transform .4s ease;
}

.aw-related__item:hover .aw-related__thumb img {
	transform: scale(1.04);
}

.aw-related__content { padding: 18px; }

.aw-related__item-title {
	font-size: .95rem;
	font-weight: 600;
	margin-bottom: 8px;
	line-height: 1.4;
}

.aw-related__item-title a { color: var(--aw-text); }
.aw-related__item-title a:hover { color: var(--aw-white); }

.aw-related__content time {
	font-size: .78rem;
	color: var(--aw-text-muted);
}

/* ── Post Navigation ── */
.aw-post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 40px 0;
}

.aw-post-navigation .nav-links a {
	display: block;
	padding: 22px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border-light);
	border-radius: var(--aw-radius);
	transition: var(--aw-transition);
}

.aw-post-navigation .nav-links a:hover {
	border-color: rgba(124,108,231,.25);
	transform: translateY(-2px);
	box-shadow: var(--aw-shadow-soft);
}

.aw-post-nav__label {
	display: block;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--aw-primary-light);
	font-weight: 700;
	margin-bottom: 8px;
}

.aw-post-nav__title {
	font-weight: 600;
	color: var(--aw-text);
	font-size: .92rem;
}

/* ── Sidebar ── */
.aw-sidebar {
	position: sticky;
	top: calc(var(--aw-header-height) + 24px);
}

.aw-widget {
	background: var(--aw-surface);
	border-radius: var(--aw-radius);
	padding: 26px;
	margin-bottom: 24px;
	border: 1px solid var(--aw-border-light);
}

.aw-widget__title {
	font-size: .95rem;
	font-weight: 700;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--aw-border-light);
	position: relative;
}

.aw-widget__title::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 45px;
	height: 2px;
	background: var(--aw-gradient);
}

/* Popular Posts */
.aw-popular-posts__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.aw-popular-posts__item {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--aw-border-light);
	transition: var(--aw-transition);
}

.aw-popular-posts__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.aw-popular-posts__item:hover { padding-left: 3px; }

.aw-popular-posts__thumb img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: var(--aw-radius-sm);
	border: 1px solid var(--aw-border-light);
}

.aw-popular-posts__title {
	font-size: .88rem;
	font-weight: 600;
	margin-bottom: 5px;
	line-height: 1.35;
}

.aw-popular-posts__title a { color: var(--aw-text); }
.aw-popular-posts__title a:hover { color: var(--aw-primary-light); }

.aw-popular-posts__date {
	font-size: .72rem;
	color: var(--aw-text-muted);
}

.aw-sidebar__ad { margin-bottom: 24px; text-align: center; }

/* ── In-Content Ad ── */
.aw-ad-inline {
	margin: 32px 0;
	padding: 20px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border-light);
	border-radius: var(--aw-radius);
	text-align: center;
}

.aw-ad-label {
	display: block;
	font-size: .62rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--aw-text-muted);
	margin-bottom: 8px;
	font-weight: 600;
}

/* ── Breadcrumbs ── */
.aw-breadcrumbs { margin-bottom: 28px; }

.aw-breadcrumb__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	padding: 12px 20px;
	margin: 0;
	font-size: .82rem;
	background: var(--aw-surface);
	border-radius: var(--aw-radius-sm);
	border: 1px solid var(--aw-border-light);
}

.aw-breadcrumb__sep { color: var(--aw-text-muted); margin: 0 6px; }
.aw-breadcrumb__list a { color: var(--aw-text-muted); }
.aw-breadcrumb__list a:hover { color: var(--aw-primary-light); }

.aw-breadcrumb__current {
	color: var(--aw-text);
	font-weight: 500;
}

/* ── Archive Header ── */
.aw-archive-header {
	margin-bottom: 36px;
	padding: 32px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border-light);
	border-radius: var(--aw-radius);
	position: relative;
	overflow: hidden;
}

.aw-archive-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--aw-gradient);
}

.aw-archive-header__label {
	display: inline-block;
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--aw-secondary);
	font-weight: 700;
	margin-bottom: 8px;
}

.aw-archive-header__title {
	font-size: 2.25rem;
	margin-bottom: 8px;
	letter-spacing: -.02em;
}

.aw-archive-header__desc {
	color: var(--aw-text-muted);
	font-size: .92rem;
}

.aw-archive-header__count {
	font-size: .82rem;
	color: var(--aw-text-muted);
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--aw-border-light);
}

/* ── Pagination ── */
.aw-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 44px;
}

.aw-pagination .nav-links a,
.aw-pagination .nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: var(--aw-radius-sm);
	font-weight: 600;
	font-size: .88rem;
	transition: var(--aw-transition);
}

.aw-pagination .nav-links a {
	background: var(--aw-surface);
	color: var(--aw-text-light);
	border: 1px solid var(--aw-border-light);
}

.aw-pagination .nav-links a:hover {
	background: rgba(124,108,231,.12);
	color: var(--aw-white);
	border-color: var(--aw-primary);
}

.aw-pagination .nav-links .current {
	background: var(--aw-gradient);
	color: #fff;
	border: none;
}

.aw-load-more-wrap { text-align: center; margin-top: 44px; }

/* ── Page Template ── */
.aw-page__header { margin-bottom: 32px; }

.aw-page__title {
	font-size: 2.5rem;
	letter-spacing: -.02em;
}

.aw-page__featured {
	border-radius: var(--aw-radius-lg);
	overflow: hidden;
	margin-bottom: 36px;
	border: 1px solid var(--aw-border-light);
}

/* ── Comments ── */
.aw-comments {
	margin-top: 52px;
	padding-top: 36px;
	border-top: 1px solid var(--aw-border);
}

.aw-comments__title { font-size: 1.3rem; margin-bottom: 28px; }

.aw-comments__list { list-style: none; padding: 0; }

.aw-comment { margin-bottom: 24px; }

.aw-comment__body {
	padding: 22px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border-light);
	border-radius: var(--aw-radius);
}

.aw-comment__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.aw-comment__avatar-img {
	border-radius: 50%;
	border: 2px solid var(--aw-surface-light);
}

.aw-comment__author { font-weight: 600; display: block; color: var(--aw-white); }
.aw-comment__date { font-size: .78rem; color: var(--aw-text-muted); }
.aw-comment__content { color: var(--aw-text-light); }
.aw-comment__content p { margin-bottom: .5em; }
.aw-comment__actions { margin-top: 10px; font-size: .82rem; }

.aw-comment__reply,
.aw-comment__edit a { color: var(--aw-primary-light); font-weight: 600; }

.aw-comment .children {
	list-style: none;
	padding-left: 32px;
	margin-top: 16px;
}

/* Comment Form */
.aw-comment-form .aw-comment-form__textarea,
.aw-comment-form input[type="text"],
.aw-comment-form input[type="email"],
.aw-comment-form input[type="url"] {
	width: 100%;
	padding: 14px 18px;
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-sm);
	font-family: inherit;
	font-size: .92rem;
	transition: var(--aw-transition);
	outline: none;
	background: rgba(255,255,255,.04);
	color: var(--aw-text);
}

.aw-comment-form .aw-comment-form__textarea::placeholder,
.aw-comment-form input::placeholder { color: var(--aw-text-muted); }

.aw-comment-form .aw-comment-form__textarea:focus,
.aw-comment-form input:focus {
	border-color: var(--aw-primary);
	box-shadow: 0 0 0 3px rgba(124,108,231,.1);
	background: rgba(124,108,231,.03);
}

.aw-comment-form .form-submit input {
	background: var(--aw-gradient);
	color: #fff;
	border: none;
	padding: 14px 32px;
	border-radius: var(--aw-radius-sm);
	font-weight: 700;
	cursor: pointer;
	font-size: .92rem;
	transition: var(--aw-transition);
}

.aw-comment-form .form-submit input:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(124,108,231,.25);
}

.aw-comment-form label {
	color: var(--aw-text-light);
	font-size: .88rem;
	font-weight: 500;
}

/* ── 404 ── */
.aw-404 { text-align: center; padding: 80px 0; }

.aw-404__code {
	font-size: 9rem;
	font-weight: 900;
	background: var(--aw-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1;
	opacity: .8;
}

.aw-404__title { font-size: 2.25rem; margin: 20px 0; }

.aw-404__desc {
	color: var(--aw-text-muted);
	margin-bottom: 32px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.aw-404__search { max-width: 420px; margin: 0 auto 32px; }
.aw-404__recent { margin-top: 60px; }
.aw-404__recent h2 { margin-bottom: 28px; }

/* ── No Results ── */
.aw-no-results { text-align: center; padding: 80px 20px; }
.aw-no-results__title { margin-bottom: 14px; }
.aw-no-results__search { max-width: 420px; margin: 24px auto 0; }

/* ── Newsletter ── */
.aw-newsletter {
	position: relative;
	padding: 72px 0;
	color: var(--aw-white);
	overflow: hidden;
	background: linear-gradient(160deg, #2a2450 0%, #1e2134 50%, #1b2a35 100%);
}

.aw-newsletter::before {
	content: '';
	position: absolute;
	top: -20%;
	right: -10%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(124,108,231,.1) 0%, transparent 60%);
	filter: blur(60px);
}

.aw-newsletter__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.aw-newsletter__heading {
	font-size: 2rem;
	margin-bottom: 10px;
	letter-spacing: -.02em;
}

.aw-newsletter__desc {
	color: rgba(212,216,232,.6);
	margin: 0;
	font-size: 1rem;
}

/* ── Footer ── */
.aw-footer {
	background: var(--aw-dark);
	color: rgba(212,216,232,.5);
	border-top: 1px solid var(--aw-border-light);
	position: relative;
}

.aw-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--aw-gradient);
	opacity: .2;
}

.aw-footer__widgets {
	padding: 56px 0 36px;
	border-bottom: 1px solid var(--aw-border-light);
}

.aw-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.aw-footer-widget__title {
	color: var(--aw-white);
	font-size: .92rem;
	margin-bottom: 18px;
	font-weight: 700;
	position: relative;
	padding-bottom: 10px;
}

.aw-footer-widget__title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 28px;
	height: 2px;
	background: var(--aw-gradient);
}

.aw-footer-widget a { color: rgba(212,216,232,.45); transition: var(--aw-transition); }
.aw-footer-widget a:hover { color: var(--aw-primary-light); padding-left: 3px; }
.aw-footer-widget ul { list-style: none; padding: 0; }
.aw-footer-widget ul li { margin-bottom: 10px; font-size: .88rem; }

.aw-footer__bottom { padding: 26px 0; }

.aw-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.aw-footer__copy p { margin: 0; font-size: .82rem; }
.aw-footer__copy a { color: var(--aw-primary-light); }
.aw-footer__copy a:hover { color: var(--aw-highlight); }

.aw-footer__menu {
	display: flex;
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.aw-footer__menu a { color: rgba(212,216,232,.45); font-size: .82rem; transition: var(--aw-transition); }
.aw-footer__menu a:hover { color: var(--aw-primary-light); }

/* Back to Top */
.aw-back-to-top {
	background: var(--aw-gradient);
	color: #fff;
	border: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--aw-transition);
	flex-shrink: 0;
}

.aw-back-to-top:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 18px rgba(124,108,231,.25);
}

.aw-footer-ad-wrap {
	padding: 24px 0;
	text-align: center;
	background: var(--aw-dark-soft);
	border-top: 1px solid var(--aw-border-light);
	border-bottom: 1px solid var(--aw-border-light);
}

/* ── Block Patterns ── */
.aw-highlight-box {
	background: rgba(124,108,231,.06);
	border-left: 3px solid var(--aw-primary);
	border-radius: 0 var(--aw-radius) var(--aw-radius) 0;
	padding: 28px 32px;
	margin: 2em 0;
}

.aw-highlight-box h3 { color: var(--aw-primary-light); margin-bottom: 10px; }

.aw-summary-box {
	background: var(--aw-surface);
	border: 1px solid var(--aw-border-light);
	border-radius: var(--aw-radius);
	padding: 28px 32px;
	margin: 2em 0;
	position: relative;
}

.aw-summary-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--aw-gradient-alt);
}

.aw-summary-box h3 { margin-bottom: 14px; color: var(--aw-secondary); }

.aw-featured-quote {
	font-size: 1.25rem;
	border-left-color: var(--aw-accent);
	background: rgba(232,138,175,.04);
	color: var(--aw-text-light);
}

.aw-faq-item {
	border: 1px solid var(--aw-border-light);
	border-radius: var(--aw-radius);
	padding: 24px 28px;
	margin: 14px 0;
	background: var(--aw-surface);
	transition: var(--aw-transition);
}

.aw-faq-item:hover { border-color: rgba(124,108,231,.15); }
.aw-faq-item h3 { cursor: pointer; color: var(--aw-text); }

/* ── Page Links ── */
.aw-page-links {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 28px 0;
	font-weight: 600;
}

.aw-page-links__label { color: var(--aw-text-muted); }

.aw-page-links a,
.aw-page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border-light);
	border-radius: var(--aw-radius-sm);
	color: var(--aw-text-light);
}

.aw-page-links a:hover {
	background: rgba(124,108,231,.12);
	border-color: var(--aw-primary);
	color: var(--aw-white);
}

/* ── WordPress Alignments ── */
.alignwide { margin-left: -40px; margin-right: -40px; max-width: calc(100% + 80px); }
.alignfull { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); max-width: 100vw; width: 100vw; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }

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

.has-primary-color { color: var(--aw-primary); }
.has-secondary-color { color: var(--aw-secondary); }
.has-accent-color { color: var(--aw-accent); }
.has-primary-background-color { background-color: var(--aw-primary); }
.has-secondary-background-color { background-color: var(--aw-secondary); }

/* ── Search Form (widget) ── */
.search-form { display: flex; gap: 8px; }

.search-form .search-field {
	flex: 1;
	padding: 12px 18px;
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-sm);
	font-family: inherit;
	font-size: .88rem;
	outline: none;
	background: rgba(255,255,255,.04);
	color: var(--aw-text);
	transition: var(--aw-transition);
}

.search-form .search-field::placeholder { color: var(--aw-text-muted); }

.search-form .search-field:focus {
	border-color: var(--aw-primary);
	box-shadow: 0 0 0 3px rgba(124,108,231,.1);
}

.search-form .search-submit {
	padding: 12px 20px;
	background: var(--aw-gradient);
	color: #fff;
	border: none;
	border-radius: var(--aw-radius-sm);
	cursor: pointer;
	font-weight: 700;
	transition: var(--aw-transition);
}

/* ── Soft entrance animation ── */
.aw-card,
.aw-trending__item,
.aw-related__item {
	animation: aw-softReveal .45s ease both;
}

@keyframes aw-softReveal {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

.aw-posts--grid .aw-card:nth-child(2) { animation-delay: .06s; }
.aw-posts--grid .aw-card:nth-child(3) { animation-delay: .12s; }
.aw-posts--grid .aw-card:nth-child(4) { animation-delay: .18s; }

.aw-trending__grid .aw-trending__item:nth-child(2) { animation-delay: .05s; }
.aw-trending__grid .aw-trending__item:nth-child(3) { animation-delay: .1s; }
.aw-trending__grid .aw-trending__item:nth-child(4) { animation-delay: .15s; }
