/* TrustVare WordPress Theme — single front-end stylesheet (auto-built; edit source files, not this). */
/* Customizer colors */
:root{--color-primary:#5D88BE;--color-secondary:#222222;--color-accent:#4caf50;--color-cta:#5D88BE;--wp--preset--color--primary:#5D88BE;--wp--preset--color--secondary:#222222;}

/* ===== critical.css ===== */
/**
 * Critical above-the-fold (header + hero + base).
 * Theme ships edited CSS here + rest.css — no separate build step in-repo.
 * Target: keep this file small (~10KB gzipped-friendly); below-fold patterns live in rest.css.
 */
:root {
	/* TrustVare brand palette */
	--color-primary: #5D88BE;
	--color-secondary: #222222;
	--color-accent: #4caf50;
	--color-cta: #5D88BE;
	--color-bg: #f7f7f7;
	--color-surface: #ffffff;
	--color-text: #222222;
	--color-muted: #5b6b7c;
	--color-border: #e6e6e6;
	--shadow-sm: 0 1px 2px rgba(26, 43, 60, 0.06);
	--shadow-md: 0 8px 24px rgba(26, 43, 60, 0.1);
	--radius: 10px;
	--radius-sm: 6px;
	/* TrustVare stack: Montserrat (site marketing typography). */
	--font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.25rem;
	--space-6: 1.5rem;
	--space-8: 2rem;
	--space-10: 2.5rem;
	--space-12: 3rem;
	--header-h: 64px;
}

[data-theme="dark"] {
	--color-bg: #0b1220;
	--color-surface: #111827;
	--color-text: #e5e7eb;
	--color-muted: #94a3b8;
	--color-border: #1f2937;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
	--shadow-md: 0 12px 40px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
}

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

a {
	color: var(--color-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	text-decoration: none;
}

:focus-visible {
	outline: 2px solid var(--color-text);
	outline-offset: 2px;
}

:focus:not(:focus-visible) {
	outline: none;
}

/* Utilities */
.container {
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1rem, 2.5vw, 1.75rem);
	padding-right: clamp(1rem, 2.5vw, 1.75rem);
}

.section {
	padding-block: var(--space-10);
}

.section--tight {
	padding-block: var(--space-8);
}

.section__head {
	max-width: 720px;
	margin-bottom: var(--space-8);
}

.section__kicker {
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-muted);
	margin: 0 0 var(--space-2);
}

.section__title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	margin: 0 0 var(--space-3);
	line-height: 1.2;
}

.section__lead {
	margin: 0;
	color: var(--color-muted);
}

.grid {
	display: grid;
	gap: var(--space-5);
}

.grid-2 {
	grid-template-columns: 1fr;
}

.grid-3 {
	grid-template-columns: 1fr;
}

.grid-4 {
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.grid-2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.grid-3 {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}

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

@media (min-width: 1024px) {
	.grid-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

.flex {
	display: flex;
	gap: var(--space-3);
	align-items: center;
	flex-wrap: wrap;
}

.flex-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-4);
	flex-wrap: wrap;
}

.stack {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

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

.skip-link.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100001;
}

.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	left: var(--space-4);
	top: var(--space-4);
	padding: var(--space-3) var(--space-4);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	z-index: 100000;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-height: 2.75rem;
	padding: 0.65rem 1.25rem;
	font-weight: 600;
	font-size: 0.9375rem;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn:active {
	transform: translateY(1px);
}

.btn--primary {
	background: var(--color-primary);
	color: #fff;
}

.btn--primary:hover {
	filter: brightness(1.05);
	color: #fff;
}

.btn--secondary {
	background: transparent;
	color: var(--color-text);
	border-color: var(--color-border);
}

.btn--secondary:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.btn--ghost {
	background: transparent;
	color: var(--color-text);
	border-color: transparent;
}

.btn--sm {
	min-height: 2.75rem;
	padding: 0.45rem 0.9rem;
	font-size: 0.875rem;
}

.btn--icon {
	padding: 0.45rem;
	min-width: 2.5rem;
	min-height: 2.5rem;
}

.theme-icon::before {
	content: "";
	display: block;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	border: 2px solid currentColor;
	box-shadow: inset 0 -3px 0 currentColor;
}

[data-theme="dark"] .theme-icon::before {
	box-shadow: inset 0 3px 0 currentColor;
}

/* Header */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--color-border);
	position: relative;
	z-index: 50;
}

.has-sticky-header .site-header {
	position: sticky;
	top: 0;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: var(--space-4);
	min-height: 72px;
	width: 100%;
}

.site-branding {
	flex-shrink: 0;
	margin-right: auto;
}

.site-branding .custom-logo-link {
	display: flex;
	align-items: center;
	line-height: 0;
}

.site-branding .custom-logo {
	max-height: 48px;
	width: auto;
}

.site-title {
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--color-text);
	text-decoration: none;
}

.site-nav {
	display: none;
}

.site-nav.is-open {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fff;
	border-bottom: 1px solid var(--color-border);
	padding: var(--space-4);
	z-index: 60;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-left: var(--space-2);
	flex-shrink: 0;
}

.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
}

.menu a {
	color: #4b5563;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.975rem;
	padding: 0.4rem 0.75rem;
	border-radius: var(--radius-sm);
}

.menu a:hover,
.menu .current-menu-item > a,
.menu .current_page_item > a {
	background: transparent;
	color: var(--color-primary);
}

.nav-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	margin-left: auto;
	flex-shrink: 0;
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 0.55rem 0.7rem;
	cursor: pointer;
	order: 3;
}

.nav-toggle__bar {
	width: 22px;
	height: 2px;
	background: var(--color-text);
	border-radius: 1px;
}

@media (min-width: 900px) {
	.nav-toggle {
		display: none;
		order: 0;
		margin-left: 0;
	}

	.site-branding {
		margin-right: 0;
	}

	.site-nav {
		display: flex;
		align-items: center;
		margin-left: auto;
		order: 2;
	}

	.site-header__actions {
		order: 3;
		margin-left: var(--space-3);
	}

	.menu--primary {
		flex-direction: row;
		align-items: center;
		gap: 0.35rem;
	}
}

@media (max-width: 899px) {
	.site-header__actions {
		order: 2;
		margin-left: 0;
	}

	.nav-toggle {
		order: 3;
		margin-left: auto;
	}
}

/* Hero */
.hero {
	padding-block: var(--space-10);
	background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.hero__grid {
	display: grid;
	gap: var(--space-8);
	align-items: center;
}

@media (min-width: 1024px) {
	.hero__grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-12);
	}
}

.hero__title {
	font-size: clamp(1.75rem, 5vw, 2.75rem);
	line-height: 1.15;
	margin: 0 0 var(--space-4);
}

.hero__bullets {
	margin: 0 0 var(--space-6);
	padding-left: 1.1rem;
	color: var(--color-muted);
}

.hero__bullets li {
	margin-bottom: var(--space-2);
}

.hero__media {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-md);
	background: var(--color-surface);
}

.hero__counter {
	font-size: 0.875rem;
	color: var(--color-muted);
	margin-top: var(--space-3);
}

.hero__counter strong {
	color: var(--color-text);
}

@media (min-width: 1024px) {
	.hero__grid--reverse {
		direction: rtl;
	}

	.hero__grid--reverse > * {
		direction: ltr;
	}
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	align-items: center;
	margin-bottom: var(--space-4);
}

.hero__stars {
	color: #f59e0b;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
}

.hero__rating-count {
	font-size: 0.8125rem;
	color: var(--color-muted);
}

.hero__trust-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-primary);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 0.25rem 0.65rem;
	background: var(--color-surface);
}

/* ===== rest.css ===== */
﻿/**
 * Deferred styles (cards, sections, blog, templates). Loaded after critical.css.
 * Edited directly in-repo — no separate source bundle / build step.
 */
/* Cards */
.card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.card--pad {
	padding: var(--space-5);
}

.card__icon {
	width: 44px;
	height: 44px;
	color: var(--color-primary);
	margin-bottom: var(--space-3);
}

.card__title {
	margin: 0 0 var(--space-2);
	font-size: 1.0625rem;
}

.card__text {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.9375rem;
	flex-grow: 1;
}

/* USP strip */
.usp-strip {
	background: var(--color-surface);
	border-block: 1px solid var(--color-border);
}

.usp-strip__grid {
	display: grid;
	gap: var(--space-4);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.usp-strip__grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
}

.usp-item {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
}

.usp-item svg {
	flex-shrink: 0;
	color: var(--color-primary);
}

.usp-item__title {
	margin: 0 0 var(--space-1);
	font-size: 0.9375rem;
}

.usp-item__text {
	margin: 0;
	font-size: 0.875rem;
	color: var(--color-muted);
}

/* Steps */
.steps {
	counter-reset: step;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--space-5);
}

@media (min-width: 768px) {
	.steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

.steps li {
	position: relative;
	padding-left: 3rem;
}

.steps li::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	font-weight: 700;
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Screenshots horizontal scroll */
.shots {
	overflow-x: auto;
	display: flex;
	gap: var(--space-4);
	padding-bottom: var(--space-2);
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.shots__item {
	flex: 0 0 min(85vw, 360px);
	scroll-snap-align: start;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	overflow: hidden;
	background: var(--color-surface);
	box-shadow: var(--shadow-sm);
}

.shots__item img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* FAQ accordion */
.faq-list {
	max-width: 800px;
}

.faq-item {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	margin-bottom: var(--space-3);
	background: var(--color-surface);
	overflow: hidden;
}

.faq-item summary {
	cursor: pointer;
	padding: var(--space-4);
	font-weight: 600;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: var(--space-3);
	align-items: center;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: "+";
	font-weight: 400;
	color: var(--color-muted);
}

.faq-item[open] summary::after {
	content: "\2212";
}

.faq-item__body {
	padding: 0 var(--space-4) var(--space-4);
	color: var(--color-muted);
	font-size: 0.9375rem;
}

/* Yoast SEO FAQ block → accordion (see initSeoPluginFaqAccordions in main.js) */
.schema-faq.wp-block-yoast-faq-block {
	max-width: 800px;
	margin-top: var(--space-6);
}

.schema-faq.wp-block-yoast-faq-block .schema-faq-title {
	margin: 0 0 var(--space-4);
	font-size: 1.25rem;
}

.schema-faq.wp-block-yoast-faq-block .schema-faq-section {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	margin-bottom: var(--space-3);
	background: var(--color-surface);
	overflow: hidden;
}

.schema-faq.wp-block-yoast-faq-block .schema-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: var(--space-4);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.schema-faq.wp-block-yoast-faq-block .schema-faq-question::after {
	content: "+";
	font-weight: 400;
	color: var(--color-muted);
	flex-shrink: 0;
}

.schema-faq.wp-block-yoast-faq-block .schema-faq-section.sl-seo-faq-open .schema-faq-question::after {
	content: "\2212";
}

.schema-faq.wp-block-yoast-faq-block .schema-faq-answer {
	margin: 0;
	padding: 0 var(--space-4) var(--space-4);
	color: var(--color-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

/* Rank Math FAQ block → accordion */
.wp-block-rank-math-faq .rank-math-list-item {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	margin-bottom: var(--space-3);
	background: var(--color-surface);
	overflow: hidden;
}

.wp-block-rank-math-faq .rank-math-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	margin: 0;
	padding: var(--space-4);
	font-weight: 600;
	cursor: pointer;
	user-select: none;
}

.wp-block-rank-math-faq .rank-math-question::after {
	content: "+";
	font-weight: 400;
	color: var(--color-muted);
	flex-shrink: 0;
}

.wp-block-rank-math-faq .rank-math-list-item.sl-seo-faq-open .rank-math-question::after {
	content: "\2212";
}

.wp-block-rank-math-faq .rank-math-answer {
	margin: 0;
	padding: 0 var(--space-4) var(--space-4);
	color: var(--color-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

/* CTA band */
.cta-band {
	background: var(--color-secondary);
	color: #e2e8f0;
	padding-block: var(--space-10);
}

.cta-band .section__title {
	color: #fff;
}

.cta-band .section__lead {
	color: #94a3b8;
}

.cta-band .btn--secondary {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.cta-band .btn--secondary:hover {
	border-color: #fff;
	color: #fff;
}

/* Footer */
.site-footer {
	background: var(--color-surface);
	border-top: 1px solid var(--color-border);
	padding-block: var(--space-10);
	margin-top: var(--space-10);
}

.site-footer__grid {
	display: grid;
	gap: var(--space-8);
}

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: 2fr 1fr 1fr;
		align-items: start;
	}
}

.site-footer__name {
	font-weight: 700;
	display: block;
	margin-bottom: var(--space-2);
}

.site-footer__text {
	color: var(--color-muted);
	font-size: 0.9375rem;
}

.menu--footer {
	flex-direction: column;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.social-link {
	font-size: 0.875rem;
	color: var(--color-text);
	text-decoration: none;
}

.social-link:hover {
	color: var(--color-primary);
}

.site-footer__bottom {
	border-top: 1px solid var(--color-border);
	margin-top: var(--space-8);
	padding-top: var(--space-4);
}

.copyright {
	margin: 0;
	font-size: 0.875rem;
	color: var(--color-muted);
}

.copyright a {
	color: inherit;
}

/* Content layouts */
.site-main {
	padding-block: var(--space-8);
}

.layout-with-sidebar {
	display: grid;
	gap: var(--space-8);
}

@media (min-width: 900px) {
	.layout-with-sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
		align-items: start;
	}
}

/* Blog posts index without sidebar (single column, readable width) */
.layout-blog-index-main {
	display: block;
	max-width: 72rem;
	margin-inline: auto;
}

/* Sidebar — SaaS-style (all pages using layout-with-sidebar) */
.layout-with-sidebar .sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	min-width: 0;
}

@media (min-width: 900px) {
	.layout-with-sidebar .sidebar {
		position: sticky;
		top: calc(var(--header-h, 64px) + 1.5rem);
		align-self: start;
		/* Natural height: no inner scroll (avoids ugly sidebar scrollbar). */
		max-height: none;
		overflow: visible;
	}
}

.layout-with-sidebar .sidebar .widget {
	background: #fff;
	padding: 1.25rem;
	border-radius: 14px;
	box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
	border: 1px solid rgba(226, 232, 240, 0.95);
	margin: 0;
	transition:
		box-shadow 0.3s ease,
		transform 0.3s ease;
}

[data-theme="dark"] .layout-with-sidebar .sidebar .widget {
	background: var(--color-surface);
	border-color: var(--color-border);
	box-shadow: var(--shadow-sm);
}

.layout-with-sidebar .sidebar .widget:hover {
	box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
	transform: translateY(-2px);
}

[data-theme="dark"] .layout-with-sidebar .sidebar .widget:hover {
	box-shadow: var(--shadow-md);
}

.layout-with-sidebar .sidebar .widget-title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
	padding-left: 0.5rem;
	border-left: 3px solid #3b82f6;
	line-height: 1.3;
	color: var(--color-secondary);
}

.layout-with-sidebar .sidebar .widget-title a {
	color: inherit;
	text-decoration: none;
}

.layout-with-sidebar .sidebar .widget-title a:hover {
	color: #3b82f6;
}

/* Search widget — stacked, full-width button */
.layout-with-sidebar .sidebar .widget_search .search-form,
.layout-with-sidebar .sidebar .wp-block-search .wp-block-search__inside-wrapper {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.layout-with-sidebar .sidebar .widget_search label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-muted);
}

.layout-with-sidebar .sidebar .widget_search input[type="search"],
.layout-with-sidebar .sidebar .widget_search input[type="text"],
.layout-with-sidebar .sidebar .wp-block-search__input {
	width: 100%;
	padding: 0.625rem 0.75rem;
	border-radius: 8px;
	border: 1px solid var(--color-border);
	font-size: 0.9375rem;
	background: var(--color-surface);
	color: var(--color-text);
}

.layout-with-sidebar .sidebar .widget_search .search-submit,
.layout-with-sidebar .sidebar .widget_search input[type="submit"],
.layout-with-sidebar .sidebar .wp-block-search__button {
	width: 100%;
	padding: 0.65rem 1rem;
	border-radius: 8px;
	border: 0;
	background: #3b82f6;
	color: #fff;
	font-weight: 600;
	font-size: 0.9375rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.layout-with-sidebar .sidebar .widget_search .search-submit:hover,
.layout-with-sidebar .sidebar .widget_search input[type="submit"]:hover,
.layout-with-sidebar .sidebar .wp-block-search__button:hover {
	background: #1d4ed8;
}

/* Categories, archives, meta — list rhythm */
.layout-with-sidebar .sidebar .widget_categories ul,
.layout-with-sidebar .sidebar .widget_archive ul,
.layout-with-sidebar .sidebar .widget_meta ul,
.layout-with-sidebar .sidebar .widget_pages ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.layout-with-sidebar .sidebar .widget_categories ul li,
.layout-with-sidebar .sidebar .widget_archive ul li,
.layout-with-sidebar .sidebar .widget_meta ul li,
.layout-with-sidebar .sidebar .widget_pages ul li {
	padding: 0.4rem 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 0.875rem;
}

[data-theme="dark"] .layout-with-sidebar .sidebar .widget_categories ul li,
[data-theme="dark"] .layout-with-sidebar .sidebar .widget_archive ul li {
	border-bottom-color: var(--color-border);
}

.layout-with-sidebar .sidebar .widget_categories ul li:last-child,
.layout-with-sidebar .sidebar .widget_archive ul li:last-child {
	border-bottom: 0;
}

.layout-with-sidebar .sidebar .widget_recent_comments ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.layout-with-sidebar .sidebar .widget_recent_comments li {
	font-size: 0.8125rem;
	line-height: 1.45;
	margin-bottom: 0.75rem;
}

.layout-with-sidebar .sidebar .widget_recent_comments li:last-child {
	margin-bottom: 0;
}

.layout-with-sidebar .sidebar .widget_recent_entries ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.layout-with-sidebar .sidebar .widget_recent_entries li {
	margin-bottom: 0.35rem;
}

.layout-with-sidebar .sidebar .widget_recent_entries a {
	display: block;
	padding: 0.4rem 0;
	font-size: 0.875rem;
	line-height: 1.35;
	text-decoration: none;
	color: var(--color-text);
	border-bottom: 1px solid #f1f5f9;
	transition: color 0.2s ease, background 0.2s ease;
}

.layout-with-sidebar .sidebar .widget_recent_entries li:last-child a {
	border-bottom: 0;
}

.layout-with-sidebar .sidebar .widget_recent_entries a:hover {
	color: #3b82f6;
}

/* Theme widget: recent posts + thumbnails */
.sl-recent-posts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sl-recent-posts__item {
	margin-bottom: 0.75rem;
}

.sl-recent-posts__item:last-child {
	margin-bottom: 0;
}

.sl-recent-posts__link {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
	padding: 0.35rem;
	margin: 0 -0.35rem;
	border-radius: 8px;
	transition: background 0.2s ease;
}

.sl-recent-posts__link:hover {
	background: rgba(37, 99, 235, 0.07);
}

.sl-recent-posts__thumb {
	width: 3.75rem;
	height: 3.75rem;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
	background: var(--color-bg);
}

.sl-recent-posts__thumb--placeholder {
	background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
}

.sl-recent-posts__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sl-recent-posts__body {
	min-width: 0;
}

.sl-recent-posts__title {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--color-text);
}

.sl-recent-posts__link:hover .sl-recent-posts__title {
	color: #3b82f6;
}

.sl-recent-posts__date {
	display: block;
	font-size: 0.75rem;
	color: var(--color-muted);
	margin-top: 0.15rem;
}

/* Theme widget: CTA banner */
.widget_sl_cta {
	background: linear-gradient(135deg, #3b82f6, #3b82f6) !important;
	border: 0 !important;
	color: #fff;
	box-shadow: 0 10px 32px rgba(37, 99, 235, 0.35) !important;
}

.widget_sl_cta:hover {
	box-shadow: 0 16px 42px rgba(37, 99, 235, 0.45) !important;
}

.widget_sl_cta .widget-title {
	color: #fff;
	border-left-color: rgba(255, 255, 255, 0.85);
}

.sl-cta-widget {
	text-align: center;
	padding: 0.15rem 0 0;
}

.sl-cta-widget__title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: #fff;
}

.sl-cta-widget__text {
	font-size: 0.875rem;
	line-height: 1.55;
	margin: 0 0 1rem;
	opacity: 0.95;
	color: rgba(255, 255, 255, 0.95);
}

.sl-cta-widget__text p {
	margin: 0 0 0.5rem;
}

.sl-cta-widget__text p:last-child {
	margin-bottom: 0;
}

.sl-cta-widget__btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background: #fff !important;
	color: #3b82f6 !important;
	font-weight: 600;
	padding: 0.65rem 1.35rem;
	border-radius: 8px;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.sl-cta-widget__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
	color: #1e3a8a !important;
}

/* Block widgets in sidebar (spacing) */
.layout-with-sidebar .sidebar .wp-block-group {
	margin: 0;
}

.layout-with-sidebar .sidebar .wp-block-latest-posts {
	margin: 0;
	padding: 0;
}

.layout-with-sidebar .sidebar .wp-block-latest-posts__post-title {
	font-size: 0.875rem;
	font-weight: 600;
}

.entry-header {
	margin-bottom: var(--space-6);
}

.entry-title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	margin: 0 0 var(--space-3);
	line-height: 1.2;
}

.entry-meta {
	font-size: 0.875rem;
	color: var(--color-muted);
}

.entry-meta--secondary {
	margin-top: var(--space-3);
	margin-bottom: 0;
}

/* Post meta bar (E-E-A-T): written by, approved by, modified, reading time */
.post-meta-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: var(--space-5) var(--space-8);
	margin: var(--space-4) 0 var(--space-5);
	padding: var(--space-4) 0;
	border-block: 1px solid var(--color-border);
	font-size: 0.875rem;
}

.post-meta-bar__item {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	min-width: 0;
}

.post-meta-bar__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	flex-shrink: 0;
}

.post-meta-bar__body {
	min-width: 0;
}

.post-meta-bar__label {
	font-weight: 700;
	color: var(--color-secondary, #1a2b3c);
	line-height: 1.3;
	margin-bottom: 0.15rem;
}

.post-meta-bar__value {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	color: var(--color-muted);
	font-weight: 400;
	line-height: 1.35;
}

.post-meta-bar__name {
	color: var(--color-text);
	font-weight: 500;
	text-decoration: none;
}

.post-meta-bar__name:hover {
	color: var(--color-primary);
	text-decoration: underline;
}

.post-meta-bar__name--text {
	color: var(--color-text);
	font-weight: 500;
}

.post-meta-bar__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #0a66c2;
	text-decoration: none;
	line-height: 0;
}

.post-meta-bar__social:hover {
	color: #004182;
}

.post-meta-bar__linkedin-icon {
	display: block;
}

.post-meta-bar__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	color: var(--color-muted);
}

.post-meta-bar__glyph {
	display: block;
}

/* Blog hero + archive index (premium hierarchy) */
body.is-blog-archive-skin {
	background-color: #f5f7fb;
}

[data-theme="dark"] body.is-blog-archive-skin {
	background-color: var(--color-bg);
}

body.is-blog-archive-skin .site-main--blog {
	padding-top: 0;
	padding-bottom: var(--space-12);
}

body.is-blog-archive-skin .site-main--blog-magazine {
	padding-top: 0;
}

/* Space between dark banner and post grid (category / search / archives) */
.site-main--blog > .container {
	padding-top: clamp(1.75rem, 4vw, 2.75rem);
}

.site-main--blog-magazine > .container {
	padding-top: 0;
}

.blog-hero {
	position: relative;
	overflow: hidden;
	background: #335784;
	padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(2.75rem, 5.5vw, 3.75rem);
	margin-bottom: 0;
	border-bottom: 0;
	box-shadow: none;
	color: #fff;
}

.blog-hero--trustvare .blog-hero__glow {
	position: absolute;
	inset: auto -10% -40% 40%;
	height: 280px;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.1), transparent 70%);
	pointer-events: none;
}

.blog-hero--magazine {
	margin-bottom: 0;
	background:
		linear-gradient(145deg, #3a628f 0%, #335784 48%, #2d507d 100%),
		radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08), transparent 42%);
}

.blog-hero--magazine .blog-hero__title {
	font-size: clamp(2rem, 4.2vw, 2.85rem);
	max-width: 18ch;
	color: #fff;
}

.blog-hero__tools {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.65rem;
	margin-top: var(--space-5);
	margin-bottom: 0.25rem;
	max-width: 36rem;
}

.blog-cat-nav .blog-hero__tools {
	margin-top: 0;
	margin-left: auto;
	flex-shrink: 0;
	max-width: none;
}

.blog-hero__tools .blog-hero__select {
	flex: 0 0 auto;
	width: 11.5rem;
}

.blog-hero__tools .blog-hero__search {
	flex: 0 1 16rem;
	min-width: 11rem;
	width: 16rem;
}

.blog-hero__visual {
	flex: 0 1 360px;
	display: none;
	justify-content: center;
	align-items: center;
}

@media (min-width: 900px) {
	.blog-hero--magazine .blog-hero__visual,
	.post-hero .blog-hero__visual,
	.post-hero--has-media .post-hero__media {
		display: flex;
	}
}

.post-hero__media {
	display: none;
	flex: 0 1 380px;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.post-hero__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 280px;
	object-fit: cover;
	border-radius: 18px;
	border: 1px solid rgba(215, 226, 238, 0.95);
	box-shadow: 0 18px 40px rgba(26, 43, 60, 0.12);
	background: #fff;
}

.site-main--article-premium,
.site-main--single-classic {
	padding-top: 0;
}

.post-hero {
	margin-bottom: 0;
}

.post-hero .blog-hero__title {
	max-width: 28ch;
}

/* Breadcrumbs + author meta inside dark post banner */
.post-hero .article-breadcrumbs {
	margin: 0 0 var(--space-3);
	color: rgba(255, 255, 255, 0.78);
}

.post-hero .article-breadcrumbs__item a {
	color: #fff;
	text-decoration: none;
	opacity: 0.92;
}

.post-hero .article-breadcrumbs__item a:hover {
	opacity: 1;
	text-decoration: underline;
}

.post-hero .article-breadcrumbs__item span[aria-current="page"] {
	color: rgba(255, 255, 255, 0.72);
}

.post-hero .article-breadcrumbs__sep {
	color: rgba(255, 255, 255, 0.45);
}

.post-hero__meta {
	margin-top: var(--space-5);
}

.post-hero .post-meta-bar {
	margin: 0;
	padding: var(--space-4) 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	border-bottom: 0;
	color: rgba(255, 255, 255, 0.88);
}

.post-hero .post-meta-bar__label {
	color: #fff;
}

.post-hero .post-meta-bar__value,
.post-hero .post-meta-bar__name--text {
	color: rgba(255, 255, 255, 0.82);
}

.post-hero .post-meta-bar__name {
	color: #fff;
}

.post-hero .post-meta-bar__name:hover {
	color: #fff;
	text-decoration: underline;
}

.post-hero .post-meta-bar__avatar {
	border: 2px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 4px 12px rgba(15, 30, 55, 0.25);
}

.post-hero .post-meta-bar__social {
	color: rgba(255, 255, 255, 0.85);
}

.post-hero .post-meta-bar__icon-wrap {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.post-hero__img {
	border-color: rgba(255, 255, 255, 0.35);
	box-shadow: 0 18px 40px rgba(15, 30, 55, 0.35);
}

.site-main--article-premium > .article-shell,
.site-main--single-classic > .container {
	padding-top: clamp(1.75rem, 4vw, 2.75rem);
}

.blog-hero__visual-card {
	position: relative;
	width: min(100%, 340px);
	min-height: 210px;
	aspect-ratio: 4 / 3;
	border-radius: 18px;
	background: linear-gradient(165deg, #ffffff 0%, #f3f7fb 100%);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: 0 20px 48px rgba(15, 30, 55, 0.28);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.blog-hero__visual-logo {
	position: relative;
	z-index: 2;
	display: block;
	width: min(70%, 180px);
	height: auto;
}

.blog-hero__visual-chip {
	position: absolute;
	z-index: 2;
	left: 1rem;
	bottom: 1.15rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: #2d507d;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	box-shadow: 0 6px 16px rgba(15, 30, 55, 0.2);
}

.blog-hero__visual-chip--alt {
	left: auto;
	right: 1rem;
	bottom: auto;
	top: 1.15rem;
	background: #fff;
	color: #2d507d;
	border: 1px solid rgba(45, 80, 125, 0.2);
	box-shadow: 0 6px 14px rgba(15, 30, 55, 0.12);
}

.blog-hero__visual-orb {
	position: absolute;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	right: -30px;
	bottom: -40px;
	background: radial-gradient(circle, rgba(45, 80, 125, 0.14) 0%, transparent 70%);
	pointer-events: none;
}

.blog-hero__visual-screen,
.blog-hero__visual-doc {
	display: none;
}

/* Category tools bar */
.blog-cat-nav {
	border-bottom: 1px solid rgba(93, 136, 190, 0.08);
	background: #fff;
	margin-bottom: var(--space-10);
	box-shadow: 0 4px 14px rgba(26, 43, 60, 0.03);
}

.blog-cat-nav__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
	padding: 0.65rem 0;
}

.blog-cat-nav__inner--tools-only {
	justify-content: flex-end;
}

@media (max-width: 720px) {
	.blog-cat-nav__inner {
		justify-content: stretch;
	}

	.blog-cat-nav .blog-hero__tools {
		width: 100%;
		margin-left: 0;
	}

	.blog-cat-nav .blog-hero__tools .blog-hero__search {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
	}
}

.blog-cat-section {
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.blog-cat-section__head {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1.25rem;
}

.blog-cat-section__icon {
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 4px;
	background: #5D88BE;
	flex-shrink: 0;
	box-shadow: 0 0 0 3px rgba(93, 136, 190, 0.12);
}

.blog-cat-section__title {
	margin: 0;
	font-size: clamp(1.25rem, 2.4vw, 1.5rem);
	font-weight: 700;
	line-height: 1.2;
	flex: 1;
	min-width: 0;
}

.blog-cat-section__title a {
	color: var(--color-secondary);
	text-decoration: none;
}

.blog-cat-section__title a:hover {
	color: var(--color-primary);
}

.blog-cat-section__more {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-primary);
	text-decoration: none;
	white-space: nowrap;
}

.blog-cat-section__more:hover {
	text-decoration: underline;
}

/* Category home sections: 2 cards per row */
.blog-cat-stack {
	display: grid;
	gap: 1.5625rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.blog-cat-stack {
		grid-template-columns: repeat(2, 1fr);
	}
}

.blog-cat-row {
	display: none;
}

.blog-cat-row__feature,
.blog-cat-row__list {
	display: none;
}

.site-main--blog-magazine {
	padding-top: 0;
}

.blog-magazine-pagination {
	margin-top: var(--space-6);
}

[data-theme="dark"] .blog-hero {
	background: #335784;
	border-bottom: 0;
	box-shadow: none;
}

.blog-hero__inner {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	align-items: stretch;
}

@media (min-width: 900px) {
	.blog-hero__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-8);
	}
}

.blog-hero__left {
	min-width: 0;
	flex: 1;
}

.blog-hero__kicker {
	margin: 0 0 var(--space-2);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 1px solid rgba(255, 255, 255, 0.22);
}

.blog-hero__title {
	margin: 0 0 var(--space-3);
	font-size: clamp(2rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #fff;
}

.blog-hero__lead {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	max-width: 38rem;
}

.blog-hero__lead a {
	color: #fff;
	text-decoration: underline;
}

.blog-hero__right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3);
	min-width: 0;
}

.blog-hero__select {
	box-sizing: border-box;
	height: 42px;
	min-width: 11rem;
	padding: 0 0.85rem;
	font-size: 0.9375rem;
	line-height: 1.2;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	padding-right: 2rem;
}

.blog-hero__select:hover,
.blog-hero__select:focus {
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
	outline: none;
}

.blog-hero .search-form--blog .search-form__field {
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: none;
}

.blog-hero .search-form--blog input[type="search"] {
	color: #fff;
	background: transparent;
}

.blog-hero .search-form--blog input[type="search"]::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.blog-hero__search {
	flex: 1 1 14rem;
	min-width: 12rem;
}

.search-form--blog {
	margin: 0;
	height: 42px;
}

.search-form--blog .search-form__field {
	display: flex;
	align-items: stretch;
	box-sizing: border-box;
	height: 42px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: var(--color-surface);
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	transition: box-shadow 0.25s ease, border-color 0.2s ease;
}

.search-form--blog .search-form__field:focus-within {
	border-color: rgba(37, 99, 235, 0.45);
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.search-form--blog input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	padding: 0 0.85rem;
	font-size: 0.9375rem;
	line-height: 1.2;
	background: transparent;
	color: var(--color-text);
}

.search-form--blog input[type="search"]:focus {
	outline: none;
}

.search-form--blog .search-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 1rem;
	border: 0;
	border-radius: 0 7px 7px 0;
	background: var(--color-primary);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.search-form--blog .search-form__submit:hover {
	background: #1d4ed8;
}

.search-form--blog .search-form__submit:active {
	transform: scale(0.98);
}

.search-form__icon {
	display: block;
}

.blog-section-heading {
	text-align: center;
	font-size: clamp(1.375rem, 2.5vw, 1.625rem);
	margin: 0 0 var(--space-8);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--color-secondary, #1a2b3c);
}

.blog-featured {
	margin-bottom: 2.5rem;
}

.blog-all {
	margin-bottom: var(--space-8);
}

.posts-grid {
	display: grid;
	gap: 1.5625rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Keep 2 cards per row on blog home / category / search */
@media (min-width: 960px) {
	.is-blog-archive-skin .posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.post-card,
.blog-card {
	background: var(--color-surface);
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
	transition:
		box-shadow 0.3s ease,
		transform 0.3s ease,
		border-color 0.25s ease;
}

/* Full-width list cards: 1 card per row */
.blog-cat-stack .post-card.post-card--row,
.post-card.post-card--row {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
	height: auto;
	min-height: 0;
	border-radius: 12px;
	border: 1px solid rgba(93, 136, 190, 0.08);
	box-shadow: 0 4px 16px rgba(26, 43, 60, 0.05);
}

.blog-cat-stack .post-card.post-card--row:hover,
.post-card.post-card--row:hover {
	border-color: rgba(93, 136, 190, 0.22);
	box-shadow: 0 10px 28px rgba(93, 136, 190, 0.08);
	transform: translateY(-3px);
}

.post-card.post-card--row .post-card__media {
	flex: 0 0 220px;
	width: 220px;
	max-width: 220px;
	aspect-ratio: auto;
	align-self: stretch;
	min-height: 140px;
}

.post-card.post-card--row .post-card__img,
.post-card.post-card--row .post-card__placeholder {
	height: 100%;
	min-height: 140px;
	object-fit: cover;
}

.post-card.post-card--row .post-card__body {
	flex: 1 1 auto;
	min-width: 0;
	padding: 1.1rem 1.25rem;
	gap: 0.45rem;
	justify-content: center;
}

.post-card.post-card--row .post-card__cat a {
	color: #5D88BE;
}

.post-card.post-card--row .post-card__title {
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card.post-card--row .post-card__meta {
	margin-top: 0.25rem;
	padding-top: 0;
	gap: 0.5rem;
}

.post-card.post-card--row .post-card__avatar {
	width: 26px;
	height: 26px;
}

.post-card.post-card--row .post-card__meta-text {
	font-size: 0.8125rem;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 720px) {
	.post-card.post-card--row .post-card__media {
		flex-basis: 110px;
		width: 110px;
		max-width: 110px;
		min-height: 110px;
	}

	.post-card.post-card--row .post-card__img,
	.post-card.post-card--row .post-card__placeholder {
		min-height: 110px;
	}

	.post-card.post-card--row .post-card__body {
		padding: 0.85rem 0.9rem;
	}

	.post-card.post-card--row .post-card__title {
		font-size: 1rem;
	}
}

.post-card:hover,
.blog-card:hover {
	box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1);
	transform: translateY(-6px);
	border-color: rgba(148, 163, 184, 0.55);
}

[data-theme="dark"] .post-card,
[data-theme="dark"] .blog-card {
	border-color: var(--color-border);
	box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .post-card:hover,
[data-theme="dark"] .blog-card:hover {
	box-shadow: var(--shadow-md);
}

.post-card__media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--color-bg);
	overflow: hidden;
}

.post-card__media img,
.post-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.post-card:hover .post-card__media img,
.post-card:hover .post-card__img,
.blog-card:hover .post-card__media img,
.blog-card:hover .post-card__img {
	transform: scale(1.05);
}

.post-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 8rem;
	background: linear-gradient(145deg, var(--color-border), var(--color-bg));
}

.post-card__body {
	padding: var(--space-5) var(--space-5) var(--space-4);
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: var(--space-3);
}

.post-card__cat {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #3b82f6;
}

.post-card__cat a {
	color: #3b82f6;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.post-card__cat a:hover {
	color: #1d4ed8;
	text-decoration: none;
	opacity: 0.92;
}

[data-theme="dark"] .post-card__cat,
[data-theme="dark"] .post-card__cat a {
	color: var(--color-primary);
}

.post-card__title {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.35;
}

.post-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.post-card__title a:hover {
	color: #3b82f6;
}

.post-card__meta {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin-top: auto;
	padding-top: var(--space-3);
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #64748b;
}

[data-theme="dark"] .post-card__meta {
	color: var(--color-muted);
}

.post-card__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	flex-shrink: 0;
}

.post-card__meta-text {
	min-width: 0;
	line-height: 1.35;
}

/* Blog index: slightly wider rail + gap (inherits sidebar SaaS styles above) */
body.is-blog-archive-skin .layout-with-sidebar {
	gap: clamp(1.75rem, 3vw, 2.75rem);
}

@media (min-width: 900px) {
	body.is-blog-archive-skin .layout-with-sidebar {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 18rem);
	}
}

.post-card__excerpt {
	margin: 0 0 var(--space-4);
	color: var(--color-muted);
	font-size: 0.9375rem;
	flex: 1;
}

.pagination {
	display: flex;
	gap: var(--space-2);
	justify-content: center;
	margin-top: var(--space-10);
}

.pagination a,
.pagination span {
	padding: var(--space-2) var(--space-3);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--color-text);
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.15s ease;
}

body.is-blog-archive-skin .pagination a:hover,
.site-main--blog .pagination a:hover {
	border-color: rgba(37, 99, 235, 0.45);
	color: #3b82f6;
	background: rgba(37, 99, 235, 0.06);
}

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

/* Page templates (pricing table) */
.price-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.price-table th,
.price-table td {
	padding: var(--space-3);
	border: 1px solid var(--color-border);
	text-align: left;
}

.price-table th {
	background: var(--color-bg);
}

/* Prose inside pages */
.prose > * + * {
	margin-top: var(--space-4);
}

.prose h2 {
	font-size: 1.35rem;
	margin-top: var(--space-8);
}

.prose ul {
	padding-left: 1.2rem;
}

/* 404 */
.notfound {
	text-align: center;
	padding-block: var(--space-12);
}

/* Search form */
.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	align-items: center;
	margin-bottom: var(--space-4);
}

.search-form input[type="search"] {
	flex: 1 1 200px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	color: var(--color-text);
}

/*
 * Search + 404: remote masthead CSS can target generic selectors and hide the theme shell.
 * Keep theme header (when used), main column, grid, and footer visible — same shell as blog index.
 */
body.search .site-header,
body.error404 .site-header {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

body.search #main-content.site-main--blog,
body.search .site-main.site-main--blog,
body.error404 #main-content.site-main {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative;
	z-index: 0;
}

body.error404 .site-main {
	position: relative;
	z-index: 0;
}

body.search .site-main.site-main--blog .layout-with-sidebar {
	display: grid !important;
	visibility: visible !important;
	opacity: 1 !important;
}

body.search .site-footer.site-footer,
body.error404 .site-footer.site-footer {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.search-results-count {
	margin: 0 0 var(--space-4, 1rem);
	font-size: 0.9375rem;
	color: var(--color-muted, #64748b);
}

.search-no-results {
	margin-bottom: var(--space-10, 2.5rem);
}

.search-no-results__title {
	margin: 0 0 var(--space-3);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-secondary, #1a2b3c);
}

.search-no-results__lead {
	margin: 0 0 var(--space-4);
	color: var(--color-muted, #64748b);
}

.search-no-results__form {
	margin-bottom: var(--space-8);
	max-width: 28rem;
}

.search-suggestions__title {
	margin: 0 0 var(--space-4);
	font-size: 1.125rem;
	font-weight: 600;
}

.posts-grid--suggestions {
	margin-top: var(--space-2);
}

.sl-search-mark {
	background: rgba(37, 99, 235, 0.2);
	padding: 0.05em 0.2em;
	border-radius: 2px;
}

/* Bundled TrustVare header (index-menu.php): stack above main; no extra theme wrapper. */
body.has-remote-inline-masthead .tv-header,
body.has-remote-inline-masthead .tv-topbar,
body.has-remote-inline-masthead .tv-navbar,
body.has-remote-inline-masthead .mv-topbar,
body.has-remote-inline-masthead nav.menu2 {
	position: relative;
	z-index: 10060;
	overflow: visible;
	width: 100%;
	line-height: normal;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/*
 * Top gap: often vendor CSS or browser extensions — scoped to has-remote-inline-masthead only.
 * Do NOT zero html margin when .wp-toolbar (logged-in admin bar uses html margin-top).
 */
html:not(.wp-toolbar) {
	margin-top: 0 !important;
}

body.has-remote-inline-masthead:not(.admin-bar) {
	margin: 0 !important;
	padding-top: 0 !important;
}

body.has-remote-inline-masthead.admin-bar .tv-header,
body.has-remote-inline-masthead.admin-bar .tv-topbar,
body.has-remote-inline-masthead.admin-bar .tv-navbar,
body.has-remote-inline-masthead.admin-bar .mv-topbar,
body.has-remote-inline-masthead.admin-bar nav.menu2 {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* Mobile sticky CTA + floating download */
body.has-mobile-sticky-cta {
	padding-bottom: 4.5rem;
}

@media (min-width: 900px) {
	body.has-mobile-sticky-cta {
		padding-bottom: 0;
	}
}

.mobile-sticky-cta {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	padding: var(--space-3) var(--space-4);
	padding-bottom: max(var(--space-3), env(safe-area-inset-bottom));
	background: var(--color-surface);
	border-top: 1px solid var(--color-border);
	box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08);
}

body.has-mobile-sticky-cta .mobile-sticky-cta {
	display: block;
}

@media (min-width: 900px) {
	.mobile-sticky-cta {
		display: none !important;
	}
}

.mobile-sticky-cta__inner {
	display: flex;
	gap: var(--space-3);
	align-items: center;
	justify-content: space-between;
	max-width: 1440px;
	margin: 0 auto;
}

.mobile-sticky-cta__text {
	font-size: 0.875rem;
	color: var(--color-muted);
	margin: 0;
	flex: 1;
	min-width: 0;
}

.fab-download {
	position: fixed;
	right: var(--space-4);
	bottom: calc(5rem + env(safe-area-inset-bottom));
	z-index: 55;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	display: none;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.25rem;
	box-shadow: var(--shadow-md);
	border: none;
	cursor: pointer;
}

body.has-fab-download .fab-download {
	display: flex;
}

@media (min-width: 900px) {
	body.has-fab-download .fab-download {
		display: none;
	}
}

body.has-mobile-sticky-cta.has-fab-download .fab-download {
	bottom: calc(6.5rem + env(safe-area-inset-bottom));
}

/* Screenshot lightbox (no library) */
.shots__zoom {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}

.sl-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-4);
	background: rgba(15, 23, 42, 0.85);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.sl-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.sl-lightbox__img {
	max-width: min(96vw, 1200px);
	max-height: 90vh;
	width: auto;
	height: auto;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-md);
}

.sl-lightbox__close {
	position: absolute;
	top: var(--space-4);
	right: var(--space-4);
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.sl-lightbox__close:hover {
	background: rgba(0, 0, 0, 0.55);
}

.related-tools__list {
	margin: 0;
	padding-left: 1.1rem;
	color: var(--color-muted);
}

.related-tools__list li {
	margin-bottom: var(--space-2);
}

/* Quick answer + TOC (semantic / AI-friendly layout) */
.summary-box {
	margin: 0 0 var(--space-6);
	padding: 1rem 1.15rem;
	background: #f0f7ff;
	border: 1px solid rgba(37, 99, 235, 0.12);
	border-radius: var(--radius);
	border-left: 4px solid #3b82f6;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	font-size: 0.95rem;
	line-height: 1.6;
	color: #1e293b;
}

.summary-box__label {
	display: inline;
	margin-right: var(--space-2);
}

.summary-box__text {
	display: inline;
	color: var(--color-text);
}

/* Lead quick summary (under post title — distinct from in-body summary-box) */
.summary-box--lead {
	margin: var(--space-3) 0 var(--space-5);
	padding: var(--space-4) var(--space-5);
	background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 55%, #fde68a 100%);
	border: 1px solid rgba(217, 119, 6, 0.28);
	border-left: 4px solid #d97706;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(180, 83, 9, 0.08);
	font-size: 0.98rem;
	line-height: 1.65;
	color: #422006;
}

.summary-box--lead__label {
	margin: 0 0 var(--space-2);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #b45309;
}

.summary-box--lead__body {
	margin: 0;
}

.summary-box--lead__body > p:first-child {
	margin-top: 0;
}

.summary-box--lead__body > p:last-child {
	margin-bottom: 0;
}

.summary-box--lead__body p {
	margin: 0 0 0.5rem;
}

.summary-box--lead__body a {
	color: #b45309;
	font-weight: 600;
}

.summary-box--lead__body a:hover {
	color: #92400e;
}

.sl-toc,
.entry-content .sl-toc,
.prose .sl-toc,
.prose.prose--article-premium .sl-toc {
	margin: 1.25rem 0 1.75rem;
	padding: 1.2rem 1.35rem 1.25rem;
	background-color: #eaf1f8 !important;
	background-image: none !important;
	border: 1px solid rgba(93, 136, 190, 0.16) !important;
	border-left: 4px solid #5D88BE !important;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(93, 136, 190, 0.06);
}

.sl-toc__title {
	margin: 0 0 0.85rem;
	font-size: 1.05rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	color: #5D88BE;
}

.sl-toc__list {
	margin: 0;
	padding-left: 1.2rem;
}

.sl-toc__item {
	margin-bottom: 0.5rem;
}

.sl-toc__item--depth-1 {
	margin-left: var(--space-4);
	list-style-type: circle;
}

.sl-toc__item a {
	color: #333;
	text-decoration: none;
	transition: color .15s ease;
}

.sl-toc__item a:hover {
	color: #5D88BE;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Software meta (shortcode) */
.software-meta {
	display: grid;
	grid-template-columns: minmax(5rem, 8rem) 1fr;
	gap: var(--space-2) var(--space-4);
	align-items: baseline;
	margin: var(--space-6) 0;
	padding: var(--space-4) var(--space-5);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 0.95rem;
}

.software-meta dt {
	margin: 0;
	font-weight: 700;
	color: var(--color-muted);
}

.software-meta dd {
	margin: 0;
	color: var(--color-text);
}

/* Copy deterrence (optional strict mode + teaser wall) */
body.sl-copy-strict .entry-content {
	user-select: none;
}

body.sl-copy-strict .entry-content pre,
body.sl-copy-strict .entry-content code,
body.sl-copy-strict .entry-content input,
body.sl-copy-strict .entry-content textarea,
body.sl-copy-strict .entry-content [contenteditable="true"],
body.sl-copy-strict .entry-content .wp-block-code,
body.sl-copy-strict .entry-content .wp-block-preformatted {
	user-select: text;
}

.sl-teaser-wall {
	position: relative;
	margin: var(--space-6) 0;
}

.sl-teaser-wall__inner {
	position: relative;
	max-height: 14rem;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.sl-teaser-wall:not(.is-expanded) .sl-teaser-wall__inner::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4rem;
	background: linear-gradient(to bottom, transparent, var(--color-surface));
	pointer-events: none;
}

.sl-teaser-wall.is-expanded .sl-teaser-wall__inner {
	max-height: none;
	overflow: visible;
}

.sl-teaser-wall.is-expanded .sl-teaser-wall__inner::after {
	display: none;
}

.sl-teaser-wall__btn {
	display: inline-flex;
	margin-top: var(--space-3);
	padding: 0.5rem 1rem;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	color: var(--color-primary);
}

.sl-teaser-wall.is-expanded .sl-teaser-wall__btn {
	display: none;
}

/* Topic cluster shortcode */
.cluster-box__title {
	margin: 0 0 var(--space-3);
	font-size: 1rem;
}

.cluster-box__list {
	margin: 0;
	padding-left: 1.25rem;
	color: var(--color-text);
}

.cluster-box__item {
	margin-bottom: var(--space-2);
}

/* Verified author badge */
.entry-verified {
	margin: var(--space-2) 0 0;
}

.entry-verified__badge {
	display: inline-block;
	padding: 0.2rem 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-primary);
	border: 1px solid var(--color-primary);
	border-radius: var(--radius-sm);
}

/* Download modal */
.sl-download-modal[hidden] {
	display: none !important;
}

.sl-download-modal {
	position: fixed;
	inset: 0;
	z-index: 100002;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-4);
}

.sl-download-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
}

.sl-download-modal__panel {
	position: relative;
	z-index: 1;
	max-width: 28rem;
	width: 100%;
	padding: var(--space-6);
}

.sl-download-modal__title {
	margin: 0 0 var(--space-3);
	font-size: 1.25rem;
}

.sl-download-modal__body {
	margin-bottom: var(--space-4);
	color: var(--color-muted);
	font-size: 0.95rem;
}

.sl-download-modal__status {
	margin: 0 0 var(--space-3);
	font-weight: 600;
	color: var(--color-primary);
}

.sl-download-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	justify-content: flex-end;
}

/* — Premium single post (TOC + share + progress) — */
.sl-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	z-index: 100003;
	background: var(--color-primary);
	pointer-events: none;
	transition: width 0.12s ease-out;
}

.single-article-premium .site-header {
	position: relative;
	z-index: 100001;
}

/* Page canvas: subtle separation from white content / TOC cards */
body.single-article-premium {
	background: #f5f7fb;
}

.article-shell {
	max-width: min(1440px, calc(100% - 1.5rem));
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.article-breadcrumbs {
	margin-bottom: var(--space-4);
	font-size: 0.875rem;
	color: var(--color-muted);
}

.article-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.article-breadcrumbs__item a {
	color: var(--color-primary);
	text-decoration: none;
}

.article-breadcrumbs__item a:hover {
	text-decoration: underline;
}

.article-breadcrumbs__sep {
	color: var(--color-border);
	user-select: none;
}

.article-entry__hero {
	margin-top: var(--space-4);
	margin-bottom: 0;
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-header .entry-title + .article-entry__under-media {
	margin-top: var(--space-4);
}

.entry-header .article-entry__hero + .article-entry__under-media,
.entry-header .hero__media + .article-entry__under-media {
	margin-top: var(--space-5);
}

.article-entry__under-media .post-meta-bar {
	margin-top: 0;
}

/* Premium article: meta strip under wide post hero */
.single-article-premium .article-entry > .entry-header--post-meta {
	margin-bottom: var(--space-6);
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.single-article-premium .article-shell {
	padding-top: clamp(1.75rem, 4vw, 2.75rem);
}

.single-article-premium .article-entry > .entry-header .entry-meta--secondary {
	color: #475569;
	font-size: 0.875rem;
}

.single-article-premium .article-entry > .entry-header .entry-meta--secondary a {
	color: #1d4ed8;
}

/* Premium post: TOC | content | share (Stellar-style shell) */
.article-body-grid {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	align-items: stretch;
	margin-top: var(--space-2);
}

.article-body-grid__toc {
	display: none;
}

.article-body-grid__main {
	min-width: 0;
}

@media (min-width: 1025px) {
	.article-body-grid {
		display: grid;
		align-items: start;
		gap: 24px;
		margin-top: var(--space-4);
	}

	.article-body-grid:not(.article-body-grid--no-toc) {
		grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
		gap: 28px;
	}

	.article-body-grid.article-body-grid--no-toc {
		grid-template-columns: minmax(0, 1fr);
	}

	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__toc.toc-sidebar {
		display: block;
		position: sticky;
		top: 120px;
		max-height: calc(100vh - 140px);
		overflow-x: hidden;
		overflow-y: auto;
		padding: 15px;
		background: #fff;
		border: 1px solid #e5e7eb;
		border-left: 3px solid #3b82f6;
		border-radius: 10px;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
		font-size: 14px;
		scrollbar-width: thin;
		scrollbar-color: #ddd transparent;
	}

	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__toc.toc-sidebar::-webkit-scrollbar {
		width: 4px;
	}

	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__toc.toc-sidebar::-webkit-scrollbar-thumb {
		background: #ddd;
		border-radius: 10px;
	}

	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__toc.toc-sidebar::-webkit-scrollbar-track {
		background: transparent;
	}

	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__toc nav.sl-toc {
		margin: 0;
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
		border-radius: 0;
		font-size: 13px;
	}

	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__toc .sl-toc__title {
		font-size: 0.72rem;
		letter-spacing: 0.06em;
		color: #64748b;
	}

	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__toc .sl-toc__item a {
		display: block;
		padding: 4px 6px;
		margin-left: -2px;
		margin-right: -2px;
		border-radius: 6px;
		font-size: 13px;
		text-decoration: none;
		color: #334155;
		transition: background-color 0.15s ease, color 0.15s ease;
	}

	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__toc .sl-toc__item a:hover {
		background: #e5e7eb;
		color: #1a2b3c;
	}

	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__toc .sl-toc__item a.is-active {
		background: #e0e7ff;
		color: #3b82f6;
	}
}

/* Tablet / mobile: single column; desktop TOC hidden (FAB + dialog) */
@media (max-width: 1024px) {
	.article-body-grid__toc {
		display: none !important;
	}

	.article-body-grid__main {
		order: 1;
	}
}

.sl-toc--sidebar {
	margin: 0;
	padding: var(--space-4);
	font-size: 0.9rem;
}

/* TOC in mobile dialog / non-grid contexts */
.sl-toc--sidebar .sl-toc__item a.is-active {
	color: #3b82f6;
	font-weight: 600;
}

.article-body-grid__main .entry-content :is(h2, h3, h4, h5, h6)[id] {
	scroll-margin-top: 6rem;
}

/* Share buttons at end of post (horizontal) */
.article-share-rail--footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3) var(--space-4);
	margin: var(--space-8) 0 var(--space-6);
	padding: var(--space-4) 0;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.article-share-rail__label {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--color-text);
}

.article-share-rail__buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3);
}

.article-share-rail__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: #fff;
	border: 1px solid rgba(226, 232, 240, 0.95);
	color: var(--color-text);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.article-share-rail__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
	border-color: #cbd5e1;
}

.article-share-rail__btn--fb:hover {
	color: #1877f2;
}

.article-share-rail__btn--tw:hover {
	color: #000;
}

.article-share-rail__btn--li:hover {
	color: #0a66c2;
}

/* Premium single: meta bar (only when NOT inside dark post banner) */
.single-article-premium .post-meta-bar {
	gap: 1.25rem 1.5rem;
	padding: var(--space-5) var(--space-4);
	margin: var(--space-5) 0 0;
	font-size: 0.875rem;
	color: #64748b;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

/* Dark banner meta: high-contrast white text, no frosted card */
.single-article-premium .post-hero .post-meta-bar,
.post-hero .post-meta-bar {
	gap: 1.25rem 1.75rem;
	padding: var(--space-4) 0 0;
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	border-radius: 0;
	background: transparent;
	backdrop-filter: none;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow: none;
}

.single-article-premium .post-hero .post-meta-bar__label,
.post-hero .post-meta-bar__label {
	color: #fff;
	font-weight: 700;
}

.single-article-premium .post-hero .post-meta-bar__value,
.single-article-premium .post-hero .post-meta-bar__name--text,
.post-hero .post-meta-bar__value,
.post-hero .post-meta-bar__name--text {
	color: rgba(255, 255, 255, 0.88);
}

.single-article-premium .post-hero .post-meta-bar__name,
.post-hero .post-meta-bar__name {
	color: #fff;
}

.single-article-premium .post-hero .post-meta-bar__icon-wrap,
.post-hero .post-meta-bar__icon-wrap {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #fff;
}

.single-article-premium .post-hero .post-meta-bar__social,
.post-hero .post-meta-bar__social {
	color: #fff;
}

.single-article-premium .post-hero .post-meta-bar__avatar,
.post-hero .post-meta-bar__avatar {
	border: 2px solid rgba(255, 255, 255, 0.4);
}

.single-article-premium .post-hero .blog-hero__title {
	margin-bottom: var(--space-3);
	line-height: 1.22;
}

.single-article-premium .entry-header--post-meta .article-entry__under-media {
	margin-top: 0;
}

.post-hero .blog-hero__lead {
	max-width: 42rem;
}

.post-hero .blog-hero__lead p {
	margin: 0 0 0.5rem;
}

.post-hero .blog-hero__lead p:last-child {
	margin-bottom: 0;
}

/* Elevated “paper” surface for article body */
.article-body-grid__main > .entry-content.prose--article-premium {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	font-size: 1.0625rem;
	line-height: 1.8;
	color: #333;
	background: #fff;
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: 12px;
	border: 1px solid rgba(226, 232, 240, 0.95);
	box-shadow:
		0 10px 30px rgba(0, 0, 0, 0.05),
		0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

/* No sidebar: keep reading column centered in the row */
.article-body-grid.article-body-grid--no-toc .article-body-grid__main > .entry-content.prose--article-premium {
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 1025px) {
	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__main > .sl-comments,
	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__main > section.author-box,
	.article-body-grid:not(.article-body-grid--no-toc) .article-body-grid__main > .related-posts {
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
	}
}

/* Override global .prose > * + * so paragraph spacing stays controlled */
.prose.prose--article-premium > * + * {
	margin-top: 0;
}

.prose.prose--article-premium > h2:first-child,
.prose.prose--article-premium > h3:first-child {
	margin-top: 0;
}

.prose.prose--article-premium p {
	margin-top: 0;
	margin-bottom: 18px;
}

.prose.prose--article-premium blockquote p:last-child,
.prose.prose--article-premium li p:last-child {
	margin-bottom: 0;
}

.prose.prose--article-premium > *:first-child {
	margin-top: 0;
}

.prose.prose--article-premium h2 {
	font-size: 1.625rem;
	line-height: 1.3;
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
	padding-bottom: 8px;
	border-bottom: 2px solid #f1f5f9;
	font-weight: 600;
	color: #1a2b3c;
	letter-spacing: -0.02em;
}

.prose.prose--article-premium h3 {
	font-size: 1.25rem;
	line-height: 1.35;
	margin-top: 1.75rem;
	margin-bottom: 0.55rem;
	font-weight: 600;
	color: #1e293b;
}

.prose.prose--article-premium ul,
.prose.prose--article-premium ol {
	padding-left: 1.25rem;
}

.prose.prose--article-premium li {
	margin-bottom: 0.5rem;
}

.prose.prose--article-premium li > ul,
.prose.prose--article-premium li > ol {
	margin-top: 0.35rem;
}

.prose.prose--article-premium .wp-block-image,
.prose.prose--article-premium figure {
	margin-top: 1.25rem;
	margin-bottom: 1.25rem;
}

.prose.prose--article-premium .wp-block-image img,
.prose.prose--article-premium figure img,
.prose.prose--article-premium img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
}

.prose.prose--article-premium > img {
	display: block;
	margin: 20px auto;
}

/* Optional: prominent captions under screenshots (Customizer) */
.sl-caption-emphasis .entry-content figcaption,
.sl-caption-emphasis .wp-block-image figcaption,
.sl-caption-emphasis .wp-block-gallery .blocks-gallery-caption,
.sl-caption-emphasis .wp-block-media-text__content {
	margin-top: 0.65rem;
	padding: 0.65rem 0.85rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #334155;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0 0 8px 8px;
	border-top: 2px solid #64748b;
}

.single-article-premium .entry-content .highlight {
	background: #fff3cd;
	padding: 3px 6px;
	border-radius: 4px;
	font-weight: 500;
}

.single-article-premium .entry-content .cta-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
	margin: var(--space-8) 0;
	padding: 20px 22px;
	text-align: center;
	color: #fff;
	background: linear-gradient(135deg, #3b82f6, #3b82f6);
	border: 0;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(37, 99, 235, 0.28);
}

.single-article-premium .entry-content .cta-box strong {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.35;
}

.single-article-premium .entry-content .cta-box a:last-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.35rem;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	border-radius: 999px;
	background: #fff;
	color: #3b82f6;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.single-article-premium .entry-content .cta-box a:last-child:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
	background: #f8fafc;
}

.sl-article-faq details.faq-item {
	margin-bottom: var(--space-3);
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #f9fafb;
	overflow: hidden;
}

.sl-article-faq details.faq-item[open] {
	background: #fff;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.sl-article-faq details.faq-item summary {
	padding: var(--space-4) var(--space-4);
	font-weight: 600;
	cursor: pointer;
	color: #1a2b3c;
	list-style: none;
}

.sl-article-faq details.faq-item summary::-webkit-details-marker {
	display: none;
}

.sl-article-faq .faq-item__body {
	padding: 0 var(--space-4) var(--space-4);
	margin: 0;
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.65;
}

.single-article-premium .author-box {
	margin-top: var(--space-8);
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid rgba(226, 232, 240, 0.95);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.single-article-premium .author-box.card {
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.single-article-premium .author-box__inner {
	gap: 0.875rem 1rem;
	padding: 0;
	align-items: center;
}

.single-article-premium .author-box__bio {
	font-size: 0.95rem;
	line-height: 1.65;
	color: #475569;
}

.single-article-premium .author-box__name {
	font-size: 1.1rem;
	margin-bottom: 0.35rem;
}

.single-article-premium .author-box__social {
	margin-top: 0.25rem;
}

/* Author box uses .card; global .card sets height:100% which stretches the block next to a tall TOC column. */
.author-box.card {
	height: auto;
	min-height: 0;
	max-height: none;
	align-self: start;
	width: 100%;
}

.author-box.card:hover {
	transform: none;
}

.author-box {
	margin-top: var(--space-10);
}

.single-article-premium .author-box.card.card--pad {
	padding: var(--space-4) var(--space-5);
}

.author-box__inner {
	display: flex;
	gap: var(--space-4);
	align-items: flex-start;
	flex-wrap: wrap;
}

.author-box__body {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
}

.author-box__avatar {
	border-radius: 50%;
	flex-shrink: 0;
}

.single-article-premium .author-box__avatar,
.single-article-premium .author-box__avatar img {
	width: 72px;
	height: 72px;
	max-width: 72px;
}

.author-box__kicker {
	margin: 0 0 var(--space-1);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-muted);
}

.author-box__name {
	margin: 0 0 var(--space-2);
	font-size: 1.25rem;
	font-weight: 700;
}

.author-box__name a {
	color: inherit;
	text-decoration: none;
}

.author-box__name a:hover {
	color: var(--color-primary);
}

.author-box__badge {
	display: inline-block;
	margin-left: var(--space-2);
	padding: 0.15rem 0.45rem;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	vertical-align: middle;
	color: var(--color-primary);
	border: 1px solid var(--color-primary);
	border-radius: var(--radius-sm);
}

.author-box__bio {
	margin: 0 0 var(--space-3);
	color: var(--color-muted);
	line-height: 1.55;
}

.author-box__social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.9rem;
}

/* — Comments (single posts) — */
.sl-comments {
	margin-top: var(--space-10);
	padding: clamp(1.25rem, 4vw, 1.75rem);
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	background: #fff;
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.sl-comments__head {
	margin-bottom: var(--space-5);
	padding-bottom: var(--space-4);
	border-bottom: 1px solid #e2e8f0;
}

.sl-comments__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a2b3c;
	letter-spacing: -0.02em;
}

.sl-comments__closed {
	margin: var(--space-2) 0 0;
	font-size: 0.875rem;
	color: #64748b;
}

.sl-comments__list {
	list-style: none;
	margin: 0 0 var(--space-6);
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.sl-comments .comment-list .children {
	list-style: none;
	margin: var(--space-4) 0 0;
	padding: 0 0 0 var(--space-4);
	border-left: 2px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.sl-comments .comment-body {
	margin: 0;
	padding: var(--space-4);
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}

.sl-comments .pingback .comment-body,
.sl-comments .trackback .comment-body {
	background: #fff;
	border-left: 3px solid #94a3b8;
}

.sl-comments .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2) var(--space-3);
	margin-bottom: var(--space-3);
	font-size: 0.8125rem;
	color: #64748b;
}

.sl-comments .comment-author {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a2b3c;
}

.sl-comments .comment-author .avatar {
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.sl-comments .comment-metadata a {
	color: #64748b;
	text-decoration: none;
}

.sl-comments .comment-metadata a:hover {
	color: #3b82f6;
	text-decoration: underline;
}

.sl-comments .comment-content {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #334155;
}

.sl-comments .comment-content p {
	margin: 0 0 0.65rem;
}

.sl-comments .comment-content p:last-child {
	margin-bottom: 0;
}

.sl-comments .reply {
	margin-top: var(--space-3);
}

.sl-comments .comment-reply-link {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	color: #1d4ed8;
	background: #fff;
	border: 1px solid #c7d2fe;
	border-radius: 6px;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.sl-comments .comment-reply-link:hover {
	background: #eef2ff;
	border-color: #818cf8;
}

.sl-comments .comments-pagination,
.sl-comments .comment-navigation {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	margin: 0 0 var(--space-6);
	padding: var(--space-3) 0;
	border-bottom: 1px solid #e2e8f0;
	font-size: 0.875rem;
}

.sl-comments .comments-pagination a,
.sl-comments .comment-navigation a {
	font-weight: 600;
	color: #3b82f6;
	text-decoration: none;
}

.sl-comments .comments-pagination a:hover,
.sl-comments .comment-navigation a:hover {
	text-decoration: underline;
}

.sl-comments__form-wrap {
	margin-top: var(--space-2);
	padding-top: var(--space-5);
	border-top: 1px solid #e2e8f0;
}

.sl-comments__reply-title {
	margin: 0 0 var(--space-4);
	font-size: 1.1rem;
	font-weight: 700;
	color: #1a2b3c;
}

.sl-comments__cancel-wrap {
	margin-left: var(--space-2);
	font-size: 0.8125rem;
	font-weight: 500;
}

.sl-comments__cancel-wrap a {
	color: #64748b;
}

.sl-comment-form {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: var(--space-4);
}

.sl-comment-form .comment-form-author,
.sl-comment-form .comment-form-email,
.sl-comment-form .comment-form-url {
	margin: 0;
}

.sl-comment-form .comment-form-author label,
.sl-comment-form .comment-form-email label,
.sl-comment-form .comment-form-url label,
.sl-comment-form .comment-form-comment label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #475569;
}

.sl-comment-form input[type="text"],
.sl-comment-form input[type="email"],
.sl-comment-form input[type="url"] {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.85rem;
	font: inherit;
	font-size: 0.9375rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: #1a2b3c;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sl-comment-form input:focus,
.sl-comment-form textarea:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.sl-comment-form .comment-form-comment {
	margin: 0;
}

.sl-comment-form textarea {
	width: 100%;
	max-width: 100%;
	min-height: 9rem;
	padding: 0.85rem 1rem;
	font: inherit;
	font-size: 0.9375rem;
	line-height: 1.55;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #fafafa;
	color: #1a2b3c;
	resize: vertical;
}

.sl-comment-form .form-submit {
	margin: 0;
	padding-top: var(--space-1);
}

.sl-comment-form .comment-notes,
.sl-comment-form .logged-in-as {
	margin: 0 0 var(--space-2);
	font-size: 0.8125rem;
	color: #64748b;
}

.sl-comment-form .logged-in-as a {
	color: #3b82f6;
}

@media (min-width: 640px) {
	.sl-comment-form {
		flex-direction: row;
	}

	.sl-comment-form .comment-form-author,
	.sl-comment-form .comment-form-email,
	.sl-comment-form .comment-form-url {
		flex: 1 1 calc(33.333% - var(--space-3));
		min-width: 10rem;
	}

	.sl-comment-form .comment-notes,
	.sl-comment-form .logged-in-as,
	.sl-comment-form .comment-form-comment,
	.sl-comment-form .comment-form-cookies-consent,
	.sl-comment-form .form-submit {
		flex: 1 1 100%;
	}
}

.related-posts {
	margin-top: var(--space-10);
	padding-top: var(--space-8);
	border-top: 1px solid var(--color-border);
}

.related-posts__title {
	margin: 0 0 var(--space-5);
	font-size: 1.25rem;
}

.related-posts__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--space-4);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.related-posts__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.related-posts__item {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	align-items: stretch;
}

.related-posts__thumb {
	display: block;
}

.related-posts__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius-sm);
}

.related-posts__link {
	display: block;
	font-weight: 600;
	color: inherit;
	text-decoration: none;
	margin-bottom: 0.25rem;
}

.related-posts__link:hover {
	color: var(--color-primary);
}

.related-posts__date {
	font-size: 0.8125rem;
	color: var(--color-muted);
}

/* TrustVare single post */
.article-shell--trustvare {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 2.5rem;
}

.entry-header--trustvare {
	margin-bottom: 1.25rem;
}

.mv-post-title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-bottom: 1rem;
}

.mv-post-title {
	flex: 1 1 280px;
	margin: 0;
	font-size: clamp(1.65rem, 2.4vw, 2.15rem);
	line-height: 1.25;
	color: #1a2b3c;
	font-weight: 700;
}

.mv-post-download {
	flex: 0 0 auto;
	white-space: nowrap;
	background: #5D88BE !important;
	border: 2px solid #5D88BE !important;
	color: #fff !important;
	font-weight: 700;
	border-radius: 6px;
	padding: 0.65rem 1.15rem;
	text-decoration: none;
	box-shadow: none;
	transition: background .2s, border-color .2s, color .2s;
}

.mv-post-download:hover,
.mv-post-download:focus {
	background: #8f0000 !important;
	border-color: #8f0000 !important;
	color: #fff !important;
}

.mv-post-featured {
	margin: 0 0 1rem;
}

.mv-post-featured__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.article-body-grid--trustvare {
	display: block;
}

.article-body-grid--trustvare .article-body-grid__main {
	max-width: 100%;
}

.site-main--article-trustvare .article-breadcrumbs {
	margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
	.mv-post-title-row {
		flex-direction: column;
		align-items: stretch;
	}

	.mv-post-download {
		width: 100%;
		text-align: center;
	}
}

.sl-article-faq {
	margin: var(--space-8) 0;
	padding: var(--space-5);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-surface);
}

.sl-article-faq > h2 {
	margin: 0 0 var(--space-4);
	font-size: 1.25rem;
}

.article-toc-fab {
	display: flex;
	position: fixed;
	right: var(--space-4);
	bottom: var(--space-4);
	z-index: 99990;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}

@media (min-width: 1025px) {
	.article-toc-fab {
		display: none;
	}
}

.article-toc-dialog {
	max-width: min(100vw - 2rem, 24rem);
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 0;
}

.article-toc-dialog::backdrop {
	background: rgba(15, 23, 42, 0.35);
}

.article-toc-dialog__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	padding: var(--space-4);
	border-bottom: 1px solid var(--color-border);
}

.article-toc-dialog__title {
	margin: 0;
	font-size: 1rem;
}

.article-toc-dialog__close {
	border: 0;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: var(--color-muted);
}

.article-toc-dialog__body {
	padding: var(--space-3);
	max-height: 60vh;
	overflow: auto;
}

/* -------------------------------------------------------------------------
   Global table system (Gutenberg + Classic + common plugin tables)
   ------------------------------------------------------------------------- */
.entry-content table:not(.no-style),
.wp-block-table table,
.tablepress {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	font-size: 0.9375rem;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.entry-content th,
.wp-block-table th,
.tablepress thead th {
	background: #f3f6fb;
	font-weight: 600;
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid #e5e7eb;
}

.entry-content td,
.wp-block-table td,
.tablepress tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid #f1f5f9;
	vertical-align: top;
	word-break: break-word;
	white-space: normal;
}

.entry-content th,
.wp-block-table th,
.tablepress thead th {
	vertical-align: top;
	word-break: break-word;
	white-space: normal;
}

.entry-content table tr:nth-child(even),
.wp-block-table table tr:nth-child(even),
.tablepress tbody tr:nth-child(even) {
	background: #fafafa;
}

.entry-content tr {
	transition: background 0.2s ease;
}

.entry-content table tr:hover,
.wp-block-table table tr:hover,
.tablepress tbody tr:hover {
	background: #f0f7ff;
}

.entry-content table td,
.entry-content table th,
.wp-block-table table td,
.wp-block-table table th,
.tablepress td,
.tablepress th {
	border-left: 0;
	border-right: 0;
}

.tablepress tbody td {
	border: none !important;
}

.tablepress thead th {
	background: #f3f6fb !important;
}

/* Premium corner finish */
.entry-content table tr:first-child th:first-child,
.wp-block-table table tr:first-child th:first-child,
.tablepress thead tr:first-child th:first-child {
	border-top-left-radius: 10px;
}

.entry-content table tr:first-child th:last-child,
.wp-block-table table tr:first-child th:last-child,
.tablepress thead tr:first-child th:last-child {
	border-top-right-radius: 10px;
}

.entry-content table tr:last-child td:first-child,
.wp-block-table table tr:last-child td:first-child,
.tablepress tbody tr:last-child td:first-child {
	border-bottom-left-radius: 10px;
}

.entry-content table tr:last-child td:last-child,
.wp-block-table table tr:last-child td:last-child,
.tablepress tbody tr:last-child td:last-child {
	border-bottom-right-radius: 10px;
}

/* Wrapper-based responsive scroll (do not set table display:block) */
.entry-content .table-wrapper,
.entry-content .wp-block-table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.entry-content .table-wrapper > table,
.entry-content .wp-block-table table,
.entry-content .tablepress {
	min-width: 640px;
}

.entry-content .table-wrapper::-webkit-scrollbar,
.entry-content .wp-block-table::-webkit-scrollbar {
	height: 6px;
}

.entry-content .table-wrapper::-webkit-scrollbar-thumb,
.entry-content .wp-block-table::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 10px;
}

/* Optional sticky head inside article content */
.entry-content thead th {
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 2;
}

@media (max-width: 768px) {
	.entry-content table:not(.no-style),
	.wp-block-table table,
	.tablepress {
		min-width: 600px;
	}
}

@supports selector(table:not(:has(thead))) {
	.entry-content table:not(:has(thead)) tr:first-child {
		background: #f3f6fb;
		font-weight: 600;
	}
}

/* ===== mv-header.css ===== */
/* TrustVare header — slanted contact bar + pill nav (live-site style) */
.top_bar{display:none !important;}

.tv-header{
  position:relative;
  z-index:10060;
  background:#fff;
  width:100%;
}

.tv-header .container{
  width:90% !important;
  max-width:1200px !important;
  margin:0 auto !important;
  padding:0 15px !important;
  box-sizing:border-box;
}

/* ===== Full-width top contact bar ===== */
.tv-topbar{
  position:relative;
  z-index:2;
  width:100%;
  min-height:24px;
  background:#2d507d;
  overflow:hidden;
}
.tv-topbar::before{
  display:none;
}
.tv-topbar__inner{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  min-height:24px;
}
.tv-topbar__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:0;
}
.tv-topbar__list li{
  margin:0;
  padding:0;
}
.tv-topbar__list a{
  display:inline-block;
  color:#fff !important;
  text-decoration:none !important;
  font-size:11px;
  font-weight:500;
  line-height:1;
  padding:6px 10px;
  white-space:nowrap;
  transition:opacity .2s;
}
.tv-topbar__list a:hover{
  opacity:.88;
  color:#fff !important;
}

/* ===== Main nav row ===== */
.tv-navbar{
  position:relative;
  z-index:3;
  background:#fff;
  border-bottom:1px solid #e8eef5;
}
.tv-navbar__wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.25rem;
  min-height:64px;
  padding-top:10px;
  padding-bottom:10px;
  position:relative;
}
.tv-navbar__brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  padding-bottom:0;
}
.tv-navbar__logo{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}
.tv-navbar__logo img{
  display:block;
  max-height:32px;
  width:auto;
  height:auto;
}

.tv-nav-toggle{
  position:absolute !important;
  opacity:0 !important;
  pointer-events:none !important;
  width:1px !important;
  height:1px !important;
}

.tv-burger,
.tv-backdrop,
.tv-close,
.tv-only-mobile{
  display:none !important;
}

/* ===== Pill nav buttons ===== */
.tv-nav{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:6px;
}
.tv-nav > li{
  position:relative;
  margin:0;
  padding:0;
  list-style:none;
}
.tv-nav > li > a{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:9px 16px !important;
  border-radius:8px;
  background:linear-gradient(180deg, #4a6fa0 0%, #2d507d 100%);
  color:#fff !important;
  text-decoration:none !important;
  text-transform:uppercase;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  line-height:1.1;
  white-space:nowrap;
  box-shadow:0 1px 0 rgba(255,255,255,.18) inset;
  transition:background .2s, filter .2s, transform .15s;
}
.tv-nav > li > a:hover,
.tv-nav > li > a:focus{
  background:linear-gradient(180deg, #5a82b5 0%, #355a8a 100%);
  color:#fff !important;
  filter:brightness(1.04);
}
.tv-nav > li > a svg{
  display:block;
  flex:0 0 auto;
}
.tv-nav__caret{
  width:11px;
  height:11px;
  margin-left:2px;
  opacity:.95;
}

/* Products dropdown */
.tv-dropdown{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:210px;
  margin:0;
  padding:8px 0;
  list-style:none;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:0 0 10px 10px;
  box-shadow:0 14px 32px rgba(26,43,60,.14);
  z-index:50;
}
.tv-nav__dropdown:hover > .tv-dropdown,
.tv-nav__dropdown:focus-within > .tv-dropdown{
  display:block;
}
.tv-dropdown a{
  display:block;
  padding:10px 16px;
  color:#2d507d !important;
  text-decoration:none !important;
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
}
.tv-dropdown a:hover{
  background:#f3f7fb;
  color:#1e3a5f !important;
}

/* ===== Mobile ===== */
@media (max-width:991px){
  .tv-topbar{display:none;}

  .tv-navbar__wrap{
    align-items:center;
    min-height:56px;
    padding:8px 0;
  }
  .tv-navbar__brand{padding-bottom:0;}
  .tv-navbar__logo img{max-height:28px;}

  .tv-burger{
    display:inline-flex !important;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    width:44px;
    height:44px;
    margin:0;
    padding:0;
    border:0;
    border-radius:8px;
    background:#2d507d;
    cursor:pointer;
    z-index:2;
    flex:0 0 auto;
  }
  .tv-burger span{
    display:block;
    width:18px;
    height:2px;
    background:#fff;
    border-radius:1px;
  }

  .tv-backdrop{
    display:block !important;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:opacity .25s,visibility .25s;
    z-index:1001;
  }

  .tv-nav{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:0 !important;
    position:fixed !important;
    top:0;
    right:0;
    width:min(86vw,340px);
    height:100vh;
    height:100dvh;
    margin:0;
    padding:0 0 28px;
    background:#fff !important;
    box-shadow:-8px 0 30px rgba(0,0,0,.18);
    overflow-y:auto;
    z-index:1002;
    transform:translateX(105%);
    transition:transform .28s ease;
  }

  #tv-nav-toggle:checked ~ .tv-backdrop{
    opacity:1;
    visibility:visible;
  }
  #tv-nav-toggle:checked ~ .tv-nav{
    transform:translateX(0);
  }

  .tv-only-mobile{display:block !important;}

  .tv-nav__drawer-head{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:16px 18px;
    border-bottom:1px solid #eee;
    position:sticky;
    top:0;
    background:#fff;
    z-index:1;
  }
  .tv-nav__drawer-head strong{
    font-size:16px;
    color:#222;
    font-weight:700;
  }
  .tv-close{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:8px;
    background:#f3f3f3;
    cursor:pointer;
    font-size:24px;
    line-height:1;
    color:#333;
    margin:0;
  }

  .tv-nav > li{
    width:100%;
    border-bottom:1px solid #f0f0f0;
  }
  .tv-nav > li > a{
    display:flex !important;
    justify-content:flex-start;
    width:100%;
    border-radius:0 !important;
    background:transparent !important;
    color:#2d507d !important;
    text-transform:none;
    font-size:16px !important;
    font-weight:600 !important;
    letter-spacing:0;
    padding:16px 18px !important;
    min-height:0;
    box-shadow:none !important;
  }
  .tv-nav > li > a:hover,
  .tv-nav > li > a:focus{
    background:#f3f7fb !important;
    filter:none;
  }

  .tv-dropdown{
    display:none;
    position:static;
    min-width:0;
    border:0;
    border-radius:0;
    box-shadow:none;
    background:#f7fafc;
    padding:0 0 8px;
  }
  .tv-nav__dropdown.is-open > .tv-dropdown{
    display:block;
  }
  .tv-dropdown a{
    padding:12px 18px 12px 32px;
    font-size:15px;
  }

  .tv-nav__emails{
    padding:14px 18px;
    border-bottom:0 !important;
  }
  .tv-nav__emails a{
    display:block !important;
    padding:8px 0 !important;
    color:#5D88BE !important;
    background:transparent !important;
    text-transform:none !important;
    font-size:14px !important;
    font-weight:600 !important;
  }
}

@media (min-width:992px){
  .tv-nav__dropdown.is-open > .tv-dropdown{
    display:block;
  }
}

/* ===== mv-footer.css ===== */
/* TrustVare footer — dark navy, 4 columns, copyright bar */

.tv-footer{
  background:#2d3d5e;
  color:#fff;
  font-family:"Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif;
  margin-top:0;
}

.tv-footer .container{
  width:90% !important;
  max-width:1200px !important;
  margin:0 auto !important;
  padding:0 15px !important;
  box-sizing:border-box;
}

.tv-footer__main{
  padding:52px 0 36px;
}

.tv-footer__grid{
  display:grid;
  grid-template-columns:minmax(220px,1.35fr) repeat(3,minmax(160px,1fr));
  gap:2rem 1.75rem;
  align-items:start;
}

.tv-footer__logo{
  display:inline-block;
  margin-bottom:16px;
  text-decoration:none;
}
.tv-footer__logo-img{
  display:block;
  max-width:180px;
  width:100%;
  height:auto;
  filter:brightness(0) invert(1);
}

.tv-footer__social{
  list-style:none;
  margin:0 0 18px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}
.tv-footer__social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  color:#fff;
  opacity:.95;
  transition:opacity .2s,transform .15s;
}
.tv-footer__social a:hover{
  opacity:1;
  transform:translateY(-1px);
}
.tv-footer__social svg{
  display:block;
  width:22px;
  height:22px;
}

.tv-footer__address{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#e8e8e8;
  font-size:14px;
  line-height:1.7;
}
.tv-footer__address svg{
  flex-shrink:0;
  margin-top:3px;
  color:#fff;
}
.tv-footer__address address{
  font-style:normal;
  margin:0;
  color:#e8e8e8;
}
.tv-footer__address strong{
  color:#fff;
  font-weight:600;
}

.tv-footer__heading{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 16px;
  padding:0 0 10px;
  border-bottom:2px solid rgba(255,255,255,.85);
  color:#fff;
  font-size:15px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  line-height:1.3;
}
.tv-footer__heading svg{
  flex-shrink:0;
}

.tv-footer__links{
  list-style:none;
  margin:0;
  padding:0;
}
.tv-footer__links li{
  margin:0 0 11px;
}
.tv-footer__links a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,.9);
  text-decoration:none;
  font-size:14px;
  line-height:1.45;
  transition:color .2s;
}
.tv-footer__links a:hover{
  color:#fff;
  text-decoration:underline;
}
.tv-footer__arrow{
  flex-shrink:0;
  width:14px;
  height:14px;
  opacity:.9;
}

.tv-footer__copy{
  background:#213047;
  border-top:1px solid rgba(255,255,255,.08);
  padding:14px 0;
  text-align:center;
}
.tv-footer__copy p{
  margin:0;
  color:#fff;
  font-size:13px;
  line-height:1.5;
}

@media (max-width:991px){
  .tv-footer__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .tv-footer__brand{
    grid-column:1 / -1;
  }
}

@media (max-width:640px){
  .tv-footer__main{padding:40px 0 28px;}
  .tv-footer__grid{
    grid-template-columns:1fr;
  }
}

/* Scroll to top — bottom left */
.tv-jumptop{
  display:none;
  position:fixed;
  left:20px;
  bottom:20px;
  z-index:2147483000;
  width:48px;
  height:48px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#f0a500;
  color:#233d5d;
  box-shadow:0 4px 16px rgba(0,0,0,.25);
  cursor:pointer;
  align-items:center;
  justify-content:center;
}
.tv-jumptop.is-visible{display:flex !important;}
.tv-jumptop svg{width:18px;height:18px;display:block;}
.tv-jumptop:hover{filter:brightness(1.05);}

/* Cookie consent modal */
.tv-consent-modal[hidden]{display:none !important;}
.tv-consent-modal{
  position:fixed;
  inset:0;
  z-index:2147483600;
  background:rgba(0,0,0,.6);
  padding:40px 16px;
  overflow:auto;
}
.tv-consent-modal__dialog{
  background:#fff;
  max-width:600px;
  margin:4% auto;
  border-radius:8px;
  box-shadow:0 4px 15px rgba(0,0,0,.2);
  overflow:hidden;
}
.tv-consent-modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:15px 20px;
  background:#f7f7f7;
  border-bottom:1px solid #eee;
}
.tv-consent-modal__header h2{
  margin:0;
  font-size:20px;
  color:#333;
  font-weight:600;
}
.tv-consent-modal__close{
  border:0;
  background:transparent;
  color:#aaa;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  padding:4px 8px;
}
.tv-consent-modal__close:hover{color:#000;}
.tv-consent-modal__body{padding:20px;}
.tv-consent-modal__body > p{
  font-size:14px;
  line-height:1.6;
  color:#555;
  margin:0 0 15px;
}
.tv-consent-item{
  background:#f9f9f9;
  border:1px solid #eee;
  border-radius:6px;
  margin-bottom:10px;
  padding:15px;
}
.tv-consent-item__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
}
.tv-consent-item__head strong{
  font-size:16px;
  color:#333;
  font-weight:500;
}
.tv-consent-item p{
  margin:0;
  font-size:13px;
  color:#666;
}
.tv-switch{
  position:relative;
  display:inline-block;
  width:44px;
  height:24px;
  flex-shrink:0;
}
.tv-switch input{opacity:0;width:0;height:0;}
.tv-slider{
  position:absolute;
  inset:0;
  cursor:pointer;
  background:#e0e0e0;
  border-radius:24px;
  transition:.3s;
}
.tv-slider:before{
  content:"";
  position:absolute;
  height:20px;
  width:20px;
  left:2px;
  bottom:2px;
  background:#fff;
  border-radius:50%;
  transition:.3s;
  box-shadow:0 2px 4px rgba(0,0,0,.2);
}
.tv-switch input:checked + .tv-slider{background:#4caf50;}
.tv-switch input:checked + .tv-slider:before{transform:translateX(20px);}
.tv-switch input:disabled + .tv-slider{cursor:not-allowed;opacity:.85;}
.tv-consent-modal__footer{
  background:#f7f7f7;
  border-top:1px solid #eee;
  padding:15px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.tv-consent-modal__footer > a{
  color:#555;
  font-size:13px;
  text-decoration:none;
}
.tv-consent-modal__footer > a:hover{text-decoration:underline;}
.tv-consent-modal__actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tv-consent-btn{
  padding:8px 14px;
  border:0;
  border-radius:5px;
  cursor:pointer;
  font-size:13px;
  font-weight:600;
}
.tv-consent-btn--muted{background:#6c757d;color:#fff;}
.tv-consent-btn--muted:hover{background:#5a6268;}
.tv-consent-btn--primary{background:#dc3545;color:#fff;}
.tv-consent-btn--primary:hover{background:#c82333;}

@media (max-width:640px){
  .tv-consent-modal__footer{flex-direction:column;align-items:stretch;}
  .tv-consent-modal__actions{flex-direction:column;}
  .tv-consent-btn{width:100%;}
}

/* Legacy class hooks (older masthead CSS) */
.mv-footer{display:contents;}
a.life-chat,.life-chat,.live-chat{display:none !important;visibility:hidden !important;pointer-events:none !important;}
.scroll.icon.scrolltop,.scrolltop:not(#tvJumpTop){display:none !important;}
#mvJumpTop{display:none !important;}
