/* Single post (single.php) — selectors unique to the article view. Shared chrome already lives in main.css. */

:root {
	--blue-300: #93c5fd;
}

/* ─── FEATURE IMAGE ─── */
.feature-image {
	width: 100%;
	max-width: 1200px;
	height: 480px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}
.feature-image.has-featured-photo {
	height: auto;
	background: transparent;
}
.feature-image-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 35%, #2563eb 65%, #4f46e5 100%); }
.feature-image-grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 56px 56px;
}
.feature-image-glow {
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at 30% 60%, rgba(99,102,241,.35) 0%, transparent 55%),
	            radial-gradient(ellipse at 75% 30%, rgba(147,51,234,.25) 0%, transparent 50%);
}
.feature-image-particles { position: absolute; inset: 0; pointer-events: none; }
.particle { position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); animation: dpdpFloatParticle 6s ease-in-out infinite; }
@keyframes dpdpFloatParticle {
	0%, 100% { transform: translateY(0) scale(1); opacity: .12; }
	50%      { transform: translateY(-18px) scale(1.08); opacity: .22; }
}
.feature-image-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.feature-image-icon svg { width: 96px; height: 96px; opacity: .15; }
.feature-image-photo {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}
.feature-image-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: linear-gradient(transparent, rgba(255,255,255,.95) 85%, #fff 100%); }
.feature-image-meta { position: absolute; bottom: 100px; right: 40px; display: flex; gap: 10px; }
.feature-image.has-featured-photo .feature-image-meta { right: 64px; bottom: 24px; }
.feature-meta-pill {
	background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,.6);
	border-radius: 999px; padding: 6px 14px;
	font-size: 12px; font-weight: 600; color: var(--slate-700);
	display: flex; align-items: center; gap: 6px;
	box-shadow: var(--shadow-sm);
}

/* ─── ARTICLE HEADER ─── */
.article-header { max-width: 1200px; margin: 0 auto; padding: 0 24px 40px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate-400); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--slate-400); transition: color .15s; }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb-sep { color: var(--slate-300); }
.breadcrumb-current { color: var(--blue-600); font-weight: 600; }

.article-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.article-cat {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
	background: var(--blue-50); color: var(--blue-700);
	border: 1px solid var(--blue-200); border-radius: 999px; padding: 4px 13px;
}

.article-title {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800; line-height: 1.18; letter-spacing: -.025em;
	color: var(--slate-900); margin-bottom: 22px;
}

.article-meta { display: flex; align-items: center; gap: 0; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--slate-200); }
.article-author { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 240px; }
.author-avatar {
	width: 46px; height: 46px; border-radius: 180px; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	font-size: 17px; font-weight: 800; color: #fff;
}
.author-avatar.has-author-image { background: transparent !important; overflow: hidden; }
.author-avatar.has-author-image img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.author-name { font-size: 14px; font-weight: 700; color: var(--slate-800); }
.author-role { font-size: 12px; color: var(--slate-400); }
.article-meta-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate-500); font-weight: 500; }
.meta-item svg { color: var(--slate-400); flex-shrink: 0; }

.share-row { display: flex; align-items: center; gap: 10px; padding-top: 20px; flex-wrap: wrap; }
.share-label { font-size: 12.5px; font-weight: 600; color: var(--slate-400); text-transform: uppercase; letter-spacing: .07em; }
.share-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border-radius: var(--radius-sm);
	font-size: 12.5px; font-weight: 600; cursor: pointer;
	font-family: var(--font); border: 1.5px solid; transition: all .15s;
	background: none;
}
.share-twitter  { color: #1d9bf0; border-color: rgba(29,155,240,.3); background: rgba(29,155,240,.04); }
.share-twitter:hover  { background: rgba(29,155,240,.08); border-color: rgba(29,155,240,.5); }
.share-linkedin { color: #0a66c2; border-color: rgba(10,102,194,.3); background: rgba(10,102,194,.04); }
.share-linkedin:hover { background: rgba(10,102,194,.08); border-color: rgba(10,102,194,.5); }
.share-copy     { color: var(--slate-600); border-color: var(--slate-200); background: var(--slate-50); }
.share-copy:hover { border-color: var(--slate-300); background: var(--slate-100); }

/* ─── CONTENT WRAPPER ─── */
.content-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 24px 80px; display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }

/* Summary card */
.ai-summary-share { margin-bottom: 26px; }
.ai-summary-share-title {
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--slate-400);
	margin-bottom: 10px;
	letter-spacing: .07em;
	text-transform: uppercase;
}
.ai-summary-share-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.ai-summary-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 34px;
	padding: 7px 13px;
	background: var(--slate-50);
	border: 1.5px solid var(--slate-200);
	border-radius: var(--radius-sm);
	color: var(--slate-600);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1;
	transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.ai-summary-share-btn:hover {
	background: var(--blue-50);
	border-color: var(--blue-200);
	color: var(--blue-700);
	transform: translateY(-1px);
}
.ai-summary-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	position: relative;
}
.ai-summary-chatgpt .ai-summary-mark::before {
	content: "";
	width: 14px;
	height: 14px;
	border: 1.5px solid #0d9488;
	border-radius: 50%;
	box-shadow: inset 0 0 0 3px var(--slate-50);
}
.ai-summary-claude .ai-summary-mark::before {
	content: "";
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: repeating-conic-gradient(from 0deg, var(--orange-600) 0deg 10deg, transparent 10deg 20deg);
}
.ai-summary-perplexity .ai-summary-mark::before,
.ai-summary-perplexity .ai-summary-mark::after {
	content: "";
	position: absolute;
	border: 1.5px solid var(--blue-600);
}
.ai-summary-perplexity .ai-summary-mark::before {
	inset: 1px 5px;
	border-top: 0;
	border-bottom: 0;
}
.ai-summary-perplexity .ai-summary-mark::after {
	inset: 5px 1px;
	border-left: 0;
	border-right: 0;
}
.ai-summary-gemini .ai-summary-mark::before {
	content: "";
	width: 15px;
	height: 15px;
	background: linear-gradient(135deg, #4285f4, #34a853 38%, #fbbc05 68%, #ea4335);
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.ai-summary-chatgpt:hover .ai-summary-mark::before { box-shadow: inset 0 0 0 3px var(--blue-50); }
.summary-card { background: linear-gradient(135deg, var(--blue-50) 0%, #f0e8ff 100%); border: 1px solid var(--blue-200); border-radius: var(--radius-xl); padding: 28px 32px; margin-bottom: 40px; }
.summary-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.summary-card-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--blue-600), var(--indigo-600)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.summary-card-icon svg { width: 18px; height: 18px; }
.summary-card-title { font-size: 15px; font-weight: 800; color: var(--slate-900); }
.summary-card-sub { font-size: 12.5px; color: var(--slate-500); }
.summary-list { display: flex; flex-direction: column; gap: 10px; }
.summary-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--slate-700); line-height: 1.55; }
.summary-bullet { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; background: linear-gradient(135deg, var(--blue-600), var(--indigo-600)); display: flex; align-items: center; justify-content: center; }
.summary-bullet svg { width: 10px; height: 10px; }

/* Article prose */
.prose { color: var(--slate-700); }
.prose h2 { font-size: 26px; font-weight: 800; color: var(--slate-900); letter-spacing: -.02em; line-height: 1.25; margin: 48px 0 18px; padding-top: 8px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 700; color: var(--slate-800); letter-spacing: -.01em; line-height: 1.3; margin: 32px 0 14px; scroll-margin-top: 100px; }
.prose p { font-size: 16px; line-height: 1.85; color: var(--slate-600); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--slate-800); font-weight: 700; }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-700); }
.prose h2::before { content: ''; display: block; width: 40px; height: 4px; background: linear-gradient(90deg, var(--blue-600), var(--indigo-600)); border-radius: 2px; margin-bottom: 12px; }

.prose ul.prose-list, .prose ul { margin: 18px 0 22px 0; display: flex; flex-direction: column; gap: 10px; list-style: none; }
.prose ul.prose-list li, .prose ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: var(--slate-600); line-height: 1.65; }
.prose ul.prose-list li::before, .prose ul li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 8px; background: linear-gradient(135deg, var(--blue-500), var(--indigo-600)); }

.prose ol.prose-list, .prose ol { margin: 18px 0 22px 0; display: flex; flex-direction: column; gap: 12px; counter-reset: prose-counter; list-style: none; }
.prose ol.prose-list li, .prose ol li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--slate-600); line-height: 1.65; counter-increment: prose-counter; }
.prose ol.prose-list li::before, .prose ol li::before {
	content: counter(prose-counter);
	width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
	background: var(--blue-50); color: var(--blue-700);
	font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--blue-200);
}

.prose blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--blue-500); background: var(--blue-50); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.prose blockquote p { font-size: 16.5px; font-style: italic; color: var(--slate-700); margin-bottom: 0; line-height: 1.7; }
.prose blockquote cite { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--blue-600); font-style: normal; }

.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius-md); margin: 24px 0; }
.callout-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.callout-icon svg { width: 17px; height: 17px; }
.callout-title { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.callout-text { font-size: 14px; line-height: 1.65; }
.callout-info    { background: var(--blue-50);  border: 1px solid var(--blue-200); }
.callout-info .callout-icon    { background: var(--blue-100); }
.callout-info .callout-title   { color: var(--blue-800, #1e40af); }
.callout-info .callout-text    { color: var(--blue-700); }
.callout-warning { background: #fffbf5; border: 1px solid #fed7aa; }
.callout-warning .callout-icon { background: #ffedd5; }
.callout-warning .callout-title { color: #9a3412; }
.callout-warning .callout-text  { color: #7c2d12; }
.callout-success { background: #f0fdf4; border: 1px solid #bbf7d0; }
.callout-success .callout-icon { background: var(--green-100); }
.callout-success .callout-title { color: #14532d; }
.callout-success .callout-text  { color: #166534; }

.prose-table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius-md); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); }
.prose-table, .prose table { width: 100%; border-collapse: collapse; }
.prose-table th, .prose table th { background: var(--slate-800); color: #fff; font-size: 13px; font-weight: 700; padding: 13px 16px; text-align: left; white-space: nowrap; }
.prose-table th:first-child, .prose table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.prose-table th:last-child, .prose table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.prose-table td, .prose table td { padding: 12px 16px; font-size: 14px; color: var(--slate-600); border-bottom: 1px solid var(--slate-100); }
.prose-table tr:last-child td, .prose table tr:last-child td { border-bottom: none; }
.prose-table tr:hover td, .prose table tr:hover td { background: var(--slate-50); }
.prose-table td strong, .prose table td strong { color: var(--slate-800); }
.badge-green { font-size: 11px; font-weight: 700; background: var(--green-100); color: var(--green-600); border-radius: 999px; padding: 2px 9px; }
.badge-orange { font-size: 11px; font-weight: 700; background: #ffedd5; color: #c2410c; border-radius: 999px; padding: 2px 9px; }
.badge-red { font-size: 11px; font-weight: 700; background: #fee2e2; color: #b91c1c; border-radius: 999px; padding: 2px 9px; }

.section-divider, .prose hr { border: none; border-top: 1px solid var(--slate-100); margin: 44px 0; }

/* Tags + bottom share */
.article-footer { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--slate-200); }
.article-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.article-tags-label { font-size: 12.5px; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: .07em; }
.article-tag {
	padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
	background: var(--slate-100); color: var(--slate-600);
	border: 1px solid var(--slate-200);
	transition: background .15s, color .15s, border-color .15s;
}
.article-tag:hover { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-200); }

/* Author bio card */
.author-bio-card { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-xl); padding: 28px; margin-top: 36px; display: flex; gap: 20px; align-items: flex-start; }
.author-bio-avatar { width: 64px; height: 64px; font-size: 24px; border-radius: 180px; }
.author-bio-avatar.has-author-image img { border-radius: 180px; }
.author-bio-name { font-size: 17px; font-weight: 800; color: var(--slate-900); margin-bottom: 3px; }
.author-bio-name a { color: inherit; }
.author-bio-name a:hover { color: var(--blue-600); }
.author-bio-text { font-size: 14px; color: var(--slate-500); line-height: 1.7; }
.author-bio-socials { display: flex; gap: 8px; margin-top: 14px; }
.author-bio-social {
	width: 32px; height: 32px; border-radius: 8px;
	background: var(--white); border: 1px solid var(--slate-200);
	display: flex; align-items: center; justify-content: center;
	transition: border-color .15s, background .15s;
}
.author-bio-social:hover { border-color: var(--blue-300); background: var(--blue-50); }
.author-bio-social svg { width: 14px; height: 14px; fill: var(--slate-500); }

/* ─── SIDEBAR ─── */
.sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 24px; max-height: calc(100vh - 108px); overflow-y: auto; scrollbar-width: none; padding-right: 2px; }
.sidebar::-webkit-scrollbar { display: none; }

.toc-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.toc-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--slate-100); }
.toc-header-icon { width: 28px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, var(--blue-600), var(--indigo-600)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toc-header-icon svg { width: 14px; height: 14px; }
.toc-title { font-size: 13.5px; font-weight: 800; color: var(--slate-900); }
.toc-progress { height: 3px; background: var(--slate-100); border-radius: 2px; margin-bottom: 16px; }
.toc-progress-bar { height: 100%; width: 0%; border-radius: 2px; background: linear-gradient(90deg, var(--blue-600), var(--indigo-600)); transition: width .2s ease; }
.toc-list { display: flex; flex-direction: column; gap: 2px; }
.toc-item {
	display: block; padding: 8px 12px;
	font-size: 13px; font-weight: 500; color: var(--slate-500);
	border-radius: var(--radius-sm); border-left: 2.5px solid transparent;
	transition: color .15s, background .15s, border-color .15s;
	line-height: 1.45;
}
.toc-item:hover { color: var(--blue-600); background: var(--blue-50); }
.toc-item.active { color: var(--blue-700); background: var(--blue-50); border-left-color: var(--blue-600); font-weight: 700; }
.toc-item-num {
	display: inline-block; width: 18px; height: 18px; border-radius: 4px;
	background: var(--slate-100); color: var(--slate-400);
	font-size: 10px; font-weight: 700;
	text-align: center; line-height: 18px;
	margin-right: 8px; flex-shrink: 0; vertical-align: middle;
	transition: background .15s, color .15s;
}
.toc-item.active .toc-item-num { background: var(--blue-100); color: var(--blue-700); }

/* ─── SUBSCRIBE SECTION ─── */
.subscribe-section { background: linear-gradient(160deg, #f0f5ff 0%, #fff 50%, #faf5ff 100%); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); padding: 72px 24px 80px; }
.subscribe-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.subscribe-tag {
	display: inline-flex; align-items: center; gap: 7px;
	background: var(--blue-50); color: var(--blue-600);
	border: 1px solid var(--blue-200); border-radius: 999px;
	padding: 5px 14px; font-size: 12.5px; font-weight: 700;
	letter-spacing: .03em; text-transform: uppercase;
	margin-bottom: 18px;
}
.subscribe-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; color: var(--slate-900); margin-bottom: 16px; }
.subscribe-title span { background: linear-gradient(135deg, var(--blue-600), var(--indigo-600)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.subscribe-sub { font-size: 16px; color: var(--slate-500); line-height: 1.75; margin-bottom: 28px; }
.subscribe-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.subscribe-perk { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--slate-600); }
.subscribe-perk-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--blue-500), var(--indigo-600)); }

.subscribe-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-lg); }
.subscribe-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--slate-100); }
.subscribe-card-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; background: linear-gradient(135deg, var(--blue-600), var(--indigo-600)); display: flex; align-items: center; justify-content: center; }
.subscribe-card-icon svg { width: 20px; height: 20px; }
.subscribe-card-title { font-size: 16px; font-weight: 800; color: var(--slate-900); }
.subscribe-card-freq { font-size: 12px; color: var(--slate-400); font-weight: 500; margin-top: 2px; }

.subscribe-form { display: flex; flex-direction: column; gap: 16px; }
.subscribe-cf7-form .wpcf7-form { display: flex; flex-direction: column; gap: 16px; }
.subscribe-cf7-form .wpcf7-form p { margin: 0; }
.subscribe-cf7-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--slate-700);
}
.subscribe-field { display: flex; flex-direction: column; gap: 6px; }
.subscribe-label { font-size: 13px; font-weight: 600; color: var(--slate-700); }
.subscribe-input,
.subscribe-cf7-form .wpcf7-form-control:not(.wpcf7-submit) {
	font-family: var(--font); font-size: 14px; color: var(--slate-800);
	padding: 11px 14px;
	background: var(--slate-50); border: 1.5px solid var(--slate-200);
	border-radius: var(--radius-sm); outline: none;
	transition: border-color .15s, background .15s;
	width: 100%;
}
.subscribe-input:focus,
.subscribe-cf7-form .wpcf7-form-control:not(.wpcf7-submit):focus { border-color: var(--blue-400, #60a5fa); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.07); }
.subscribe-input::placeholder,
.subscribe-cf7-form .wpcf7-form-control::placeholder { color: var(--slate-400); }
.subscribe-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.subscribe-btn,
.subscribe-cf7-form .wpcf7-submit {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px; width: 100%;
	background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
	color: #fff; font-size: 15px; font-weight: 700;
	border-radius: var(--radius-md); border: none; cursor: pointer; font-family: var(--font);
	box-shadow: 0 4px 18px rgba(37,99,235,.3);
	transition: transform .15s, box-shadow .15s, opacity .15s;
	margin-top: 4px;
}
.subscribe-btn:hover,
.subscribe-cf7-form .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,99,235,.4); }
.subscribe-consent { font-size: 11.5px; color: var(--slate-400); text-align: center; line-height: 1.6; }
.subscribe-consent a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.subscribe-cf7-form .wpcf7-spinner { margin: 8px auto 0; display: block; }
.subscribe-cf7-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; color: var(--red-500); font-weight: 500; }
.subscribe-cf7-form .wpcf7-response-output {
	margin: 0;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	font-size: 12.5px;
	line-height: 1.55;
}

.subscribe-success { text-align: center; padding: 16px 8px; }
.subscribe-success-icon { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--green-500), #0d9488); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 4px 18px rgba(34,197,94,.3); }
.subscribe-success-icon svg { width: 24px; height: 24px; }
.subscribe-success-title { font-size: 20px; font-weight: 800; color: var(--slate-900); margin-bottom: 10px; }
.subscribe-success-text { font-size: 14px; color: var(--slate-500); line-height: 1.7; margin-bottom: 20px; }

.subscribe-social-proof { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--slate-500); justify-content: center; }
.subscribe-avatars { display: flex; }
.subscribe-avatars span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white); margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; }
.subscribe-avatars span:first-child { margin-left: 0; }

/* ─── RELATED POSTS ─── */
.related-section { max-width: 1200px; margin: 0 auto; padding: 0 24px 80px; border-top: 1px solid var(--slate-200); padding-top: 56px; }
.related-header { margin-bottom: 32px; }
.related-title { font-size: 24px; font-weight: 800; color: var(--slate-900); letter-spacing: -.01em; margin-bottom: 4px; }
.related-sub { font-size: 14px; color: var(--slate-400); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .22s, transform .22s, border-color .22s; }
.related-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-200); }
.related-img { display: block; height: 160px; position: relative; overflow: hidden; }
.related-card:hover .related-img .img-bg { transform: scale(1.06); }
.related-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,.2) 100%); }
.related-body { padding: 18px; }
.related-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: 3px 10px; display: inline-flex; margin-bottom: 10px; }
.related-card-title {
	font-size: 15px; font-weight: 700; color: var(--slate-900); line-height: 1.4;
	margin-bottom: 12px; letter-spacing: -.01em;
}
.related-card:hover .related-card-title { color: var(--blue-600); }
.related-footer { display: flex; align-items: center; justify-content: space-between; }
.related-date { font-size: 12px; color: var(--slate-400); display: flex; align-items: center; gap: 5px; }
.related-read { font-size: 12.5px; font-weight: 700; color: var(--blue-600); display: flex; align-items: center; gap: 4px; transition: gap .15s; }
.related-card:hover .related-read { gap: 8px; }

/* image gradient helpers (mirrors blog.css for fallback card images) */
.img-blue    { background: linear-gradient(135deg,#1e3a8a,#2563eb,#4f46e5); }
.img-purple  { background: linear-gradient(135deg,#4c1d95,#7c3aed,#9333ea); }
.img-teal    { background: linear-gradient(135deg,#0f4c75,#0d9488,#22c55e); }
.img-orange  { background: linear-gradient(135deg,#7c2d12,#ea580c,#f59e0b); }
.img-green   { background: linear-gradient(135deg,#14532d,#16a34a,#4ade80); }
.img-pink    { background: linear-gradient(135deg,#831843,#db2777,#ec4899); }
.img-indigo  { background: linear-gradient(135deg,#1e1b4b,#4338ca,#6366f1); }
.img-slate   { background: linear-gradient(135deg,#0f172a,#334155,#64748b); }
.img-crimson { background: linear-gradient(135deg,#450a0a,#b91c1c,#f97316); }
.img-azure   { background: linear-gradient(135deg,#0c4a6e,#0ea5e9,#38bdf8); }
.img-bg { position: absolute; inset: 0; transition: transform .4s; }
.img-pattern { position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,1) 1px, transparent 1px), radial-gradient(circle at 80% 20%, rgba(255,255,255,1) 1px, transparent 1px); background-size: 40px 40px; }
.img-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.img-icon svg { width: 56px; height: 56px; opacity: .28; }

.cat-blue   { background: #dbeafe; color: #1d4ed8; }
.cat-indigo { background: #e0e7ff; color: #4338ca; }
.cat-purple { background: #f3e8ff; color: #7e22ce; }
.cat-green  { background: #dcfce7; color: #15803d; }
.cat-orange { background: #ffedd5; color: #c2410c; }
.cat-teal   { background: #ccfbf1; color: #0f766e; }
.cat-pink   { background: #fce7f3; color: #be185d; }
.cat-yellow { background: #fef9c3; color: #a16207; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
	.feature-image.has-featured-photo .feature-image-meta { right: 48px; }
	.content-wrapper { grid-template-columns: 1fr 290px; gap: 32px; }
}
@media (max-width: 860px) {
	.feature-image.has-featured-photo .feature-image-meta { right: 40px; }
	.content-wrapper { grid-template-columns: 1fr; }
	.sidebar { position: static; max-height: none; overflow-y: visible; order: -1; }
	.toc-card { display: none; }
	.related-grid { grid-template-columns: 1fr 1fr; }
	.subscribe-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
	.feature-image { height: 300px; }
	.feature-image.has-featured-photo { height: auto; padding: 0 16px; }
	.feature-image-meta {
		left: 16px;
		right: 16px;
		bottom: 16px;
		flex-wrap: wrap;
	}
	.feature-image.has-featured-photo .feature-image-meta { right: 16px; }
	.article-meta-right { gap: 12px; }
	.ai-summary-share-title { font-size: 12px; }
	.ai-summary-share-buttons { gap: 8px; }
	.ai-summary-share-btn { min-height: 32px; padding: 7px 12px; font-size: 12px; }
	.related-grid { grid-template-columns: 1fr; }
	.subscribe-perks { grid-template-columns: 1fr; }
}
