/* ============================================
   Global Typography System
   Clean, modern Inter + Poppins with responsive sizing
   ============================================ */

/* ---- Font Family Foundation ---- */
body,
.site,
.inside-article,
.entry-content,
.widget,
.sidebar,
.site-footer {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: 'cv01', 'cv02', 'cv03', 'cv04', 'cv11';
}

/* ---- Heading Font (Poppins for distinction) ---- */
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.widget-title,
.modern-post-title,
.modern-related-posts-title {
	font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #1a202c;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* ---- Responsive Heading Sizes (clamp: min, preferred, max) ---- */

/* H1 — Page/Post title */
h1,
.entry-title {
	font-size: clamp(1.75rem, 5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.025em;
	margin-top: 0;
	margin-bottom: 0.6em;
}

/* H2 — Major sections */
h2 {
	font-size: clamp(1.35rem, 4vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin-top: 2em;
	margin-bottom: 0.6em;
}

/* H3 — Subsections */
h3 {
	font-size: clamp(1.15rem, 3.2vw, 1.5rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.015em;
	margin-top: 1.8em;
	margin-bottom: 0.5em;
}

/* H4 — Minor headings */
h4 {
	font-size: clamp(1.05rem, 2.5vw, 1.25rem);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
	margin-top: 1.6em;
	margin-bottom: 0.5em;
}

/* H5 */
h5 {
	font-size: clamp(0.95rem, 2vw, 1.1rem);
	font-weight: 600;
	line-height: 1.4;
	margin-top: 1.5em;
	margin-bottom: 0.4em;
}

/* H6 */
h6 {
	font-size: clamp(0.85rem, 1.8vw, 1rem);
	font-weight: 600;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #64748b;
	margin-top: 1.4em;
	margin-bottom: 0.4em;
}

/* ---- Body Text ---- */
body {
	font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
	line-height: 1.7;
	color: #334155;
}

p {
	margin-bottom: 1.25em;
	line-height: 1.75;
}

/* ---- Navigation / UI Text ---- */
.main-navigation a,
.menu-item a,
nav a {
	font-family: 'Inter', -apple-system, sans-serif;
	font-weight: 500;
	letter-spacing: -0.01em;
}

/* ---- Widget Titles ---- */
.widget-title {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	font-weight: 700;
	letter-spacing: -0.015em;
	color: #1e293b;
}

/* ---- Sidebar Text ---- */
.widget,
.sidebar {
	font-size: 0.875rem;
	line-height: 1.6;
}

/* ---- Footer Text ---- */
.site-footer {
	font-size: 0.875rem;
	line-height: 1.6;
}

/* ---- Small / Caption Text ---- */
small,
.entry-meta,
figcaption,
.wp-caption-text,
.comment-metadata {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.5;
}

/* ---- Blockquote ---- */
blockquote {
	font-family: 'Poppins', 'Inter', sans-serif;
	font-style: italic;
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	line-height: 1.6;
	color: #475569;
	border-left: 4px solid #667eea;
	padding: 0.8em 1.2em;
	margin: 1.5em 0;
	background: rgba(102, 126, 234, 0.03);
	border-radius: 0 8px 8px 0;
}

blockquote p {
	margin-bottom: 0.5em;
}

blockquote cite {
	font-style: normal;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #667eea;
}

/* ---- Code / Pre ---- */
code,
pre,
kbd {
	font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Mono', 'Consolas', monospace;
	font-size: 0.875em;
}

pre {
	border-radius: 10px;
	padding: 1.25em;
	background: #1e293b;
	color: #e2e8f0;
	overflow-x: auto;
	line-height: 1.6;
}

code:not(pre code) {
	background: rgba(102, 126, 234, 0.08);
	color: #667eea;
	padding: 0.15em 0.4em;
	border-radius: 4px;
	font-size: 0.85em;
}

/* ---- Table Text ---- */
table {
	font-size: 0.9375rem;
}

th {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	color: #64748b;
}

/* ---- Mobile-specific size overrides ---- */
@media (max-width: 768px) {
	body {
		font-size: 0.9375rem;
		line-height: 1.65;
	}

	p {
		line-height: 1.7;
	}

	.widget-title {
		font-size: 1.05rem;
	}

	blockquote {
		padding: 0.6em 1em;
		margin: 1em 0;
	}
}

@media (max-width: 420px) {
	body {
		font-size: 0.875rem;
	}

	h1,
	.entry-title {
		font-size: 1.55rem;
	}
}

/**
 * Modern Single Post Styles
 * 
 * Beautiful, responsive design for blog post pages
 * with enhanced typography, spacing, and UI elements.
 * Optimized for CLS and LCP performance.
 */

/* ============================================
   CLS & LCP Optimizations
   ============================================ */

/* Prevent layout shifts from fonts */
.modern-post-title,
.modern-entry-content {
	font-display: swap;
}

/* Reserve space for dynamic content */
.modern-post-meta,
.modern-author-box,
.modern-tag-pills {
	contain: layout style;
}

/* Optimize rendering performance */
.modern-featured-image-wrapper,
.modern-entry-content img {
	will-change: transform;
	backface-visibility: hidden;
	-webkit-font-smoothing: antialiased;
}

/* ============================================
   Container & Layout
   ============================================ */

.modern-single-post {
	margin-bottom: 0;
}

.modern-post-wrapper {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 10px;
	box-sizing: border-box;
}

/* Ensure proper layout when sidebar is present - don't override GeneratePress layout */
body:not(.no-sidebar) .modern-post-wrapper {
	max-width: 100%;
}

/* Make sure our wrapper doesn't break the sidebar layout */
.single .content-area .modern-post-wrapper {
	max-width: 100%;
}

/* Ensure sidebar is visible and properly displayed — desktop only */
@media (min-width: 769px) {

	.single .widget-area,
	.single .sidebar,
	.single .is-right-sidebar,
	.single .is-left-sidebar,
	.single [class*="right-sidebar"],
	.single [class*="left-sidebar"] {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
}

/* Hide sidebar on mobile to prevent white space */
@media (max-width: 768px) {

	.single .widget-area,
	.single .sidebar,
	.single .is-right-sidebar,
	.single .is-left-sidebar,
	.single [class*="right-sidebar"],
	.single [class*="left-sidebar"] {
		display: none !important;
	}

	/* Prevent horizontal scroll on mobile */
	html,
	body {
		overflow-x: hidden !important;
	}

	/* Content area should fill full width */
	.single .content-area {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Don't interfere with GeneratePress's content area width calculations */
/* GeneratePress handles the width automatically based on sidebar layout */

/* Ensure inside-article doesn't break layout */
.single .inside-article {
	max-width: 100%;
}

/* Grid Container */
.grid-container {
	max-width: -webkit-fill-available;
}

/* Hide default GeneratePress featured images on single posts */
.modern-single-post .featured-image,
.modern-single-post .post-image,
.modern-single-post .page-header-image {
	display: none !important;
}

/* ============================================
   Featured Image
   ============================================ */

.modern-featured-image-wrapper {
	position: relative;
	width: 100%;
	margin-top: 1.5rem;
	margin-bottom: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	/* CLS Prevention: Reserve space with aspect-ratio */
	aspect-ratio: 16 / 9;
	/* Fallback for older browsers */
	height: 0;
	padding-bottom: 56.25%;
	/* 9/16 = 0.5625 */
	contain: layout style paint;
	will-change: contents;
}

/* Modern browsers with aspect-ratio support */
@supports (aspect-ratio: 16 / 9) {
	.modern-featured-image-wrapper {
		height: auto;
		padding-bottom: 0;
	}
}

.modern-featured-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s ease;
	/* Prevent layout shift during load */
	background-color: #f1f5f9;
	/* Optimize image rendering */
	image-rendering: auto;
	/* LCP optimization */
	content-visibility: auto;
}

.modern-featured-image-wrapper:hover .modern-featured-image {
	transform: scale(1.02);
}

/* ============================================
   Entry Header
   ============================================ */

.modern-entry-header {
	margin-bottom: 1.5rem;
}

/* Category Badges */
.modern-post-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 1.5rem;
	margin-bottom: 2rem;
	justify-content: center;
}

.modern-category-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 50px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modern-category-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
	color: #ffffff;
	text-decoration: none;
}

/* Post Title - Modern Design */
.modern-post-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 1rem 0;
	color: #1a202c;
	letter-spacing: -0.02em;
	text-transform: capitalize;
	position: relative;
	padding-bottom: 0.5rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: all 0.3s ease;
}

.modern-post-title::first-letter {
	text-transform: uppercase;
	font-size: 1.1em;
}

.modern-post-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 4px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 2px;
}

/* Post Meta */
.modern-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	padding: 0;
}

.modern-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	color: #64748b;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -0.01em;
	position: relative;
	padding: 0.375rem 0.75rem;
	margin: 0;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.04) 0%, rgba(139, 92, 246, 0.02) 100%);
	border: 1px solid rgba(102, 126, 234, 0.08);
	border-radius: 20px;
	backdrop-filter: blur(8px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: default;
}

.modern-meta-item::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: -1;
}

.modern-meta-item:hover {
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
	border-color: rgba(102, 126, 234, 0.2);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04);
}

.modern-meta-item:hover::before {
	opacity: 1;
}

.modern-meta-item:not(:last-child)::after {
	display: none;
}

.modern-meta-item svg {
	flex-shrink: 0;
	color: #667eea;
	width: 17px;
	height: 17px;
	opacity: 0.85;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	filter: drop-shadow(0 1px 2px rgba(102, 126, 234, 0.15));
}

.modern-meta-item:hover svg {
	opacity: 1;
	transform: scale(1.12) rotate(2deg);
	filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.25));
}

.modern-meta-text {
	color: #475569;
	font-weight: 500;
	letter-spacing: -0.01em;
	transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-meta-item:hover .modern-meta-text {
	color: #1e293b;
}

.modern-meta-item time {
	color: inherit;
	font-weight: inherit;
}

.modern-meta-avatar {
	border-radius: 50%;
	width: 30px;
	height: 30px;
	object-fit: cover;
	border: 2.5px solid #ffffff;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15), 0 0 0 2px rgba(102, 126, 234, 0.08);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.modern-meta-avatar::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	background: linear-gradient(135deg, #667eea, #8b5cf6);
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: -1;
}

.modern-author-link {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	text-decoration: none;
	color: #64748b;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	padding: 0.375rem 0.75rem;
	margin: 0;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.04) 0%, rgba(139, 92, 246, 0.02) 100%);
	border: 1px solid rgba(102, 126, 234, 0.08);
	border-radius: 20px;
	backdrop-filter: blur(8px);
	position: relative;
}

.modern-author-link::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: -1;
}

.modern-author-link:hover {
	color: #667eea;
	text-decoration: none;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(139, 92, 246, 0.06) 100%);
	border-color: rgba(102, 126, 234, 0.25);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.18), 0 2px 4px rgba(0, 0, 0, 0.04);
}

.modern-author-link:hover::before {
	opacity: 1;
}

.modern-author-link:hover .modern-meta-avatar {
	border-color: #ffffff;
	box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25), 0 0 0 3px rgba(102, 126, 234, 0.12);
	transform: scale(1.08);
}

.modern-author-link:hover .modern-meta-avatar::after {
	opacity: 0.2;
}

.modern-author-link .modern-meta-text {
	color: inherit;
	font-weight: 500;
	letter-spacing: -0.01em;
}

/* Tag Pills */
.modern-tag-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.modern-tag-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.75rem;
	background: #f1f5f9;
	color: #475569;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	border-radius: 50px;
	transition: all 0.3s ease;
	border: 1px solid #e2e8f0;
}

.modern-tag-pill svg {
	flex-shrink: 0;
	color: #667eea;
}

.modern-tag-pill:hover {
	background: #667eea;
	color: #ffffff;
	border-color: #667eea;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
	text-decoration: none;
}

.modern-tag-pill:hover svg {
	color: #ffffff;
}

/* ============================================
   Entry Content
   ============================================ */

.modern-entry-content {
	font-size: 1.125rem;
	line-height: 1.9;
	color: #334155;
	margin-bottom: 3rem;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	letter-spacing: 0.01em;
}

.modern-entry-content p {
	margin-bottom: 1rem;
	color: #475569;
	font-size: 1.125rem;
	line-height: 1.9;
	text-align: justify;
	text-justify: inter-word;
	hyphens: auto;
	word-spacing: 0.05em;
	transition: color 0.3s ease;
}

.modern-entry-content p:first-of-type {
	font-size: 1.25rem;
	line-height: 1.85;
	color: #1e293b;
	font-weight: 400;
	letter-spacing: 0.02em;
	margin-bottom: 1.25rem;
}

.modern-entry-content p:last-of-type {
	margin-bottom: 0;
}

/* Modern Heading Styles */
.modern-entry-content h1,
.modern-entry-content h2,
.modern-entry-content h3,
.modern-entry-content h4,
.modern-entry-content h5,
.modern-entry-content h6 {
	font-weight: 700;
	position: relative;
	transition: all 0.3s ease;
	word-wrap: break-word;
	overflow-wrap: break-word;
	text-transform: capitalize;
}

/* First letter styling removed to match cookie template - gradient text doesn't work well with first-letter styling */

.modern-entry-content h1 {
	font-size: 2.5rem;
	border-left-color: #667eea;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
	padding: 0.75rem 1rem;
	border-radius: 8px;
	margin-left: -1rem;
	margin-right: -1rem;
}

.modern-entry-content h2 {
	font-size: clamp(1.5rem, 4.5vw, 2.1rem);
	font-weight: 800;
	color: #1a202c;
	margin-top: clamp(2em, 5vw, 2.8em);
	margin-bottom: clamp(1em, 2.5vw, 1.3em);
	padding-bottom: clamp(12px, 2vw, 18px);
	position: relative;
	background: linear-gradient(135deg, #1a202c 0%, #667eea 50%, #764ba2 100%);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -0.02em;
	line-height: 1.3;
	animation: textGradientShift 8s ease infinite;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	word-wrap: break-word;
	overflow-wrap: break-word;
	border: none;
	padding: 0;
	margin-left: 0;
	margin-right: 0;
}

@keyframes textGradientShift {

	0%,
	100% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}
}

.modern-entry-content h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100px;
	height: 4px;
	background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
	background-size: 200% 100%;
	border-radius: 3px;
	animation: underlineGradient 3s ease infinite;
}

@keyframes underlineGradient {

	0%,
	100% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}
}

.modern-entry-content h3 {
	font-size: clamp(1.3rem, 3.8vw, 1.75rem);
	font-weight: 750;
	color: #1a202c;
	margin-top: clamp(1.8em, 4.5vw, 2.3em);
	margin-bottom: clamp(0.9em, 2vw, 1.1em);
	line-height: 1.4;
	letter-spacing: -0.015em;
	background: linear-gradient(135deg, #1a202c 0%, #4a5568 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	position: relative;
	padding-left: clamp(10px, 2vw, 15px);
	word-wrap: break-word;
	overflow-wrap: break-word;
	border: none;
}

.modern-entry-content h3::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 24px;
	background: linear-gradient(135deg, #667eea, #764ba2);
	border-radius: 2px;
}

.modern-entry-content h4 {
	font-size: clamp(1.2rem, 3.2vw, 1.45rem);
	font-weight: 650;
	color: #2d3748;
	margin-top: clamp(1.5em, 4vw, 2em);
	margin-bottom: clamp(0.8em, 2vw, 1em);
	line-height: 1.45;
	letter-spacing: -0.01em;
	word-wrap: break-word;
	overflow-wrap: break-word;
	border: none;
	padding: 0;
}

.modern-entry-content h5 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #4a5568;
	margin-top: 1.8em;
	margin-bottom: 0.9em;
	line-height: 1.5;
	letter-spacing: -0.005em;
	border: none;
	padding: 0;
}

.modern-entry-content h6 {
	font-size: 1.1rem;
	font-weight: 600;
	color: #718096;
	margin-top: 1.6em;
	margin-bottom: 0.8em;
	line-height: 1.5;
	text-transform: capitalize;
	letter-spacing: 0.05em;
	border: none;
	padding: 0;
}

/* Hover effects for headings */
.modern-entry-content h2:hover {
	animation-duration: 4s;
}

.modern-entry-content h2:hover::after {
	width: 150px;
	transition: width 0.3s ease;
}

.modern-entry-content h3:hover {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: background 0.3s ease;
}

.modern-entry-content h3:hover::before {
	height: 32px;
	transition: height 0.3s ease;
}

/* Modern List Styles - Enhanced Design */
.modern-entry-content ul,
.modern-entry-content ol {
	margin: 2rem 0;
	padding-left: 0;
	list-style: none;
	position: relative;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
	padding: 1.5rem 1rem;
	border-radius: 12px;
	border: 1px solid rgba(102, 126, 234, 0.1);
}

.modern-entry-content ul {
	counter-reset: list-counter;
}

.modern-entry-content ul li {
	position: relative;
	padding: 0.75rem 0 0.75rem 2.75rem;
	margin-bottom: 10px;
	color: #334155;
	line-height: 30px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-left: 5px solid transparent;
	background: rgb(255 255 255 / 50%);
	border-radius: 8px;
	padding-left: 45px;
	padding-right: 10px;
	padding-top: 10px;
	padding-bottom: 5px;
}

.modern-entry-content ul li:last-child {
	margin-bottom: 0;
}

.modern-entry-content ul li::before {
	content: '✓';
	position: absolute;
	left: 8px;
	top: 10px;
	width: 28px;
	height: 28px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: rotate(0deg) scale(1);
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.modern-entry-content ul li:hover {
	border-left-color: #667eea;
	padding-left: 50px;
	background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
	border-radius: 8px;
	margin-left: -0.5rem;
	margin-right: -0.5rem;
	transform: translateX(6px);
	box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
	border-left-width: 5px;
}

.modern-entry-content ul li:hover::before {
	transform: rotate(360deg) scale(1.15);
	box-shadow: 0 6px 24px rgba(102, 126, 234, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.3);
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
	border-color: rgba(255, 255, 255, 0.5);
}

/* Nested unordered lists */
.modern-entry-content ul ul,
.modern-entry-content ol ol {
	margin-top: 0.75rem;
	margin-bottom: 0.75rem;
	margin-left: 1.5rem;
	background: rgba(118, 75, 162, 0.03);
	border: 1px solid rgba(118, 75, 162, 0.08);
	padding: 1rem 0.75rem;
}

.modern-entry-content ul ul li {
	background: rgba(255, 255, 255, 0.4);
}

.modern-entry-content ul ul li::before {
	content: '▶';
	background: linear-gradient(135deg, #764ba2 0%, #a78bfa 100%);
	width: 24px;
	height: 24px;
	font-size: 0.7rem;
	top: 0.7rem;
	left: 0.4rem;
	border: 2px solid rgba(255, 255, 255, 0.25);
}

.modern-entry-content ul ul ul li::before {
	content: '●';
	background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
	width: 20px;
	height: 20px;
	font-size: 0.55rem;
	top: 0.65rem;
	left: 0.45rem;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.25);
}

/* Ordered lists - Enhanced numbered style */
.modern-entry-content ol {
	counter-reset: ordered-counter;
}

.modern-entry-content ol li {
	position: relative;
	padding: 0.75rem 0 0.75rem 3.5rem;
	margin-bottom: 0.75rem;
	color: #334155;
	line-height: 1.85;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-left: 3px solid transparent;
	counter-increment: ordered-counter;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 8px;
	padding-left: 3.75rem;
	padding-right: 1rem;
	padding-top: 0.875rem;
	padding-bottom: 0.875rem;
}

.modern-entry-content ol li:last-child {
	margin-bottom: 0;
}

.modern-entry-content ol li::before {
	content: counter(ordered-counter);
	position: absolute;
	left: 0.5rem;
	top: 0.75rem;
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.9375rem;
	box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border: 2px solid rgba(255, 255, 255, 0.3);
	transform: rotate(0deg);
}

.modern-entry-content ol li:hover {
	border-left-color: #667eea;
	padding-left: 4rem;
	background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
	border-radius: 8px;
	margin-left: -0.5rem;
	margin-right: -0.5rem;
	transform: translateX(6px);
	box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
	border-left-width: 4px;
}

.modern-entry-content ol li:hover::before {
	transform: scale(1.15) rotate(-8deg);
	box-shadow: 0 8px 28px rgba(102, 126, 234, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.3);
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
	border-color: rgba(255, 255, 255, 0.5);
}

/* Nested ordered lists */
.modern-entry-content ol ol {
	counter-reset: ordered-counter-nested;
	background: rgba(118, 75, 162, 0.03);
	border: 1px solid rgba(118, 75, 162, 0.08);
	padding: 1rem 0.75rem;
}

.modern-entry-content ol ol li {
	counter-increment: ordered-counter-nested;
	padding-left: 3.25rem;
	background: rgba(255, 255, 255, 0.4);
}

.modern-entry-content ol ol li::before {
	content: counter(ordered-counter-nested, lower-alpha);
	background: linear-gradient(135deg, #764ba2 0%, #a78bfa 100%);
	width: 32px;
	height: 32px;
	font-size: 0.875rem;
	border-radius: 8px;
	border: 2px solid rgba(255, 255, 255, 0.25);
	left: 0.4rem;
	top: 0.7rem;
	box-shadow: 0 3px 10px rgba(118, 75, 162, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modern-entry-content ol ol ol li::before {
	content: counter(ordered-counter-nested, lower-roman);
	background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
	width: 30px;
	height: 30px;
	font-size: 0.8125rem;
	border-radius: 7px;
	border: 2px solid rgba(255, 255, 255, 0.25);
	left: 0.45rem;
	top: 0.65rem;
	box-shadow: 0 3px 10px rgba(167, 139, 250, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* List items with links */
.modern-entry-content li a {
	color: #667eea;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	border-bottom: 2px solid rgba(102, 126, 234, 0.2);
	padding-bottom: 2px;
	background: linear-gradient(120deg, rgba(102, 126, 234, 0.1) 0%, rgba(102, 126, 234, 0.05) 100%);
	padding: 0.2em 0.4em;
	border-radius: 4px;
	display: inline-block;
}

.modern-entry-content li a:hover {
	color: #764ba2;
	border-bottom-color: #764ba2;
	text-decoration: none;
	background: linear-gradient(120deg, rgba(118, 75, 162, 0.15) 0%, rgba(118, 75, 162, 0.08) 100%);
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(118, 75, 162, 0.2);
}

/* List spacing improvements */
.modern-entry-content ul+p,
.modern-entry-content ol+p,
.modern-entry-content p+ul,
.modern-entry-content p+ol {
	margin-top: 1.5rem;
}

/* Enhanced list container effects */
.modern-entry-content ul:not(:last-child),
.modern-entry-content ol:not(:last-child) {
	margin-bottom: 2.5rem;
}

/* List item focus states for accessibility */
.modern-entry-content li:focus-within {
	outline: 2px solid rgba(102, 126, 234, 0.5);
	outline-offset: 4px;
	border-radius: 6px;
}

/* Smooth entrance animation for lists */
@keyframes listItemFadeIn {
	from {
		opacity: 0;
		transform: translateX(-10px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.modern-entry-content ul li,
.modern-entry-content ol li {
	animation: listItemFadeIn 0.4s ease-out;
}

.modern-entry-content ul li:nth-child(1) {
	animation-delay: 0.05s;
}

.modern-entry-content ul li:nth-child(2) {
	animation-delay: 0.1s;
}

.modern-entry-content ul li:nth-child(3) {
	animation-delay: 0.15s;
}

.modern-entry-content ul li:nth-child(4) {
	animation-delay: 0.2s;
}

.modern-entry-content ul li:nth-child(5) {
	animation-delay: 0.25s;
}

.modern-entry-content ul li:nth-child(n+6) {
	animation-delay: 0.3s;
}

.modern-entry-content ol li:nth-child(1) {
	animation-delay: 0.05s;
}

.modern-entry-content ol li:nth-child(2) {
	animation-delay: 0.1s;
}

.modern-entry-content ol li:nth-child(3) {
	animation-delay: 0.15s;
}

.modern-entry-content ol li:nth-child(4) {
	animation-delay: 0.2s;
}

.modern-entry-content ol li:nth-child(5) {
	animation-delay: 0.25s;
}

.modern-entry-content ol li:nth-child(n+6) {
	animation-delay: 0.3s;
}

/* Modern Text Elements */
.modern-entry-content strong,
.modern-entry-content b {
	font-weight: 700;
	color: #1a202c;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
	padding: 0.15em 0.3em;
	border-radius: 4px;
}

.modern-entry-content em,
.modern-entry-content i {
	font-style: italic;
	color: #475569;
	font-weight: 500;
}

.modern-entry-content mark {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	color: #92400e;
	padding: 0.15em 0.3em;
	border-radius: 4px;
	font-weight: 500;
}

.modern-entry-content a {
	color: #667eea;
	text-decoration: none;
	border-bottom: 2px solid rgba(102, 126, 234, 0.3);
	padding-bottom: 2px;
	transition: all 0.3s ease;
	font-weight: 500;
	position: relative;
}

.modern-entry-content a:hover {
	color: #764ba2;
	border-bottom-color: #764ba2;
	border-bottom-width: 3px;
	padding-bottom: 1px;
}

.modern-entry-content a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	transition: width 0.3s ease;
}

.modern-entry-content a:hover::after {
	width: 100%;
}

.modern-entry-content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid #667eea;
	background: #f8fafc;
	border-radius: 8px;
	font-style: italic;
	color: #475569;
}

.modern-entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 2rem auto;
	display: block;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	/* CLS Prevention */
	object-fit: contain;
	/* Prevent layout shift during load */
	background-color: #f8fafc;
	/* Optimize rendering */
	image-rendering: auto;
}

/* Ensure images with width/height attributes don't cause CLS */
.modern-entry-content img[width][height] {
	height: auto;
	max-width: 100%;
	display: block;
}

/* Center images that don't fit the container width */
.modern-entry-content figure,
.modern-entry-content .wp-block-image,
.modern-entry-content .aligncenter,
.modern-entry-content .alignnone {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.modern-entry-content figure img,
.modern-entry-content .wp-block-image img {
	margin-left: auto;
	margin-right: auto;
}

.modern-entry-content code {
	background: #f1f5f9;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	font-size: 0.9em;
	color: #e11d48;
}

.modern-entry-content pre {
	background: #1e293b;
	color: #e2e8f0;
	padding: 1rem;
	border-radius: 12px;
	overflow-x: auto;
	margin: 1.5rem 0;
}

.modern-entry-content pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

/* Enhanced Modern Table Styles */
.modern-entry-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 2.5rem 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
	background: #ffffff;
	border: 2px solid rgba(102, 126, 234, 0.1);
	position: relative;
}

.modern-entry-content table::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #a78bfa 100%);
}

.modern-entry-content table thead {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	position: relative;
}

.modern-entry-content table thead::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.modern-entry-content table thead th {
	padding: 1rem 1.25rem;
	text-align: left;
	font-weight: 700;
	font-size: 0.9375rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #ffffff;
	border-bottom: none;
	position: relative;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.modern-entry-content table thead th:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 20%;
	bottom: 20%;
	width: 1px;
	background: rgba(255, 255, 255, 0.2);
}

.modern-entry-content table thead th:hover {
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.modern-entry-content table thead th:first-child {
	border-top-left-radius: 16px;
}

.modern-entry-content table thead th:last-child {
	border-top-right-radius: 16px;
}

.modern-entry-content table tbody tr {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-bottom: 1px solid rgba(226, 232, 240, 0.6);
	position: relative;
}

.modern-entry-content table tbody tr:last-child {
	border-bottom: none;
}

.modern-entry-content table tbody tr:last-child td:first-child {
	border-bottom-left-radius: 16px;
}

.modern-entry-content table tbody tr:last-child td:last-child {
	border-bottom-right-radius: 16px;
}

.modern-entry-content table tbody tr:hover {
	background: linear-gradient(90deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
	transform: translateX(4px) scale(1.002);
	box-shadow: inset 4px 0 0 #667eea, 0 4px 16px rgba(102, 126, 234, 0.15);
	border-left: 4px solid #667eea;
	margin-left: -4px;
	z-index: 1;
}

.modern-entry-content table tbody tr:nth-child(even) {
	background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.8) 100%);
}

.modern-entry-content table tbody tr:nth-child(even):hover {
	background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.06) 100%);
}

.modern-entry-content table tbody td {
	padding: 1rem 1.25rem;
	color: #334155;
	font-size: 0.9375rem;
	line-height: 1.7;
	border-right: 1px solid rgba(226, 232, 240, 0.5);
	transition: all 0.3s ease;
	position: relative;
}

.modern-entry-content table tbody td:last-child {
	border-right: none;
}

.modern-entry-content table tbody tr:hover td {
	color: #1a202c;
	font-weight: 500;
}

.modern-entry-content table tbody td strong,
.modern-entry-content table tbody td b {
	color: #667eea;
	font-weight: 700;
}

.modern-entry-content table tfoot {
	background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);
	border-top: 3px solid rgba(102, 126, 234, 0.2);
	position: relative;
}

.modern-entry-content table tfoot::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.3) 50%, transparent 100%);
}

.modern-entry-content table tfoot td {
	padding: 1rem 1.25rem;
	font-weight: 700;
	color: #1a202c;
	font-size: 0.9375rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Table animations and effects */
@keyframes tableRowFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.modern-entry-content table tbody tr {
	animation: tableRowFadeIn 0.4s ease-out;
}

.modern-entry-content table tbody tr:nth-child(1) {
	animation-delay: 0.05s;
}

.modern-entry-content table tbody tr:nth-child(2) {
	animation-delay: 0.1s;
}

.modern-entry-content table tbody tr:nth-child(3) {
	animation-delay: 0.15s;
}

.modern-entry-content table tbody tr:nth-child(4) {
	animation-delay: 0.2s;
}

.modern-entry-content table tbody tr:nth-child(5) {
	animation-delay: 0.25s;
}

.modern-entry-content table tbody tr:nth-child(n+6) {
	animation-delay: 0.3s;
}

/* Table cell hover effects */
.modern-entry-content table tbody td:hover {
	background: rgba(102, 126, 234, 0.05);
	color: #667eea;
	font-weight: 600;
}

/* Table links */
.modern-entry-content table a {
	color: #667eea;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(102, 126, 234, 0.3);
	transition: all 0.3s ease;
}

.modern-entry-content table a:hover {
	color: #764ba2;
	border-bottom-color: #764ba2;
}

/* Responsive tables - Desktop (default table layout) */
@media (min-width: 769px) {
	.modern-entry-content table {
		display: table;
		white-space: normal;
		width: 100%;
	}

	.modern-entry-content table thead th,
	.modern-entry-content table tbody td,
	.modern-entry-content table tfoot td {
		white-space: normal;
	}

	.modern-entry-content .wp-block-table::after,
	.modern-entry-content .table-wrapper::after {
		display: none;
	}
}

/* Table wrapper for better mobile experience */
.modern-entry-content .wp-block-table,
.modern-entry-content .table-wrapper {
	overflow-x: auto;
	margin: 2.5rem 0;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.modern-entry-content .wp-block-table table,
.modern-entry-content .table-wrapper table {
	margin: 0;
	border-radius: 16px;
}

/* Page Links */
.modern-page-links {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #e2e8f0;
}

.modern-page-links-title {
	font-weight: 600;
	color: #1a202c;
	margin-right: 1rem;
}

.modern-page-links .page-link {
	display: inline-block;
	padding: 0.5rem 1rem;
	margin: 0.25rem;
	background: #f1f5f9;
	color: #667eea;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.modern-page-links .page-link:hover {
	background: #667eea;
	color: #ffffff;
	text-decoration: none;
}

/* ============================================
   Author Box
   ============================================ */

.modern-author-box {
	margin-top: 2.5rem;
	padding: 1.25rem;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 16px;
	border: 1px solid #e2e8f0;
}

.modern-author-box-inner {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
}

.modern-author-avatar-link {
	flex-shrink: 0;
	display: block;
}

.modern-author-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #ffffff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.modern-author-avatar-link:hover .modern-author-avatar {
	transform: scale(1.05);
}

.modern-author-info {
	flex: 1;
}

.modern-author-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.75rem;
	flex-wrap: wrap;
}

.modern-author-name {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a202c;
	text-decoration: none;
	transition: color 0.3s ease;
}

.modern-author-name:hover {
	color: #667eea;
	text-decoration: none;
}

.modern-author-label {
	font-size: 0.875rem;
	color: #64748b;
	background: #ffffff;
	padding: 0.25rem 0.75rem;
	border-radius: 50px;
	font-weight: 500;
}

.modern-author-description {
	color: #475569;
	line-height: 1.7;
	margin-bottom: 1rem;
}

.modern-author-link-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1.25rem;
	background: #667eea;
	color: #ffffff;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.9375rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modern-author-link-button:hover {
	background: #764ba2;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
	text-decoration: none;
}

.modern-author-link-button svg {
	transition: transform 0.3s ease;
}

.modern-author-link-button:hover svg {
	transform: translateX(4px);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet and Small Desktop (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
	.modern-post-wrapper {
		padding: 0 20px;
	}

	.modern-post-title {
		font-size: 2.5rem;
	}

	.modern-entry-content {
		font-size: 1.0625rem;
	}

	.modern-entry-content p {
		font-size: 1.0625rem;
	}

	.modern-related-posts-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}


}

/* Desktop (1025px and above) */
@media (min-width: 1025px) {
	.modern-post-wrapper {
		padding: 0 30px;
	}

	.modern-post-title {
		font-size: 3rem;
	}

	.modern-entry-content {
		font-size: 1.125rem;
		max-width: 100%;
	}

	.modern-related-posts-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.25rem;
	}

}

@media (max-width: 768px) {
	.modern-post-wrapper {
		padding: 0 15px;
		margin-left: 8px;
	}

	.modern-featured-image-wrapper {
		margin-bottom: 2rem;
		border-radius: 12px;
		margin-top: 1rem;
	}

	.modern-post-title {
		font-size: 2rem;
		margin-bottom: 1rem;
		padding-bottom: 0.75rem;
		line-height: 1.3;
	}

	.modern-post-title::after {
		width: 40px;
		height: 3px;
	}

	.modern-post-meta {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.5rem;
		margin-bottom: 1.25rem;
	}

	.modern-meta-item,
	.modern-author-link {
		width: auto;
		flex: 0 0 auto;
		justify-content: center;
		padding: 0.4rem 0.75rem;
		font-size: 0.8125rem;
		min-height: auto;
	}

	.modern-meta-item svg {
		width: 14px;
		height: 14px;
		flex-shrink: 0;
	}

	.modern-meta-avatar {
		width: 24px;
		height: 24px;
		flex-shrink: 0;
	}

	.modern-meta-text {
		font-size: 0.8125rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 120px;
	}

	.modern-meta-share {
		width: auto;
		flex: 0 0 auto;
		justify-content: center;
		margin-left: auto;
	}

	.modern-post-categories {
		margin: 1rem 0;
		gap: 0.5rem;
	}

	.modern-category-badge {
		font-size: 0.8125rem;
		padding: 0.4rem 0.875rem;
	}

	.modern-tag-pills {
		margin-top: 1.5rem;
		margin-bottom: 1.5rem;
		gap: 0.5rem;
	}

	.modern-tag-pill {
		font-size: 0.8125rem;
		padding: 0.35rem 0.75rem;
	}

	.modern-entry-content {
		font-size: 1rem;
		line-height: 1.8;
	}

	.modern-entry-content p {
		font-size: 1rem;
		line-height: 1.8;
		margin-bottom: 0.875rem;
	}

	.modern-entry-content h1 {
		font-size: 2rem;
		line-height: 1.3;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}

	.modern-entry-content h2 {
		font-size: 1.5rem;
		line-height: 1.3;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}

	.modern-entry-content h2::after {
		width: 80px;
	}

	.modern-entry-content h3 {
		font-size: 1.3rem;
		padding-left: clamp(8px, 1.5vw, 12px);
		line-height: 1.4;
	}

	.modern-entry-content h3::before {
		height: 20px;
	}

	.modern-entry-content h4 {
		font-size: 1.2rem;
		padding: 0;
		line-height: 1.45;
	}

	.modern-entry-content h5,
	.modern-entry-content h6 {
		padding: 0;
		line-height: 1.5;
	}

	/* Responsive list styles */
	.modern-entry-content ul li {
		padding-left: 2.25rem;
		line-height: 1.7;
		font-size: 0.9375rem;
	}

	.modern-entry-content ul li::before {
		width: 20px;
		height: 20px;
		font-size: 0.65rem;
		top: 0.4rem;
	}

	.modern-entry-content ul li:hover {
		padding-left: 2.5rem;
		margin-left: 0;
	}

	.modern-entry-content ol li {
		padding-left: 2.75rem;
		line-height: 1.7;
		font-size: 0.9375rem;
	}

	.modern-entry-content ol li::before {
		width: 28px;
		height: 28px;
		font-size: 0.8125rem;
		top: 0.4rem;
	}

	.modern-entry-content ol li:hover {
		padding-left: 3rem;
		margin-left: 0;
	}

	/* TTS Controls Responsive */









	/* Author Box Responsive */
	.modern-author-box {
		padding: 1.5rem;
		margin-top: 3rem;
		border-radius: 12px;
	}

	.modern-author-box-inner {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}

	.modern-author-header {
		justify-content: center;
		flex-direction: column;
		gap: 1rem;
	}

	.modern-author-avatar {
		margin: 0 auto;
		width: 80px;
		height: 80px;
	}

	.modern-author-link-button {
		width: 100%;
		justify-content: center;
		padding: 0.75rem 1.5rem;
	}

	/* Related Posts Responsive */
	.modern-related-posts {
		margin-top: 2rem;
		padding-top: 2rem;
	}

	.modern-related-posts-title {
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}

	.modern-related-posts-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.modern-related-post-thumbnail,
	.modern-related-post-placeholder {
		width: 80px;
		height: 80px;
		min-width: 80px;
		min-height: 80px;
	}

	.modern-related-post-title {
		font-size: 0.9375rem;
		-webkit-line-clamp: 3;
		line-clamp: 3;
	}
}

@media (max-width: 480px) {
	.modern-post-wrapper {
		padding: 0 12px;
		margin-left: 6px;
	}

	.modern-post-title {
		font-size: 1.75rem;
		padding-bottom: 0.5rem;
		line-height: 1.25;
	}

	.modern-post-title::after {
		width: 30px;
		height: 2px;
	}

	.modern-post-meta {
		gap: 0.4rem;
		margin-bottom: 1rem;
	}

	.modern-meta-item,
	.modern-author-link {
		padding: 0.35rem 0.625rem;
		font-size: 0.75rem;
	}

	.modern-meta-item svg {
		width: 13px;
		height: 13px;
	}

	.modern-meta-avatar {
		width: 22px;
		height: 22px;
	}

	.modern-meta-text {
		font-size: 0.75rem;
		max-width: 100px;
	}

	.modern-meta-share {
		margin-left: auto;
	}

	.modern-featured-image-wrapper {
		margin-bottom: 1.5rem;
		border-radius: 10px;
	}

	.modern-post-categories {
		margin: 0.875rem 0;
		gap: 0.4rem;
	}

	.modern-category-badge {
		font-size: 0.75rem;
		padding: 0.35rem 0.75rem;
	}

	.modern-tag-pills {
		margin-top: 1.25rem;
		margin-bottom: 1.25rem;
		gap: 0.4rem;
	}

	.modern-tag-pill {
		font-size: 0.75rem;
		padding: 0.3rem 0.625rem;
	}

	.modern-entry-content {
		font-size: 0.9375rem;
		line-height: 1.75;
	}

	.modern-entry-content p {
		font-size: 0.9375rem;
		line-height: 1.75;
		margin-bottom: 0.75rem;
	}

	.modern-entry-content h1 {
		font-size: 1.5rem;
		line-height: 1.25;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}

	.modern-entry-content h2 {
		font-size: 1.3rem;
		line-height: 1.3;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}

	.modern-entry-content h2::after {
		width: 60px;
		height: 3px;
	}

	.modern-entry-content h3 {
		font-size: 1.15rem;
		padding-left: clamp(6px, 1.2vw, 10px);
		line-height: 1.35;
	}

	.modern-entry-content h3::before {
		width: 3px;
		height: 18px;
	}

	.modern-entry-content h4 {
		font-size: 1.1rem;
		padding: 0;
		line-height: 1.4;
	}

	.modern-entry-content h5,
	.modern-entry-content h6 {
		font-size: 1rem;
		padding: 0;
		line-height: 1.45;
	}

	/* Mobile list adjustments */
	.modern-entry-content ul li {
		padding-left: 2rem;
		font-size: 0.9375rem;
		line-height: 1.7;
	}

	.modern-entry-content ul li::before {
		width: 18px;
		height: 18px;
		font-size: 0.6rem;
		top: 0.35rem;
		left: 0.25rem;
	}

	.modern-entry-content ul li:hover {
		padding-left: 2.25rem;
	}

	.modern-entry-content ol li {
		padding-left: 2.5rem;
		font-size: 0.9375rem;
		line-height: 1.7;
	}

	.modern-entry-content ol li::before {
		width: 26px;
		height: 26px;
		font-size: 0.75rem;
		top: 0.35rem;
		left: 0;
	}

	.modern-entry-content ol li:hover {
		padding-left: 2.75rem;
	}

	/* Tables Responsive - Horizontal Scroll for Mobile */
	.modern-entry-content table {
		font-size: 0.75rem;
		display: block;
		width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
		margin: 1.25rem 0;
		border-radius: 10px;
		box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
	}

	.modern-entry-content table thead th {
		padding: 0.625rem 0.875rem;
		font-size: 0.6875rem;
		white-space: nowrap;
		min-width: 80px;
	}

	.modern-entry-content table tbody td {
		padding: 0.625rem 0.875rem;
		font-size: 0.75rem;
		white-space: nowrap;
		min-width: 80px;
		line-height: 1.5;
	}

	.modern-entry-content table tfoot td {
		padding: 0.625rem 0.875rem;
		font-size: 0.75rem;
		white-space: nowrap;
	}

	/* Table wrapper for scrollable tables */
	.modern-entry-content .wp-block-table,
	.modern-entry-content .table-wrapper {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		margin: 1.25rem 0;
		border-radius: 10px;
		box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
		position: relative;
	}

	.modern-entry-content .wp-block-table::after,
	.modern-entry-content .table-wrapper::after {
		content: '← Scroll →';
		position: absolute;
		top: 8px;
		right: 8px;
		font-size: 0.625rem;
		color: #64748b;
		background: rgba(255, 255, 255, 0.95);
		padding: 0.2rem 0.4rem;
		border-radius: 4px;
		pointer-events: none;
		opacity: 0.8;
		z-index: 10;
		font-weight: 600;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	}

	/* Blockquotes Responsive */
	.modern-entry-content blockquote {
		margin: 1.5rem 0;
		padding: 1rem 1.25rem;
		font-size: 0.9375rem;
		border-left-width: 3px;
	}

	/* Code blocks Responsive */
	.modern-entry-content pre {
		padding: 1rem;
		font-size: 0.8125rem;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.modern-entry-content code {
		font-size: 0.8125rem;
		padding: 0.2rem 0.4rem;
	}

	/* Images Responsive */
	.modern-entry-content img {
		max-width: 100%;
		height: auto;
		border-radius: 8px;
	}

	.modern-entry-content figure {
		margin: 1.5rem 0;
	}

	.modern-entry-content figcaption {
		font-size: 0.8125rem;
		padding: 0.5rem 0.75rem;
	}

	/* TTS Controls Small Mobile */









	/* Author Box Small Mobile */
	.modern-author-box {
		padding: 1.25rem;
		margin-top: 2.5rem;
		border-radius: 10px;
	}

	.modern-author-avatar {
		width: 70px;
		height: 70px;
	}

	.modern-author-link-button {
		padding: 0.625rem 1.25rem;
		font-size: 0.875rem;
	}

	/* Related Posts Small Mobile */
	.modern-related-posts-title {
		font-size: 1.25rem;
		margin-bottom: 0.875rem;
	}

	.modern-related-post-thumbnail,
	.modern-related-post-placeholder {
		width: 70px;
		height: 70px;
		min-width: 70px;
		min-height: 70px;
	}

	.modern-related-post-title {
		font-size: 0.875rem;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
}

/* ============================================
   Print Styles
   ============================================ */

@media print {

	.modern-featured-image-wrapper,
	.modern-author-box,
	.modern-tag-pills,
	.modern-post-meta {
		display: none;
	}

	.modern-entry-content {
		font-size: 12pt;
		line-height: 1.6;
	}
}

/* ============================================
   Simple Author Box (PiximFix)
   ============================================ */

.pfxh-wrap {
	margin: 16px 0;
}

.pfxh-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: linear-gradient(135deg, #ffffff 0%, #faf9ff 100%);
	border: 1px solid rgba(102, 126, 234, 0.12);
	border-radius: 16px;
	padding: 18px 20px;
	position: relative;
	overflow: hidden;
	box-shadow:
		0 4px 20px rgba(102, 126, 234, 0.06),
		0 1px 3px rgba(0, 0, 0, 0.03),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pfxh-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #667eea, #764ba2, #a78bfa);
}

.pfxh-card:hover {
	box-shadow:
		0 6px 28px rgba(102, 126, 234, 0.1),
		0 2px 6px rgba(0, 0, 0, 0.04);
	border-color: rgba(102, 126, 234, 0.2);
}

/* Avatar */
.pfxh-avatar-link {
	flex-shrink: 0;
	display: block;
	text-decoration: none;
}

.pfxh-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 3px solid rgba(102, 126, 234, 0.2);
	box-shadow: 0 3px 12px rgba(102, 126, 234, 0.12);
	transition: all 0.3s ease;
}

.pfxh-avatar:hover {
	transform: scale(1.08);
	border-color: #667eea;
	box-shadow: 0 5px 18px rgba(102, 126, 234, 0.25);
}

/* Info section */
.pfxh-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pfxh-top-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.pfxh-name {
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: opacity 0.2s ease;
	line-height: 1.2;
}

.pfxh-name:hover {
	opacity: 0.85;
}

.pfxh-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	background: rgba(102, 126, 234, 0.08);
	border: 1px solid rgba(102, 126, 234, 0.15);
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	color: #667eea;
	white-space: nowrap;
	letter-spacing: 0.2px;
}

/* Bio text */
.pfxh-bio {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: #475569;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Mobile */
@media (max-width: 480px) {
	.pfxh-card {
		gap: 12px;
		padding: 14px 16px;
		border-radius: 12px;
	}

	.pfxh-avatar {
		width: 50px;
		height: 50px;
	}

	.pfxh-name {
		font-size: 14px;
	}

	.pfxh-bio {
		font-size: 12px;
		-webkit-line-clamp: 3;
	}

	.pfxh-badge {
		font-size: 10px;
		padding: 2px 8px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.pfxh-avatar,
	.pfxh-card {
		transition: none;
	}
}

/* ============================================
   Right Sidebar: Modern Recent Posts Widget (Archive Design)
   ============================================ */

/* Sidebar Widget Container - Archive Design */
.single .widget-area .widget,
.single .sidebar .widget,
.single .is-right-sidebar .widget,
.single .sidebar-widget {
	background: linear-gradient(135deg, #ffffff 0%, rgba(248, 250, 252, 0.8) 100%);
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	padding: 10px;
	box-shadow: 0 2px 12px rgba(139, 92, 246, 0.06), 0 1px 4px rgba(139, 92, 246, 0.04);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
	min-height: 110px;
	contain: layout style;
}

.single .widget-area .widget::before,
.single .sidebar .widget::before,
.single .is-right-sidebar .widget::before,
.single .sidebar-widget::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #8b5cf6, #06b6d4);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.single .widget-area .widget:hover,
.single .sidebar .widget:hover,
.single .is-right-sidebar .widget:hover,
.single .sidebar-widget:hover {
	box-shadow: 0 8px 24px rgba(139, 92, 246, 0.12), 0 4px 8px rgba(139, 92, 246, 0.08);
	transform: translateY(-2px);
	border-color: rgba(139, 92, 246, 0.3);
}

.single .widget-area .widget:hover::before,
.single .sidebar .widget:hover::before,
.single .is-right-sidebar .widget:hover::before,
.single .sidebar-widget:hover::before {
	opacity: 1;
}

/* Widget Title - Archive Design */
.single .widget-area .widget-title,
.single .sidebar .widget-title,
.single .is-right-sidebar .widget-title,
.single .sidebar-widget__title {
	font-size: 1.125rem;
	font-weight: 800;
	margin: 0 0 1rem 0;
	color: #1e293b;
	letter-spacing: -0.02em;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid #f1f5f9;
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.single .widget-area .widget-title::after,
.single .sidebar .widget-title::after,
.single .is-right-sidebar .widget-title::after,
.single .sidebar-widget__title::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 50px;
	height: 2px;
	background: linear-gradient(90deg, #8b5cf6, #06b6d4);
	border-radius: 2px;
}

/* Recent Posts List - Archive Design */
.single .widget-area ul,
.single .sidebar ul,
.single .is-right-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.single .widget-area .widget_recent_entries ul,
.single .sidebar .widget_recent_entries ul,
.single .is-right-sidebar .widget_recent_entries ul {
	gap: 10px;
}

/* Recent Post Item - Archive Design */
.single .widget-area .widget_recent_entries li,
.single .sidebar .widget_recent_entries li,
.single .is-right-sidebar .widget_recent_entries li {
	margin: 0;
	padding: 0;
	border: none;
	border-bottom: none;
	position: relative;
	transition: transform 0.2s ease;
}

.single .widget-area .widget_recent_entries li::before {
	display: none;
}

.single .widget-area .widget_recent_entries li:hover,
.single .sidebar .widget_recent_entries li:hover,
.single .is-right-sidebar .widget_recent_entries li:hover {
	transform: translateX(4px);
}

/* Recent Post Link - Archive Design */
.single .widget-area .widget_recent_entries li a,
.single .sidebar .widget_recent_entries li a,
.single .is-right-sidebar .widget_recent_entries li a {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	padding: 0;
	border-radius: 10px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	background: transparent;
	border: 1px solid transparent;
	color: #1e293b;
	font-weight: 600;
	line-height: 1.4;
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	margin: 0;
	flex: 1;
	min-width: 0;
}

.single .widget-area .widget_recent_entries li a:hover,
.single .sidebar .widget_recent_entries li a:hover,
.single .is-right-sidebar .widget_recent_entries li a:hover {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(6, 182, 212, 0.06) 100%);
	border-color: rgba(139, 92, 246, 0.2);
	box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
	color: #8b5cf6;
}

/* Post Thumbnail in Sidebar - Archive Design */
.single .widget-area .widget_recent_entries li a img,
.single .sidebar .widget_recent_entries li a img,
.single .is-right-sidebar .widget_recent_entries li a img {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	object-fit: cover;
	border-radius: 10px;
	display: block;
	min-width: 60px;
	min-height: 60px;
	border: 2px solid #e2e8f0;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(139, 92, 246, 0.1);
	aspect-ratio: 1 / 1;
}

.single .widget-area .widget_recent_entries li a:hover img,
.single .sidebar .widget_recent_entries li a:hover img,
.single .is-right-sidebar .widget_recent_entries li a:hover img {
	border-color: rgba(139, 92, 246, 0.3);
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
	transform: scale(1.05);
}


/* Post Date/Meta - Archive Design */
.single .widget-area .widget_recent_entries .post-date,
.single .sidebar .widget_recent_entries .post-date,
.single .is-right-sidebar .widget_recent_entries .post-date,
.single .widget-area .widget_recent_entries li span,
.single .sidebar .widget_recent_entries li span,
.single .is-right-sidebar .widget_recent_entries li span {
	font-size: 0.75rem;
	color: #64748b;
	margin-top: 0.25rem;
	display: block;
}

/* Responsive: Sidebar Widgets - Archive Design */
@media (max-width: 768px) {

	.single .widget-area .widget,
	.single .sidebar .widget,
	.single .is-right-sidebar .widget {
		padding: 1rem;
		margin-bottom: 1.5rem;
	}

	.single .widget-area .widget-title,
	.single .sidebar .widget-title,
	.single .is-right-sidebar .widget-title {
		font-size: 1rem;
		margin-bottom: 1rem;
		padding-bottom: 0.625rem;
	}

	.single .widget-area .widget_recent_entries li a img,
	.single .sidebar .widget_recent_entries li a img,
	.single .is-right-sidebar .widget_recent_entries li a img {
		width: 50px;
		height: 50px;
		min-width: 50px;
		min-height: 50px;
	}

	.single .widget-area .widget_recent_entries li a {
		font-size: 0.8125rem;
	}
}

@media (max-width: 600px) {

	.single .widget-area .widget,
	.single .sidebar .widget,
	.single .is-right-sidebar .widget {
		padding: 0.875rem;
		border-radius: 12px;
	}

	.single .widget-area .widget-title,
	.single .sidebar .widget-title,
	.single .is-right-sidebar .widget-title {
		font-size: 0.9375rem;
		margin-bottom: 0.875rem;
		padding-bottom: 0.5rem;
	}

	.single .widget-area ul,
	.single .sidebar ul,
	.single .is-right-sidebar ul {
		gap: 0.625rem;
	}

	.single .widget-area .widget_recent_entries li a {
		padding: 0.5rem;
		gap: 0.75rem;
	}

	.single .widget-area .widget_recent_entries li a img,
	.single .sidebar .widget_recent_entries li a img,
	.single .is-right-sidebar .widget_recent_entries li a img {
		width: 45px;
		height: 45px;
		min-width: 45px;
		min-height: 45px;
	}

	.single .widget-area .widget_recent_entries li a {
		font-size: 0.8125rem;
	}
}

/* ============================================
   Tab Switcher Widget (Archive Design)
   ============================================ */

/* Tabbed Widget */
.single .tab-switcher__header,
.single .sidebar-widget .tab-switcher__header {
	display: flex;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 12px;
	padding: 5px;
	margin-bottom: 1rem;
	border: 1px solid #e2e8f0;
	box-shadow: inset 0 1px 2px rgba(139, 92, 246, 0.05);
}

.single .tab-switcher__button,
.single .sidebar-widget .tab-switcher__button {
	flex: 1;
	padding: 0.625rem 1rem;
	background: transparent;
	border: none;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.single .tab-switcher__button:hover,
.single .sidebar-widget .tab-switcher__button:hover {
	color: #8b5cf6;
	background-color: rgba(139, 92, 246, 0.1);
}

.single .tab-switcher__button.active,
.single .sidebar-widget .tab-switcher__button.active {
	background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3), 0 1px 3px rgba(6, 182, 212, 0.2);
}

.single .tab-switcher__content,
.single .sidebar-widget .tab-switcher__content {
	display: none;
	animation: fadeIn 0.3s ease;
}

.single .tab-switcher__content.active,
.single .sidebar-widget .tab-switcher__content.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.single .tab-switcher__content ul,
.single .sidebar-widget .tab-switcher__content ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.single .tab-switcher__content li,
.single .sidebar-widget .tab-switcher__content li {
	transition: transform 0.2s ease;
	margin: 0;
	padding: 0;
}

.single .tab-switcher__content li:hover,
.single .sidebar-widget .tab-switcher__content li:hover {
	transform: translateX(4px);
}

.single .tab-switcher__content li a,
.single .sidebar-widget .tab-switcher__content li a {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	padding: 0px;
	border-radius: 10px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	background: transparent;
	border: 1px solid transparent;
	color: #1e293b;
}

.single .tab-switcher__content li a:hover,
.single .sidebar-widget .tab-switcher__content li a:hover {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(6, 182, 212, 0.06) 100%);
	border-color: rgba(139, 92, 246, 0.2);
	box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
}

.single .tab-switcher__content img,
.single .tab-switcher__content .widget-post-image,
.single .sidebar-widget .tab-switcher__content img,
.single .sidebar-widget .widget-post-image,
.single .widget-post-image,
.single .widget-post-placeholder {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	object-fit: cover;
	border-radius: 10px;
	display: block;
	min-width: 60px;
	min-height: 60px;
	border: 2px solid #e2e8f0;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(139, 92, 246, 0.1);
	aspect-ratio: 1 / 1;
}

.single .tab-switcher__content li a:hover img,
.single .tab-switcher__content li a:hover .widget-post-image,
.single .tab-switcher__content li a:hover .widget-post-placeholder,
.single .sidebar-widget .tab-switcher__content li a:hover img,
.single .sidebar-widget .tab-switcher__content li a:hover .widget-post-image,
.single .sidebar-widget .tab-switcher__content li a:hover .widget-post-placeholder {
	border-color: rgba(139, 92, 246, 0.3);
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
	transform: scale(1.05);
}

.single .widget-post-placeholder {
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	display: block;
	flex-shrink: 0;
	min-width: 60px;
	min-height: 60px;
}

.single .widget-post-info {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1;
	min-width: 0;
}

.single .widget-post-title,
.single .tab-switcher__content .widget-post-title,
.single .sidebar-widget .tab-switcher__content .widget-post-title {
	font-weight: 600;
	color: #1e293b;
	line-height: 1.4;
	transition: color 0.3s ease;
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	margin: 0;
	flex: 1;
	min-width: 0;
}

.single .tab-switcher__content li a:hover .widget-post-title,
.single .sidebar-widget .tab-switcher__content li a:hover .widget-post-title {
	color: #8b5cf6;
}

.single .widget-post-date,
.single .widget-post-meta {
	font-size: 0.75rem;
	color: #64748b;
}

/* ============================================
   Telegram Widget (Archive Design)
   ============================================ */

.single .sidebar-widget--telegram {
	background: linear-gradient(135deg, #0088cc 0%, #006699 50%, #005580 100%);
	border: none;
	color: #ffffff;
	position: relative;
	overflow: hidden;
}

.single .sidebar-widget--telegram::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	animation: telegramShine 8s ease-in-out infinite;
	opacity: 0.5;
}

@keyframes telegramShine {

	0%,
	100% {
		transform: translate(0, 0) rotate(0deg);
	}

	50% {
		transform: translate(-20%, -20%) rotate(180deg);
	}
}

.single .sidebar-widget--telegram:hover {
	box-shadow: 0 12px 32px rgba(0, 136, 204, 0.35), 0 6px 16px rgba(0, 102, 153, 0.25);
	transform: translateY(-2px);
}

.single .sidebar-widget--telegram .sidebar-widget__title {
	color: #ffffff;
	border-bottom-color: rgba(255, 255, 255, 0.25);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.single .sidebar-widget--telegram .sidebar-widget__title::after {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
	width: 60px;
}

.single .telegram-message {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.98);
	margin: -0.5rem 0 1.25rem;
	line-height: 1.7;
	font-weight: 500;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	position: relative;
	z-index: 1;
}

.single .telegram-widget {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.single .telegram-stats {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.125rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
	border-radius: 14px;
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.single .telegram-stats::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s ease;
}

.single .sidebar-widget--telegram:hover .telegram-stats::before {
	left: 100%;
}

.single .sidebar-widget--telegram:hover .telegram-stats {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.15) 100%);
	border-color: rgba(255, 255, 255, 0.35);
	transform: scale(1.02);
}

.single .telegram-icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
	border-radius: 14px;
	color: #ffffff;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.single .telegram-icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.4s ease, height 0.4s ease;
}

.single .sidebar-widget--telegram:hover .telegram-icon::after {
	width: 100px;
	height: 100px;
}

.single .sidebar-widget--telegram:hover .telegram-icon {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.single .telegram-icon svg {
	width: 32px;
	height: 32px;
	position: relative;
	z-index: 1;
	transition: transform 0.3s ease;
}

.single .sidebar-widget--telegram:hover .telegram-icon svg {
	transform: scale(1.1);
}

.single .telegram-info {
	flex: 1;
}

.single .telegram-count {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.single .telegram-count-number {
	font-size: 1.75rem;
	font-weight: 900;
	color: #ffffff;
	line-height: 1.2;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	display: inline-block;
	position: relative;
}

.single .sidebar-widget--telegram:hover .telegram-count-number {
	transform: scale(1.05);
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.single .telegram-count-number::after {
	content: '👥';
	font-size: 0.875rem;
	margin-left: 0.375rem;
	opacity: 0.8;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

	0%,
	100% {
		opacity: 0.8;
		transform: scale(1);
	}

	50% {
		opacity: 1;
		transform: scale(1.1);
	}
}

.single .telegram-count-label {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.single .telegram-join-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	color: #0088cc;
	text-decoration: none;
	border-radius: 14px;
	font-weight: 800;
	font-size: 0.9375rem;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 136, 204, 0.15);
	border: 2px solid rgba(255, 255, 255, 0.5);
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.single .telegram-join-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 136, 204, 0.15), transparent);
	transition: left 0.6s ease;
}

.single .telegram-join-button::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: radial-gradient(circle, rgba(0, 136, 204, 0.2) 0%, transparent 70%);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.5s ease, height 0.5s ease;
}

.single .telegram-join-button:hover {
	background: linear-gradient(135deg, #ffffff 0%, #e8f4f8 100%);
	color: #006699;
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
	border-color: rgba(255, 255, 255, 0.8);
}

.single .telegram-join-button:hover::before {
	left: 100%;
}

.single .telegram-join-button:hover::after {
	width: 300px;
	height: 300px;
}

.single .telegram-join-button:active {
	transform: translateY(-1px) scale(0.98);
	box-shadow: 0 4px 15px rgba(0, 136, 204, 0.25);
}

.single .telegram-join-icon {
	font-size: 1.125rem;
}

.single .telegram-join-text {
	position: relative;
	z-index: 1;
}

/* Post Sidebar Container */
.single .post-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	position: -webkit-sticky;
	position: sticky;
	top: 7rem;
	align-self: start;
	width: 100%;
	max-width: 95%;
	box-sizing: border-box;
}

/* Inside Right Sidebar Container */
.single .inside-right-sidebar {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Mobile styles for right sidebar */
@media (max-width: 768px) {
	.single .inside-right-sidebar {
		margin-left: 20px;
	}
}

@media (max-width: 480px) {
	.single .inside-right-sidebar {
		margin-left: 20px;
	}
}

/* Ensure widget post images use correct size */
.single .widget-post-image {
	width: 60px !important;
	height: 60px !important;
	min-width: 60px !important;
	min-height: 60px !important;
}

/* Ensure proper spacing for sidebar widgets */
.single .sidebar-widget {
	margin-bottom: 0;
}

.single .sidebar-widget:last-child {
	margin-bottom: 0;
}

/* ============================================
   Top Authors Widget - Ultra Modern Design
   ============================================ */

.sidebar-widget--authors {
	padding: 18px !important;
	border-radius: 18px !important;
	background: rgba(255, 255, 255, 0.92) !important;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08) !important;
}

.sidebar-author-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sidebar-author-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: 10px;
	row-gap: 6px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(226, 232, 240, 0.7);
	border-radius: 14px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.sidebar-author-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(180deg, #8b5cf6 0%, #06b6d4 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.sidebar-author-item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.sidebar-author-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
	border-color: rgba(139, 92, 246, 0.35);
}

.sidebar-author-item:hover::before,
.sidebar-author-item:hover::after {
	opacity: 1;
}

/* Top 3 Authors - Premium Styling */
.sidebar-author-item:nth-child(-n+3) {
	border-width: 1.5px;
}

.sidebar-author-item:nth-child(1) {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.18) 0%, rgba(255, 193, 7, 0.1) 100%);
	border-color: rgba(255, 193, 7, 0.45);
}

.sidebar-author-item:nth-child(2) {
	background: linear-gradient(135deg, rgba(192, 192, 192, 0.16) 0%, rgba(169, 169, 169, 0.09) 100%);
	border-color: rgba(169, 169, 169, 0.4);
}

.sidebar-author-item:nth-child(3) {
	background: linear-gradient(135deg, rgba(205, 127, 50, 0.16) 0%, rgba(184, 115, 51, 0.09) 100%);
	border-color: rgba(184, 115, 51, 0.4);
}

.sidebar-author-rank {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 800;
	color: #64748b;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 10px;
	border: 1.5px solid rgba(226, 232, 240, 0.8);
	transition: all 0.3s ease;
}

.sidebar-author-item:hover .sidebar-author-rank {
	transform: translateY(-1px);
}

@keyframes shine {
	0% {
		transform: translateX(-100%) translateY(-100%) rotate(45deg);
	}

	100% {
		transform: translateX(100%) translateY(100%) rotate(45deg);
	}
}

.sidebar-author-item:nth-child(1) .sidebar-author-rank {
	background: linear-gradient(135deg, #ffd700 0%, #ffc107 100%);
	color: #fff;
	border-color: rgba(255, 193, 7, 0.5);
}

.sidebar-author-item:nth-child(2) .sidebar-author-rank {
	background: linear-gradient(135deg, #e8e8e8 0%, #bfc3c7 100%);
	color: #fff;
	border-color: rgba(169, 169, 169, 0.5);
}

.sidebar-author-item:nth-child(3) .sidebar-author-rank {
	background: linear-gradient(135deg, #daa520 0%, #b87333 100%);
	color: #fff;
	border-color: rgba(184, 115, 51, 0.5);
}

.sidebar-author-details {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 10px;
	row-gap: 4px;
	min-width: 0;
}

.sidebar-author-avatar {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 2px solid rgba(226, 232, 240, 0.8);
	transition: all 0.3s ease;
	flex-shrink: 0;
	object-fit: cover;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	position: relative;
	overflow: hidden;
}

.sidebar-author-avatar::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.15);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.sidebar-author-item:hover .sidebar-author-avatar {
	border-color: rgba(139, 92, 246, 0.55);
	transform: translateY(-1px);
}

.sidebar-author-item:hover .sidebar-author-avatar::after {
	opacity: 1;
}

.sidebar-author-meta {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sidebar-author-meta {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.sidebar-author-name {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1e293b;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	line-height: 1.5;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	letter-spacing: -0.01em;
	position: relative;
	display: inline-block;
}

.sidebar-author-name::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 100%);
	transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 2px;
}

.sidebar-author-name:hover {
	color: #8b5cf6;
	text-decoration: none;
	transform: translateX(2px);
}

.sidebar-author-name:hover::after {
	width: 100%;
}

.sidebar-author-roles {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 2px;
}

.sidebar-author-role {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.7rem;
	font-weight: 600;
	color: #0ea5e9;
	background: rgba(14, 165, 233, 0.08);
	padding: 3px 8px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border: 1px solid rgba(14, 165, 233, 0.25);
}

.sidebar-author-role::before {
	content: '⚡';
	font-size: 0.7rem;
}

.sidebar-author-item:nth-child(1) .sidebar-author-role {
	color: #f59e0b;
	border-color: rgba(245, 158, 11, 0.4);
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.08) 100%);
}

.sidebar-author-item:nth-child(2) .sidebar-author-role {
	color: #94a3b8;
	border-color: rgba(148, 163, 184, 0.4);
	background: linear-gradient(135deg, rgba(148, 163, 184, 0.18) 0%, rgba(148, 163, 184, 0.08) 100%);
}

.sidebar-author-item:nth-child(3) .sidebar-author-role {
	color: #f97316;
	border-color: rgba(249, 115, 22, 0.4);
	background: linear-gradient(135deg, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0.08) 100%);
}

.sidebar-author-stats {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.sidebar-author-posts {
	font-size: 0.75rem;
	color: #64748b;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 4px;
}

.sidebar-author-posts::before {
	content: '📝';
	font-size: 0.7rem;
	opacity: 0.8;
}

.sidebar-author-views {
	font-size: 0.75rem;
	color: #7c3aed;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 4px;
	background: rgba(124, 58, 237, 0.12);
	padding: 3px 8px;
	border-radius: 999px;
	border: 1px solid rgba(124, 58, 237, 0.2);
}

.sidebar-author-views::before {
	content: '👁️';
	font-size: 0.7rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.sidebar-author-item {
		padding: 10px 12px;
		grid-template-columns: auto 1fr;
	}

	.sidebar-author-avatar {
		width: 40px;
		height: 40px;
	}

	.sidebar-author-rank {
		width: 26px;
		height: 26px;
		font-size: 0.65rem;
	}

	.sidebar-author-name {
		font-size: 0.875rem;
	}

	.sidebar-author-stats {
		gap: 6px;
	}

	.sidebar-author-posts {
		font-size: 0.75rem;
	}

	.sidebar-author-views {
		font-size: 0.72rem;
		padding: 2px 6px;
	}
}

/* Modern Animation for list items */
@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(-20px) scale(0.95);
		filter: blur(4px);
	}

	to {
		opacity: 1;
		transform: translateX(0) scale(1);
		filter: blur(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.sidebar-author-item {
	animation: slideInRight 0.45s ease forwards;
	opacity: 0;
}

.sidebar-author-item:nth-child(1) {
	animation-delay: 0.05s;
}

.sidebar-author-item:nth-child(2) {
	animation-delay: 0.1s;
}

.sidebar-author-item:nth-child(3) {
	animation-delay: 0.15s;
}

.sidebar-author-item:nth-child(4) {
	animation-delay: 0.2s;
}

.sidebar-author-item:nth-child(5) {
	animation-delay: 0.25s;
}

.sidebar-author-item:nth-child(6) {
	animation-delay: 0.3s;
}

.sidebar-author-item:nth-child(n+7) {
	animation-delay: 0.35s;
}

/* Responsive Design - Top Authors Widget */
@media (max-width: 768px) {
	.sidebar-widget--authors {
		padding: 16px !important;
	}

	.sidebar-author-list {
		gap: 10px;
	}

	.sidebar-author-item {
		padding: 10px;
		gap: 10px;
		border-radius: 12px;
	}

	.sidebar-author-rank {
		width: 28px;
		height: 28px;
		font-size: 0.6875rem;
		border-radius: 8px;
	}

	.sidebar-author-avatar {
		width: 44px;
		height: 44px;
		border-radius: 10px;
		border-width: 2px;
	}

	.sidebar-author-details {
		gap: 10px;
	}

	.sidebar-author-name {
		font-size: 0.875rem;
		line-height: 1.4;
	}

	.sidebar-author-roles {
		gap: 4px;
		margin-top: 2px;
	}

	.sidebar-author-role {
		font-size: 0.6875rem;
		padding: 3px 8px;
	}

	.sidebar-author-stats {
		gap: 8px;
		flex-wrap: wrap;
	}

	.sidebar-author-posts {
		font-size: 0.75rem;
		gap: 4px;
	}

	.sidebar-author-views {
		font-size: 0.75rem;
		padding: 2px 6px;
		gap: 4px;
	}
}

@media (max-width: 480px) {
	.sidebar-widget--authors {
		padding: 12px !important;
	}

	.sidebar-author-list {
		gap: 8px;
	}

	.sidebar-author-item {
		padding: 8px;
		gap: 8px;
		border-radius: 10px;
	}

	.sidebar-author-rank {
		width: 26px;
		height: 26px;
		font-size: 0.625rem;
		border-radius: 6px;
	}

	.sidebar-author-avatar {
		width: 40px;
		height: 40px;
		border-radius: 8px;
	}

	.sidebar-author-name {
		font-size: 0.8125rem;
	}

	.sidebar-author-role {
		font-size: 0.625rem;
		padding: 2px 6px;
	}

	.sidebar-author-posts,
	.sidebar-author-views {
		font-size: 0.6875rem;
		padding: 2px 5px;
	}
}

/* ============================================
   Related Posts Section
   ============================================ */

.modern-related-posts {
	margin-top: 0;
	padding-top: 0;
}

.modern-related-posts-title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 800;
	margin: 0 0 2rem 0;
	color: #1a202c;
	letter-spacing: -0.02em;
	text-transform: capitalize;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.modern-related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 1rem;
}

.modern-related-post-card {
	margin: 0;
	padding: 0;
	transition: transform 0.2s ease;
}

.modern-related-post-card:hover {
	transform: translateX(4px);
}

.modern-related-post-link {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	padding: 5px;
	border-radius: 20px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	background: transparent;
	border: 1px solid transparent;
	color: #1e293b;
}

.modern-related-post-link:hover {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(6, 182, 212, 0.06) 100%);
	border-color: rgba(139, 92, 246, 0.2);
	box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
}

.modern-related-post-thumbnail {
	width: 110px;
	height: 65px;
	flex-shrink: 0;
	object-fit: cover;
	border-radius: 15px;
	display: block;
	min-width: 60px;
	min-height: 60px;
	border: 2px solid #e2e8f0;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(139, 92, 246, 0.1);
	aspect-ratio: 1 / 1;
}

.modern-related-post-link:hover .modern-related-post-thumbnail {
	border-color: rgba(139, 92, 246, 0.3);
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
	transform: scale(1.05);
}

.modern-related-post-placeholder {
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	display: block;
	flex-shrink: 0;
	min-width: 60px;
	min-height: 60px;
	width: 110px;
	height: 65px;
	border-radius: 15px;
	border: 2px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(139, 92, 246, 0.1);
}

.modern-related-post-link:hover .modern-related-post-placeholder {
	border-color: rgba(139, 92, 246, 0.3);
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
	transform: scale(1.05);
}

.modern-related-post-placeholder-icon {
	font-size: 1.5rem;
	opacity: 0.5;
}

.modern-related-post-content {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1;
	min-width: 0;
}

.modern-related-post-title {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #1e293b;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	transition: color 0.3s ease;
}

.modern-related-post-title a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

.modern-related-post-card:hover .modern-related-post-title a {
	color: #8b5cf6;
}

.modern-related-post-meta {
	display: none;
}

.modern-related-post-date,
.modern-related-post-reading-time,
.modern-related-post-views {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	transition: color 0.3s ease;
}

.modern-related-post-date svg,
.modern-related-post-reading-time svg,
.modern-related-post-views svg {
	flex-shrink: 0;
	opacity: 0.7;
}

.modern-related-post-card:hover .modern-related-post-date,
.modern-related-post-card:hover .modern-related-post-reading-time,
.modern-related-post-card:hover .modern-related-post-views {
	color: #8b5cf6;
}

.modern-related-post-card:hover .modern-related-post-date svg,
.modern-related-post-card:hover .modern-related-post-reading-time svg,
.modern-related-post-card:hover .modern-related-post-views svg {
	opacity: 1;
}

/* Responsive: Related Posts */
@media (max-width: 768px) {
	.modern-related-posts {
		margin-top: 2rem;
		padding-top: 2rem;
	}

	.modern-related-posts-title {
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}

	.modern-related-posts-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.625rem;
	}

	.modern-related-post-thumbnail,
	.modern-related-post-placeholder {
		width: 50px;
		height: 50px;
		min-width: 50px;
		min-height: 50px;
	}

	.modern-related-post-title {
		font-size: 0.8125rem;
	}
}

@media (max-width: 480px) {
	.modern-related-posts-grid {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.modern-related-post-thumbnail,
	.modern-related-post-placeholder {
		width: 45px;
		height: 45px;
		min-width: 45px;
		min-height: 45px;
	}

	.modern-related-post-title {
		font-size: 0.75rem;
	}
}

/* ============================================
   Bottom Related Posts - Original Card Design
   ============================================ */

.modern-related-posts--bottom {
	margin-top: 3rem;
	margin-bottom: 2rem;
	padding-top: 2.5rem;
	border-top: 2px solid #f1f5f9;
}

.modern-related-posts--bottom .modern-related-posts-grid--cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.modern-related-posts--bottom .modern-related-post-card {
	background: linear-gradient(135deg, #ffffff 0%, rgba(248, 250, 252, 0.8) 100%);
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 12px rgba(139, 92, 246, 0.06), 0 1px 4px rgba(139, 92, 246, 0.04);
	position: relative;
	display: flex;
	flex-direction: column;
	backdrop-filter: blur(10px);
}

.modern-related-posts--bottom .modern-related-post-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #8b5cf6, #06b6d4);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.modern-related-posts--bottom .modern-related-post-card:hover {
	box-shadow: 0 8px 24px rgba(139, 92, 246, 0.12), 0 4px 8px rgba(139, 92, 246, 0.08);
	transform: translateY(-4px);
	border-color: rgba(139, 92, 246, 0.3);
}

.modern-related-posts--bottom .modern-related-post-card:hover::before {
	opacity: 1;
}

.modern-related-posts--bottom .modern-related-post-image {
	display: block;
	width: 100%;
	height: 200px;
	overflow: hidden;
	position: relative;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.modern-related-posts--bottom .modern-related-post-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	display: block;
	border-radius: 0;
	border: none;
	box-shadow: none;
	aspect-ratio: auto;
	min-width: auto;
	min-height: auto;
}

.modern-related-posts--bottom .modern-related-post-card:hover .modern-related-post-thumbnail {
	transform: scale(1.05);
}

.modern-related-posts--bottom .modern-related-post-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	border-radius: 0;
	border: none;
	box-shadow: none;
	min-width: auto;
	min-height: auto;
}

.modern-related-posts--bottom .modern-related-post-placeholder-icon {
	font-size: 3rem;
	opacity: 0.5;
}

.modern-related-posts--bottom .modern-related-post-content {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex: 1;
}

.modern-related-posts--bottom .modern-related-post-category {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	color: #8b5cf6;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.25rem 0.75rem;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
	border-radius: 6px;
	border: 1px solid rgba(139, 92, 246, 0.2);
	align-self: flex-start;
	transition: all 0.3s ease;
}

.modern-related-posts--bottom .modern-related-post-card:hover .modern-related-post-category {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
	border-color: rgba(139, 92, 246, 0.3);
	transform: translateX(2px);
}

.modern-related-posts--bottom .modern-related-post-title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
	color: #1e293b;
}

.modern-related-posts--bottom .modern-related-post-title a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.modern-related-posts--bottom .modern-related-post-title a:hover {
	color: #8b5cf6;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.modern-related-posts--bottom .modern-related-post-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.8125rem;
	color: #64748b;
	margin-top: auto;
	padding-top: 0.5rem;
	border-top: 1px solid #f1f5f9;
}

.modern-related-posts--bottom .modern-related-post-date,
.modern-related-posts--bottom .modern-related-post-reading-time,
.modern-related-posts--bottom .modern-related-post-views {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	transition: color 0.3s ease;
}

.modern-related-posts--bottom .modern-related-post-date svg,
.modern-related-posts--bottom .modern-related-post-reading-time svg,
.modern-related-posts--bottom .modern-related-post-views svg {
	flex-shrink: 0;
	opacity: 0.7;
}

.modern-related-posts--bottom .modern-related-post-card:hover .modern-related-post-date,
.modern-related-posts--bottom .modern-related-post-card:hover .modern-related-post-reading-time,
.modern-related-posts--bottom .modern-related-post-card:hover .modern-related-post-views {
	color: #8b5cf6;
}

.modern-related-posts--bottom .modern-related-post-card:hover .modern-related-post-date svg,
.modern-related-posts--bottom .modern-related-post-card:hover .modern-related-post-reading-time svg,
.modern-related-posts--bottom .modern-related-post-card:hover .modern-related-post-views svg {
	opacity: 1;
}

/* Responsive: Bottom Related Posts — Horizontal card layout on mobile */
@media (max-width: 768px) {
	.modern-related-posts--bottom {
		margin-top: 2rem;
		padding-top: 1.5rem;
	}

	.modern-related-posts--bottom .modern-related-posts-grid--cards {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	/* Horizontal card: image left, content right */
	.modern-related-posts--bottom .modern-related-post-card {
		flex-direction: row;
		border-radius: 12px;
		overflow: hidden;
	}

	.modern-related-posts--bottom .modern-related-post-card:hover {
		transform: translateX(4px);
	}

	.modern-related-posts--bottom .modern-related-post-image {
		width: 110px;
		min-width: 110px;
		height: auto;
		min-height: 100px;
		flex-shrink: 0;
	}

	.modern-related-posts--bottom .modern-related-post-thumbnail {
		height: 100%;
		min-height: 100px;
		border-radius: 0;
	}

	.modern-related-posts--bottom .modern-related-post-placeholder {
		height: 100%;
		min-height: 100px;
		border-radius: 0;
	}

	.modern-related-posts--bottom .modern-related-post-content {
		padding: 10px 12px;
		justify-content: center;
		gap: 4px;
	}

	.modern-related-posts--bottom .modern-related-post-category {
		font-size: 0.65rem;
		padding: 0.15rem 0.5rem;
	}

	.modern-related-posts--bottom .modern-related-post-title {
		font-size: 0.85rem;
		line-height: 1.3;
		-webkit-line-clamp: 2;
	}

	.modern-related-posts--bottom .modern-related-post-meta {
		font-size: 0.7rem;
		gap: 6px;
		padding-top: 4px;
		border-top: none;
		margin-top: 2px;
		flex-wrap: nowrap;
	}

	.modern-related-posts--bottom .modern-related-post-meta svg {
		width: 12px;
		height: 12px;
	}
}

@media (max-width: 420px) {
	.modern-related-posts--bottom .modern-related-post-image {
		width: 90px;
		min-width: 90px;
	}

	.modern-related-posts--bottom .modern-related-post-title {
		font-size: 0.8rem;
	}

	.modern-related-posts--bottom .modern-related-post-content {
		padding: 8px 10px;
	}
}

/* ============================================
   Push Notification Widget
   ============================================ */

.sidebar-widget--push-notifications {
	display: none;
	/* Hidden by default, shown via JavaScript */
	background: transparent;
	border-radius: 0;
	border: none;
	padding: 0;
	box-shadow: none;
	position: relative;
	overflow: visible;
	backdrop-filter: none;
}

.push-notification-card {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
	border-radius: 16px;
	padding: 1rem;
	box-shadow: 0 8px 32px rgba(139, 92, 246, 0.12), 0 4px 16px rgba(139, 92, 246, 0.08);
	border: 1px solid rgba(139, 92, 246, 0.15);
	backdrop-filter: blur(20px);
	position: relative;
	overflow: hidden;
}

.push-notification-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 50%, #8b5cf6 100%);
	background-size: 200% 100%;
	animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

	0%,
	100% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}
}

.push-notification-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	position: relative;
	z-index: 1;
}

.push-notification-left {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	flex: 1;
	min-width: 0;
}

.push-notification-icon {
	width: 44px;
	height: 44px;
	min-width: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
	border-radius: 12px;
	color: #8b5cf6;
	flex-shrink: 0;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.push-notification-card:hover .push-notification-icon {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
	transform: scale(1.05) rotate(5deg);
	box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.push-notification-icon svg {
	width: 24px;
	height: 24px;
	filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.3));
	transition: transform 0.3s ease;
}

.push-notification-card:hover .push-notification-icon svg {
	transform: scale(1.1);
}

.push-notification-text {
	flex: 1;
	min-width: 0;
}

.push-notification-title {
	font-size: 0.9375rem;
	font-weight: 800;
	color: #1e293b;
	margin: 0 0 0.25rem 0;
	letter-spacing: -0.02em;
	line-height: 1.3;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: all 0.3s ease;
}

.push-notification-description {
	font-size: 0.75rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0;
	padding: 0;
	font-weight: 500;
}

.push-notification-right {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex-shrink: 0;
}

.push-notification-button {
	padding: 0.625rem 1.25rem;
	background: linear-gradient(135deg, #8b5cf6 0%, #764ba2 100%);
	color: #ffffff;
	border: none;
	border-radius: 12px;
	font-size: 0.875rem;
	font-weight: 800;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4), 0 2px 8px rgba(139, 92, 246, 0.3);
	text-transform: none;
	letter-spacing: 0.02em;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
}

.push-notification-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.push-notification-button:hover {
	background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
	box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5), 0 4px 12px rgba(139, 92, 246, 0.4);
	transform: translateY(-2px) scale(1.02);
}

.push-notification-button:hover::before {
	left: 100%;
}

.push-notification-button:active {
	transform: translateY(0) scale(0.98);
	box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.push-notification-dismiss {
	background: transparent;
	border: none;
	color: #64748b;
	font-size: 0.75rem;
	cursor: pointer;
	padding: 0.375rem 0.75rem;
	transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	border-radius: 8px;
	font-weight: 600;
}

.push-notification-dismiss:hover {
	color: #8b5cf6;
	background: rgba(139, 92, 246, 0.1);
	transform: translateX(2px);
}

/* Responsive: Push Notification Widget */
@media (max-width: 768px) {
	.push-notification-card {
		padding: 0.875rem;
	}

	.push-notification-content {
		gap: 0.75rem;
	}

	.push-notification-left {
		gap: 0.625rem;
	}

	.push-notification-icon {
		width: 36px;
		height: 36px;
		min-width: 36px;
	}

	.push-notification-title {
		font-size: 0.875rem;
	}

	.push-notification-description {
		font-size: 0.6875rem;
	}

	.push-notification-button {
		padding: 0.5rem 1rem;
		font-size: 0.8125rem;
	}

	.push-notification-dismiss {
		font-size: 0.6875rem;
	}
}

@media (max-width: 480px) {
	.push-notification-card {
		padding: 0.75rem;
	}

	.push-notification-content {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}

	.push-notification-left {
		gap: 0.5rem;
	}

	.push-notification-icon {
		width: 32px;
		height: 32px;
		min-width: 32px;
	}

	.push-notification-right {
		width: 100%;
	}

	.push-notification-button {
		width: 100%;
	}
}

/* ============================================
   Cookie Header Style (Applied to Posts)
   ============================================ */

.cookie-entry-header {
	margin-bottom: clamp(15px, 2.5vw, 25px);
	padding-bottom: clamp(10px, 2vw, 20px);
	position: relative;
	width: 100%;
}

.cookie-header-content {
	display: flex;
	flex-direction: column;
	gap: 15px;
	min-height: 100px;
	contain: layout style;
}

.cookie-title-wrapper {
	position: relative;
	display: inline-block;
}

.cookie-post-title {
	font-size: clamp(1.75rem, 5vw, 3rem);
	font-weight: 900;
	line-height: 1.15;
	margin: 0 0 clamp(10px, 2vw, 15px) 0;
	background: linear-gradient(135deg, #1a1a1a 0%, #667eea 50%, #764ba2 100%);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: clamp(-0.5px, -0.1vw, -1.5px);
	animation: titleGradient 8s ease infinite;
	position: relative;
	z-index: 2;
	word-wrap: break-word;
	overflow-wrap: break-word;
	width: 100%;
	max-width: 100%;
	min-height: 1.2em;
	contain: layout style;
	will-change: auto;
}

@keyframes titleGradient {

	0%,
	100% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}
}

.cookie-title-underline {
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100px;
	height: 4px;
	background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
	background-size: 200% 100%;
	border-radius: 2px;
	animation: underlineFlow 3s ease infinite;
}

@keyframes underlineFlow {

	0%,
	100% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}
}

.cookie-post-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 8px;
	min-height: 50px;
	contain: layout style;
}

.cookie-post-meta .cookie-modern-badge {
	margin: 0;
}

.cookie-modern-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.75rem;
	color: #718096;
	font-weight: 500;
	padding: 4px 8px;
	background: rgba(0, 0, 0, 0.03);
	border: none;
	border-radius: 6px;
	transition: all 0.2s ease;
	position: relative;
	white-space: nowrap;
	flex-shrink: 0;
	line-height: 1.2;
	min-width: 100px;
	min-height: 40px;
	contain: layout style;
}

.cookie-modern-badge::before {
	display: none;
}

.cookie-modern-badge svg {
	width: 12px;
	height: 12px;
	color: #a0aec0;
	transition: color 0.2s ease;
	flex-shrink: 0;
}

.cookie-modern-badge:hover {
	transform: none;
	background: rgba(0, 0, 0, 0.05);
	border: none;
	box-shadow: none;
	color: #4a5568;
}

.cookie-modern-badge:hover svg {
	transform: none;
	color: #718096;
}

.cookie-modern-badge span {
	position: relative;
	z-index: 1;
}

/* Category badge specific styling */
.cookie-post-category {
	text-decoration: none;
	color: #718096;
}

.cookie-post-category:hover {
	color: #4a5568;
	background: rgba(0, 0, 0, 0.06);
	transform: none;
}

/* Updated date badge */
.cookie-post-updated {
	background: rgba(0, 0, 0, 0.03);
}

.cookie-post-updated svg {
	color: #a0aec0;
}

/* Views badge */
.cookie-post-views svg {
	color: #a0aec0;
}

/* Reading time badge */
.cookie-post-reading-time svg {
	color: #a0aec0;
}

/* Author badge */
.cookie-post-author svg {
	color: #a0aec0;
}

/* Share badge */
.cookie-post-share {
	display: inline-flex;
	align-items: center;
}

/* Responsive adjustments for cookie header */
@media (max-width: 768px) {
	.cookie-entry-header {
		margin-bottom: clamp(25px, 3.5vw, 35px);
		padding-bottom: clamp(18px, 2.5vw, 25px);
	}

	.cookie-post-title {
		font-size: clamp(1.5rem, 4vw, 2rem);
		line-height: 1.2;
	}

	.cookie-post-meta {
		gap: clamp(6px, 1.2vw, 8px);
	}

	.cookie-modern-badge {
		font-size: clamp(0.7rem, 1.6vw, 0.8rem);
		padding: clamp(6px, 1vw, 7px) clamp(10px, 1.8vw, 14px);
	}

	.cookie-modern-badge svg {
		width: clamp(12px, 1.6vw, 14px);
		height: clamp(12px, 1.6vw, 14px);
	}
}

@media (max-width: 480px) {
	.cookie-entry-header {
		margin-bottom: 12px;
		padding-bottom: 8px;
		margin-top: 0;
	}

	.cookie-post-title {
		font-size: 1.5rem;
		line-height: 1.2;
	}

	.cookie-post-meta {
		gap: 6px;
		flex-wrap: wrap;
	}

	.cookie-modern-badge {
		font-size: 0.7rem;
		padding: 3px 6px;
		gap: 4px;
	}

	.cookie-modern-badge svg {
		width: 11px;
		height: 11px;
	}
}



/* ============================================
   Mobile Responsive — max-width: 768px
   ============================================ */

@media (max-width: 768px) {

	/* --- Title: smaller on mobile --- */
	.modern-post-title {
		font-size: clamp(1.4rem, 6vw, 1.8rem);
		line-height: 1.3;
		margin: 0 0 0.75rem 0;
		padding-bottom: 0.4rem;
	}

	.modern-post-title::after {
		width: 40px;
		height: 3px;
	}

	/* --- Meta badges: no truncation, wrap properly --- */
	.modern-post-meta {
		gap: 6px;
		margin-bottom: 8px;
	}

	.modern-meta-item {
		font-size: 0.75rem;
		padding: 0.3rem 0.6rem;
		gap: 0.4rem;
		max-width: 100%;
	}

	.modern-meta-item svg {
		width: 14px;
		height: 14px;
	}

	.modern-meta-text {
		font-size: 0.75rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 140px;
	}

	.modern-author-link {
		padding: 0.3rem 0.6rem;
		gap: 0.4rem;
	}

	.modern-author-link .modern-meta-text {
		font-size: 0.75rem;
	}

	.modern-meta-avatar {
		width: 24px;
		height: 24px;
	}

	/* --- Content: better padding, no justify on mobile --- */
	.modern-post-wrapper {
		padding: 0 16px;
	}

	.modern-entry-content {
		font-size: 1rem;
		line-height: 1.8;
	}

	.modern-entry-content p {
		font-size: 1rem;
		line-height: 1.75;
		text-align: left;
		hyphens: none;
		word-spacing: normal;
	}

	.modern-entry-content p:first-of-type {
		font-size: 1.05rem;
		line-height: 1.75;
	}

	/* --- Headings: smaller on mobile --- */
	.modern-entry-content h1 {
		font-size: 1.5rem;
		padding: 0.5rem 0.75rem;
		margin-left: -0.5rem;
		margin-right: -0.5rem;
	}

	.modern-entry-content h2 {
		font-size: clamp(1.25rem, 5vw, 1.6rem);
	}

	.modern-entry-content h2::after {
		width: 60px;
		height: 3px;
	}

	.modern-entry-content h3 {
		font-size: clamp(1.1rem, 4.5vw, 1.35rem);
	}

	/* --- Featured image --- */
	.modern-featured-image-wrapper {
		border-radius: 10px;
		margin-top: 1rem;
	}

	/* --- Category badges: scroll horizontally --- */
	.modern-post-categories {
		gap: 8px;
		margin-top: 1rem;
		margin-bottom: 1.25rem;
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.modern-post-categories::-webkit-scrollbar {
		display: none;
	}

	.modern-category-badge {
		font-size: 0.75rem;
		padding: 0.25rem 0.6rem;
		white-space: nowrap;
		flex-shrink: 0;
	}

	/* --- Tag pills: smaller on mobile --- */
	.modern-tag-pills {
		gap: 0.5rem;
		margin-top: 1.25rem;
		margin-bottom: 1.25rem;
	}

	.modern-tag-pill {
		font-size: 0.75rem;
		padding: 0.25rem 0.6rem;
	}

	/* --- Lists: tighter on mobile --- */
	.modern-entry-content ul,
	.modern-entry-content ol {
		padding: 1rem 0.6rem;
		margin: 1.25rem 0;
	}

	.modern-entry-content ul li {
		padding: 0.5rem 0 0.5rem 2.25rem;
		padding-left: 36px;
		padding-right: 8px;
		font-size: 0.95rem;
		line-height: 1.6;
	}

	.modern-entry-content ul li::before {
		width: 22px;
		height: 22px;
		font-size: 0.7rem;
		left: 6px;
		top: 8px;
	}

	.modern-entry-content ul li:hover {
		padding-left: 36px;
		margin-left: 0;
		margin-right: 0;
		transform: none;
	}

	.modern-entry-content ol li {
		padding-left: 3rem;
		padding-right: 0.75rem;
		font-size: 0.95rem;
	}

	.modern-entry-content ol li::before {
		width: 30px;
		height: 30px;
		font-size: 0.8rem;
	}

	/* --- Related posts (top) — horizontal scroll --- */
	.modern-related-posts:not(.modern-related-posts--bottom) .modern-related-posts-grid {
		display: flex;
		overflow-x: auto;
		gap: 10px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 4px;
	}

	.modern-related-posts:not(.modern-related-posts--bottom) .modern-related-posts-grid::-webkit-scrollbar {
		display: none;
	}

	.modern-related-posts:not(.modern-related-posts--bottom) .modern-related-post-card {
		flex: 0 0 auto;
		width: 140px;
		scroll-snap-align: start;
	}

	.modern-related-post-link {
		gap: 8px;
	}

	.modern-related-post-thumbnail {
		width: 48px;
		height: 48px;
		border-radius: 8px;
		flex-shrink: 0;
	}

	.modern-related-post-title {
		font-size: 0.75rem;
		line-height: 1.3;
		-webkit-line-clamp: 2;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	/* --- Related posts (bottom cards) --- */
	.modern-related-posts--bottom .modern-related-posts-grid--cards {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.modern-related-posts--bottom .modern-related-post-image img {
		height: 160px;
		object-fit: cover;
	}

	.modern-related-posts--bottom .modern-related-post-title {
		font-size: 0.9rem;
	}

	.modern-related-posts--bottom .modern-related-post-meta {
		font-size: 0.7rem;
		gap: 8px;
	}

	.modern-related-post-category {
		font-size: 0.65rem;
	}

	/* --- Entry header spacing --- */
	.modern-entry-header {
		margin-bottom: 1rem;
	}

}

/* ============================================
   Small phones — max-width: 420px
   ============================================ */

@media (max-width: 420px) {

	.modern-post-title {
		font-size: clamp(1.2rem, 5.5vw, 1.5rem);
	}

	.modern-post-wrapper {
		padding: 0 12px;
	}

	.modern-entry-content p {
		font-size: 0.95rem;
		line-height: 1.7;
	}

	.modern-meta-text {
		max-width: 110px;
	}

	.modern-meta-item {
		font-size: 0.7rem;
		padding: 0.25rem 0.5rem;
	}

	.modern-related-post-card {
		width: 120px;
	}

}