/**
 * Agentic AI: Your Content Team's Newest Hire - Post-Specific Styles
 *
 * Custom styles for this SEO explainer about agentic AI for content teams.
 *
 * Components included:
 * - TL;DR definition and takeaways
 * - Experience callout
 * - Comparison table
 * - Process flow diagram
 * - Autonomy spectrum
 * - Workflow cards
 * - Human role callout
 * - FAQ accordion
 * - Getting started steps
 * - Action box
 *
 * @package AgenticWP
 */

/* ==========================================================================
   TL;DR Definition
   ========================================================================== */

.tldr-definition {
	margin: 0 0 32px;
	padding: 24px 28px;
	background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
	border: 1px solid #c7d2fe;
	border-left: 4px solid var(--accent);
	border-radius: 0 12px 12px 0;
}

.tldr-definition-text {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.65;
	color: var(--ink);
	margin: 0;
}

/* ==========================================================================
   TL;DR Takeaways (reused from how-to-talk-to-ai)
   ========================================================================== */

.tldr-takeaways {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tldr-takeaways li {
	position: relative;
	padding: 20px 24px 20px 56px;
	margin-bottom: 16px;
	background: #f8fafc;
	border: 1px solid var(--line);
	border-radius: 12px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
}

.tldr-takeaways li:last-child {
	margin-bottom: 0;
}

.tldr-takeaways li::before {
	content: '';
	position: absolute;
	left: 20px;
	top: 22px;
	width: 24px;
	height: 24px;
	background: var(--accent-weak) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050E39' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
	border-radius: 50%;
}

.tldr-takeaways li strong {
	display: block;
	font-size: 17px;
	color: var(--accent);
	margin-bottom: 4px;
}

/* ==========================================================================
   Experience Callout
   ========================================================================== */

.experience-callout {
	padding: 28px;
	background: #f8fafc;
	border: 1px solid var(--line);
	border-radius: 12px;
}

.experience-callout-content p {
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	margin: 0 0 16px;
}

.experience-callout-content p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */

.comparison-table-wrapper {
	margin: 32px 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.comparison-table {
	width: 100%;
	min-width: 500px;
	border-collapse: collapse;
	font-size: 15px;
}

.comparison-table th,
.comparison-table td {
	padding: 16px 20px;
	text-align: left;
	border-bottom: 1px solid var(--line);
}

.comparison-table thead th {
	background: var(--accent);
	color: var(--bg);
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.comparison-table thead th:first-child {
	border-radius: 8px 0 0 0;
}

.comparison-table thead th:last-child {
	border-radius: 0 8px 0 0;
}

.comparison-table tbody tr:nth-child(even) {
	background: #f8fafc;
}

.comparison-table tbody tr:last-child td:first-child {
	border-radius: 0 0 0 8px;
}

.comparison-table tbody tr:last-child td:last-child {
	border-radius: 0 0 8px 0;
}

.comparison-table tbody td strong {
	color: var(--ink);
}

/* ==========================================================================
   Post Quote (enhanced)
   ========================================================================== */

.post-quote {
	margin: 40px 0;
	padding: 32px;
	background: linear-gradient(135deg, var(--accent) 0%, #1a2d6d 100%);
	border-radius: 16px;
	color: var(--bg);
}

.post-quote p {
	font-size: 20px;
	font-style: italic;
	line-height: 1.6;
	margin: 0;
	color: var(--bg);
}

/* ==========================================================================
   Process Flow
   ========================================================================== */

.process-flow {
	margin: 40px 0;
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
}

.process-flow-header {
	padding: 16px 24px;
	background: var(--accent);
}

.process-flow-label {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bg);
}

.process-flow-steps {
	padding: 24px;
	background: #f8fafc;
}

.process-step {
	display: flex;
	gap: 20px;
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}

.process-step:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.process-step-number {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--accent);
	color: var(--bg);
	font-size: 18px;
	font-weight: 700;
	border-radius: 50%;
}

.process-step-content {
	flex: 1;
}

.process-step-content strong {
	display: block;
	font-size: 17px;
	color: var(--ink);
	margin-bottom: 8px;
}

.process-step-content p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--muted);
	margin: 0;
}

/* ==========================================================================
   Autonomy Spectrum
   ========================================================================== */

.autonomy-spectrum {
	margin: 32px 0;
	display: grid;
	gap: 16px;
}

.autonomy-level {
	padding: 20px 24px;
	background: #f8fafc;
	border: 1px solid var(--line);
	border-radius: 12px;
	border-left: 4px solid #94a3b8;
}

.autonomy-level--medium {
	border-left-color: #f59e0b;
	background: linear-gradient(to right, #fffbeb 0%, #f8fafc 100%);
}

.autonomy-level--high {
	border-left-color: #10b981;
	background: linear-gradient(to right, #ecfdf5 0%, #f8fafc 100%);
}

.autonomy-level-header {
	margin-bottom: 8px;
}

.autonomy-level-label {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--ink);
}

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

/* ==========================================================================
   Workflow Cards
   ========================================================================== */

.workflow-card {
	margin: 32px 0;
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
}

.workflow-card-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
	border-bottom: 1px solid var(--line);
}

.workflow-card-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--accent);
	color: var(--bg);
	font-size: 16px;
	font-weight: 700;
	border-radius: 50%;
}

.workflow-card-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--ink);
	margin: 0;
}

.workflow-card-body {
	padding: 24px;
}

.workflow-io {
	display: grid;
	gap: 20px;
	margin-bottom: 20px;
}

.workflow-io-item {
	padding: 16px 20px;
	background: #f8fafc;
	border-radius: 8px;
}

.workflow-io-label {
	display: inline-block;
	padding: 4px 10px;
	background: var(--accent);
	color: var(--bg);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 4px;
	margin-bottom: 12px;
}

.workflow-io-item p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink);
	margin: 0;
}

.workflow-io-item ul {
	margin: 0;
	padding-left: 20px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink);
}

.workflow-io-item li {
	margin-bottom: 6px;
}

.workflow-io-item li:last-child {
	margin-bottom: 0;
}

.workflow-note {
	font-size: 15px;
	font-style: italic;
	line-height: 1.65;
	color: var(--muted);
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

/* ==========================================================================
   Human Role Callout
   ========================================================================== */

.human-role-callout {
	display: flex;
	gap: 20px;
	margin: 48px 0 0;
	padding: 28px;
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	border: 1px solid #bbf7d0;
	border-radius: 12px;
}

.human-role-callout-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg);
	border-radius: 12px;
	color: #16a34a;
}

.human-role-callout-icon svg {
	width: 24px;
	height: 24px;
}

.human-role-callout-content {
	flex: 1;
}

.human-role-callout-title {
	font-size: 17px;
	font-weight: 600;
	color: #166534;
	margin: 0 0 8px;
}

.human-role-callout-text {
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	margin: 0;
}

/* ==========================================================================
   FAQ List
   ========================================================================== */

.faq-list {
	margin: 32px 0 0;
}

.faq-item {
	margin-bottom: 24px;
	padding: 24px 28px;
	background: #f8fafc;
	border: 1px solid var(--line);
	border-radius: 12px;
}

.faq-item:last-child {
	margin-bottom: 0;
}

.faq-question {
	font-size: 18px;
	font-weight: 600;
	color: var(--ink);
	margin: 0 0 16px;
	line-height: 1.4;
}

.faq-answer p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	margin: 0 0 12px;
}

.faq-answer p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Getting Started Steps
   ========================================================================== */

.getting-started-steps {
	margin: 32px 0;
}

.gs-step {
	margin-bottom: 28px;
	padding: 24px 28px;
	background: #f8fafc;
	border: 1px solid var(--line);
	border-radius: 12px;
}

.gs-step:last-child {
	margin-bottom: 0;
}

.gs-step-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.gs-step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--accent);
	color: var(--bg);
	font-size: 16px;
	font-weight: 700;
	border-radius: 50%;
}

.gs-step-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--ink);
	margin: 0;
}

.gs-step-text {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	margin: 0 0 12px;
}

.gs-step-text:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Action Box
   ========================================================================== */

.action-box {
	margin: 40px 0;
	padding: 32px;
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
	border: 1px solid #fde68a;
	border-left: 4px solid #f59e0b;
	border-radius: 0 16px 16px 0;
}

.action-box-title {
	font-size: 18px;
	font-weight: 600;
	color: #92400e;
	margin: 0 0 12px;
}

.action-box-text {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	margin: 0;
}

/* ==========================================================================
   Responsive: Tablet (max-width: 900px)
   ========================================================================== */

@media (max-width: 900px) {
	.comparison-table {
		min-width: 400px;
	}

	.process-step {
		flex-direction: column;
		gap: 12px;
	}

	.workflow-io {
		gap: 16px;
	}

	.human-role-callout {
		flex-direction: column;
		gap: 16px;
	}
}

/* ==========================================================================
   Responsive: Mobile (max-width: 640px)
   ========================================================================== */

@media (max-width: 640px) {
	.tldr-definition {
		padding: 20px;
	}

	.tldr-definition-text {
		font-size: 17px;
	}

	.tldr-takeaways li {
		padding: 20px 20px 20px 52px;
	}

	.tldr-takeaways li::before {
		left: 16px;
		width: 20px;
		height: 20px;
		background-size: 12px;
	}

	.experience-callout {
		padding: 20px;
	}

	.comparison-table th,
	.comparison-table td {
		padding: 12px 16px;
		font-size: 14px;
	}

	.post-quote {
		padding: 24px;
	}

	.post-quote p {
		font-size: 18px;
	}

	.process-flow-steps {
		padding: 20px;
	}

	.process-step-number {
		width: 36px;
		height: 36px;
		font-size: 16px;
	}

	.autonomy-level {
		padding: 16px 20px;
	}

	.workflow-card-header {
		padding: 16px 20px;
	}

	.workflow-card-title {
		font-size: 18px;
	}

	.workflow-card-body {
		padding: 20px;
	}

	.workflow-io-item {
		padding: 14px 16px;
	}

	.human-role-callout {
		padding: 20px;
	}

	.faq-item {
		padding: 20px;
	}

	.faq-question {
		font-size: 17px;
	}

	.gs-step {
		padding: 20px;
	}

	.gs-step-title {
		font-size: 17px;
	}

	.action-box {
		padding: 24px;
	}
}

/* ==========================================================================
   Accessibility: Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.workflow-card,
	.faq-item,
	.gs-step,
	.autonomy-level {
		transition: none;
	}
}
