/**
 * Introducing AgenticWP - Post-Specific Styles
 *
 * Custom styles unique to the "Introducing AgenticWP" blog post.
 * Shared styles (hero, sections, CTA) are in shared-post-components.css.
 *
 * @package AgenticWP
 */

/* ==========================================================================
   Problem Grid
   ========================================================================== */

.problem-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 32px;
}

.problem-card {
	padding: 24px;
	background: #f8fafc;
	border-radius: 16px;
	border: 1px solid var(--line);
}

.problem-card-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg);
	border-radius: 12px;
	margin-bottom: 16px;
	color: var(--accent);
}

.problem-card-icon svg {
	width: 24px;
	height: 24px;
}

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

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

/* ==========================================================================
   Solution List
   ========================================================================== */

.solution-list {
	margin: 24px 0;
	padding-left: 24px;
}

.solution-list li {
	font-size: 17px;
	line-height: 1.7;
	margin-bottom: 12px;
	color: var(--ink);
}

.solution-list li::marker {
	color: var(--accent);
}

.solution-list li strong {
	color: var(--accent);
}

/* ==========================================================================
   Quote Block
   ========================================================================== */

.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 0 16px;
	color: var(--bg);
}

.post-quote cite {
	display: block;
	font-size: 15px;
	font-style: normal;
	opacity: 0.85;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */

.features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 32px;
}

.feature-item {
	padding: 28px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 16px;
	transition: all 0.2s ease;
}

.feature-item:hover {
	border-color: var(--accent);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-item-header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 16px;
}

.feature-item-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	flex-shrink: 0;
}

.feature-item-icon svg {
	width: 24px;
	height: 24px;
}

.feature-item-icon--ship {
	background: #eef2ff;
	color: #4f46e5;
}

.feature-item-icon--create {
	background: #fef3c7;
	color: #d97706;
}

.feature-item-icon--images {
	background: #fce7f3;
	color: #db2777;
}

.feature-item-icon--optimize {
	background: #d1fae5;
	color: #059669;
}

.feature-item-icon--bulk {
	background: #e0e7ff;
	color: #4338ca;
}

.feature-item-icon--gamification {
	background: #fef9c3;
	color: #ca8a04;
}

.feature-item-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--ink);
	margin: 0;
	padding-top: 4px;
}

.feature-item-text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
	margin: 0;
}

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

.getting-started-steps {
	margin: 24px 0;
	padding-left: 24px;
	counter-reset: step;
}

.getting-started-steps li {
	font-size: 17px;
	line-height: 1.7;
	margin-bottom: 16px;
	color: var(--ink);
}

.getting-started-steps li::marker {
	color: var(--accent);
	font-weight: 600;
}

.getting-started-steps li strong {
	color: var(--accent);
}

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

@media (max-width: 900px) {
	.problem-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.features-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

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

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

	.problem-card-icon {
		width: 40px;
		height: 40px;
	}

	.problem-card-icon svg {
		width: 20px;
		height: 20px;
	}

	.post-quote {
		padding: 24px;
	}

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

	.feature-item {
		padding: 24px;
	}

	.feature-item-header {
		flex-direction: column;
		gap: 12px;
	}

	.feature-item-title {
		padding-top: 0;
	}
}

/* ==========================================================================
   Accessibility: Focus States
   ========================================================================== */

.feature-item:focus-within {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

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

@media (prefers-reduced-motion: reduce) {
	.feature-item {
		transition: none;
	}
}
