/*!
 * Single blog post. Loaded on individual posts only (inc/single-blog.php).
 * Every selector starts with .aa-single-blog so nothing reaches the header,
 * footer or any other template.
 */

.aa-single-blog {
	--aa-sb-brand: var(--brand, #654dff);
	--aa-sb-brand-deep: #4f37e6;
	--aa-sb-ink: var(--ink, #14121c);
	--aa-sb-ink-soft: var(--ink-soft, #3f3d4d);
	--aa-sb-muted: #5f6475;
	--aa-sb-line: #e9e6f2;
	--aa-sb-soft: #f6f4fc;
	--aa-sb-lavender: #f1edff;
	--aa-sb-night: #120e28;
	--aa-sb-radius: 18px;
	--aa-sb-shadow: 0 1px 2px rgba(20, 18, 28, 0.04), 0 10px 28px rgba(28, 21, 66, 0.06);
	--aa-sb-ring: 0 0 0 3px rgba(101, 77, 255, 0.4);
	--aa-sb-top: 96px; /* sticky offset under the header; set from JS. */

	color: var(--aa-sb-ink);
	background: #fff;
	overflow-x: clip;
}

.aa-single-blog a:focus-visible,
.aa-single-blog button:focus-visible {
	outline: none;
	box-shadow: var(--aa-sb-ring);
	border-radius: 6px;
}

.aa-single-blog-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.aa-single-blog-container {
	width: min(100% - (var(--gutter, 20px) * 2), var(--container, 1200px));
	margin-inline: auto;
}

@media (min-width: 1600px) {
	.aa-single-blog-container {
		width: min(90%, var(--container-wide, 1728px));
	}
}

/* Progress ----------------------------------------------------------- */

.aa-single-blog-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 998; /* just under the sticky header (999). */
	height: 3px;
	background: transparent;
	pointer-events: none;
}

.aa-single-blog-progress[hidden] {
	display: none;
}

.aa-single-blog-progress__bar {
	display: block;
	height: 100%;
	width: 100%;
	transform-origin: 0 50%;
	transform: scaleX(var(--aa-sb-progress, 0));
	background: linear-gradient(90deg, #5b3df5, #8d55ff 55%, #c45ad8);
}

/* Hero --------------------------------------------------------------- */

.aa-single-blog-hero {
	padding: clamp(24px, 4vw, 48px) 0 clamp(20px, 3vw, 36px);
	background:
		radial-gradient(50% 90% at 12% 0%, rgba(101, 77, 255, 0.12), transparent 70%),
		radial-gradient(40% 80% at 92% 10%, rgba(255, 161, 92, 0.14), transparent 70%),
		linear-gradient(180deg, #faf9ff 0%, #fff 100%);
}

.aa-single-blog-hero__inner > .aa-single-blog-title,
.aa-single-blog-hero__inner > .aa-single-blog-lead {
	max-width: 900px;
}

.aa-single-blog-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--aa-sb-muted);
}

.aa-single-blog-crumbs li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.aa-single-blog-crumbs li + li::before {
	content: "/";
	color: #b6b3c6;
}

.aa-single-blog-crumbs a {
	color: var(--aa-sb-ink-soft);
	text-decoration: none;
}

.aa-single-blog-crumbs a:hover {
	color: var(--aa-sb-brand-deep);
	text-decoration: underline;
}

.aa-single-blog-crumbs [aria-current] {
	display: inline-block;
	max-width: 46ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--aa-sb-ink);
	font-weight: 600;
	vertical-align: bottom;
}

.aa-single-blog-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--aa-sb-lavender);
	color: var(--aa-sb-brand-deep);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.5;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.aa-single-blog-badge:hover {
	background: var(--aa-sb-brand);
	color: #fff;
}

.aa-single-blog-badge--lg {
	padding: 6px 14px;
	font-size: 0.8125rem;
}

.aa-single-blog .aa-single-blog-title {
	margin: 16px 0 0;
	color: var(--aa-sb-ink);
	font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

.aa-single-blog-lead {
	margin: 16px 0 0;
	max-width: 66ch;
	color: var(--aa-sb-ink-soft);
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
	line-height: 1.6;
}

.aa-single-blog-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--aa-sb-line);
}

.aa-single-blog-meta__author {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.aa-single-blog-meta__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.aa-single-blog-meta__name {
	color: var(--aa-sb-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

.aa-single-blog-meta__name:hover {
	color: var(--aa-sb-brand-deep);
}

.aa-single-blog-meta__line {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	color: var(--aa-sb-muted);
	font-size: 0.8125rem;
}

.aa-single-blog-avatar {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: var(--aa-sb-size, 44px);
	height: var(--aa-sb-size, 44px);
	overflow: hidden;
	border-radius: 50%;
	background: linear-gradient(135deg, #654dff, #8d55ff);
	color: #fff;
	font-size: calc(var(--aa-sb-size, 44px) * 0.36);
	font-weight: 700;
}

.aa-single-blog-avatar__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Share -------------------------------------------------------------- */

.aa-single-blog-share {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aa-single-blog-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--aa-sb-line);
	border-radius: 50%;
	background: #fff;
	color: var(--aa-sb-ink-soft);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.aa-single-blog-share__link:hover {
	border-color: var(--aa-sb-brand);
	background: var(--aa-sb-brand);
	color: #fff;
	transform: translateY(-2px);
}

/* Featured image ----------------------------------------------------- */

.aa-single-blog-featured {
	margin-top: 0;
	margin-bottom: 0;
}

@media (min-width: 1024px) {
	.aa-single-blog-featured .aa-single-blog-featured__img {
		aspect-ratio: 21 / 9;
	}
}

.aa-single-blog-featured__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--aa-sb-radius);
	background: var(--aa-sb-soft);
	box-shadow: var(--aa-sb-shadow);
}

.aa-single-blog-featured__caption {
	margin-top: 10px;
	color: var(--aa-sb-muted);
	font-size: 0.8125rem;
	text-align: center;
}

/* Layout ------------------------------------------------------------- */

/* Same container as the rest of the site (see .aa-single-blog-container). */
.aa-single-blog-layout {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-block: clamp(28px, 4vw, 56px);
}

.aa-single-blog-article {
	order: 2;
	min-width: 0;
}

/* Below the three-column breakpoint the asides dissolve into one flow:
   contents, article, inquiry form, resources. No sticky, no overflow. */
.aa-single-blog-aside,
.aa-single-blog-sticky {
	display: contents;
}

.aa-single-blog-toc {
	order: 1;
}

.aa-single-blog-aside--right {
	order: 3;
	display: block;
}

.aa-single-blog-recommended {
	order: 4;
}

.aa-single-blog-sticky {
	min-width: 0;
}

@media (min-width: 1280px) {
	.aa-single-blog-layout {
		display: grid;
		grid-template-columns: 230px minmax(0, 1fr) 300px;
		align-items: start; /* lets each aside stick within its own row. */
		gap: 32px;
	}

	.aa-single-blog-article,
	.aa-single-blog-toc,
	.aa-single-blog-recommended,
	.aa-single-blog-aside--right {
		order: 0;
	}

	.aa-single-blog-aside {
		display: block;
		min-width: 0;
	}

	.aa-single-blog-sticky {
		display: flex;
		flex-direction: column;
		gap: 20px;
		position: sticky;
		top: var(--aa-sb-top);

		max-height: calc(100vh - var(--aa-sb-top) - 16px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		padding: 2px; /* keeps focus rings and shadows from being clipped. */
	}
}

/* Article content ---------------------------------------------------- */

.aa-single-blog-content {
	max-width: none;
	color: var(--aa-sb-ink-soft);
	font-size: 1.0625rem;
	line-height: 1.8;
	overflow-wrap: break-word;
}

.aa-single-blog-content > :first-child {
	margin-top: 0;
}

.aa-single-blog-content p,
.aa-single-blog-content ul,
.aa-single-blog-content ol,
.aa-single-blog-content figure,
.aa-single-blog-content blockquote,
.aa-single-blog-content pre,
.aa-single-blog-content table {
	margin: 0 0 1.35em;
}

.aa-single-blog-content h2,
.aa-single-blog-content h3,
.aa-single-blog-content h4 {
	margin: 1.9em 0 0.6em;
	color: var(--aa-sb-ink);
	line-height: 1.25;
	letter-spacing: -0.015em;
	scroll-margin-top: calc(var(--aa-sb-top) + 8px);
}

.aa-single-blog-content h2 {
	font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem);
	font-weight: 700;
}

.aa-single-blog-content h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.4375rem);
	font-weight: 650;
}

.aa-single-blog-content h4 {
	font-size: 1.125rem;
	font-weight: 650;
}

.aa-single-blog-content a {
	color: var(--aa-sb-brand-deep);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.aa-single-blog-content a:hover {
	text-decoration-thickness: 2px;
}

.aa-single-blog-content ul,
.aa-single-blog-content ol {
	padding-left: 1.4em;
}

.aa-single-blog-content li {
	margin-bottom: 0.45em;
}

.aa-single-blog-content img,
.aa-single-blog-content video {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.aa-single-blog-content figcaption,
.aa-single-blog-content .wp-element-caption {
	margin-top: 8px;
	color: var(--aa-sb-muted);
	font-size: 0.875rem;
	text-align: center;
}

.aa-single-blog-content blockquote {
	padding: 18px 22px;
	border-left: 4px solid var(--aa-sb-brand);
	border-radius: 0 12px 12px 0;
	background: var(--aa-sb-soft);
	color: var(--aa-sb-ink);
	font-size: 1.125rem;
}

.aa-single-blog-content blockquote p:last-child {
	margin-bottom: 0;
}

.aa-single-blog-content code {
	padding: 0.15em 0.4em;
	border-radius: 6px;
	background: var(--aa-sb-lavender);
	color: var(--aa-sb-brand-deep);
	font-size: 0.9em;
}

.aa-single-blog-content pre {
	padding: 18px 20px;
	overflow-x: auto;
	border-radius: 14px;
	background: var(--aa-sb-night);
	color: #e8e4ff;
	font-size: 0.9rem;
	line-height: 1.65;
}

.aa-single-blog-content pre code {
	padding: 0;
	background: none;
	color: inherit;
	font-size: inherit;
}

.aa-single-blog-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.aa-single-blog-content th,
.aa-single-blog-content td {
	padding: 10px 14px;
	border: 1px solid var(--aa-sb-line);
	text-align: left;
}

.aa-single-blog-content th {
	background: var(--aa-sb-soft);
	color: var(--aa-sb-ink);
}

.aa-single-blog-content hr {
	margin: 2em 0;
	border: 0;
	border-top: 1px solid var(--aa-sb-line);
}

.aa-single-blog-content iframe,
.aa-single-blog-content .wp-block-embed__wrapper iframe {
	max-width: 100%;
	border: 0;
	border-radius: 12px;
}

.aa-single-blog-content .wp-block-embed.is-type-video .wp-block-embed__wrapper,
.aa-single-blog-content .wp-has-aspect-ratio .wp-block-embed__wrapper {
	position: relative;
}

.aa-single-blog-content .wp-block-pullquote,
.aa-single-blog-content .wp-block-group.is-style-callout {
	padding: 20px 24px;
	border: 1px solid var(--aa-sb-line);
	border-radius: 14px;
	background: var(--aa-sb-soft);
}

.aa-single-blog-pages {
	margin-top: 1.5em;
	font-size: 0.9375rem;
}

/* Tags --------------------------------------------------------------- */

.aa-single-blog-tags {
	margin-top: 36px;
}

.aa-single-blog-tags ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aa-single-blog-tags a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--aa-sb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--aa-sb-ink-soft);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.aa-single-blog-tags a::before {
	content: "#";
	margin-right: 2px;
	color: var(--aa-sb-brand);
}

.aa-single-blog-tags a:hover {
	border-color: var(--aa-sb-brand);
	background: var(--aa-sb-lavender);
	color: var(--aa-sb-brand-deep);
}

.aa-single-blog-endshare {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--aa-sb-line);
}

.aa-single-blog-endshare__label {
	color: var(--aa-sb-ink);
	font-size: 0.9375rem;
	font-weight: 600;
}

/* Author ------------------------------------------------------------- */

.aa-single-blog-author {
	display: flex;
	gap: 18px;
	margin-top: 32px;
	padding: 24px;
	border: 1px solid var(--aa-sb-line);
	border-radius: var(--aa-sb-radius);
	background: var(--aa-sb-soft);
}

.aa-single-blog-author__body {
	min-width: 0;
}

.aa-single-blog-author__eyebrow {
	margin: 0 0 2px;
	color: var(--aa-sb-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.aa-single-blog .aa-single-blog-author__name {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.aa-single-blog-author__name a {
	color: var(--aa-sb-ink);
	text-decoration: none;
}

.aa-single-blog-author__name a:hover {
	color: var(--aa-sb-brand-deep);
}

.aa-single-blog-author__bio {
	margin: 8px 0 0;
	color: var(--aa-sb-ink-soft);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.aa-single-blog-author__link {
	display: inline-block;
	margin-top: 10px;
	color: var(--aa-sb-brand-deep);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.aa-single-blog-author__link:hover {
	text-decoration: underline;
}

/* Previous / next ---------------------------------------------------- */

.aa-single-blog-pn {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 32px;
}

.aa-single-blog-pn__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border: 1px solid var(--aa-sb-line);
	border-radius: 14px;
	background: #fff;
	color: var(--aa-sb-ink);
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.aa-single-blog-pn__item--next {
	grid-column: 2;
	text-align: right;
}

.aa-single-blog-pn__item:only-child.aa-single-blog-pn__item--prev {
	grid-column: 1;
}

.aa-single-blog-pn__item:hover {
	border-color: var(--aa-sb-brand);
	box-shadow: var(--aa-sb-shadow);
	transform: translateY(-2px);
}

.aa-single-blog-pn__label {
	color: var(--aa-sb-brand-deep);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.aa-single-blog-pn__title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

/* Sidebar ------------------------------------------------------------ */

.aa-single-blog-toc,
.aa-single-blog-recommended {
	padding: 20px;
	border: 1px solid var(--aa-sb-line);
	border-radius: var(--aa-sb-radius);
	background: #fff;
	box-shadow: var(--aa-sb-shadow);
}

.aa-single-blog-toc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.aa-single-blog .aa-single-blog-toc__title,
.aa-single-blog .aa-single-blog-recommended__title {
	margin: 0;
	color: var(--aa-sb-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
}

.aa-single-blog-toc__toggle {
	padding: 4px 10px;
	border: 1px solid var(--aa-sb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--aa-sb-brand-deep);
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
}

.aa-single-blog-toc__toggle:hover {
	background: var(--aa-sb-lavender);
}

.aa-single-blog-toc__list {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.aa-single-blog-toc__list[hidden] {
	display: none;
}

.aa-single-blog-toc__item a {
	display: block;
	padding: 6px 0 6px 12px;
	border-left: 2px solid var(--aa-sb-line);
	color: var(--aa-sb-ink-soft);
	font-size: 0.875rem;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.aa-single-blog-toc__item--l3 a {
	padding-left: 24px;
	font-size: 0.8125rem;
}

.aa-single-blog-toc__item a:hover {
	color: var(--aa-sb-brand-deep);
}

.aa-single-blog-toc__item a.is-active {
	border-left-color: var(--aa-sb-brand);
	color: var(--aa-sb-brand-deep);
	font-weight: 600;
}

.aa-single-blog-side-cta {
	padding: 22px;
	border-radius: var(--aa-sb-radius);
	background:
		radial-gradient(circle at 12% 10%, rgba(91, 61, 245, 0.55) 0, rgba(91, 61, 245, 0) 45%),
		radial-gradient(circle at 94% 100%, rgba(255, 138, 0, 0.28) 0, rgba(255, 138, 0, 0) 30%),
		var(--aa-sb-night);
	color: #fff;
}

.aa-single-blog .aa-single-blog-side-cta__title {
	margin: 0 0 8px;
	color: #fff;
	font-size: 1.125rem;
	line-height: 1.3;
}

.aa-single-blog-side-cta p {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.875rem;
	line-height: 1.55;
}

.aa-single-blog-recommended ul {
	display: grid;
	gap: 12px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.aa-single-blog-recommended a {
	color: var(--aa-sb-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.aa-single-blog-recommended a:hover {
	color: var(--aa-sb-brand-deep);
	text-decoration: underline;
}

/* Buttons ------------------------------------------------------------ */

.aa-single-blog-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.aa-single-blog-btn:hover {
	transform: translateY(-2px);
}

.aa-single-blog-btn--light {
	background: #fff;
	color: var(--aa-sb-night);
}

.aa-single-blog-btn--light:hover {
	background: var(--aa-sb-lavender);
}

.aa-single-blog-btn--ghost {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.aa-single-blog-btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

/* Related ------------------------------------------------------------ */

.aa-single-blog-related {
	padding-block: clamp(36px, 5vw, 72px);
	border-top: 1px solid var(--aa-sb-line);
	background: var(--aa-sb-soft);
}

.aa-single-blog .aa-single-blog-related__title {
	margin: 0 0 24px;
	font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
	line-height: 1.2;
}

.aa-single-blog-related__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

@media (min-width: 640px) {
	.aa-single-blog-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.aa-single-blog-related__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.aa-single-blog-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--aa-sb-line);
	border-radius: var(--aa-sb-radius);
	background: #fff;
	box-shadow: var(--aa-sb-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aa-single-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 2px 4px rgba(20, 18, 28, 0.05), 0 16px 36px rgba(28, 21, 66, 0.12);
}

.aa-single-blog-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--aa-sb-lavender);
}

.aa-single-blog-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.aa-single-blog-card:hover .aa-single-blog-card__img {
	transform: scale(1.04);
}

.aa-single-blog-card__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e5dcff, #f6f0ff);
}

.aa-single-blog-card__ph--2 { background: linear-gradient(135deg, #ffe9d6, #fff4ea); }
.aa-single-blog-card__ph--3 { background: linear-gradient(135deg, #d9ecff, #eef6ff); }
.aa-single-blog-card__ph--4 { background: linear-gradient(135deg, #d9f5e6, #eefaf3); }
.aa-single-blog-card__ph--5 { background: linear-gradient(135deg, #ffdbe8, #fff0f5); }

.aa-single-blog-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px;
}

.aa-single-blog .aa-single-blog-card__title {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.aa-single-blog-card__title a {
	color: var(--aa-sb-ink);
	text-decoration: none;
}

.aa-single-blog-card__title a:hover {
	color: var(--aa-sb-brand-deep);
}

.aa-single-blog-card__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--aa-sb-ink-soft);
	font-size: 0.9rem;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.aa-single-blog-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	width: 100%;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--aa-sb-line);
	color: var(--aa-sb-muted);
	font-size: 0.8125rem;
}

.aa-single-blog-card__more {
	color: var(--aa-sb-brand-deep);
	font-weight: 600;
	text-decoration: none;
}

.aa-single-blog-card__more:hover {
	text-decoration: underline;
}

/* Closing CTA -------------------------------------------------------- */

.aa-single-blog-cta {
	padding-block: clamp(40px, 6vw, 80px);
}

.aa-single-blog-cta__inner {
	padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px);
	border-radius: 28px;
	background:
		radial-gradient(circle at 12% 10%, rgba(91, 61, 245, 0.58) 0, rgba(91, 61, 245, 0) 42%),
		radial-gradient(ellipse 60% 55% at 55% 112%, rgba(226, 63, 159, 0.3) 0, rgba(226, 63, 159, 0) 60%),
		radial-gradient(circle at 94% 96%, rgba(255, 138, 0, 0.3) 0, rgba(255, 138, 0, 0) 24%),
		#100c24;
	color: #fff;
	text-align: center;
}

.aa-single-blog .aa-single-blog-cta__title {
	margin: 0 auto;
	max-width: 22ch;
	color: #fff;
	font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.aa-single-blog-cta__text {
	margin: 14px auto 0;
	max-width: 58ch;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1rem;
	line-height: 1.6;
}

.aa-single-blog-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 26px;
}

/* Small screens ------------------------------------------------------ */

@media (max-width: 640px) {
	.aa-single-blog-meta {
		flex-direction: column;
		align-items: flex-start;
	}

	.aa-single-blog-author {
		flex-direction: column;
	}

	.aa-single-blog-pn {
		grid-template-columns: minmax(0, 1fr);
	}

	.aa-single-blog-pn__item--next {
		grid-column: 1;
		text-align: left;
	}

	.aa-single-blog-crumbs [aria-current] {
		max-width: 28ch;
	}

	.aa-single-blog-content {
		font-size: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aa-single-blog *,
	.aa-single-blog *::before,
	.aa-single-blog *::after {
		transition: none !important;
		animation: none !important;
	}

	.aa-single-blog-card:hover,
	.aa-single-blog-btn:hover,
	.aa-single-blog-pn__item:hover,
	.aa-single-blog-share__link:hover {
		transform: none;
	}
}

/* Inquiry form (right sidebar) --------------------------------------- *
 * The site's shared lead form, flattened into a branded card: the same
 * markup, validation and submission as the blog listing's enquiry box. */

.aa-single-blog-inquiry {
	position: relative;
	isolation: isolate;
	padding: 20px 18px 16px;
	border-radius: 20px;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(196, 90, 216, 0.35), transparent 60%),
		linear-gradient(160deg, #5b3df5 0%, #4a2fd4 100%);
	box-shadow: 0 24px 48px -28px rgba(74, 40, 180, 0.8);
	color: #fff;
}

.aa-single-blog .aa-single-blog-inquiry__title {
	margin: 0 0 6px;
	color: #fff;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

.aa-single-blog-inquiry__text {
	margin: 0 0 12px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.84rem;
	line-height: 1.5;
}

.aa-single-blog-inquiry .lp-form-card {
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.aa-single-blog-inquiry .lp-form-glow {
	display: none;
}

.aa-single-blog-inquiry .lp-form-inner {
	padding: 0;
}

.aa-single-blog-inquiry .lp-form-row {
	grid-template-columns: minmax(0, 1fr);
}

.aa-single-blog-inquiry .lp-form-field {
	margin-bottom: 8px;
}

.aa-single-blog-inquiry .lp-form-field label {
	margin-bottom: 4px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.78rem;
	font-weight: 500;
}

.aa-single-blog-inquiry .lp-req {
	color: #fff;
	opacity: 0.75;
}

.aa-single-blog-inquiry .lp-form-field input,
.aa-single-blog-inquiry .lp-form-field select,
.aa-single-blog-inquiry .lp-form-field textarea,
.aa-single-blog-inquiry .lp-cc__toggle {
	border: 1px solid transparent;
	border-radius: 10px;
	background: #fff;
	color: var(--aa-sb-ink);
	font-size: 0.92rem;
}

.aa-single-blog-inquiry .lp-form-field input,
.aa-single-blog-inquiry .lp-form-field select,
.aa-single-blog-inquiry .lp-form-field textarea {
	padding: 9px 12px;
}

.aa-single-blog-inquiry .lp-cc__toggle {
	padding: 9px 10px;
}

.aa-single-blog-inquiry .lp-form-field textarea {
	height: 76px;
	min-height: 60px;
}

.aa-single-blog-inquiry .lp-form-field input::placeholder,
.aa-single-blog-inquiry .lp-form-field textarea::placeholder {
	color: #8a8698;
}

.aa-single-blog-inquiry .lp-cc__caret {
	border-color: var(--aa-sb-muted);
}

.aa-single-blog-inquiry .lp-form-field input:focus,
.aa-single-blog-inquiry .lp-form-field select:focus,
.aa-single-blog-inquiry .lp-form-field textarea:focus,
.aa-single-blog-inquiry .lp-cc__toggle:focus-visible {
	border-color: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

.aa-single-blog-inquiry .lp-cc__toggle:hover {
	background: var(--aa-sb-soft);
}

.aa-single-blog-inquiry .lp-cc__panel {
	width: min(290px, calc(100vw - 56px));
}

.aa-single-blog-inquiry .lp-form-field.has-error input,
.aa-single-blog-inquiry .lp-form-field.has-error select,
.aa-single-blog-inquiry .lp-form-field.has-error textarea,
.aa-single-blog-inquiry .lp-form-field.has-error .lp-cc__toggle {
	border-color: #ffb4b4;
	background: #fff5f5;
	box-shadow: 0 0 0 2px rgba(255, 180, 180, 0.6);
}

.aa-single-blog-inquiry .lp-form-err {
	color: #ffe3e3;
	font-size: 0.78rem;
}

.aa-single-blog-inquiry .lp-form-alert {
	border-color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 0.85rem;
}

.aa-single-blog-inquiry .lp-form-submit {
	display: flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: 6px;
	padding: 12px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--aa-sb-night);
	box-shadow: 0 12px 24px -14px rgba(10, 6, 30, 0.9);
	color: #fff;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.28s ease;
}

.aa-single-blog-inquiry .lp-form-submit:hover {
	background: #2a2445;
	transform: translateY(-1px);
}

.aa-single-blog-inquiry .lp-form-submit:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.8);
	outline-offset: 2px;
}

.aa-single-blog-inquiry .lp-form-note {
	margin-top: 8px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.74rem;
	line-height: 1.5;
}

.aa-single-blog-inquiry .lp-form-note a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (min-width: 640px) and (max-width: 1279px) {
	/* Tablet: the form sits under the article, not sticky, at a readable width. */
	.aa-single-blog-inquiry {
		max-width: 560px;
	}
}

.aa-single-blog-featured {
	margin: 0 0 28px;
}

.aa-single-blog-featured .aa-single-blog-featured__img {
	aspect-ratio: 16 / 9;
}

.aa-single-blog-content {
	max-width: none;
}


/* Sticky fix: each aside must span the full grid row, otherwise its
   sticky child has no room to travel while the article scrolls. */
@media (min-width: 1280px) {
	.aa-single-blog-aside {
		align-self: stretch;
	}
}

/* Table of contents: numbered boxes, scrolling list, chevron toggle ---- */

.aa-single-blog-toc {
	padding: 0;
	overflow: hidden;
	border-radius: 6px;
	box-shadow: none;
}

.aa-single-blog-toc__head {
	padding: 18px 20px 0;
}

.aa-single-blog .aa-single-blog-toc__title {
	position: relative;
	padding-bottom: 12px;
	font-size: 1.125rem;
	letter-spacing: 0;
	text-transform: none;
}

.aa-single-blog .aa-single-blog-toc__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 56px;
	height: 2px;
	background: var(--aa-sb-brand);
}

.aa-single-blog-toc__list {
	margin: 0;
	border-top: 1px solid var(--aa-sb-line);
	counter-reset: aa-toc;
	max-height: min(340px, calc(100vh - var(--aa-sb-top) - 220px));
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.aa-single-blog-toc__item {
	counter-increment: aa-toc;
	border-bottom: 1px solid var(--aa-sb-line);
}

.aa-single-blog-toc__item:last-child {
	border-bottom: 0;
}

.aa-single-blog-toc__item a,
.aa-single-blog-toc__item--l3 a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 14px 0 0;
	min-height: 48px;
	border-left: 0;
	color: var(--aa-sb-ink);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.4;
}

.aa-single-blog-toc__item a::before {
	content: counter(aa-toc, decimal-leading-zero);
	display: flex;
	flex: 0 0 40px;
	align-self: stretch;
	align-items: center;
	justify-content: center;
	border-right: 1px solid var(--aa-sb-line);
	color: var(--aa-sb-brand);
	font-size: 0.75rem;
	font-weight: 700;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.aa-single-blog-toc__item--l3 a {
	font-size: 0.78rem;
	font-weight: 400;
	color: var(--aa-sb-ink-soft);
}

.aa-single-blog-toc__item a:hover {
	background: var(--aa-sb-soft);
}

.aa-single-blog-toc__item a.is-active {
	border-left: 0;
	font-weight: 600;
}

.aa-single-blog-toc__item a.is-active::before {
	background: var(--aa-sb-brand);
	color: #fff;
}

.aa-single-blog-toc__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 8px;
	border: 0;
	border-top: 1px solid var(--aa-sb-line);
	border-radius: 0;
	background: #fff;
	color: var(--aa-sb-ink);
	cursor: pointer;
}

.aa-single-blog-toc__toggle svg {
	transition: transform 0.2s ease;
}

.aa-single-blog-toc__toggle[aria-expanded="false"] svg {
	transform: rotate(180deg);
}

.aa-single-blog-toc__toggle[hidden] {
	display: none;
}

.aa-single-blog-toc__list {
	position: relative;
}

/* Hero banner: brand colour, white text, featured image on the right --- */

.aa-single-blog-hero {
	padding: clamp(32px, 5vw, 64px) 0;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(196, 90, 216, 0.35), transparent 60%),
		linear-gradient(160deg, #5b3df5 0%, #4a2fd4 100%);
	color: #fff;
}

.aa-single-blog-hero__inner {
	display: grid;
	gap: 32px;
	align-items: center;
}

.aa-single-blog-hero__text {
	min-width: 0;
}

@media (min-width: 1024px) {
	.aa-single-blog-hero__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 56px;
	}
}

.aa-single-blog-hero__inner > .aa-single-blog-title,
.aa-single-blog-hero__inner > .aa-single-blog-lead {
	max-width: none;
}

.aa-single-blog-hero .aa-single-blog-crumbs ol,
.aa-single-blog-hero .aa-single-blog-crumbs a,
.aa-single-blog-hero .aa-single-blog-crumbs [aria-current] {
	color: rgba(255, 255, 255, 0.88);
}

.aa-single-blog-hero .aa-single-blog-crumbs li + li::before {
	color: rgba(255, 255, 255, 0.5);
}

.aa-single-blog-hero .aa-single-blog-crumbs a:hover {
	color: #fff;
}

.aa-single-blog-hero .aa-single-blog-badge {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.aa-single-blog-hero .aa-single-blog-badge:hover {
	background: #fff;
	color: var(--aa-sb-brand-deep);
}

.aa-single-blog .aa-single-blog-hero .aa-single-blog-title {
	color: #fff;
}

.aa-single-blog-hero .aa-single-blog-lead {
	color: rgba(255, 255, 255, 0.86);
}

.aa-single-blog-hero .aa-single-blog-meta {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	border-top: 0;
	padding-top: 0;
	gap: 18px;
}

.aa-single-blog-hero .aa-single-blog-meta__name,
.aa-single-blog-hero .aa-single-blog-meta__line {
	color: #fff;
}

.aa-single-blog-hero .aa-single-blog-meta__line {
	color: rgba(255, 255, 255, 0.85);
}

.aa-single-blog-hero .aa-single-blog-share__link {
	border-color: rgba(255, 255, 255, 0.4);
	background: transparent;
	color: #fff;
}

.aa-single-blog-hero .aa-single-blog-share__link:hover {
	border-color: #fff;
	background: #fff;
	color: var(--aa-sb-brand-deep);
}

.aa-single-blog-hero a:focus-visible {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.aa-single-blog-hero .aa-single-blog-featured {
	margin: 0;
}

.aa-single-blog-hero .aa-single-blog-featured .aa-single-blog-featured__img {
	aspect-ratio: 4 / 3;
	box-shadow: 0 24px 48px -24px rgba(10, 6, 30, 0.6);
}

.aa-single-blog-hero .aa-single-blog-featured__caption {
	color: rgba(255, 255, 255, 0.75);
}

/* Editor formatting: classes written by the post editor's toolbar -------
 * (inc/blog-editor.php). Scoped to the article body only. */

.aa-single-blog-content h5,
.aa-single-blog-content h6 {
	margin: 1.6em 0 0.5em;
	color: var(--aa-sb-ink);
	line-height: 1.3;
	scroll-margin-top: calc(var(--aa-sb-top) + 8px);
}

.aa-single-blog-content h5 {
	font-size: 1rem;
	font-weight: 650;
}

.aa-single-blog-content h6 {
	font-size: 0.875rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.aa-single-blog-content ul ul,
.aa-single-blog-content ol ol,
.aa-single-blog-content ul ol,
.aa-single-blog-content ol ul {
	margin: 0.45em 0 0;
}

.aa-single-blog-content li::marker {
	color: var(--aa-sb-brand);
}

.aa-single-blog-content sup,
.aa-single-blog-content sub {
	font-size: 0.75em;
	line-height: 0;
}

/* Text sizes: a fixed scale, relative to the surrounding text. */
.aa-single-blog-content .aa-fs-sm { font-size: 0.875em; }
.aa-single-blog-content .aa-fs-md { font-size: 1.125em; }
.aa-single-blog-content .aa-fs-lg { font-size: clamp(1.2em, 1.1em + 0.5vw, 1.4em); line-height: 1.4; }
.aa-single-blog-content .aa-fs-xl { font-size: clamp(1.4em, 1.2em + 1vw, 1.85em); line-height: 1.3; }

.aa-single-blog-content mark.aa-mark {
	padding: 0.05em 0.3em;
	border-radius: 4px;
	background: var(--aa-sb-lavender);
	color: var(--aa-sb-brand-deep);
}

.aa-single-blog-content mark.aa-mark--yellow {
	background: #fff1b8;
	color: var(--aa-sb-ink);
}

/* Callouts. */
.aa-single-blog-content p.aa-callout {
	padding: 16px 20px;
	border: 1px solid #d9d0ff;
	border-left: 4px solid var(--aa-sb-brand);
	border-radius: 12px;
	background: var(--aa-sb-lavender);
	color: var(--aa-sb-ink);
}

.aa-single-blog-content p.aa-callout--tip {
	border-color: #bfe8d0;
	border-left-color: #1f9d63;
	background: #edfaf3;
}

.aa-single-blog-content p.aa-callout--warning {
	border-color: #ffd9a8;
	border-left-color: #e08a00;
	background: #fff6e8;
}

/* Buttons: a link given the button class in the editor. */
.aa-single-blog-content a.aa-btn {
	display: inline-block;
	max-width: 100%;
	padding: 11px 22px;
	border: 2px solid var(--aa-sb-brand);
	border-radius: 10px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.aa-single-blog-content a.aa-btn--primary {
	background: var(--aa-sb-brand);
	color: #fff;
}

.aa-single-blog-content a.aa-btn--primary:hover {
	background: var(--aa-sb-brand-deep);
	border-color: var(--aa-sb-brand-deep);
	box-shadow: 0 10px 22px -12px rgba(79, 55, 230, 0.7);
	transform: translateY(-1px);
}

.aa-single-blog-content a.aa-btn--outline {
	background: #fff;
	color: var(--aa-sb-brand-deep);
}

.aa-single-blog-content a.aa-btn--outline:hover {
	background: var(--aa-sb-lavender);
	transform: translateY(-1px);
}

.aa-single-blog-content a.aa-btn:hover {
	text-decoration: none;
}

/* Tables: header colour, striping, compact option. */
.aa-single-blog-content th {
	background: var(--aa-sb-lavender);
}

.aa-single-blog-content table.aa-table--striped tbody tr:nth-child(even) td {
	background: var(--aa-sb-soft);
}

.aa-single-blog-content table.aa-table--compact th,
.aa-single-blog-content table.aa-table--compact td {
	padding: 6px 10px;
}

/* Images and captions from the media library (classic markup). */
.aa-single-blog-content .aligncenter {
	display: block;
	margin-inline: auto;
}

.aa-single-blog-content .alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.aa-single-blog-content .alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aa-single-blog-content .wp-caption {
	max-width: 100%;
	margin-bottom: 1.35em;
}

.aa-single-blog-content .wp-caption img {
	display: block;
	max-width: 100%;
	height: auto;
}

.aa-single-blog-content .wp-caption-text {
	margin-top: 8px;
	color: var(--aa-sb-muted);
	font-size: 0.875rem;
	text-align: center;
}

.aa-single-blog-content::after {
	content: "";
	display: table;
	clear: both; /* contain floated images. */
}

@media (max-width: 640px) {
	.aa-single-blog-content .alignleft,
	.aa-single-blog-content .alignright {
		float: none;
		display: block;
		margin: 0 auto 1.2em;
	}
}

/* Table colours chosen in the editor (Formats -> Tables) ----------------
 * Cell colours arrive as inline styles on th/td and win over these rules.
 * The border colour is set on the table and inherited by every cell. */

.aa-single-blog-content table {
	border-color: var(--aa-sb-line);
}

.aa-single-blog-content table :is(thead, tbody, tfoot, tr, th, td) {
	border-color: inherit;
}

.aa-single-blog-content table.aa-table--head-lavender th {
	background: var(--aa-sb-lavender);
	color: var(--aa-sb-ink);
}

.aa-single-blog-content table.aa-table--head-brand th {
	background: var(--aa-sb-brand);
	color: #fff;
}

.aa-single-blog-content table.aa-table--head-grey th {
	background: #eceef3;
	color: var(--aa-sb-ink);
}

.aa-single-blog-content table.aa-table--head-night th {
	background: var(--aa-sb-night);
	color: #fff;
}

/* The table's own box carries the colour only; the cells draw the lines. */
.aa-single-blog-content table {
	border-width: 0;
}

/* Tables fill the article column (100% width). On narrow screens they stay
   display:block so a wide table scrolls inside its own box. */
@media (min-width: 768px) {
	.aa-single-blog-content table {
		display: table;
		width: 100%;
		table-layout: auto;
	}

	.aa-single-blog-content th,
	.aa-single-blog-content td {
		overflow-wrap: anywhere;
	}
}

/* Full width at every screen size: cell text wraps, so a table cannot push
   the page sideways. Very wide custom tables still scroll inside the article. */
.aa-single-blog-content {
	overflow-x: auto;
}

@media (max-width: 767px) {
	.aa-single-blog-content table {
		display: table;
		width: 100%;
		table-layout: auto;
	}

	.aa-single-blog-content th,
	.aa-single-blog-content td {
		overflow-wrap: anywhere;
		padding: 8px 10px;
	}
}

/* Keep words whole in table cells: a table too wide for the screen scrolls
   sideways inside the article box rather than breaking words. */
.aa-single-blog-content th,
.aa-single-blog-content td {
	overflow-wrap: normal;
	word-break: normal;
}

/* Closing call to action: same design as the Blog Listing's closing block. */

.aa-single-blog-closing {
	position: relative;
	padding-block: clamp(32px, 4vw, 56px);
	border-top: 1px solid #f0ecfa;
	background:
		radial-gradient(60% 90% at 50% 130%, rgba(217, 198, 245, 0.8), transparent 70%),
		radial-gradient(40% 70% at 88% 110%, rgba(253, 234, 205, 0.85), transparent 70%),
		radial-gradient(35% 60% at 10% 110%, rgba(220, 230, 255, 0.8), transparent 70%),
		linear-gradient(180deg, #fff 0%, #fbf9ff 100%);
}

.aa-single-blog-closing__inner {
	width: min(100% - (var(--gutter, 20px) * 2), 780px);
	margin-inline: auto;
	text-align: center;
}

.aa-single-blog-closing__eyebrow {
	margin: 0 0 10px;
	color: var(--aa-sb-brand-deep);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.aa-single-blog .aa-single-blog-closing__title {
	margin: 0 0 14px;
	color: var(--aa-sb-ink);
	font-size: clamp(1.875rem, 1.35rem + 2vw, 2.75rem);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.12;
	text-wrap: balance;
}

.aa-single-blog-closing__accent {
	display: inline-block;
	background: linear-gradient(90deg, #5b3df5 0%, #8d55ff 52%, #c45ad8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: var(--aa-sb-brand);
	-webkit-text-fill-color: transparent;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.aa-single-blog-closing__text {
	max-width: 58ch;
	margin: 0 auto 22px;
	color: var(--aa-sb-ink-soft);
	font-size: 1.05rem;
	line-height: 1.7;
}

.aa-single-blog-closing__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.aa-single-blog-closing__btn {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.aa-single-blog-closing__btn:hover {
	transform: translateY(-2px);
}

.aa-single-blog-closing__btn--dark {
	background: var(--aa-sb-ink);
	box-shadow: 0 10px 24px -14px rgba(20, 18, 28, 0.75);
	color: #fff;
}

.aa-single-blog-closing__btn--dark:hover,
.aa-single-blog-closing__btn--dark:focus-visible {
	background: #2a2445;
	box-shadow: 0 16px 30px -16px rgba(74, 40, 140, 0.7);
	color: #fff;
}

.aa-single-blog-closing__btn--outline {
	border-color: rgba(20, 18, 28, 0.18);
	background: #fff;
	color: var(--aa-sb-ink);
}

.aa-single-blog-closing__btn--outline:hover,
.aa-single-blog-closing__btn--outline:focus-visible {
	border-color: var(--aa-sb-brand);
	color: var(--aa-sb-brand-deep);
	box-shadow: 0 12px 26px -18px rgba(101, 77, 255, 0.8);
}

@media (max-width: 639px) {
	.aa-single-blog-closing__btn {
		width: 100%;
	}
}
