/**
 * BlogPost Article Styling
 * Custom typography and layout for blog posts
 */

:root {
	--ink: #1A3542;
	--primary-text: #111A27;
	--paper: #F0F6FF;
	--primary: #004BE0;
	--primary-light: #CCE1FF;
	--green: #138808;
	--navy: #1A3542;
	--rule: #E5E7EB;
	--muted: #5C6470;
	--accent: #004BE0;
	--info: #EBF7FF;
	--info-fg: #0F7999;
}

.site-content .ast-container{
	background-color: #F6F7F9;
}
/* Hero/Header Section */
.blogpost-hero {
	max-width: 900px;
	margin: 0 auto;
	padding: 80px 48px 56px;
}

/* Featured Image */
.blogpost-featured-image {
	margin-bottom: 32px;
	border-radius: 12px;
	overflow: hidden;
}

.blogpost-featured-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* Kicker (Series Bar) */
.blogpost-kicker {
	font-family: 'Albert Sans', 'Calibri' , sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.blogpost-kicker::before {
	content: '';
	display: inline-block;
	width: 36px;
	height: 2px;
	background: var(--primary);
}

/* Title */
.blogpost-hero .entry-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(44px, 8vw, 80px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
	color: var(--ink);
}

.blogpost-hero .entry-title em {
	font-style: italic;
	color: var(--primary);
}

/* Title Flex Column Layout */
.title-flex-column {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
}

.title-flex-column .title-prefix {
	display: block;
}

.title-flex-column .title-highlight {
	display: block;
}

.title-flex-column .title-suffix {
	display: block;
}

/* Subtitle */
.blogpost-subtitle {
	font-family: 'Crimson Pro','Georgia', serif;
	font-style: italic;
	font-size: clamp(20px, 2.8vw, 28px);
	color: var(--muted);
	margin-bottom: 40px;
	max-width: 700px;
	font-weight: 300;
	line-height: 1.5;
}

/* Hero Rule with Chakra */
.blogpost-hero-rule {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 40px;
}

.blogpost-hero-rule .rule {
	flex: 1;
	height: 1px;
	background: var(--rule);
}

.blogpost-hero-rule .star {
	font-size: 20px;
	color: var(--primary-light);
	line-height: 1;
}

/* Metadata */
.blogpost-meta {
	font-family: 'Albert Sans', 'Calibri' , sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--muted);
	text-transform: uppercase;
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.blogpost-meta span {
	display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
	.blogpost-header {
		padding: 40px 24px 30px;
	}

	.blogpost-header .entry-title {
		font-size: 36px;
	}

	.blogpost-subtitle {
		font-size: 20px;
	}

	.blogpost-metadata-bar {
		gap: 12px;
	}
}

/* Article Body Styles */
.blogpost-single .entry-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 48px 100px;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 19px;
	line-height: 1.8;
	color: var(--ink);
}

.blogpost-single .entry-content p {
	font-family: 'Crimson Pro', Georgia, serif;
	margin-bottom: 1.6em;
	color: var(--primary-text);
	font-weight: 400;
}

/* Strong text */
.blogpost-single .entry-content strong {
	font-weight: 600;
	color: var(--ink);
}


/* Lead Paragraph (Drop Cap) */
.lead-paragraph::first-letter {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 5.8em;
	font-weight: 700;
	float: left;
	line-height: 0.72;
	margin-right: 8px;
	color:var(--primary);
}

/* Section Headers */
.section-header {
	margin: 72px 0 36px;
	padding-top: 36px;
	border-top: 1px solid var(--rule);
}

.section-header .section-num {
	font-family: 'Albert Sans', 'Calibri' , sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--primary);
	display: block;
	margin-bottom: 12px;
}

.section-header h2 {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(28px, 4.5vw, 48px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ink);
}

/* Pull Quote */
.pull-quote {
	margin: 24px 0;
	padding: 40px 56px;
	background: #1A3542;
	color: var(--paper);
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

.pull-quote::before {
	content: '\201C';
	font-family: 'Cormorant Garamond', serif;
	font-size: 156px;
	line-height: 1.26;
	color: var(--primary-light);
	opacity: 0.18;
	position: absolute;
	top: -30px;
	left: 20px;
	pointer-events: none;
}

.pull-quote::after {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-45deg,
		transparent,
		transparent 12px,
		rgba(255,255,255,0.015) 12px,
		rgba(255,255,255,0.015) 13px
	);
	pointer-events: none;
}

.pull-quote blockquote {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(21px, 3.2vw, 30px);
	font-style: italic;
	line-height: 1.55;
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0;
	padding: 0;
	border: none;
}
.pull-quote blockquote p {
	color: var(--paper) !important;
	font-weight: 200 !important;
}

.pull-quote cite {
	font-family: 'Albert Sans', 'Calibri' , sans-serif;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--paper);
	display: block;
	margin-top: 18px;
	font-style: normal;
	position: relative;
	z-index: 1;
}

/* Player Grid (Card Grid) */
.player-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
	border-radius: 8px;
	margin: 44px 0;
}

.player-card {
	padding: 30px 26px;
	transition: background 0.2s;
	background: var(--paper);
}

.player-card:hover {
	background: var(--primary-light);
}

.player-card .tag {
	font-family: 'Albert Sans', 'Calibri' , sans-serif;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--primary);
	background: var(--primary-light);
	padding: 3px 9px;
	display: inline-block;
	margin-bottom: 14px;
	border: 1px solid rgba(224,123,42,0.25);
}

.player-card h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--ink);
}

.player-card p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--muted);
	margin: 0;
	font-weight: 400;
}

/* Stat Row */
.stat-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 52px 0;
}

.stat-box {
	padding: 28px 18px;
	border: 1px solid var(--rule);
	text-align: center;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.stat-box::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 3px;
	background: var(--primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}

.stat-box:hover::after {
	transform: scaleX(1);
}

.stat-box .number {
	font-family: 'Crimson Pro','Georgia', serif;
	font-size: 36px;
	font-weight: 500;
	color: var(--primary);
	line-height: 1;
	display: block;
	margin-bottom: 8px;
}

.stat-box .label {
	font-family: 'Albert Sans', 'Calibri' , sans-serif;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	line-height: 1.667;
	display: inline-block;
}

/* Timeline */
.timeline {
	margin: 44px 0;
	position: relative;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 22px; top: 0; bottom: 0;
	width: 1px;
	background: var(--rule);
}

.timeline-item {
	padding-left: 60px;
	margin-bottom: 36px;
	position: relative;
}

.timeline-item::before {
	content: '';
	position: absolute;
	left: 15px; top: 6px;
	width: 15px; height: 15px;
	border: 2px solid var(--primary);
	background: var(--paper);
	border-radius: 50%;
}

.timeline-item .ti-label {
	font-family: 'Albert Sans', 'Calibri' , sans-serif;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 4px;
}

.timeline-item h4 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 6px;
}

.timeline-item p {
	font-size: 15px;
	color: var(--muted);
	margin: 0;
}

/* Challenge Box */
.challenge-box {
	margin: 48px 0;
	border-left: 4px solid var(--info-fg);
	padding: 24px 36px;
	background: var(--info);
	border-radius: 8px;
}

.challenge-box .cb-title {
	font-family: 'Albert Sans', 'Calibri' , sans-serif;
	font-size: 12px;
	letter-spacing: 1.98px;
	text-transform: uppercase;
	color: var(--info-fg);
	margin-bottom: 12px;
	font-weight: 600;
}

.challenge-box p {
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
}

/* Conclusion Box */
.conclusion {
	margin: 72px 0 0;
	padding: 52px;
	border: 2px solid #111A27;
	border-radius: 8px;
	position: relative;
}

.conclusion::before {
	content: 'VERDICT';
	font-family: 'Albert Sans', 'Calibri' , sans-serif;
	font-size: 8px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	background: var(--paper);
	padding: 4px 12px;
	position: absolute;
	top: -8px; left: 44px;
	color: #5C6470;
	font-weight: 500;
	border-radius: 4px;
}

.conclusion h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(23px, 3.8vw, 36px);
	font-weight: 700;
	font-style: italic;
	line-height: 1.3;
	margin-bottom: 22px;
}

/* Ornament */
.ornament {
	text-align: center;
	margin: 52px 0;
	color: var(--rule);
	font-size: 22px;
	letter-spacing: 14px;
}

/* Step List */
.step-list {
	margin: 36px 0;
	counter-reset: step;
}

.step-item {
	display: flex;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid var(--rule);
}

.step-item:last-child {
	border-bottom: none;
}

.step-number {
	font-family: 'Cormorant Garamond', serif;
	font-size: 48px;
	font-weight: 700;
	color: var(--primary);
	line-height: 1;
	min-width: 60px;
}

.step-content h4 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--ink);
}

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

/* Table Styles */
table, td, th {
	border: none
}
.blogpost-single .entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	margin: 44px 0;
	border: 1px solid var(--rule);
	overflow: hidden;
}

.blogpost-single .entry-content th {
	font-family: 'Albert Sans', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	background: var(--primary-text);
	color: var(--paper);
	padding: 12px 18px;
	text-align: left;
	font-weight: 400;
}

/* First th - top-left corner */
.blogpost-single .entry-content thead tr:first-child th:first-child {
	border-top-left-radius: 8px;
}

/* Last th - top-right corner */
.blogpost-single .entry-content thead tr:first-child th:last-child {
	border-top-right-radius: 8px;
}

.blogpost-single .entry-content td {
	padding: 16px;
	font-size: 16px;
	border-bottom: 1px solid #E5E7EB;
	vertical-align: top;
	font-weight: 400;
	color: var(--primary-text)
}

.blogpost-single .entry-content tr:last-child td {
	border-bottom: none;
}

.blogpost-single .entry-content .model-name {
	font-family: 'Crimson Pro','Georgia', serif;
	font-size: 20px;
	font-weight: 600;
}

.blogpost-single .entry-content .origin-tag {
	font-family: 'Albert Sans', sans-serif;
	font-size: 12px;
	letter-spacing: 1.12px;
	text-transform: uppercase;
	color: var(--muted);
	display: block;
}

/* Animations */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Apply animations to article content */
.blogpost-single .article-body > *,
.blogpost-single .section-header,
.blogpost-single .player-card,
.blogpost-single .timeline-item {
	animation: slideUp 0.55s ease forwards;
	opacity: 0;
	animation-delay: 0.15s;
	animation-play-state: paused;
}

/* Responsive */
@media (max-width: 620px) {
	.blogpost-single .entry-content {
		padding-left: 22px;
		padding-right: 22px;
	}

	.pull-quote {
		margin-left: -22px;
		margin-right: -22px;
		padding: 36px 28px;
	}

	.stat-row {
		grid-template-columns: 1fr;
	}

	.conclusion {
		padding: 32px 24px;
	}

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

	.step-number {
		font-size: 36px;
	}

	.blogpost-single .entry-content table {
		font-size: 13px;
	}

	.blogpost-single .entry-content th,
	.blogpost-single .entry-content td {
		padding: 10px 12px;
	}
}

/* Navigation */
.blogpost-navigation {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin: 32px;
	padding-top: 40px;
	border-top: 1px solid var(--rule);
}

.blogpost-navigation .nav-previous,
.blogpost-navigation .nav-next {
	max-width: 336px;
	flex:1;
}

.blogpost-navigation .nav-next {
	text-align: right;
}

.blogpost-navigation a {
	display: block;
	text-decoration: none;
	transition: all 0.3s ease;
}

.blogpost-navigation a:hover {
	transform: translateY(-2px);
}

.blogpost-navigation .nav-label {
	font-family: 'Albert Sans', sans-serif;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	display: block;
	margin-bottom: 8px;
}

.blogpost-navigation .nav-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 20px;
	font-weight: 600;
	color: var(--ink);
	display: block;
	margin-bottom: 6px;
	line-height: 1.3;
}

.blogpost-navigation a:hover .nav-title {
	color: var(--primary);
}

.blogpost-navigation .nav-tag {
	font-family: 'Albert Sans', sans-serif;
	font-size: 8px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	background: var(--rule);
	padding: 3px 8px;
	border-radius: 2px;
	display: inline-block;
}

/* Mobile navigation */
@media (max-width: 620px) {
	.blogpost-navigation {
		flex-direction: column;
		gap: 16px;
		margin-top: 48px;
		padding-top: 32px;
	}

	.blogpost-navigation .nav-title {
		font-size: 16px;
	}

	.blogpost-navigation .nav-next {
		text-align: left;
	}
}
