/**
 * Single Post Premium Styles
 * UROCLINIC Craiova - 2026 Editorial Design
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
	--article-max-width: 950px;
	--article-wide-width: 1100px;
	--article-full-width: 1400px;
	--font-brand: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* ============================================
   Base Font Enforcement
   ============================================ */
.single-article,
.single-article * {
	font-family: var(--font-brand);
}

/* ============================================
   Reading Progress Bar
   ============================================ */
.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 3px;
	background: linear-gradient(90deg, #0D7377 0%, #2dd4d8 100%);
	z-index: 9999;
	transition: width 0.1s ease-out;
}

/* ============================================
   Breadcrumbs
   ============================================ */
.article-breadcrumbs {
	max-width: var(--article-max-width);
	margin: 0 auto 20px;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	color: #64748b;
}

.article-breadcrumbs a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.article-breadcrumbs a:hover {
	color: #0D7377;
}

.article-breadcrumbs .breadcrumb-separator {
	color: #cbd5e1;
}

.article-breadcrumbs .breadcrumb-current {
	color: #94a3b8;
	font-weight: 400;
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
	vertical-align: middle;
}

.article-breadcrumbs .breadcrumb-title {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	margin: 0;
	display: inline;
}

.article-breadcrumbs .breadcrumb-category,
.article-breadcrumbs .wp-block-post-terms {
	display: inline;
}

.article-breadcrumbs .wp-block-post-terms a {
	color: #64748b;
	font-weight: 500;
	text-decoration: none;
}

.article-breadcrumbs .wp-block-post-terms a:hover {
	color: #0D7377;
}

/* ============================================
   Article Hero Section
   ============================================ */
.article-hero {
	position: relative;
	padding: 60px 20px 40px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	overflow: hidden;
}

.article-hero::before {
	content: "";
	position: absolute;
	top: 0;
	right: -20%;
	width: 60%;
	height: 100%;
	background: radial-gradient(circle at center, rgba(13, 115, 119, 0.04) 0%, transparent 70%);
	pointer-events: none;
}

.article-hero-inner {
	max-width: var(--article-max-width);
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

/* Category Badge */
.article-category {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
}

.article-category a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, rgba(13, 115, 119, 0.1) 0%, rgba(13, 115, 119, 0.05) 100%);
	color: #0D7377;
	padding: 8px 16px;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	border: 1px solid rgba(13, 115, 119, 0.15);
}

.article-category a::before {
	content: "";
	width: 6px;
	height: 6px;
	background: #0D7377;
	border-radius: 50%;
	animation: categoryPulse 2s ease-in-out infinite;
}

.article-category a:hover {
	background: #0D7377;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(13, 115, 119, 0.25);
}

.article-category a:hover::before {
	background: #ffffff;
}

@keyframes categoryPulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.8); }
}

/* Article Title */
.article-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	color: #1e293b;
	margin: 0 0 24px 0;
	letter-spacing: -0.02em;
}

/* Article Meta Row */
.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Author Info */
.article-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.article-author-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-author-avatar-placeholder {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0D7377 0%, #0a5a5c 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-weight: 700;
	font-size: 1.125rem;
	border: 2px solid #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-author-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.article-author-name {
	font-weight: 600;
	color: #1e293b;
	font-size: 0.9375rem;
}

.article-author-title {
	font-size: 0.8125rem;
	color: #64748b;
}

/* Date & Reading Time */
.article-date-reading {
	display: flex;
	align-items: center;
	gap: 16px;
	color: #64748b;
	font-size: 0.875rem;
}

.article-date,
.article-reading-time {
	display: flex;
	align-items: center;
	gap: 6px;
}

.article-date svg,
.article-reading-time svg {
	width: 16px;
	height: 16px;
	opacity: 0.7;
}

.meta-divider {
	width: 4px;
	height: 4px;
	background: #cbd5e1;
	border-radius: 50%;
}

/* ============================================
   Featured Image
   ============================================ */
.article-featured-image {
	position: relative;
	max-width: var(--article-wide-width);
	margin: 0 auto 48px;
	padding: 0 20px;
}

.article-featured-image figure {
	margin: 0;
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow:
		0 4px 6px -1px rgba(0, 0, 0, 0.05),
		0 25px 60px -12px rgba(13, 115, 119, 0.15);
	transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-featured-image figure::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		transparent 0%,
		transparent 60%,
		rgba(0, 0, 0, 0.03) 100%
	);
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.4s ease;
}

.article-featured-image figure::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	pointer-events: none;
	z-index: 2;
}

.article-featured-image figure:hover {
	transform: translateY(-4px);
	box-shadow:
		0 8px 12px -2px rgba(0, 0, 0, 0.08),
		0 32px 80px -16px rgba(13, 115, 119, 0.2);
}

.article-featured-image figure:hover::before {
	opacity: 0;
}

.article-featured-image img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-featured-image figure:hover img {
	transform: scale(1.02);
}

.article-featured-image figcaption {
	padding: 12px 16px;
	background: #f8fafc;
	font-size: 0.8125rem;
	color: #64748b;
	text-align: center;
	font-style: italic;
}

/* Corner Accent on Featured Image */
.article-featured-image-accent {
	position: absolute;
	top: -2px;
	left: -2px;
	width: 60px;
	height: 60px;
	z-index: 3;
	pointer-events: none;
}

.article-featured-image-accent::before,
.article-featured-image-accent::after {
	content: "";
	position: absolute;
	background: linear-gradient(135deg, #0D7377 0%, #2dd4d8 100%);
}

.article-featured-image-accent::before {
	top: 0;
	left: 0;
	width: 60px;
	height: 4px;
	border-radius: 20px 0 0 0;
}

.article-featured-image-accent::after {
	top: 0;
	left: 0;
	width: 4px;
	height: 60px;
	border-radius: 20px 0 0 0;
}

/* ============================================
   Article Content
   ============================================ */
.article-content {
	max-width: var(--article-max-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* Typography Enhancements */
.article-content p {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: #374151;
	margin-bottom: 1.5em;
}

.article-content p:first-of-type::first-letter {
	float: left;
	font-size: 3.5em;
	line-height: 0.8;
	font-weight: 700;
	color: #0D7377;
	margin-right: 12px;
	margin-top: 8px;
}

/* Headings */
.article-content h2 {
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 700;
	color: #1e293b;
	margin: 2.5em 0 1em;
	padding-left: 16px;
	border-left: 4px solid #0D7377;
}

.article-content h3 {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 600;
	color: #1e293b;
	margin: 2em 0 0.75em;
}

.article-content h4 {
	font-size: 1.125rem;
	font-weight: 600;
	color: #334155;
	margin: 1.75em 0 0.5em;
}

/* Links */
.article-content a {
	color: #0D7377;
	text-decoration: underline;
	text-decoration-color: rgba(13, 115, 119, 0.3);
	text-underline-offset: 3px;
	transition: all 0.2s ease;
}

.article-content a:hover {
	color: #0a5a5c;
	text-decoration-color: #0a5a5c;
}

/* Lists */
.article-content ul,
.article-content ol {
	margin: 1.5em 0;
	padding-left: 0;
}

.article-content ul {
	list-style: none;
}

.article-content ul li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
	line-height: 1.7;
}

.article-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 8px;
	height: 8px;
	background: linear-gradient(135deg, #0D7377 0%, #2dd4d8 100%);
	border-radius: 50%;
}

.article-content ol {
	counter-reset: item;
	list-style: none;
}

.article-content ol li {
	position: relative;
	padding-left: 40px;
	margin-bottom: 12px;
	line-height: 1.7;
	counter-increment: item;
}

.article-content ol li::before {
	content: counter(item);
	position: absolute;
	left: 0;
	top: 0;
	width: 28px;
	height: 28px;
	background: linear-gradient(135deg, rgba(13, 115, 119, 0.1) 0%, rgba(13, 115, 119, 0.05) 100%);
	color: #0D7377;
	font-weight: 700;
	font-size: 0.8125rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Blockquote */
.article-content blockquote {
	position: relative;
	margin: 2.5em 0;
	padding: 32px 32px 32px 40px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 12px;
	border-left: 4px solid #0D7377;
}

.article-content blockquote::before {
	content: """;
	position: absolute;
	top: 16px;
	left: 16px;
	font-size: 4rem;
	line-height: 1;
	color: rgba(13, 115, 119, 0.15);
	font-family: Georgia, serif;
}

.article-content blockquote p {
	font-size: 1.125rem;
	font-style: italic;
	color: #334155;
	margin: 0;
}

.article-content blockquote cite {
	display: block;
	margin-top: 16px;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 600;
	color: #0D7377;
}

/* Images in Content */
.article-content .wp-block-image {
	margin: 2.5em 0;
}

.article-content .wp-block-image img {
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-content .wp-block-image figcaption {
	margin-top: 12px;
	font-size: 0.8125rem;
	color: #64748b;
	text-align: center;
	font-style: italic;
}

/* Tables */
.article-content table {
	width: 100%;
	margin: 2em 0;
	border-collapse: collapse;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.article-content th {
	background: #0D7377;
	color: #ffffff;
	font-weight: 600;
	padding: 14px 16px;
	text-align: left;
}

.article-content td {
	padding: 14px 16px;
	border-bottom: 1px solid #e2e8f0;
}

.article-content tr:last-child td {
	border-bottom: none;
}

.article-content tr:nth-child(even) {
	background: #f8fafc;
}

/* Code */
.article-content code {
	background: #f1f5f9;
	padding: 2px 8px;
	border-radius: 4px;
	font-family: 'Fira Code', 'Monaco', monospace;
	font-size: 0.875em;
	color: #0D7377;
}

.article-content pre {
	background: #1e293b;
	padding: 24px;
	border-radius: 12px;
	overflow-x: auto;
	margin: 2em 0;
}

.article-content pre code {
	background: transparent;
	color: #e2e8f0;
	padding: 0;
}

/* ============================================
   Article Tags
   ============================================ */
.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 48px 0;
	padding-top: 32px;
	border-top: 1px solid #e2e8f0;
}

.article-tags-label {
	font-weight: 600;
	color: #64748b;
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.article-tags a {
	display: inline-block;
	background: #f1f5f9;
	color: #475569;
	padding: 6px 14px;
	border-radius: 100px;
	font-size: 0.8125rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
}

.article-tags a:hover {
	background: #0D7377;
	color: #ffffff;
	transform: translateY(-2px);
}

/* ============================================
   Share Buttons
   ============================================ */
.article-share {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 32px 0;
	padding: 24px;
	background: #f8fafc;
	border-radius: 12px;
}

.article-share-label {
	font-weight: 600;
	color: #1e293b;
	font-size: 0.9375rem;
}

.article-share-buttons {
	display: flex;
	gap: 10px;
}

.article-share-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	color: #64748b;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.article-share-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-share-btn.facebook:hover {
	background: #1877F2;
	color: #ffffff;
}

.article-share-btn.twitter:hover {
	background: #1DA1F2;
	color: #ffffff;
}

.article-share-btn.linkedin:hover {
	background: #0A66C2;
	color: #ffffff;
}

.article-share-btn.whatsapp:hover {
	background: #25D366;
	color: #ffffff;
}

.article-share-btn svg {
	width: 18px;
	height: 18px;
}

/* ============================================
   Author Bio Section
   ============================================ */
.author-bio {
	max-width: var(--article-max-width);
	margin: 48px auto;
	padding: 0 20px;
}

.author-bio-inner {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 20px;
	padding: 32px;
	display: flex;
	gap: 24px;
	position: relative;
	overflow: hidden;
}

.author-bio-inner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, #0D7377 0%, #2dd4d8 100%);
}

.author-bio-avatar {
	flex-shrink: 0;
}

.author-bio-avatar img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #ffffff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.author-bio-avatar-placeholder {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0D7377 0%, #0a5a5c 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-weight: 700;
	font-size: 2rem;
	border: 4px solid #ffffff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.author-bio-content {
	flex: 1;
}

.author-bio-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #0D7377;
	margin-bottom: 4px;
}

.author-bio-name {
	font-size: 1.375rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 4px;
}

.author-bio-title {
	font-size: 0.9375rem;
	color: #64748b;
	margin-bottom: 12px;
}

.author-bio-description {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: #475569;
	margin: 0;
}

.author-bio-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	color: #0D7377;
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.author-bio-link:hover {
	color: #0a5a5c;
	gap: 10px;
}

.author-bio-link svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s ease;
}

.author-bio-link:hover svg {
	transform: translateX(4px);
}

/* Mobile Author Bio */
@media (max-width: 600px) {
	.author-bio-inner {
		flex-direction: column;
		text-align: center;
		padding: 28px 20px;
	}

	.author-bio-inner::before {
		width: 100%;
		height: 4px;
		top: 0;
		left: 0;
		background: linear-gradient(90deg, #0D7377 0%, #2dd4d8 100%);
	}

	.author-bio-avatar {
		margin: 0 auto;
	}
}

/* ============================================
   Related Posts Section
   ============================================ */
.related-posts {
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	padding: 60px 20px 80px;
	margin-top: 40px;
	position: relative;
	overflow: hidden;
}

/* Subtle decorative background */
.related-posts::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 800px;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(13, 115, 119, 0.2) 50%, transparent 100%);
}

.related-posts-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.related-posts-header {
	text-align: center;
	margin-bottom: 40px;
}

.related-posts-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(13, 115, 119, 0.08);
	color: #0D7377;
	padding: 8px 16px;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 16px;
}

.related-posts-tag::before {
	content: "";
	width: 6px;
	height: 6px;
	background: #0D7377;
	border-radius: 50%;
}

.related-posts-title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: #1e293b;
	margin: 0;
}

/* Related Posts Grid */
.related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	list-style: none;
	padding: 0;
	margin: 0;
}

@media (max-width: 900px) {
	.related-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.related-posts-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* Legacy support for Query Loop block structure */
.related-posts-grid .wp-block-query {
	display: contents;
}

.related-posts-grid .wp-block-post-template,
.related-posts-grid .related-posts-template {
	display: contents;
}

.related-posts-grid .wp-block-post {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Related Post Card */
.related-post-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow:
		0 2px 4px rgba(0, 0, 0, 0.02),
		0 8px 24px rgba(0, 0, 0, 0.06);
	transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.related-post-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, #0D7377 0%, #2dd4d8 100%);
	transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 2;
}

.related-post-card:hover {
	transform: translateY(-8px);
	box-shadow:
		0 8px 16px rgba(0, 0, 0, 0.04),
		0 24px 48px rgba(13, 115, 119, 0.12);
}

.related-post-card:hover::before {
	width: 100%;
}

.related-post-image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f1f5f9;
}

.related-post-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.related-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.related-post-card:hover .related-post-image img {
	transform: scale(1.05);
}

.related-post-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	color: #94a3b8;
	text-decoration: none;
}

.related-post-no-image svg {
	width: 48px;
	height: 48px;
	opacity: 0.5;
}

.related-post-category {
	position: absolute;
	top: 0px;
	left: 0px;
	background: #0D7377;
	color: #ffffff;
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-decoration: none;
	transition: all 0.3s ease;
	max-width: calc(100% - 24px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.related-post-category:hover {
	background: #0a5a5c;
	color: #ffffff;
}

.related-post-category a {
	color: inherit;
	text-decoration: none;
	line-height: 0.1rem;
}

.related-post-content {
	padding: 20px 20px 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.related-post-title {
	font-size: 1.0625rem;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 10px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-post-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.related-post-title a:hover {
	color: #0D7377;
}

.related-post-excerpt {
	font-size: 0.875rem;
	line-height: 1.6;
	color: #64748b;
	margin: 0 0 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex-grow: 1;
}

.related-post-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.8125rem;
	color: #94a3b8;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
}

.related-post-date {
	display: flex;
	align-items: center;
	gap: 6px;
}

.related-post-date svg {
	width: 14px;
	height: 14px;
	opacity: 0.5;
}

.related-post-readmore {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #0D7377;
	text-decoration: none;
	transition: all 0.3s ease;
}

.related-post-readmore svg {
	width: 14px;
	height: 14px;
	transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-readmore {
	color: #0a5a5c;
}

.related-post-card:hover .related-post-readmore svg {
	transform: translateX(3px);
}

/* WordPress Block Overrides for Related Posts */
.related-post-card .wp-block-post-featured-image {
	margin: 0;
}

.related-post-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.related-post-card .wp-block-post-title {
	margin: 0;
}

.related-post-card .wp-block-post-terms {
	display: inline;
	font-size: inherit;
}

.related-post-card .wp-block-post-terms a {
	color: inherit;
	text-decoration: none;
}

.related-post-card .wp-block-post-date {
	display: inline;
	font-size: inherit;
	color: inherit;
}

/* Category in Hero */
.article-category .wp-block-post-terms {
	display: inline;
}

.article-category .wp-block-post-terms a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, rgba(13, 115, 119, 0.1) 0%, rgba(13, 115, 119, 0.05) 100%);
	color: #0D7377;
	padding: 8px 16px;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	border: 1px solid rgba(13, 115, 119, 0.15);
}

.article-category .wp-block-post-terms a:hover {
	background: #0D7377;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(13, 115, 119, 0.25);
}

/* Article Title Override */
.article-title.wp-block-post-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	color: #1e293b;
	margin: 0 0 24px 0;
	letter-spacing: -0.02em;
}

/* Author Name Override */
.article-author-name.wp-block-post-author {
	font-weight: 600;
	color: #1e293b;
	font-size: 0.9375rem;
}

.author-bio-name.wp-block-post-author {
	font-size: 1.375rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 4px;
}

/* Date in Hero */
.article-date .wp-block-post-date {
	display: inline;
	font-size: inherit;
	color: inherit;
}

/* Featured Image Override */
.article-featured-image .wp-block-post-featured-image {
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
}

.article-featured-image .wp-block-post-featured-image img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* No Results Text */
.no-results-text {
	padding: 40px 20px;
	color: #64748b;
	font-style: italic;
}

/* ============================================
   Article CTA Band
   ============================================ */
.article-cta {
	background: linear-gradient(135deg, #0D7377 0%, #0a5a5c 100%);
	padding: 60px 20px;
	position: relative;
	overflow: hidden;
}

.article-cta::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -10%;
	width: 50%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
	pointer-events: none;
}

.article-cta-inner {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	z-index: 1;
}

.article-cta-title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 12px;
}

.article-cta-text {
	font-size: 1.0625rem;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 28px;
	line-height: 1.6;
}

.article-cta-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.article-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 32px;
	border-radius: 12px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-cta-btn.primary {
	background: #E85A24;
	color: #ffffff;
	box-shadow: 0 4px 16px rgba(232, 90, 36, 0.4);
}

.article-cta-btn.primary:hover {
	background: #d14a18;
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(232, 90, 36, 0.5);
}

.article-cta-btn.secondary {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.article-cta-btn.secondary:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-3px);
}

.article-cta-btn svg {
	width: 20px;
	height: 20px;
}

/* ============================================
   Navigation (Prev/Next)
   ============================================ */
.article-navigation {
	max-width: var(--article-max-width);
	margin: 0 auto;
	padding: 40px 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

@media (max-width: 600px) {
	.article-navigation {
		grid-template-columns: 1fr;
	}
}

.article-nav-item {
	padding: 20px;
	background: #f8fafc;
	border-radius: 12px;
	transition: all 0.3s ease;
}

.article-nav-item:hover {
	background: #f1f5f9;
	transform: translateY(-2px);
}

.article-nav-item.prev {
	text-align: left;
}

.article-nav-item.next {
	text-align: right;
}

.article-nav-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #0D7377;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.article-nav-item.next .article-nav-label {
	justify-content: flex-end;
}

.article-nav-label svg {
	width: 14px;
	height: 14px;
}

.article-nav-title {
	font-size: 1rem;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-nav-title a {
	color: inherit;
	text-decoration: none;
}

.article-nav-title a:hover {
	color: #0D7377;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (min-width: 768px) {
	.article-hero {
		padding: 80px 40px 60px;
	}

	.article-featured-image {
		padding: 0 40px;
		margin-bottom: 60px;
	}

	.article-content {
		padding: 0 40px;
	}

	.author-bio {
		padding: 0 40px;
	}
}

@media (min-width: 1024px) {
	.article-hero {
		padding: 100px 60px 80px;
	}

	.article-meta {
		gap: 32px;
	}
}

/* Related Posts Responsive */
@media (max-width: 768px) {
	.related-posts {
		padding: 48px 16px 60px;
		margin-top: 32px;
	}

	.related-posts-header {
		margin-bottom: 32px;
	}

	.related-posts-title {
		font-size: 1.5rem;
	}

	.related-post-content {
		padding: 16px;
	}

	.related-post-title {
		font-size: 1rem;
	}

	.related-post-excerpt {
		font-size: 0.8125rem;
		-webkit-line-clamp: 2;
	}

	.related-post-meta {
		flex-wrap: wrap;
		gap: 8px;
	}

	.related-post-readmore {
		width: 100%;
		justify-content: center;
		margin-left: 0;
		margin-top: 8px;
		padding-top: 12px;
		border-top: 1px solid #f1f5f9;
	}
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
	.article-hero::before,
	.article-share,
	.article-cta,
	.related-posts,
	.article-navigation {
		display: none !important;
	}

	.article-content {
		max-width: 100%;
	}

	.article-content a {
		color: #000;
		text-decoration: underline;
	}

	.article-content a::after {
		content: " (" attr(href) ")";
		font-size: 0.8em;
	}
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
	.related-post-card,
	.article-cta-btn,
	.article-share-btn,
	.article-category a {
		transition: none;
	}

	.related-post-card:hover,
	.article-cta-btn:hover,
	.article-share-btn:hover {
		transform: none;
	}

	@keyframes categoryPulse {
		0%, 100% { opacity: 1; }
	}
}

/* ============================================
   Article Tools Bar (Reading Controls)
   ============================================ */
.article-tools {
	position: fixed;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: #ffffff;
	padding: 12px;
	border-radius: 16px;
	box-shadow:
		0 4px 6px -1px rgba(0, 0, 0, 0.05),
		0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-tools-btn {
	width: 40px;
	height: 40px;
	border: none;
	background: #f8fafc;
	border-radius: 10px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	transition: all 0.3s ease;
}

.article-tools-btn:hover {
	background: #0D7377;
	color: #ffffff;
}

.article-tools-btn.active {
	background: #0D7377;
	color: #ffffff;
}

.article-tools-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.article-tools-btn:disabled:hover {
	background: #f8fafc;
	color: #64748b;
}

.article-tools-btn svg {
	width: 18px;
	height: 18px;
}

.article-tools-divider {
	height: 1px;
	background: #e2e8f0;
	margin: 4px 0;
}

/* Time Remaining Badge */
.time-remaining-badge {
	position: fixed;
	bottom: 60px;
	right: 10px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 10px 16px;
	border-radius: 100px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #0D7377;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 8px;
}

.time-remaining-badge svg {
	width: 16px;
	height: 16px;
}

@media (max-width: 1200px) {
	.article-tools {
		display: none;
	}

	.time-remaining-badge {
		bottom: 60px;
	}
}

/* ============================================
   Mobile Article Tools (FAB Style)
   ============================================ */
.article-tools-mobile {
	display: none;
	position: fixed;
	bottom: 10px;
	left: 10px;
	z-index: 101;
}

.article-tools-mobile-toggle {
	width: 45px;
	height: 45px;
	border: none;
	background: linear-gradient(135deg, #0D7377 0%, #0a5a5c 100%);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	box-shadow:
		0 4px 12px rgba(13, 115, 119, 0.3),
		0 2px 4px rgba(0, 0, 0, 0.1);
	transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-tools-mobile-toggle:hover {
	transform: scale(1.05);
	box-shadow:
		0 6px 16px rgba(13, 115, 119, 0.4),
		0 3px 6px rgba(0, 0, 0, 0.1);
}

.article-tools-mobile-toggle svg {
	width: 22px;
	height: 22px;
	transition: transform 0.3s ease;
}

.article-tools-mobile.expanded .article-tools-mobile-toggle svg {
	transform: rotate(90deg);
}

.article-tools-mobile-panel {
	position: absolute;
	bottom: 58px;
	left: 0;
	background: #ffffff;
	border-radius: 16px;
	padding: 12px;
	box-shadow:
		0 4px 6px -1px rgba(0, 0, 0, 0.05),
		0 10px 30px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px) scale(0.95);
	transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 48px;
}

.article-tools-mobile.expanded .article-tools-mobile-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.article-tools-mobile-panel .article-tools-btn {
	width: 44px;
	height: 44px;
}

.article-tools-mobile-panel .article-tools-btn svg {
	width: 20px;
	height: 20px;
}

/* Labels for mobile tools */
.article-tools-mobile-panel .tool-with-label {
	display: flex;
	align-items: center;
	gap: 10px;
}

.article-tools-mobile-panel .tool-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

@media (max-width: 1200px) {
	.article-tools-mobile {
		display: block;
	}
}

/* Dark mode for mobile tools */
.single-article.dark-mode ~ .article-tools-mobile .article-tools-mobile-panel {
	background: #1e293b;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.single-article.dark-mode ~ .article-tools-mobile .article-tools-btn {
	background: #334155;
	color: #94a3b8;
}

.single-article.dark-mode ~ .article-tools-mobile .article-tools-btn:hover,
.single-article.dark-mode ~ .article-tools-mobile .article-tools-btn.active {
	background: #0D7377;
	color: #ffffff;
}

.single-article.dark-mode ~ .article-tools-mobile .tool-label {
	color: #94a3b8;
}

.single-article.dark-mode ~ .article-tools-mobile .article-tools-divider {
	background: #334155;
}

/* ============================================
   Sticky Table of Contents
   ============================================ */
.article-toc {
	position: fixed;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
	width: 280px;
	max-height: 60vh;
	background: #ffffff;
	border-radius: 16px;
	box-shadow:
		0 4px 6px -1px rgba(0, 0, 0, 0.05),
		0 10px 30px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.toc-header {
	padding: 16px 20px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.toc-title {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #1e293b;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.toc-title svg {
	width: 16px;
	height: 16px;
	color: #0D7377;
}

.toc-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: #64748b;
}

.toc-content {
	padding: 16px 0;
	max-height: calc(60vh - 60px);
	overflow-y: auto;
}

.toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.toc-item {
	margin: 0;
	padding: 0;
}

.toc-link {
	display: block;
	padding: 10px 20px;
	font-size: 0.875rem;
	color: #64748b;
	text-decoration: none;
	border-left: 3px solid transparent;
	transition: all 0.2s ease;
	line-height: 1.4;
}

.toc-link:hover {
	color: #0D7377;
	background: rgba(13, 115, 119, 0.04);
}

.toc-link.active {
	color: #0D7377;
	border-left-color: #0D7377;
	background: rgba(13, 115, 119, 0.06);
	font-weight: 600;
}

.toc-h3 .toc-link {
	padding-left: 32px;
	font-size: 0.8125rem;
}

@media (max-width: 1600px) {
	.article-toc {
		display: none;
	}
}

/* Mobile TOC (shown at top of article) */
.article-toc-mobile {
	display: none;
	max-width: var(--article-max-width);
	margin: 0 auto 32px;
	padding: 0 20px;
}

.article-toc-mobile .toc-container {
	background: #f8fafc;
	border-radius: 12px;
	overflow: hidden;
}

.article-toc-mobile .toc-header {
	padding: 14px 16px;
	cursor: pointer;
}

.article-toc-mobile .toc-toggle {
	display: block;
}

.article-toc-mobile .toc-content {
	display: none;
	padding: 0 0 16px;
}

.article-toc-mobile.expanded .toc-content {
	display: block;
}

.article-toc-mobile .toc-toggle svg {
	transition: transform 0.3s ease;
}

.article-toc-mobile.expanded .toc-toggle svg {
	transform: rotate(180deg);
}

@media (max-width: 1600px) {
	.article-toc-mobile {
		display: block;
	}
}

/* ============================================
   Copy Link Button
   ============================================ */
.article-share-btn.copy-link {
	position: relative;
}

.article-share-btn.copy-link.copied {
	background: #10b981;
	color: #ffffff;
}

/* ============================================
   Highlight & Share Popup
   ============================================ */
.highlight-share-popup {
	position: absolute;
	transform: translateX(-50%);
	background: #1e293b;
	padding: 8px;
	border-radius: 8px;
	display: flex;
	gap: 4px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
	z-index: 1000;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.highlight-share-popup::after {
	content: "";
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #1e293b;
}

.highlight-share-popup.visible {
	opacity: 1;
	visibility: visible;
}

.highlight-share-btn {
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	color: #ffffff;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.highlight-share-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.highlight-share-btn[data-platform="twitter"]:hover {
	color: #1DA1F2;
}

.highlight-share-btn[data-platform="facebook"]:hover {
	color: #1877F2;
}

.highlight-share-btn.copy-quote:hover {
	color: #10b981;
}

/* ============================================
   Text Size Controls
   ============================================ */
.article-content.font-size-small {
	font-size: 0.9375rem;
}

.article-content.font-size-small p {
	font-size: 0.9375rem;
}

.article-content.font-size-normal {
	font-size: 1.0625rem;
}

.article-content.font-size-normal p {
	font-size: 1.0625rem;
}

.article-content.font-size-large {
	font-size: 1.1875rem;
}

.article-content.font-size-large p {
	font-size: 1.1875rem;
	line-height: 1.85;
}

.article-content.font-size-xlarge {
	font-size: 1.3125rem;
}

.article-content.font-size-xlarge p {
	font-size: 1.3125rem;
	line-height: 1.9;
}

/* ============================================
   Dark Mode
   ============================================ */
.single-article.dark-mode {
	background: #0f172a;
}

.single-article.dark-mode .article-hero {
	background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.single-article.dark-mode .article-hero::before {
	background: radial-gradient(circle at center, rgba(13, 115, 119, 0.08) 0%, transparent 70%);
}

.single-article.dark-mode .article-breadcrumbs a {
	color: #94a3b8;
}

.single-article.dark-mode .article-breadcrumbs a:hover {
	color: #2dd4d8;
}

.single-article.dark-mode .article-breadcrumbs .breadcrumb-separator {
	color: #475569;
}

.single-article.dark-mode .article-breadcrumbs .breadcrumb-current {
	color: #64748b;
}

.single-article.dark-mode .article-breadcrumbs .wp-block-post-terms a {
	color: #94a3b8;
}

.single-article.dark-mode .article-category .wp-block-post-terms a {
	background: rgba(13, 115, 119, 0.2);
	border-color: rgba(13, 115, 119, 0.3);
}

.single-article.dark-mode .article-title,
.single-article.dark-mode .article-title.wp-block-post-title {
	color: #f1f5f9;
}

.single-article.dark-mode .article-author-name,
.single-article.dark-mode .article-author-name.wp-block-post-author {
	color: #e2e8f0;
}

.single-article.dark-mode .article-author-title {
	color: #94a3b8;
}

.single-article.dark-mode .article-date-reading {
	color: #94a3b8;
}

.single-article.dark-mode .meta-divider {
	background: #475569;
}

.single-article.dark-mode .article-featured-image figure {
	box-shadow:
		0 4px 6px -1px rgba(0, 0, 0, 0.2),
		0 25px 60px -12px rgba(0, 0, 0, 0.4);
}

.single-article.dark-mode .article-content {
	color: #cbd5e1;
}

.single-article.dark-mode .article-content p {
	color: #cbd5e1;
}

.single-article.dark-mode .article-content h2,
.single-article.dark-mode .article-content h3,
.single-article.dark-mode .article-content h4 {
	color: #f1f5f9;
}

.single-article.dark-mode .article-content h2 {
	border-left-color: #2dd4d8;
}

.single-article.dark-mode .article-content a {
	color: #2dd4d8;
	text-decoration-color: rgba(45, 212, 216, 0.3);
}

.single-article.dark-mode .article-content a:hover {
	color: #5de6e8;
	text-decoration-color: #5de6e8;
}

.single-article.dark-mode .article-content ul li::before {
	background: linear-gradient(135deg, #2dd4d8 0%, #0D7377 100%);
}

.single-article.dark-mode .article-content ol li::before {
	background: rgba(45, 212, 216, 0.15);
	color: #2dd4d8;
}

.single-article.dark-mode .article-content blockquote {
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
	border-left-color: #2dd4d8;
}

.single-article.dark-mode .article-content blockquote::before {
	color: rgba(45, 212, 216, 0.15);
}

.single-article.dark-mode .article-content blockquote p {
	color: #e2e8f0;
}

.single-article.dark-mode .article-content blockquote cite {
	color: #2dd4d8;
}

.single-article.dark-mode .article-content code {
	background: #1e293b;
	color: #2dd4d8;
}

.single-article.dark-mode .article-content table th {
	background: #0D7377;
}

.single-article.dark-mode .article-content table td {
	border-bottom-color: #334155;
}

.single-article.dark-mode .article-content tr:nth-child(even) {
	background: #1e293b;
}

.single-article.dark-mode .article-share {
	background: #1e293b;
}

.single-article.dark-mode .article-share-label {
	color: #e2e8f0;
}

.single-article.dark-mode .article-share-btn {
	background: #0f172a;
	color: #94a3b8;
}

.single-article.dark-mode .author-bio-inner {
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.single-article.dark-mode .author-bio-label {
	color: #2dd4d8;
}

.single-article.dark-mode .author-bio-name,
.single-article.dark-mode .author-bio-name.wp-block-post-author {
	color: #f1f5f9;
}

.single-article.dark-mode .author-bio-title {
	color: #94a3b8;
}

.single-article.dark-mode .author-bio-description {
	color: #cbd5e1;
}

.single-article.dark-mode .author-bio-link {
	color: #2dd4d8;
}

.single-article.dark-mode .related-posts {
	background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.single-article.dark-mode .related-posts-tag {
	background: rgba(45, 212, 216, 0.1);
	color: #2dd4d8;
}

.single-article.dark-mode .related-posts-title {
	color: #f1f5f9;
}

.single-article.dark-mode .related-post-card {
	background: #1e293b;
	box-shadow:
		0 2px 4px rgba(0, 0, 0, 0.1),
		0 8px 24px rgba(0, 0, 0, 0.2);
}

.single-article.dark-mode .related-post-card:hover {
	box-shadow:
		0 8px 16px rgba(0, 0, 0, 0.2),
		0 24px 48px rgba(0, 0, 0, 0.3);
}

.single-article.dark-mode .related-post-category {
	background: #0D7377;
	color: #ffffff;
}

.single-article.dark-mode .related-post-title {
	color: #f1f5f9;
}

.single-article.dark-mode .related-post-title a:hover {
	color: #2dd4d8;
}

.single-article.dark-mode .related-post-excerpt {
	color: #94a3b8;
}

.single-article.dark-mode .related-post-meta {
	color: #64748b;
	border-top-color: #334155;
}

.single-article.dark-mode .related-post-readmore {
	color: #2dd4d8;
}

.single-article.dark-mode .related-post-readmore:hover {
	color: #5eead4;
}

/* Dark mode tools */
.single-article.dark-mode + .article-tools,
.single-article.dark-mode ~ .article-tools {
	background: #1e293b;
}

.single-article.dark-mode + .article-tools .article-tools-btn,
.single-article.dark-mode ~ .article-tools .article-tools-btn {
	background: #0f172a;
	color: #94a3b8;
}

.single-article.dark-mode + .article-tools .article-tools-btn:hover,
.single-article.dark-mode ~ .article-tools .article-tools-btn:hover {
	background: #0D7377;
	color: #ffffff;
}

/* ============================================
   Next/Previous Article Navigation
   ============================================ */
.article-nav-premium {
	max-width: var(--article-max-width);
	margin: 0 auto 48px;
	padding: 0 20px;
}

.article-nav-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

@media (max-width: 600px) {
	.article-nav-grid {
		grid-template-columns: 1fr;
	}
}

.article-nav-card {
	display: flex;
	gap: 16px;
	padding: 20px;
	background: #f8fafc;
	border-radius: 16px;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	overflow: hidden;
}

.article-nav-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, #0D7377 0%, #2dd4d8 100%);
	transition: width 0.4s ease;
}

.article-nav-card:hover {
	background: #f1f5f9;
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.article-nav-card:hover::before {
	width: 100%;
}

.article-nav-card.next {
	flex-direction: row-reverse;
	text-align: right;
}

.article-nav-thumb {
	width: 80px;
	height: 80px;
	border-radius: 12px;
	object-fit: cover;
	flex-shrink: 0;
}

.article-nav-thumb-placeholder {
	width: 80px;
	height: 80px;
	border-radius: 12px;
	background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.article-nav-thumb-placeholder svg {
	width: 32px;
	height: 32px;
	color: #94a3b8;
}

.article-nav-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.article-nav-direction {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #0D7377;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.article-nav-card.next .article-nav-direction {
	justify-content: flex-end;
}

.article-nav-direction svg {
	width: 12px;
	height: 12px;
}

.article-nav-post-title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
}

.article-nav-category {
	font-size: 0.75rem;
	color: #64748b;
	margin-top: 4px;
}

/* Dark mode nav */
.single-article.dark-mode .article-nav-card {
	background: #1e293b;
}

.single-article.dark-mode .article-nav-card:hover {
	background: #334155;
}

.single-article.dark-mode .article-nav-direction {
	color: #2dd4d8;
}

.single-article.dark-mode .article-nav-post-title {
	color: #f1f5f9;
}

.single-article.dark-mode .article-nav-category {
	color: #94a3b8;
}

.single-article.dark-mode .article-nav-thumb-placeholder {
	background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.single-article.dark-mode .article-nav-thumb-placeholder svg {
	color: #64748b;
}
