/**
 * تصميم احترافي لصفحات الدروس التعليمية
 * Professional Educational Lesson Page Styles
 * 
 * @package Really Simple
 */

/* ========================================
   ESTRUCTURA PRINCIPAL DEL ARTÍCULO
   ======================================== */

/* Forzar LTR en páginas de lecciones */
.single-leccion,
.single-leccion * {
	direction: ltr !important;
	text-align: left !important;
}

/* Excepciones donde queremos mantener el formateo automático */
.single-leccion .entry-content p,
.single-leccion .entry-content li {
	text-align: justify !important;
}

.single-leccion article {
	background: transparent;
	padding: 0;
	margin-bottom: 2rem;
}

/* ========================================
   ENCABEZADO EDUCATIVO
   ======================================== */

.single-leccion .educational-header {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 3px solid #e5e7eb;
	position: relative;
}

.single-leccion .educational-header::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 120px;
	height: 3px;
	background: linear-gradient(90deg, #3b82f6, #2563eb);
}

[data-theme="dark"] .single-leccion .educational-header {
	border-bottom-color: #374151;
}

/* Meta información للدرس */
.single-leccion .lesson-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 1.5rem;
	padding-top: 1rem;
}

.single-leccion .lesson-meta > span {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 1rem;
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.875rem;
	color: #1e40af;
	border: 1px solid #bfdbfe;
	box-shadow: 0 2px 6px rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] .single-leccion .lesson-meta > span {
	background: linear-gradient(135deg, #1e3a5f 0%, #1e293b 100%);
	color: #93c5fd;
	border-color: #1e40af;
}

.single-leccion .lesson-meta svg {
	flex-shrink: 0;
	color: #3b82f6;
}

[data-theme="dark"] .single-leccion .lesson-meta svg {
	color: #60a5fa;
}

.single-leccion .last-updated {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
	color: #92400e !important;
	border-color: #fbbf24 !important;
}

[data-theme="dark"] .single-leccion .last-updated {
	background: linear-gradient(135deg, #78350f 0%, #92400e 100%) !important;
	color: #fde68a !important;
	border-color: #b45309 !important;
}

.single-leccion .last-updated svg {
	color: #f59e0b !important;
}

[data-theme="dark"] .single-leccion .last-updated svg {
	color: #fbbf24 !important;
}

/* أزرار المشاركة في الرأس - تصميم محسّن */
.single-leccion .lesson-share-buttons {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	flex-wrap: wrap;
}

.single-leccion .lesson-share-icons {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	flex-wrap: wrap;
}

/* إخفاء الأيقونات القديمة من icons-social-share في lecciones */
.single-leccion .lesson-share-buttons .icons-social-share {
	display: contents;
	list-style: none;
	margin: 0;
	padding: 0;
}

.single-leccion .lesson-share-buttons .icons-social-share li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.single-leccion .share-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	font-size: 0.875rem;
	color: #4b5563;
	white-space: nowrap;
	margin-left: 0.25rem;
}

[data-theme="dark"] .single-leccion .share-label {
	color: #9ca3af;
}

.single-leccion .share-label svg {
	color: #6b7280;
	flex-shrink: 0;
}

[data-theme="dark"] .single-leccion .share-label svg {
	color: #6b7280;
}

/* تحسين أزرار المشاركة الاجتماعية */
.single-leccion .lesson-share-buttons .icons-social-share a,
.single-leccion .lesson-share-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	transition: all 0.3s ease;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	/* إلغاء الأيقونات القديمة من background-image */
	background-image: none !important;
	background-size: auto;
	background-position: center;
}

.single-leccion .lesson-share-buttons a::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
	opacity: 0;
	transition: opacity 0.3s;
}

.single-leccion .lesson-share-buttons a:hover::before {
	opacity: 1;
}

.single-leccion .lesson-share-buttons a:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.single-leccion .lesson-share-buttons a:active {
	transform: translateY(0) scale(0.98);
}

/* Facebook - أزرق */
.single-leccion .lesson-share-buttons .icons-social-share a[href*="facebook"],
.single-leccion .lesson-share-buttons .icons-social-share li.facebook a,
.single-leccion .lesson-share-icons a[href*="facebook"] {
	background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%) !important;
	color: white;
}

.single-leccion .lesson-share-buttons .icons-social-share a[href*="facebook"]:hover,
.single-leccion .lesson-share-buttons .icons-social-share li.facebook a:hover,
.single-leccion .lesson-share-icons a[href*="facebook"]:hover {
	box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

/* Twitter/X - أسود */
.single-leccion .lesson-share-buttons .icons-social-share a[href*="twitter"],
.single-leccion .lesson-share-buttons .icons-social-share a[href*="x.com"],
.single-leccion .lesson-share-buttons .icons-social-share li.twitter a,
.single-leccion .lesson-share-icons a[href*="twitter"],
.single-leccion .lesson-share-icons a[href*="x.com"] {
	background: linear-gradient(135deg, #000000 0%, #14171a 100%) !important;
	color: white;
}

.single-leccion .lesson-share-buttons .icons-social-share a[href*="twitter"]:hover,
.single-leccion .lesson-share-buttons .icons-social-share a[href*="x.com"]:hover,
.single-leccion .lesson-share-buttons .icons-social-share li.twitter a:hover,
.single-leccion .lesson-share-icons a[href*="twitter"]:hover,
.single-leccion .lesson-share-icons a[href*="x.com"]:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* LinkedIn - أزرق فاتح */
.single-leccion .lesson-share-buttons .icons-social-share a[href*="linkedin"],
.single-leccion .lesson-share-buttons .icons-social-share li.linkedin a,
.single-leccion .lesson-share-icons a[href*="linkedin"] {
	background: linear-gradient(135deg, #0a66c2 0%, #004182 100%) !important;
	color: white;
}

.single-leccion .lesson-share-buttons .icons-social-share a[href*="linkedin"]:hover,
.single-leccion .lesson-share-buttons .icons-social-share li.linkedin a:hover,
.single-leccion .lesson-share-icons a[href*="linkedin"]:hover {
	box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4);
}

/* WhatsApp - أخضر */
.single-leccion .lesson-share-buttons .icons-social-share a[href*="whatsapp"],
.single-leccion .lesson-share-buttons .icons-social-share a[href*="wa.me"],
.single-leccion .lesson-share-buttons .icons-social-share li.whatsapp a,
.single-leccion .lesson-share-icons a[href*="whatsapp"],
.single-leccion .lesson-share-icons a[href*="wa.me"] {
	background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
	color: white;
}

.single-leccion .lesson-share-buttons .icons-social-share a[href*="whatsapp"]:hover,
.single-leccion .lesson-share-buttons .icons-social-share a[href*="wa.me"]:hover,
.single-leccion .lesson-share-buttons .icons-social-share li.whatsapp a:hover,
.single-leccion .lesson-share-icons a[href*="whatsapp"]:hover,
.single-leccion .lesson-share-icons a[href*="wa.me"]:hover {
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Telegram - أزرق فاتح */
.single-leccion .lesson-share-buttons .icons-social-share a[href*="telegram"],
.single-leccion .lesson-share-buttons .icons-social-share a[href*="t.me"],
.single-leccion .lesson-share-buttons .icons-social-share li.telegram a,
.single-leccion .lesson-share-icons a[href*="telegram"],
.single-leccion .lesson-share-icons a[href*="t.me"] {
	background: linear-gradient(135deg, #0088cc 0%, #006699 100%) !important;
	color: white;
}

.single-leccion .lesson-share-buttons .icons-social-share a[href*="telegram"]:hover,
.single-leccion .lesson-share-buttons .icons-social-share a[href*="t.me"]:hover,
.single-leccion .lesson-share-buttons .icons-social-share li.telegram a:hover,
.single-leccion .lesson-share-icons a[href*="telegram"]:hover,
.single-leccion .lesson-share-icons a[href*="t.me"]:hover {
	box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
}

/* Bluesky - أزرق سماوي */
.single-leccion .lesson-share-buttons .icons-social-share a[href*="bsky.app"],
.single-leccion .lesson-share-buttons .icons-social-share li.bluesky a,
.single-leccion .lesson-share-icons a[href*="bsky.app"] {
	background: linear-gradient(135deg, #1185fe 0%, #0a66c2 100%) !important;
	color: white;
}

.single-leccion .lesson-share-buttons .icons-social-share a[href*="bsky.app"]:hover,
.single-leccion .lesson-share-buttons .icons-social-share li.bluesky a:hover,
.single-leccion .lesson-share-icons a[href*="bsky.app"]:hover {
	box-shadow: 0 4px 12px rgba(17, 133, 254, 0.4);
}

/* Email - رمادي */
.single-leccion .lesson-share-buttons .icons-social-share a[href^="mailto"],
.single-leccion .lesson-share-icons a[href^="mailto"] {
	background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
	color: white;
}

.single-leccion .lesson-share-buttons .icons-social-share a[href^="mailto"]:hover,
.single-leccion .lesson-share-icons a[href^="mailto"]:hover {
	box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
}

/* Pinterest - أحمر */
.single-leccion .lesson-share-buttons .icons-social-share a[href*="pinterest"],
.single-leccion .lesson-share-buttons .icons-social-share li.pinterest a,
.single-leccion .lesson-share-icons a[href*="pinterest"] {
	background: linear-gradient(135deg, #e60023 0%, #bd001f 100%) !important;
	color: white;
}

.single-leccion .lesson-share-buttons .icons-social-share a[href*="pinterest"]:hover,
.single-leccion .lesson-share-buttons .icons-social-share li.pinterest a:hover,
.single-leccion .lesson-share-icons a[href*="pinterest"]:hover {
	box-shadow: 0 4px 12px rgba(230, 0, 35, 0.4);
}

/* Reddit - برتقالي */
.single-leccion .lesson-share-buttons .icons-social-share a[href*="reddit"],
.single-leccion .lesson-share-icons a[href*="reddit"] {
	background: linear-gradient(135deg, #ff4500 0%, #cc3700 100%) !important;
	color: white;
}

.single-leccion .lesson-share-buttons .icons-social-share a[href*="reddit"]:hover,
.single-leccion .lesson-share-icons a[href*="reddit"]:hover {
	box-shadow: 0 4px 12px rgba(255, 69, 0, 0.4);
}

/* Copy Link - أزرق رمادي */
.single-leccion .lesson-share-buttons .icons-social-share a[data-action="copy"],
.single-leccion .lesson-share-buttons .icons-social-share .copy-link,
.single-leccion .lesson-share-icons a[data-action="copy"],
.single-leccion .lesson-share-icons .copy-link {
	background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
	color: white;
}

.single-leccion .lesson-share-buttons .icons-social-share a[data-action="copy"]:hover,
.single-leccion .lesson-share-buttons .icons-social-share .copy-link:hover,
.single-leccion .lesson-share-icons a[data-action="copy"]:hover,
.single-leccion .lesson-share-icons .copy-link:hover {
	box-shadow: 0 4px 12px rgba(100, 116, 139, 0.4);
}

/* الأيقونات داخل الأزرار */
.single-leccion .lesson-share-buttons a svg,
.single-leccion .lesson-share-buttons a i,
.single-leccion .lesson-share-buttons a img {
	width: 18px;
	height: 18px;
	transition: transform 0.3s;
	fill: white !important;
	color: white !important;
	filter: brightness(1);
}

.single-leccion .lesson-share-buttons a:hover svg,
.single-leccion .lesson-share-buttons a:hover i,
.single-leccion .lesson-share-buttons a:hover img {
	transform: scale(1.15) rotate(5deg);
	filter: brightness(1.1);
}

/* Dark Mode - تعديلات طفيفة */
[data-theme="dark"] .single-leccion .lesson-share-buttons a {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .single-leccion .lesson-share-buttons a:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
	.single-leccion .lesson-share-buttons {
		gap: 0.5rem;
	}
	
	.single-leccion .lesson-share-buttons a {
		width: 32px;
		height: 32px;
	}
	
	.single-leccion .lesson-share-buttons a svg,
	.single-leccion .lesson-share-buttons a i,
	.single-leccion .lesson-share-buttons a img {
		width: 16px;
		height: 16px;
	}
	
	.single-leccion .share-label {
		font-size: 0.8125rem;
	}
}

@media (max-width: 480px) {
	.single-leccion .lesson-share-buttons {
		width: 100%;
		justify-content: flex-start;
		gap: 0.4rem;
	}
	
	.single-leccion .lesson-share-buttons a {
		width: 30px;
		height: 30px;
	}
	
	.single-leccion .lesson-share-buttons a svg,
	.single-leccion .lesson-share-buttons a i,
	.single-leccion .lesson-share-buttons a img {
		width: 14px;
		height: 14px;
	}
	
	.single-leccion .share-label {
		font-size: 0.75rem;
		width: 100%;
		margin-bottom: 0.25rem;
	}
}

/* Categorías / Tecnologías - تصميم بسيط وأنيق */
.single-leccion .article-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	align-items: center;
}

.single-leccion .category-tag {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.875rem;
	background: #3b82f6;
	color: white;
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.single-leccion .category-tag:hover {
	background: #2563eb;
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.single-leccion .category-tag:active {
	transform: translateY(0);
}

/* ألوان مختلفة للتقنيات المتعددة */
.single-leccion .category-tag:nth-child(2) {
	background: #8b5cf6;
}

.single-leccion .category-tag:nth-child(2):hover {
	background: #7c3aed;
	box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
}

.single-leccion .category-tag:nth-child(3) {
	background: #ec4899;
}

.single-leccion .category-tag:nth-child(3):hover {
	background: #db2777;
	box-shadow: 0 2px 6px rgba(236, 72, 153, 0.3);
}

.single-leccion .category-tag:nth-child(4) {
	background: #10b981;
}

.single-leccion .category-tag:nth-child(4):hover {
	background: #059669;
	box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* Dark Mode */
[data-theme="dark"] .single-leccion .category-tag {
	background: #2563eb;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .single-leccion .category-tag:hover {
	background: #1d4ed8;
	box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

[data-theme="dark"] .single-leccion .category-tag:nth-child(2) {
	background: #7c3aed;
}

[data-theme="dark"] .single-leccion .category-tag:nth-child(2):hover {
	background: #6d28d9;
	box-shadow: 0 2px 6px rgba(124, 58, 237, 0.4);
}

[data-theme="dark"] .single-leccion .category-tag:nth-child(3) {
	background: #db2777;
}

[data-theme="dark"] .single-leccion .category-tag:nth-child(3):hover {
	background: #be185d;
	box-shadow: 0 2px 6px rgba(219, 39, 119, 0.4);
}

[data-theme="dark"] .single-leccion .category-tag:nth-child(4) {
	background: #059669;
}

[data-theme="dark"] .single-leccion .category-tag:nth-child(4):hover {
	background: #047857;
	box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
	.single-leccion .category-tag {
		padding: 0.3rem 0.75rem;
		font-size: 0.7rem;
	}
}

@media (max-width: 480px) {
	.single-leccion .article-categories {
		gap: 0.4rem;
	}
	
	.single-leccion .category-tag {
		padding: 0.25rem 0.625rem;
		font-size: 0.6875rem;
	}
}

/* Título principal */
.single-leccion .entry-title {
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 0.5rem;
	color: #1f2937;
	letter-spacing: -0.02em;
	position: relative;
	display: inline-block;
}

.single-leccion .entry-title::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 40%;
	height: 4px;
	background: linear-gradient(90deg, #3b82f6, transparent);
	border-radius: 2px;
}

[data-theme="dark"] .single-leccion .entry-title {
	color: #f9fafb;
}

/* ========================================
   IMAGEN DESTACADA
   ======================================== */

.single-leccion .entry-media {
	margin: 2.5rem 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	border: 1px solid #e5e7eb;
}

[data-theme="dark"] .single-leccion .entry-media {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	border-color: #374151;
}

.single-leccion .entry-media img {
	width: 100%;
	height: auto;
	display: block;
}

/* ========================================
   CONTENIDO PRINCIPAL - TYPOGRAPHY
   ======================================== */

.single-leccion .entry-content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #374151;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
}

[data-theme="dark"] .single-leccion .entry-content {
	color: #d1d5db;
}

.single-leccion .entry-content > * {
	margin-bottom: 1.5rem;
}

.single-leccion .entry-content p {
	margin-bottom: 1.5rem;
	text-align: justify;
}

/* Primer párrafo destacado */
.single-leccion .entry-content > p:first-of-type {
	font-size: 1.1875rem;
	line-height: 1.7;
	color: #1f2937;
	font-weight: 400;
}

[data-theme="dark"] .single-leccion .entry-content > p:first-of-type {
	color: #e5e7eb;
}

/* ========================================
   ENCABEZADOS
   ======================================== */

.single-leccion .entry-content h2 {
	font-size: 1.75rem;
	font-weight: 700;
	margin-top: 2.5rem;
	margin-bottom: 1.25rem;
	color: #1f2937;
	position: relative;
	padding-bottom: 0.75rem;
	padding-right: 1.25rem;
	border-bottom: 3px solid #e5e7eb;
}

.single-leccion .entry-content h2::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, #3b82f6, #2563eb);
	border-radius: 3px;
}

[data-theme="dark"] .single-leccion .entry-content h2 {
	color: #f9fafb;
	border-bottom-color: #374151;
}

.single-leccion .entry-content h3 {
	font-size: 1.375rem;
	font-weight: 600;
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: #1f2937;
	padding-left: 1rem;
	border-left: 4px solid #3b82f6;
}

[data-theme="dark"] .single-leccion .entry-content h3 {
	color: #f9fafb;
	border-right-color: #60a5fa;
}

.single-leccion .entry-content h4 {
	font-size: 1.125rem;
	font-weight: 600;
	margin-top: 1.75rem;
	margin-bottom: 0.875rem;
	color: #374151;
}

[data-theme="dark"] .single-leccion .entry-content h4 {
	color: #e5e7eb;
}

/* ========================================
   BLOQUES DE CÓDIGO
   ======================================== */

.single-leccion .entry-content pre {
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
	border: 1px solid #334155;
	border-radius: 12px;
	padding: 1.75rem;
	overflow-x: auto;
	margin: 2rem 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	position: relative;
}

.single-leccion .entry-content pre::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 40px;
	background: linear-gradient(90deg, #334155 0%, #475569 100%);
	border-radius: 12px 12px 0 0;
	border-bottom: 1px solid #475569;
}

.single-leccion .entry-content pre code {
	background: transparent;
	color: #e2e8f0;
	padding: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
	direction: ltr;
	text-align: left;
	display: block;
	margin-top: 40px;
}

[data-theme="dark"] .single-leccion .entry-content pre {
	background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
	border-color: #1e293b;
}

/* Código inline */
.single-leccion .entry-content code {
	background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
	font-size: 0.9em;
	color: #dc2626;
	font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
	font-weight: 500;
	border: 1px solid #fca5a5;
	direction: ltr;
	display: inline-block;
}

[data-theme="dark"] .single-leccion .entry-content code {
	background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
	color: #fca5a5;
	border-color: #991b1b;
}

/* ========================================
   LISTAS
   ======================================== */

.single-leccion .entry-content ul,
.single-leccion .entry-content ol {
	margin: 2rem 0;
	padding-left: 2rem;
	line-height: 1.8;
}

.single-leccion .entry-content ul li,
.single-leccion .entry-content ol li {
	margin-bottom: 1rem;
	position: relative;
	padding-left: 0.5rem;
}

.single-leccion .entry-content ul li::marker {
	color: #3b82f6;
	font-size: 1.2em;
}

[data-theme="dark"] .single-leccion .entry-content ul li::marker {
	color: #60a5fa;
}

.single-leccion .entry-content ol {
	counter-reset: item;
	list-style: none;
}

.single-leccion .entry-content ol li {
	counter-increment: item;
	padding-right: 2.5rem;
}

.single-leccion .entry-content ol li::before {
	content: counter(item);
	position: absolute;
	right: 0;
	top: 0;
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	color: white;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.875rem;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .single-leccion .entry-content ol li::before {
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* ========================================
   CITAS Y BLOCKQUOTES
   ======================================== */

.single-leccion .entry-content blockquote {
	border-right: 4px solid #3b82f6;
	padding: 1.75rem 2rem;
	margin: 2.5rem 0;
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	border-radius: 12px;
	font-style: italic;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
	position: relative;
}

.single-leccion .entry-content blockquote::before {
	content: '"';
	position: absolute;
	top: -10px;
	right: 20px;
	font-size: 4rem;
	color: #3b82f6;
	opacity: 0.2;
	font-family: Georgia, serif;
	line-height: 1;
}

[data-theme="dark"] .single-leccion .entry-content blockquote {
	background: linear-gradient(135deg, #1e3a5f 0%, #1e293b 100%);
	border-right-color: #60a5fa;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .single-leccion .entry-content blockquote::before {
	color: #60a5fa;
}

/* ========================================
   ENLACES
   ======================================== */

.single-leccion .entry-content a {
	color: #3b82f6;
	text-decoration: none;
	font-weight: 600;
	border-bottom: 2px solid transparent;
	transition: all 0.3s;
	padding-bottom: 2px;
}

.single-leccion .entry-content a:hover {
	color: #2563eb;
	border-bottom-color: #2563eb;
}

[data-theme="dark"] .single-leccion .entry-content a {
	color: #60a5fa;
}

[data-theme="dark"] .single-leccion .entry-content a:hover {
	color: #93c5fd;
	border-bottom-color: #93c5fd;
}

/* ========================================
   IMÁGENES EN EL CONTENIDO
   ======================================== */

.single-leccion .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 2rem 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	border: 1px solid #e5e7eb;
}

[data-theme="dark"] .single-leccion .entry-content img {
	border-color: #374151;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ========================================
   TABLAS
   ======================================== */

.single-leccion .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2.5rem 0;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .single-leccion .entry-content table {
	background: #1f2937;
}

.single-leccion .entry-content thead {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: white;
}

.single-leccion .entry-content th {
	padding: 1.25rem;
	text-align: right;
	font-weight: 700;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.single-leccion .entry-content td {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .single-leccion .entry-content td {
	border-bottom-color: #374151;
}

.single-leccion .entry-content tbody tr:hover {
	background: #f9fafb;
}

[data-theme="dark"] .single-leccion .entry-content tbody tr:hover {
	background: #374151;
}

/* ========================================
   ELEMENTOS EDUCATIVOS - CALLOUTS
   ======================================== */

/* Nota Informativa (Azul) */
.single-leccion .entry-content .nota-info,
.single-leccion .entry-content .info-box,
.single-leccion .entry-content .wp-block-quote.is-style-info {
	background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
	border-right: 4px solid #3b82f6;
	padding: 1.5rem;
	padding-right: 4rem;
	border-radius: 12px;
	margin: 2rem 0;
	position: relative;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.single-leccion .entry-content .nota-info::before,
.single-leccion .entry-content .info-box::before,
.single-leccion .entry-content .wp-block-quote.is-style-info::before {
	content: 'ℹ';
	position: absolute;
	right: 1.25rem;
	top: 1.25rem;
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.375rem;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.single-leccion .entry-content .nota-info::after,
.single-leccion .entry-content .info-box::after,
.single-leccion .entry-content .wp-block-quote.is-style-info::after {
	content: 'NOTA';
	position: absolute;
	top: 1.5rem;
	right: 4.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #1e40af;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

[data-theme="dark"] .single-leccion .entry-content .nota-info,
[data-theme="dark"] .single-leccion .entry-content .info-box,
[data-theme="dark"] .single-leccion .entry-content .wp-block-quote.is-style-info {
	background: linear-gradient(135deg, #1e3a5f 0%, #1e293b 100%);
	border-right-color: #60a5fa;
}

[data-theme="dark"] .single-leccion .entry-content .nota-info::after,
[data-theme="dark"] .single-leccion .entry-content .info-box::after,
[data-theme="dark"] .single-leccion .entry-content .wp-block-quote.is-style-info::after {
	color: #93c5fd;
}

/* Advertencia (Amarillo) */
.single-leccion .entry-content .advertencia,
.single-leccion .entry-content .warning-box,
.single-leccion .entry-content .wp-block-quote.is-style-warning {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	border-right: 4px solid #f59e0b;
	padding: 1.5rem;
	padding-right: 4rem;
	border-radius: 12px;
	margin: 2rem 0;
	position: relative;
	box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.single-leccion .entry-content .advertencia::before,
.single-leccion .entry-content .warning-box::before,
.single-leccion .entry-content .wp-block-quote.is-style-warning::before {
	content: '⚠';
	position: absolute;
	right: 1.25rem;
	top: 1.25rem;
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.375rem;
	box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.single-leccion .entry-content .advertencia::after,
.single-leccion .entry-content .warning-box::after,
.single-leccion .entry-content .wp-block-quote.is-style-warning::after {
	content: 'ADVERTENCIA';
	position: absolute;
	top: 1.5rem;
	right: 4.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #92400e;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

[data-theme="dark"] .single-leccion .entry-content .advertencia,
[data-theme="dark"] .single-leccion .entry-content .warning-box,
[data-theme="dark"] .single-leccion .entry-content .wp-block-quote.is-style-warning {
	background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
	border-right-color: #fbbf24;
}

[data-theme="dark"] .single-leccion .entry-content .advertencia::after,
[data-theme="dark"] .single-leccion .entry-content .warning-box::after,
[data-theme="dark"] .single-leccion .entry-content .wp-block-quote.is-style-warning::after {
	color: #fde68a;
}

/* Consejo/Tip (Verde) */
.single-leccion .entry-content .consejo,
.single-leccion .entry-content .tip-box,
.single-leccion .entry-content .success-box,
.single-leccion .entry-content .wp-block-quote.is-style-success {
	background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
	border-right: 4px solid #10b981;
	padding: 1.5rem;
	padding-right: 4rem;
	border-radius: 12px;
	margin: 2rem 0;
	position: relative;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.single-leccion .entry-content .consejo::before,
.single-leccion .entry-content .tip-box::before,
.single-leccion .entry-content .success-box::before,
.single-leccion .entry-content .wp-block-quote.is-style-success::before {
	content: '💡';
	position: absolute;
	right: 1.25rem;
	top: 1.25rem;
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, #10b981, #059669);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.25rem;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.single-leccion .entry-content .consejo::after,
.single-leccion .entry-content .tip-box::after,
.single-leccion .entry-content .success-box::after,
.single-leccion .entry-content .wp-block-quote.is-style-success::after {
	content: 'CONSEJO';
	position: absolute;
	top: 1.5rem;
	right: 4.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #065f46;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

[data-theme="dark"] .single-leccion .entry-content .consejo,
[data-theme="dark"] .single-leccion .entry-content .tip-box,
[data-theme="dark"] .single-leccion .entry-content .success-box,
[data-theme="dark"] .single-leccion .entry-content .wp-block-quote.is-style-success {
	background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
	border-right-color: #34d399;
}

[data-theme="dark"] .single-leccion .entry-content .consejo::after,
[data-theme="dark"] .single-leccion .entry-content .tip-box::after,
[data-theme="dark"] .single-leccion .entry-content .success-box::after,
[data-theme="dark"] .single-leccion .entry-content .wp-block-quote.is-style-success::after {
	color: #a7f3d0;
}

/* Importante (Rojo) */
.single-leccion .entry-content .importante,
.single-leccion .entry-content .danger-box,
.single-leccion .entry-content .wp-block-quote.is-style-danger {
	background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
	border-right: 4px solid #ef4444;
	padding: 1.5rem;
	padding-right: 4rem;
	border-radius: 12px;
	margin: 2rem 0;
	position: relative;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

.single-leccion .entry-content .importante::before,
.single-leccion .entry-content .danger-box::before,
.single-leccion .entry-content .wp-block-quote.is-style-danger::before {
	content: '❗';
	position: absolute;
	right: 1.25rem;
	top: 1.25rem;
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, #ef4444, #dc2626);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.375rem;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.single-leccion .entry-content .importante::after,
.single-leccion .entry-content .danger-box::after,
.single-leccion .entry-content .wp-block-quote.is-style-danger::after {
	content: 'IMPORTANTE';
	position: absolute;
	top: 1.5rem;
	right: 4.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #991b1b;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

[data-theme="dark"] .single-leccion .entry-content .importante,
[data-theme="dark"] .single-leccion .entry-content .danger-box,
[data-theme="dark"] .single-leccion .entry-content .wp-block-quote.is-style-danger {
	background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
	border-right-color: #f87171;
}

[data-theme="dark"] .single-leccion .entry-content .importante::after,
[data-theme="dark"] .single-leccion .entry-content .danger-box::after,
[data-theme="dark"] .single-leccion .entry-content .wp-block-quote.is-style-danger::after {
	color: #fecaca;
}

/* Ejemplo (Púrpura) */
.single-leccion .entry-content .ejemplo,
.single-leccion .entry-content .example-box {
	background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);
	border-right: 4px solid #a855f7;
	padding: 1.5rem;
	padding-right: 4rem;
	border-radius: 12px;
	margin: 2rem 0;
	position: relative;
	box-shadow: 0 2px 8px rgba(168, 85, 247, 0.15);
}

.single-leccion .entry-content .ejemplo::before,
.single-leccion .entry-content .example-box::before {
	content: '📋';
	position: absolute;
	right: 1.25rem;
	top: 1.25rem;
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, #a855f7, #9333ea);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.25rem;
	box-shadow: 0 2px 8px rgba(168, 85, 247, 0.4);
}

.single-leccion .entry-content .ejemplo::after,
.single-leccion .entry-content .example-box::after {
	content: 'EJEMPLO';
	position: absolute;
	top: 1.5rem;
	right: 4.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #6b21a8;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

[data-theme="dark"] .single-leccion .entry-content .ejemplo,
[data-theme="dark"] .single-leccion .entry-content .example-box {
	background: linear-gradient(135deg, #581c87 0%, #6b21a8 100%);
	border-right-color: #c084fc;
}

[data-theme="dark"] .single-leccion .entry-content .ejemplo::after,
[data-theme="dark"] .single-leccion .entry-content .example-box::after {
	color: #e9d5ff;
}

/* Responsive para callouts */
@media (max-width: 768px) {
	.single-leccion .entry-content .nota-info,
	.single-leccion .entry-content .info-box,
	.single-leccion .entry-content .advertencia,
	.single-leccion .entry-content .warning-box,
	.single-leccion .entry-content .consejo,
	.single-leccion .entry-content .tip-box,
	.single-leccion .entry-content .importante,
	.single-leccion .entry-content .danger-box,
	.single-leccion .entry-content .ejemplo,
	.single-leccion .entry-content .example-box,
	.single-leccion .entry-content .success-box {
		padding: 1.25rem;
		padding-top: 3rem;
		padding-right: 1.25rem;
	}
	
	.single-leccion .entry-content .nota-info::before,
	.single-leccion .entry-content .info-box::before,
	.single-leccion .entry-content .advertencia::before,
	.single-leccion .entry-content .warning-box::before,
	.single-leccion .entry-content .consejo::before,
	.single-leccion .entry-content .tip-box::before,
	.single-leccion .entry-content .importante::before,
	.single-leccion .entry-content .danger-box::before,
	.single-leccion .entry-content .ejemplo::before,
	.single-leccion .entry-content .example-box::before,
	.single-leccion .entry-content .success-box::before {
		top: 0.75rem;
		right: 1rem;
		width: 32px;
		height: 32px;
		font-size: 1.125rem;
	}
	
	.single-leccion .entry-content .nota-info::after,
	.single-leccion .entry-content .info-box::after,
	.single-leccion .entry-content .advertencia::after,
	.single-leccion .entry-content .warning-box::after,
	.single-leccion .entry-content .consejo::after,
	.single-leccion .entry-content .tip-box::after,
	.single-leccion .entry-content .importante::after,
	.single-leccion .entry-content .danger-box::after,
	.single-leccion .entry-content .ejemplo::after,
	.single-leccion .entry-content .example-box::after,
	.single-leccion .entry-content .success-box::after {
		top: 1rem;
		right: 3.75rem;
		font-size: 0.6875rem;
	}
}

/* ========================================
   NAVEGACIÓN ENTRE POSTS
   ======================================== */

.enhanced-post-navigation {
	margin: 3rem 0 2.5rem;
	padding: 0;
}

.nav-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	max-width: 100%;
}

@media (max-width: 768px) {
	.nav-wrapper {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

.nav-item {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
	border: 1px solid #e5e7eb;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(59, 130, 246, 0.12);
	border-color: #3b82f6;
}

[data-theme="dark"] .nav-item {
	background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
	border-color: #374151;
}

[data-theme="dark"] .nav-item:hover {
	border-color: #60a5fa;
	box-shadow: 0 8px 16px rgba(96, 165, 250, 0.15);
}

.nav-item a {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.nav-thumb {
	position: relative;
	width: 100%;
	height: 90px;
	background-size: cover;
	background-position: center;
	background-color: #f3f4f6;
	overflow: hidden;
}

[data-theme="dark"] .nav-thumb {
	background-color: #111827;
}

.nav-thumb::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
	opacity: 0;
	transition: opacity 0.3s;
}

.nav-item:hover .nav-thumb::after {
	opacity: 1;
}

.nav-content {
	padding: 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1;
	position: relative;
	z-index: 1;
}

.nav-label {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.7rem;
	font-weight: 700;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

[data-theme="dark"] .nav-label {
	color: #9ca3af;
}

.nav-label svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	transition: transform 0.3s;
}

.nav-prev:hover .nav-label svg {
	transform: translateX(-4px);
}

.nav-next:hover .nav-label svg {
	transform: translateX(4px);
}

/* محاذاة المحتوى */
.nav-prev .nav-content {
	align-items: flex-start;
	text-align: left;
}

.nav-next .nav-content {
	align-items: flex-end;
	text-align: right;
}

.nav-prev .nav-label {
	justify-content: flex-start;
}

.nav-next .nav-label {
	justify-content: flex-end;
	flex-direction: row-reverse;
}

.nav-prev .nav-category {
	align-self: flex-start;
}

.nav-next .nav-category {
	align-self: flex-end;
}

.nav-prev .nav-title {
	text-align: left;
}

.nav-next .nav-title {
	text-align: right;
}

.nav-category {
	display: inline-flex;
	align-items: center;
	font-size: 0.65rem;
	font-weight: 700;
	color: white;
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	padding: 0.3rem 0.7rem;
	border-radius: 6px;
	align-self: flex-start;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-shadow: 0 1px 3px rgba(59, 130, 246, 0.3);
}

.nav-title {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.4;
	color: #1f2937;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s;
}

[data-theme="dark"] .nav-title {
	color: #f9fafb;
}

.nav-item:hover .nav-title {
	color: #3b82f6;
}

[data-theme="dark"] .nav-item:hover .nav-title {
	color: #60a5fa;
}

[data-theme="dark"] .nav-item a::after {
	color: #374151;
}

.nav-item:hover a::after {
	color: #3b82f6;
	transform: scale(1.15);
}

[data-theme="dark"] .nav-item:hover a::after {
	color: #60a5fa;
}

/* تحسين responsive */
@media (max-width: 640px) {
	.nav-content {
		padding: 0.875rem 1rem;
	}
	
	.nav-title {
		font-size: 0.875rem;
	}
	
	.nav-thumb {
		height: 80px;
	}
	
	.nav-item a {
		min-height: 130px;
	}
	
	.nav-item a::after {
		font-size: 1.1rem;
		bottom: 0.875rem;
	}
	
	.nav-label {
		font-size: 0.65rem;
	}
	
	.nav-category {
		font-size: 0.6rem;
		padding: 0.25rem 0.6rem;
	}
}

/* ========================================
   ENTRY META EDUCATIVO
   ======================================== */

.single-leccion .educational-meta {
	padding: 2rem 0 0;
	margin-top: 3rem;
	border-top: 2px solid #e5e7eb;
}

[data-theme="dark"] .single-leccion .educational-meta {
	border-top-color: #374151;
}

.entry-tags-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.tags-label {
	font-weight: 700;
	color: #1f2937;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	min-width: fit-content;
}

[data-theme="dark"] .tags-label {
	color: #f9fafb;
}

.tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.tag-item {
	padding: 0.5rem 1rem;
	background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
	color: #374151;
	border-radius: 8px;
	text-decoration: none;
	font-size: 0.875rem;
	transition: all 0.3s;
	font-weight: 600;
	border: 1px solid #d1d5db;
}

.tag-item:hover {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
	border-color: #3b82f6;
}

[data-theme="dark"] .tag-item {
	background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
	color: #d1d5db;
	border-color: #4b5563;
}

[data-theme="dark"] .tag-item:hover {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	color: white;
	border-color: #2563eb;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
	.single-leccion .entry-title {
		font-size: 1.75rem;
	}
	
	.single-leccion .entry-content {
		font-size: 1rem;
	}
	
	.single-leccion .entry-content > p:first-of-type {
		font-size: 1.0625rem;
	}
	
	.single-leccion .entry-content h2 {
		font-size: 1.5rem;
		margin-top: 2rem;
	}
	
	.single-leccion .entry-content h3 {
		font-size: 1.25rem;
		margin-top: 1.75rem;
	}
	
	.single-leccion .entry-content h4 {
		font-size: 1.0625rem;
	}
	
	.single-leccion .entry-content pre {
		padding: 1.25rem;
	}
	
	.single-leccion .entry-content ul,
	.single-leccion .entry-content ol {
		padding-right: 1.5rem;
	}
	
	.single-leccion .lesson-meta {
		gap: 0.75rem;
	}
	
	.single-leccion .lesson-share-buttons {
		width: 100%;
		justify-content: space-between;
	}
}

@media (max-width: 480px) {
	.single-leccion .entry-title {
		font-size: 1.5rem;
	}
	
	.single-leccion .entry-content {
		font-size: 0.9375rem;
	}
	
	.single-leccion .entry-content h2 {
		font-size: 1.375rem;
	}
	
	.single-leccion .entry-content h3 {
		font-size: 1.125rem;
	}
	
	.single-leccion .entry-content h4 {
		font-size: 1rem;
	}
	
	.single-leccion .lesson-meta > span,
	.single-leccion .lesson-share-buttons {
		font-size: 0.8125rem;
		padding: 0.5rem 0.75rem;
	}
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
	.single-leccion .entry-content {
		font-size: 12pt;
		line-height: 1.6;
	}
	
	.single-leccion .entry-content h2 {
		page-break-after: avoid;
	}
	
	.single-leccion .entry-content pre {
		page-break-inside: avoid;
	}
	
	.nav-wrapper,
	.share-icons-inner-post {
		display: none;
	}
}
