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

/* ==========================================================================
   Thesis Callout
   ========================================================================== */

.thesis-callout {
	margin: 32px 0;
	padding: 28px 32px;
	background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
	border-left: 4px solid #059669;
	border-radius: 0 12px 12px 0;
}

.thesis-callout-text {
	font-size: 18px;
	font-style: italic;
	line-height: 1.7;
	color: var(--ink);
	margin: 0;
}

/* ==========================================================================
   Illusion Grid (Calendar Illusion Section)
   ========================================================================== */

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

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

.illusion-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);
}

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

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

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

/* ==========================================================================
   Comparison Block (Missing Link Section)
   ========================================================================== */

.comparison-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 32px 0;
}

.comparison-column {
	padding: 24px;
	border-radius: 16px;
	border: 1px solid var(--line);
}

.comparison-column--calendar {
	background: #fef2f2;
	border-color: #fecaca;
}

.comparison-column--queue {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.comparison-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
	margin: 0 0 16px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.comparison-column--calendar .comparison-title {
	color: #b91c1c;
}

.comparison-column--queue .comparison-title {
	color: #15803d;
}

.comparison-list {
	margin: 0;
	padding-left: 20px;
	list-style: disc;
}

.comparison-list li {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink);
	margin-bottom: 8px;
}

.comparison-list li:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Insight Callout
   ========================================================================== */

.insight-callout {
	display: flex;
	gap: 20px;
	margin: 40px 0;
	padding: 24px;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 12px;
}

.insight-callout-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fef3c7;
	border-radius: 10px;
	color: #d97706;
}

.insight-callout-icon svg {
	width: 22px;
	height: 22px;
}

.insight-callout-content {
	flex: 1;
}

.insight-callout-title {
	font-size: 16px;
	font-weight: 600;
	color: #92400e;
	margin: 0 0 8px;
}

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

/* ==========================================================================
   Data Card (Data Proof Section)
   ========================================================================== */

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

.data-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.data-card-label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.8;
}

.data-card-period {
	font-size: 14px;
	opacity: 0.7;
}

.data-card-metric {
	text-align: center;
	margin-bottom: 24px;
}

.data-card-number {
	display: block;
	font-size: 72px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

.data-card-description {
	display: block;
	font-size: 18px;
	margin-top: 12px;
	opacity: 0.9;
}

.data-card-methodology {
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.data-card-methodology p {
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	opacity: 0.85;
	color: var(--bg);
}

/* ==========================================================================
   Metrics Grid
   ========================================================================== */

.metrics-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 32px 0;
}

.metric-item {
	padding: 24px;
	background: #f8fafc;
	border-radius: 16px;
	text-align: center;
	border: 1px solid var(--line);
}

.metric-value {
	display: block;
	font-size: 36px;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
	margin-bottom: 12px;
}

.metric-label {
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
}

/* ==========================================================================
   Decay Analysis
   ========================================================================== */

.decay-analysis {
	margin: 32px 0;
	padding: 28px;
	background: #f1f5f9;
	border-radius: 16px;
}

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

.decay-intro {
	font-size: 16px;
	color: var(--muted);
	margin: 0 0 16px;
}

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

.decay-list li {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	margin-bottom: 8px;
}

.decay-list li:last-child {
	margin-bottom: 0;
}

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

/* ==========================================================================
   Queue Model (Future Forecast Section)
   ========================================================================== */

.queue-model {
	margin: 32px 0;
	padding: 32px;
	background: #f8fafc;
	border-radius: 20px;
	border: 1px solid var(--line);
}

.queue-model-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--ink);
	margin: 0 0 24px;
	text-align: center;
}

.queue-steps {
	display: grid;
	gap: 20px;
}

.queue-step {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

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

.queue-step-content {
	flex: 1;
	padding-top: 4px;
}

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

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

/* ==========================================================================
   Timeline Table
   ========================================================================== */

.timeline-table-wrapper {
	margin: 32px 0;
	overflow-x: auto;
}

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

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

.timeline-table th {
	font-weight: 600;
	color: var(--ink);
	background: #f8fafc;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.timeline-table td {
	color: var(--ink);
	vertical-align: top;
}

.timeline-table td strong {
	color: var(--accent);
}

.timeline-table tbody tr:hover {
	background: #fafafa;
}

/* ==========================================================================
   First Steps List
   ========================================================================== */

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

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

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

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

/* ==========================================================================
   Predictions List
   ========================================================================== */

.predictions-list {
	margin: 24px 0;
	padding: 0;
	list-style: none;
	counter-reset: prediction;
}

.prediction-item {
	position: relative;
	padding: 24px 24px 24px 72px;
	margin-bottom: 16px;
	background: #f8fafc;
	border-radius: 12px;
	border-left: 4px solid var(--accent);
	counter-increment: prediction;
}

.prediction-item::before {
	content: counter(prediction);
	position: absolute;
	left: 20px;
	top: 24px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent);
	color: var(--bg);
	font-size: 16px;
	font-weight: 700;
	border-radius: 50%;
}

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

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

/* ==========================================================================
   Author Credentials
   ========================================================================== */

.author-credentials {
	margin-top: 32px;
	padding: 24px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 12px;
	text-align: center;
}

.credentials-intro {
	font-size: 17px;
	line-height: 1.7;
	color: var(--muted);
	margin: 0;
	font-style: italic;
}

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

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

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

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

	.data-card-number {
		font-size: 56px;
	}

	.timeline-table th,
	.timeline-table td {
		padding: 12px 16px;
	}
}

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

@media (max-width: 640px) {
	.thesis-callout {
		padding: 20px 24px;
	}

	.thesis-callout-text {
		font-size: 16px;
	}

	.illusion-card {
		padding: 20px;
	}

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

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

	.comparison-column {
		padding: 20px;
	}

	.insight-callout {
		flex-direction: column;
		gap: 16px;
		padding: 20px;
	}

	.data-card {
		padding: 24px;
	}

	.data-card-number {
		font-size: 48px;
	}

	.data-card-description {
		font-size: 16px;
	}

	.metric-item {
		padding: 20px;
	}

	.metric-value {
		font-size: 32px;
	}

	.decay-analysis {
		padding: 24px;
	}

	.queue-model {
		padding: 24px;
	}

	.queue-step {
		gap: 16px;
	}

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

	.prediction-item {
		padding: 20px 20px 20px 60px;
	}

	.prediction-item::before {
		left: 16px;
		top: 20px;
		width: 28px;
		height: 28px;
		font-size: 14px;
	}

	.prediction-text {
		font-size: 16px;
	}
}

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

.illusion-card:focus-within,
.comparison-column:focus-within,
.metric-item:focus-within,
.prediction-item:focus-within {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

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

@media (prefers-reduced-motion: reduce) {
	.illusion-card,
	.comparison-column,
	.metric-item,
	.prediction-item {
		transition: none;
	}
}
