/**
 * Jasper AI vs AgenticWP comparison post styles.
 *
 * @package AgenticWP
 */

.jasper-comparison-post .custom-post-hero {
	background:
		radial-gradient(circle at 20% 24%, rgba(245, 158, 11, 0.18), transparent 32%),
		radial-gradient(circle at 78% 30%, rgba(132, 204, 22, 0.18), transparent 34%),
		linear-gradient(135deg, #090f1d 0%, #111827 58%, #1f1607 100%);
}

.jasper-comparison-post .custom-post-hero-category,
.jasper-comparison-post .post-section-title::before {
	border-color: rgba(245, 158, 11, 0.42);
}

.jasper-comparison-post .post-section-title::before {
	background: rgba(245, 158, 11, 0.12);
	color: #fbbf24;
}

.jasper-comparison-post .post-layout {
	padding-top: 42px;
}

.jasper-comparison-post .verdict-card--jasper,
.jasper-comparison-post .prompt-card,
.jasper-comparison-post .choice-card,
.jasper-comparison-post .decision-card,
.jasper-comparison-post .post-cta-card {
	border-color: rgba(245, 158, 11, 0.28);
	background:
		linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(132, 204, 22, 0.1)),
		#111827;
}

.jasper-comparison-post .verdict-distinction,
.jasper-comparison-post .prompt-card-label {
	color: #fde68a;
}

.handoff-map {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.75fr);
	gap: 20px;
	margin: 32px 0;
}

.handoff-map-main {
	display: grid;
	gap: 12px;
}

.handoff-step {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px 20px;
	background: #111827;
}

.handoff-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: rgba(132, 204, 22, 0.16);
	color: var(--accent);
	font-size: 13px;
	font-weight: 700;
}

.handoff-step h3,
.handoff-map-aside h3,
.native-blocks-callout h3 {
	margin: 0 0 8px;
	color: var(--ink);
	font-size: 17px;
	line-height: 1.3;
}

.handoff-step p,
.handoff-map-aside p,
.native-blocks-callout p,
.prompt-card p {
	margin: 0;
}

.handoff-map-aside,
.native-blocks-callout {
	border: 1px solid rgba(245, 158, 11, 0.3);
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.13), rgba(17, 24, 39, 0.9));
}

.handoff-map-aside {
	align-self: stretch;
	padding: 24px;
}

.native-blocks-callout {
	margin: 30px 0;
	padding: 28px;
}

.jasper-comparison-post .choice-card,
.jasper-comparison-post .decision-card {
	padding: 24px;
}

.jasper-comparison-post .choice-card h3,
.jasper-comparison-post .decision-card h3 {
	margin: 0 0 10px;
	color: var(--ink);
}

.jasper-comparison-post .choice-card p {
	margin: 0;
}

.prompt-card {
	margin: 28px 0;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 16px;
}

.prompt-card-label {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.winner-badge--jasper {
	background: rgba(245, 158, 11, 0.16);
	color: #d97706;
}

.decision-question-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 22px;
}

.decision-question-card {
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(15, 23, 42, 0.82);
}

.decision-question-card:first-child {
	grid-column: 1 / -1;
	background: rgba(245, 158, 11, 0.12);
}

.decision-question-card h4 {
	margin: 0 0 8px;
	color: var(--ink);
	font-size: 17px;
	line-height: 1.35;
}

.decision-question-card p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

.migration-list {
	margin-top: 28px;
}

@media (max-width: 900px) {
	.handoff-map,
	.choice-grid,
	.audience-grid,
	.decision-question-grid {
		grid-template-columns: 1fr;
	}

	.jasper-comparison-post .post-layout {
		padding-top: 34px;
	}

	.decision-question-card:first-child {
		grid-column: auto;
	}
}
