/**
 * blog.css — Estilos de la Sección de Blog, Archivo (/blog/), Single Post y Barra Lateral.
 *
 * Cuadrícula de artículos, Hero Banner temático, Sidebar de widgets,
 * paginación numérica, diseño responsive y soporte integral de Modo Oscuro.
 *
 * @package Machupicchu_Travel_Narcy
 * @since   1.0.0
 */

/* -------------------------------------------------------------------------
 * 1. Sección de Blog en la Portada (Front Page)
 * ---------------------------------------------------------------------- */
.section-blog {
	position: relative;
	background-color: var(--mtn-bg, #ffffff);
	padding: clamp(60px, 7vw, 96px) 0;
	transition: background-color 0.3s ease;
	border-top: 1px solid var(--mtn-border-light, #f0f3f0);
}

.blog-container {
	max-width: var(--mtn-header-max, 1600px);
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 48px);
}

.blog-header {
	max-width: 860px;
	margin: 0 auto clamp(36px, 5vw, 54px);
	text-align: center;
}

.blog-eyebrow {
	display: inline-block;
	font-family: var(--mtn-font-body);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--mtn-green, #1a7a3c);
	background: var(--mtn-green-light, #f0f8f2);
	padding: 5px 14px;
	border-radius: 20px;
	margin-bottom: 14px;
	transition: all 0.3s ease;
}

.blog-main-title {
	font-family: var(--mtn-font-heading);
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	line-height: 1.25;
	margin: 0 0 16px;
	letter-spacing: -0.5px;
	transition: color 0.3s ease;
}

.blog-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 auto 20px;
	width: 120px;
}

.blog-divider-line {
	flex: 1;
	height: 1px;
	background: #dc3545;
	opacity: 0.5;
}

.blog-divider-dash {
	width: 24px;
	height: 3.5px;
	background: #b91c1c;
	border-radius: 2px;
}

.blog-subtitle {
	font-family: var(--mtn-font-body);
	font-size: clamp(14px, 1.1vw, 15.5px);
	line-height: 1.65;
	color: var(--mtn-muted, #5b665b);
	margin: 0 auto;
	max-width: 800px;
	text-align: center;
	transition: color 0.3s ease;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2.5vw, 30px);
}

/* -------------------------------------------------------------------------
 * 2. Tarjetas de Artículos (.blog-card)
 * ---------------------------------------------------------------------- */
.blog-card {
	background: var(--mtn-bg-card, #ffffff);
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
				box-shadow 0.35s ease,
				border-color 0.3s ease,
				background-color 0.3s ease;
}

.blog-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
	border-color: rgba(26, 122, 60, 0.4);
}

.blog-card-media {
	position: relative;
	width: 100%;
	height: 230px;
	overflow: hidden;
	background: #142016;
}

.blog-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img {
	transform: scale(1.08);
}

.blog-badge-cat {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--mtn-green, #1a7a3c);
	color: #ffffff;
	font-family: var(--mtn-font-body);
	font-size: 11.5px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	letter-spacing: 0.3px;
	pointer-events: none;
	z-index: 2;
}

.blog-card-body {
	padding: clamp(20px, 2vw, 26px);
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.blog-meta-top {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mtn-font-body);
	font-size: 12.5px;
	color: var(--mtn-muted, #5b665b);
	margin-bottom: 12px;
}

.blog-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.blog-meta-item svg,
.blog-meta-item .mtn-icon {
	color: var(--mtn-green, #1a7a3c);
	flex-shrink: 0;
}

.blog-card-title {
	font-family: var(--mtn-font-heading);
	font-size: clamp(17px, 1.25vw, 19px);
	font-weight: 700;
	line-height: 1.38;
	margin: 0 0 12px;
	letter-spacing: -0.2px;
}

.blog-card-title a {
	color: var(--mtn-heading, #142016);
	text-decoration: none;
	transition: color 0.2s ease;
}

.blog-card-title a:hover {
	color: var(--mtn-green, #1a7a3c);
}

.blog-card-excerpt {
	font-family: var(--mtn-font-body);
	font-size: 14px;
	line-height: 1.65;
	color: var(--mtn-muted, #5b665b);
	margin: 0 0 20px;
	flex-grow: 1;
}

.blog-card-footer {
	padding-top: 14px;
	border-top: 1px solid var(--mtn-border-light, #f0f3f0);
}

.blog-link-read {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mtn-font-body);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--mtn-green, #1a7a3c);
	text-decoration: none;
	transition: color 0.2s ease, gap 0.2s ease;
}

.blog-link-read .btn-arrow,
.blog-link-read .blog-arrow {
	transition: transform 0.2s ease;
	font-size: 15px;
	line-height: 1;
}

.blog-link-read:hover {
	color: var(--mtn-orange, #f4611e);
	gap: 9px;
}

.blog-link-read:hover .btn-arrow,
.blog-link-read:hover .blog-arrow {
	transform: translateX(4px);
}

/* Botón inferior en portada */
.blog-action-wrap {
	margin-top: clamp(36px, 4.5vw, 54px);
	text-align: center;
}

.blog-btn-all {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 30px;
	background: var(--mtn-green, #1a7a3c);
	color: #ffffff !important;
	font-family: var(--mtn-font-body);
	font-size: 14px;
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(26, 122, 60, 0.3);
	transition: all 0.25s ease;
}

.blog-btn-all:hover,
.blog-btn-all:focus-visible {
	background: var(--mtn-green-dark, #14612f);
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(26, 122, 60, 0.45);
}

.blog-btn-arrow {
	transition: transform 0.2s ease;
	font-size: 16px;
	line-height: 1;
}

.blog-btn-all:hover .blog-btn-arrow {
	transform: translateX(4px);
}

/* -------------------------------------------------------------------------
 * 3. Catálogo y Archivo del Blog (/blog/, home.php, archive.php, search.php)
 * ---------------------------------------------------------------------- */
.blog-archive-page {
	background-color: var(--mtn-bg, #ffffff);
	min-height: 100vh;
	transition: background-color 0.3s ease;
}

.blog-hero-banner {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 460px;
	display: flex;
	align-items: center;
	padding: clamp(70px, 8vw, 110px) 0;
	color: #ffffff;
	box-sizing: border-box;
}

.blog-archive-page .container,
.blog-hero-banner .archive-hero-container,
.blog-main-container {
	width: 100%;
	max-width: var(--mtn-header-max, 1600px);
	margin-inline: auto !important;
	padding-inline: clamp(16px, 4vw, 48px) !important;
	box-sizing: border-box !important;
}

.blog-hero-banner .archive-hero-metrics {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 12px !important;
	margin-top: 24px !important;
}

.blog-hero-banner .hero-metric-pill {
	background: rgba(18, 30, 21, 0.75) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-radius: 999px !important;
	padding: 8px 18px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

.blog-main-container {
	padding-top: clamp(40px, 5vw, 64px) !important;
	padding-bottom: clamp(40px, 5vw, 64px) !important;
}

.blog-layout-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: clamp(30px, 3.5vw, 48px);
	align-items: start;
}

.blog-main-content {
	min-width: 0;
}

.blog-archive-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(24px, 2.5vw, 32px);
}

/* Paginación Numérica */
.blog-pagination {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--mtn-border, #e8ebe8);
	display: flex;
	justify-content: center;
}

.blog-pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: 8px;
	background: var(--mtn-bg-card, #ffffff);
	border: 1px solid var(--mtn-border, #e8ebe8);
	color: var(--mtn-heading, #142016);
	font-family: var(--mtn-font-body);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.blog-pagination .page-numbers:hover {
	border-color: var(--mtn-green, #1a7a3c);
	color: var(--mtn-green, #1a7a3c);
	background: var(--mtn-green-light, #f0f8f2);
}

.blog-pagination .page-numbers.current {
	background: var(--mtn-green, #1a7a3c);
	border-color: var(--mtn-green, #1a7a3c);
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(26, 122, 60, 0.3);
}

.blog-pagination .page-numbers.dots {
	border: none;
	background: transparent;
	color: var(--mtn-muted, #5b665b);
}

/* Empty State / No Posts Found */
.no-posts-found-box {
	text-align: center;
	padding: 60px 24px;
	background: var(--mtn-bg-card, #ffffff);
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 16px;
}

.no-posts-found-box h3 {
	font-size: 22px;
	margin: 0 0 12px;
	color: var(--mtn-heading, #142016);
}

.no-posts-found-box p {
	color: var(--mtn-muted, #5b665b);
	margin: 0 0 24px;
	font-size: 15px;
}

.btn-blog-back {
	display: inline-flex;
	align-items: center;
	padding: 12px 24px;
	background: var(--mtn-green, #1a7a3c);
	color: #ffffff !important;
	font-weight: 700;
	font-size: 14px;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.btn-blog-back:hover {
	background: var(--mtn-green-dark, #14612f);
}

/* -------------------------------------------------------------------------
 * 4. Barra Lateral del Blog (Sidebar de Widgets)
 * ---------------------------------------------------------------------- */
.blog-sidebar {
	display: flex;
	flex-direction: column;
	gap: 28px;
	position: sticky;
	top: 24px;
}

.blog-widget {
	background: var(--mtn-bg-card, #ffffff);
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.blog-widget-title {
	font-family: var(--mtn-font-heading);
	font-size: 16px;
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--mtn-green-light, #f0f8f2);
	position: relative;
	letter-spacing: -0.2px;
}

.blog-widget-title::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 36px;
	height: 2px;
	background: var(--mtn-green, #1a7a3c);
	border-radius: 2px;
}

/* Widget: Buscador */
.blog-search-input-wrap {
	display: flex;
	align-items: center;
	background: var(--mtn-bg, #ffffff);
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 8px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search-input-wrap:focus-within {
	border-color: var(--mtn-green, #1a7a3c);
	box-shadow: 0 0 0 3px rgba(26, 122, 60, 0.12);
}

.blog-search-input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 11px 14px;
	font-family: var(--mtn-font-body);
	font-size: 13.5px;
	color: var(--mtn-heading, #142016);
	outline: none;
}

.blog-search-btn {
	background: var(--mtn-green, #1a7a3c);
	border: none;
	color: #ffffff;
	padding: 0 16px;
	height: 42px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.blog-search-btn:hover {
	background: var(--mtn-green-dark, #14612f);
}

/* Widget: Sobre los Expertos Locales */
.author-widget-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.author-widget-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--mtn-green, #1a7a3c);
	box-shadow: 0 4px 12px rgba(26, 122, 60, 0.2);
}

.author-widget-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.author-widget-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.author-widget-name {
	font-family: var(--mtn-font-heading);
	font-size: 15.5px;
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	margin: 0;
}

.author-widget-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--mtn-green, #1a7a3c);
	background: var(--mtn-green-light, #f0f8f2);
	padding: 3px 10px;
	border-radius: 12px;
	width: fit-content;
}

.author-widget-badge .mtn-icon {
	color: var(--mtn-yellow, #f2c230);
}

.author-widget-bio {
	font-size: 13px;
	line-height: 1.6;
	color: var(--mtn-muted, #5b665b);
	margin: 0;
}

.author-widget-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--mtn-border-light, #f0f3f0);
	text-align: center;
}

.author-stat strong {
	display: block;
	font-family: var(--mtn-font-heading);
	font-size: 14.5px;
	color: var(--mtn-green, #1a7a3c);
}

.author-stat span {
	font-size: 11px;
	font-weight: 600;
	color: var(--mtn-muted, #5b665b);
	text-transform: uppercase;
}

/* Widget: Categorías */
.blog-categories-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.blog-categories-list li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--mtn-text, #2c352e);
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 500;
	transition: all 0.2s ease;
}

.blog-categories-list li a:hover {
	background: var(--mtn-green-light, #f0f8f2);
	color: var(--mtn-green, #1a7a3c);
	transform: translateX(4px);
}

.cat-count {
	font-size: 12px;
	font-weight: 700;
	background: var(--mtn-bg, #f8faf8);
	color: var(--mtn-muted, #5b665b);
	padding: 2px 8px;
	border-radius: 12px;
	border: 1px solid var(--mtn-border, #e8ebe8);
	transition: all 0.2s ease;
}

.blog-categories-list li a:hover .cat-count {
	background: var(--mtn-green, #1a7a3c);
	color: #ffffff;
	border-color: var(--mtn-green, #1a7a3c);
}

/* Widget: Artículos Destacados / Recientes */
.blog-recent-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.recent-post-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.recent-post-thumb {
	flex-shrink: 0;
	width: 70px;
	height: 70px;
	border-radius: 8px;
	overflow: hidden;
	background: #142016;
}

.recent-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
	transform: scale(1.1);
}

.recent-post-content {
	flex: 1;
	min-width: 0;
}

.recent-post-date {
	display: block;
	font-size: 12px;
	color: var(--mtn-muted, #5b665b);
	margin-bottom: 4px;
}

.recent-post-title {
	font-family: var(--mtn-font-heading);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
}

.recent-post-title a {
	color: var(--mtn-heading, #142016);
	text-decoration: none;
	transition: color 0.15s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.recent-post-title a:hover {
	color: var(--mtn-green, #1a7a3c);
}

/* Widget: Banner CTA WhatsApp */
.blog-cta-widget {
	background: linear-gradient(135deg, #142016 0%, #1a7a3c 100%);
	border: none;
	color: #ffffff;
	text-align: center;
}

.cta-widget-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.cta-widget-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mtn-wa, #25d366);
	margin-bottom: 4px;
}

.cta-widget-title {
	font-family: var(--mtn-font-heading);
	font-size: 17px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
}

.cta-widget-desc {
	font-size: 13px;
	line-height: 1.5;
	color: #d1ded3;
	margin: 0 0 8px;
}

.btn-widget-wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 11px 18px;
	background: #25d366;
	color: #ffffff !important;
	font-weight: 700;
	font-size: 13.5px;
	border-radius: 999px;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
	transition: all 0.2s ease;
}

.btn-widget-wa:hover {
	background: #20ba59;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* Widget: Nube de Etiquetas */
.tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tag-cloud-link {
	display: inline-block;
	padding: 5px 11px;
	background: var(--mtn-bg, #f8faf8);
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 6px;
	font-size: 12px !important;
	color: var(--mtn-muted, #5b665b);
	text-decoration: none;
	transition: all 0.2s ease;
}

.tag-cloud-link:hover {
	background: var(--mtn-green, #1a7a3c);
	border-color: var(--mtn-green, #1a7a3c);
	color: #ffffff !important;
	transform: translateY(-1px);
}

/* -------------------------------------------------------------------------
 * 5. Entradas Individuales (Single Post)
 * ---------------------------------------------------------------------- */
.blog-single-hero {
	min-height: 480px;
	padding: clamp(80px, 9vw, 130px) 0 clamp(60px, 6vw, 85px);
}

.blog-single-hero-header {
	max-width: 960px;
	margin-bottom: 0;
}

.blog-single-title {
	font-size: clamp(28px, 4vw, 48px);
	line-height: 1.22;
	margin-bottom: 22px;
	font-family: var(--mtn-font-heading);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.blog-single-hero-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 24px;
	font-size: 13.5px;
	color: #e0ece2;
}

.hero-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.hero-meta-item svg,
.hero-meta-item .mtn-icon {
	color: #3ec774;
	flex-shrink: 0;
}

.hero-meta-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #3ec774;
	display: inline-flex;
}

.hero-meta-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-meta-author-name {
	font-weight: 700;
	color: #ffffff;
}

/* Barra de Compartir en Redes Sociales */
.single-share-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	padding: 16px 22px;
	background: var(--mtn-bg-card, #ffffff);
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 12px;
	margin-bottom: 32px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.share-label {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--mtn-muted, #5b665b);
}

.share-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.share-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid transparent;
	cursor: pointer;
}

.share-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-wa {
	background: #25d366;
	color: #ffffff !important;
}

.share-fb {
	background: #1877f2;
	color: #ffffff !important;
}

.share-tw {
	background: #000000;
	color: #ffffff !important;
}

.share-copy {
	background: var(--mtn-bg, #f8faf8);
	color: var(--mtn-heading, #142016) !important;
	border: 1px solid var(--mtn-border, #e8ebe8);
}

.share-copy.is-copied {
	background: var(--mtn-green, #1a7a3c);
	color: #ffffff !important;
	border-color: var(--mtn-green, #1a7a3c);
}

/* Artículo Individual: Contenedor y Tipografía Editorial */
.single-post-article {
	background: var(--mtn-bg-card, #ffffff);
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 16px;
	padding: clamp(24px, 4vw, 44px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	margin-bottom: 40px;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.single-post-content {
	font-size: 16.5px;
	line-height: 1.85;
	color: var(--mtn-text, #2c352e);
}

.single-post-content p {
	margin-bottom: 22px;
}

.single-post-content h2 {
	font-family: var(--mtn-font-heading);
	font-size: clamp(22px, 2.5vw, 28px);
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	margin: 40px 0 18px;
	padding-left: 14px;
	border-left: 4px solid var(--mtn-green, #1a7a3c);
	line-height: 1.3;
}

.single-post-content h3 {
	font-family: var(--mtn-font-heading);
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	margin: 32px 0 14px;
	line-height: 1.35;
}

.single-post-content blockquote {
	margin: 32px 0;
	padding: 22px 28px;
	background: var(--mtn-green-light, #f0f8f2);
	border-left: 4px solid var(--mtn-green, #1a7a3c);
	border-radius: 0 12px 12px 0;
	font-family: var(--mtn-font-heading);
	font-style: italic;
	font-size: 17px;
	color: var(--mtn-heading, #142016);
	line-height: 1.65;
}

.single-post-content ul,
.single-post-content ol {
	margin: 0 0 24px 20px;
	padding: 0;
}

.single-post-content li {
	margin-bottom: 10px;
	line-height: 1.7;
}

.single-post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 26px 0;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Etiquetas del Post */
.single-post-tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 24px;
	border-top: 1px solid var(--mtn-border-light, #f0f3f0);
	margin-top: 36px;
}

.tags-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--mtn-muted, #5b665b);
}

.tag-link {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 6px;
	background: var(--mtn-bg, #f8faf8);
	border: 1px solid var(--mtn-border, #e8ebe8);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--mtn-muted, #5b665b);
	text-decoration: none;
	transition: all 0.2s ease;
}

.tag-link:hover {
	background: var(--mtn-green, #1a7a3c);
	color: #ffffff !important;
	border-color: var(--mtn-green, #1a7a3c);
}

/* Caja de Autor del Artículo */
.single-author-box {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 24px;
	background: var(--mtn-bg, #f8faf8);
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 14px;
	margin-top: 36px;
}

.author-box-avatar {
	width: 75px;
	height: 75px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--mtn-green, #1a7a3c);
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(26, 122, 60, 0.2);
}

.author-box-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-box-kicker {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--mtn-green, #1a7a3c);
	display: block;
	margin-bottom: 4px;
}

.author-box-name {
	font-family: var(--mtn-font-heading);
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--mtn-heading, #142016);
}

.author-box-bio {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--mtn-muted, #5b665b);
	margin: 0;
}

/* Navegación entre Artículos */
.post-navigation {
	margin-bottom: 44px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 22px;
	background: var(--mtn-bg-card, #ffffff);
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.post-navigation a:hover {
	border-color: var(--mtn-green, #1a7a3c);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.nav-direction {
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--mtn-green, #1a7a3c);
}

.nav-title {
	font-family: var(--mtn-font-heading);
	font-size: 14.5px;
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Sección de Artículos Relacionados */
.blog-related-section {
	margin-bottom: 44px;
}

.related-section-title {
	font-family: var(--mtn-font-heading);
	font-size: 20px;
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	margin: 0 0 22px;
	position: relative;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--mtn-green-light, #f0f8f2);
}

.related-section-title::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 44px;
	height: 2px;
	background: var(--mtn-green, #1a7a3c);
	border-radius: 2px;
}

.blog-related-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.related-blog-card {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Sección de Comentarios */
.comments-area {
	background: var(--mtn-bg-card, #ffffff);
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 16px;
	padding: clamp(24px, 4vw, 40px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.comments-title {
	font-family: var(--mtn-font-heading);
	font-size: 20px;
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	margin: 0 0 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--mtn-green-light, #f0f8f2);
}

.comment-list {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.comment-body {
	padding: 20px;
	background: var(--mtn-bg, #f8faf8);
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 12px;
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}

.comment-author .avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid var(--mtn-green, #1a7a3c);
}

.comment-author .fn {
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	font-style: normal;
}

.comment-metadata a {
	font-size: 12.5px;
	color: var(--mtn-muted, #5b665b);
	text-decoration: none;
}

.comment-content {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--mtn-text, #2c352e);
}

.reply a {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: var(--mtn-green, #1a7a3c);
	text-decoration: none;
	margin-top: 8px;
}

#respond {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--mtn-border-light, #f0f3f0);
}

#reply-title {
	font-family: var(--mtn-font-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	margin-bottom: 10px;
}

.comment-notes {
	font-size: 13px;
	color: var(--mtn-muted, #5b665b);
	margin-bottom: 18px;
}

#commentform {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--mtn-border, #e8ebe8);
	border-radius: 8px;
	background: var(--mtn-bg, #f8faf8);
	color: var(--mtn-heading, #142016);
	font-family: var(--mtn-font-body);
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus {
	border-color: var(--mtn-green, #1a7a3c);
	box-shadow: 0 0 0 3px rgba(26, 122, 60, 0.12);
}

.btn-submit-comment {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 28px;
	background: var(--mtn-green, #1a7a3c);
	color: #ffffff !important;
	border: none;
	border-radius: 8px;
	font-family: var(--mtn-font-body);
	font-weight: 700;
	font-size: 14.5px;
	cursor: pointer;
	width: fit-content;
	box-shadow: 0 4px 14px rgba(26, 122, 60, 0.3);
	transition: background-color 0.2s, transform 0.2s;
}

.btn-submit-comment:hover {
	background: var(--mtn-green-dark, #14612f);
	transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
 * 6. Modo Oscuro
 * ---------------------------------------------------------------------- */
[data-theme="dark"] .section-blog,
.dark-mode .section-blog,
[data-theme="dark"] .blog-archive-page,
.dark-mode .blog-archive-page {
	background-color: var(--mtn-bg, #101512);
	border-top-color: var(--mtn-border, #233126);
}

[data-theme="dark"] .blog-card,
.dark-mode .blog-card,
[data-theme="dark"] .blog-widget,
.dark-mode .blog-widget,
[data-theme="dark"] .no-posts-found-box,
.dark-mode .no-posts-found-box,
[data-theme="dark"] .post-navigation a,
.dark-mode .post-navigation a,
[data-theme="dark"] .single-post-article,
.dark-mode .single-post-article,
[data-theme="dark"] .single-share-bar,
.dark-mode .single-share-bar,
[data-theme="dark"] .comments-area,
.dark-mode .comments-area {
	background: var(--mtn-bg-card, #18221b);
	border-color: var(--mtn-border, #233126);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .single-author-box,
.dark-mode .single-author-box,
[data-theme="dark"] .comment-body,
.dark-mode .comment-body {
	background: #121814;
	border-color: var(--mtn-border, #233126);
}

[data-theme="dark"] .single-post-content blockquote,
.dark-mode .single-post-content blockquote {
	background: #15271c;
	border-left-color: #3ec774;
}

[data-theme="dark"] .comment-form-comment textarea,
.dark-mode .comment-form-comment textarea,
[data-theme="dark"] .comment-form-author input,
.dark-mode .comment-form-author input,
[data-theme="dark"] .comment-form-email input,
.dark-mode .comment-form-email input {
	background: #121814;
	border-color: var(--mtn-border, #233126);
	color: #f1f8f3;
}

[data-theme="dark"] .share-copy,
.dark-mode .share-copy,
[data-theme="dark"] .tag-link,
.dark-mode .tag-link {
	background: #121814;
	border-color: var(--mtn-border, #233126);
	color: var(--mtn-text, #d8e2d9) !important;
}

[data-theme="dark"] .related-section-title,
.dark-mode .related-section-title,
[data-theme="dark"] .comments-title,
.dark-mode .comments-title {
	border-bottom-color: #1b261e;
}

[data-theme="dark"] #respond,
.dark-mode #respond,
[data-theme="dark"] .single-post-tags,
.dark-mode .single-post-tags {
	border-top-color: var(--mtn-border-light, #1b261e);
}

[data-theme="dark"] .blog-card:hover,
.dark-mode .blog-card:hover,
[data-theme="dark"] .post-navigation a:hover,
.dark-mode .post-navigation a:hover {
	border-color: var(--mtn-green, #3ec774);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .blog-card-footer,
.dark-mode .blog-card-footer,
[data-theme="dark"] .blog-pagination,
.dark-mode .blog-pagination,
[data-theme="dark"] .post-navigation,
.dark-mode .post-navigation {
	border-top-color: var(--mtn-border-light, #1b261e);
}

[data-theme="dark"] .blog-eyebrow,
.dark-mode .blog-eyebrow {
	background: #15271c;
	color: #3ec774;
}

[data-theme="dark"] .blog-search-input-wrap,
.dark-mode .blog-search-input-wrap {
	background: #121814;
	border-color: var(--mtn-border, #233126);
}

[data-theme="dark"] .blog-search-input,
.dark-mode .blog-search-input {
	color: #f1f8f3;
}

[data-theme="dark"] .blog-categories-list li a,
.dark-mode .blog-categories-list li a {
	color: var(--mtn-text, #d8e2d9);
}

[data-theme="dark"] .blog-categories-list li a:hover,
.dark-mode .blog-categories-list li a:hover {
	background: #1e2c22;
	color: var(--mtn-green, #3ec774);
}

[data-theme="dark"] .cat-count,
.dark-mode .cat-count,
[data-theme="dark"] .tag-cloud-link,
.dark-mode .tag-cloud-link,
[data-theme="dark"] .blog-pagination .page-numbers,
.dark-mode .blog-pagination .page-numbers {
	background: #121814;
	border-color: var(--mtn-border, #233126);
	color: var(--mtn-text, #d8e2d9);
}

[data-theme="dark"] .blog-pagination .page-numbers:hover,
.dark-mode .blog-pagination .page-numbers:hover {
	border-color: var(--mtn-green, #3ec774);
	color: var(--mtn-green, #3ec774);
	background: #1e2c22;
}

[data-theme="dark"] .blog-pagination .page-numbers.current,
.dark-mode .blog-pagination .page-numbers.current {
	background: var(--mtn-green, #3ec774);
	border-color: var(--mtn-green, #3ec774);
	color: #101512 !important;
}

[data-theme="dark"] .blog-widget-title,
.dark-mode .blog-widget-title {
	border-bottom-color: #1b261e;
}

[data-theme="dark"] .author-widget-badge,
.dark-mode .author-widget-badge {
	background: #15271c;
	color: #3ec774;
}

[data-theme="dark"] .author-widget-stats,
.dark-mode .author-widget-stats {
	border-top-color: var(--mtn-border-light, #1b261e);
}

/* -------------------------------------------------------------------------
 * 7. Responsividad
 * ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.blog-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.blog-layout-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.blog-sidebar {
		position: static;
	}
}

@media (max-width: 768px) {
	.blog-archive-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.blog-card-media {
		height: 210px;
	}
}

@media (max-width: 640px) {
	.blog-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.blog-card-media {
		height: 200px;
	}
}
