/* ============================================================
   EL BURGADO · v2 ADDITIONS
   Estilos para las clases nuevas que reemplazan los inline-styles del v1.
   Mantiene el aspecto visual idéntico al original.
   ============================================================ */

/* === Wrappers genéricos === */
.eb-content { background: var(--bg); }
.eb-main { display: block; }

/* === Hero principal oscuro === */
.eb-hero {
	background: var(--navy);
	color: #fff;
	padding: 88px 32px 96px;
	background-size: cover;
	background-position: center;
}
.eb-hero-inner {
	max-width: 1100px;
	margin: 0 auto;
}
.eb-hero-tags {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.eb-hero-title {
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 900;
	font-size: clamp(40px, 6vw, 80px);
	line-height: 0.95;
	letter-spacing: -0.03em;
	margin: 0 0 20px;
	color: #fff;
}
.eb-hero-title a { color: inherit; text-decoration: none; }
.eb-hero-title a:hover { color: var(--blue); }
.eb-hero-subtitle {
	font-family: 'Source Serif 4', Georgia, serif;
	font-style: italic;
	font-size: clamp(18px, 2vw, 24px);
	line-height: 1.4;
	color: rgba(255,255,255,0.85);
	margin: 0 0 28px;
	max-width: 760px;
}
.eb-hero-meta {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.7);
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.eb-hero-meta .sep { opacity: 0.5; }

/* === Tags (etiquetas) === */
.eb-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	padding: 6px 10px;
	border-radius: 2px;
}
.eb-tag--seccion { background: var(--red); color: #fff; }
.eb-tag--breaking {
	background: transparent;
	border: 1px solid var(--border);
	color: var(--fg3);
}
.eb-tag--breaking .eb-pulse {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--red-live);
	animation: ebPulse 1.4s ease-in-out infinite;
}
.eb-tag--neutral {
	background: transparent;
	border: 1px solid var(--border);
	color: var(--fg2);
}

/* === Breadcrumb === */
.eb-breadcrumb {
	max-width: 1280px;
	margin: 0 auto;
	padding: 24px 32px 0;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--fg3);
}
.eb-breadcrumb a { color: var(--fg3); text-decoration: none; }
.eb-breadcrumb a:hover { color: var(--blue); }
.eb-breadcrumb .sep { margin: 0 10px; opacity: 0.4; }

/* === Article header & body === */
.eb-progress {
	position: sticky;
	top: 72px;
	z-index: 49;
	height: 3px;
	background: transparent;
}
.eb-progress #progress-bar {
	height: 100%;
	background: var(--blue);
	width: 0%;
	transition: width 80ms linear;
}
.eb-article-tags {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.eb-article-figure {
	max-width: 1100px;
	margin: 0 auto 16px;
	padding: 0 32px;
}
.eb-article-figure img {
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
	object-fit: cover;
	border-radius: 3px;
}
.eb-article-caption {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	padding: 0 4px;
	gap: 16px;
}
.eb-article-caption .caption {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 13px;
	color: var(--fg3);
}
.eb-article-caption .credit {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--fg3);
	white-space: nowrap;
}
.eb-article-grid {
	display: grid;
	grid-template-columns: 1fr minmax(0, 680px) 1fr;
	gap: 40px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
}
.eb-article-share-rail {
	display: flex;
	justify-content: flex-end;
}
.eb-article-toc-rail > * + * { margin-top: 32px; }
.eb-article-toc {
	position: sticky;
	top: 120px;
}
.eb-article-toc-title {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--blue);
	font-weight: 700;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border-light);
}
.eb-article-toc-list a:hover { color: var(--blue) !important; }

/* === Tags al pie del artículo === */
.eb-article-tags-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 48px 0 24px;
	padding-top: 32px;
	border-top: 1px solid var(--border-light);
}
.eb-tag-link {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: var(--fg2);
	border: 1px solid var(--border);
	padding: 6px 12px;
	border-radius: 2px;
	text-decoration: none;
	transition: all 200ms;
}
.eb-tag-link:hover { color: var(--blue); border-color: var(--blue); }

/* === Byline === */
.eb-article-byline {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid var(--border-light);
	border-bottom: 1px solid var(--border-light);
	flex-wrap: wrap;
}
.eb-byline-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, #003B7A 0%, #0065CB 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 900;
	font-size: 16px;
	flex-shrink: 0;
	overflow: hidden;
}
.eb-byline-avatar img { width: 100%; height: 100%; object-fit: cover; }
.eb-byline-author { flex: 1; min-width: 140px; }
.eb-byline-name {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: var(--fg);
}
.eb-byline-role {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg3);
	margin-top: 3px;
}
.eb-byline-stats {
	display: flex;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg3);
	gap: 0;
	flex-wrap: wrap;
}
.eb-byline-stat {
	padding: 0 18px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.eb-byline-stat + .eb-byline-stat { border-left: 1px solid var(--border-light); }
.eb-byline-stat .num {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700;
	font-size: 13px;
	color: var(--fg);
	letter-spacing: 0;
	text-transform: none;
}
.eb-byline-share-mini { display: flex; gap: 8px; }

/* === Botones de compartir === */
.eb-share { display: flex; gap: 10px; align-items: center; }
.eb-share--rail {
	flex-direction: column;
	position: sticky;
	top: 120px;
	padding-top: 8px;
	width: 48px;
}
.eb-share-label {
	font-family: 'JetBrains Mono', monospace;
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--fg3);
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	margin-bottom: 8px;
	font-weight: 700;
}
.eb-share a, .eb-share button {
	width: 38px; height: 38px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: transparent;
	display: flex; align-items: center; justify-content: center;
	color: var(--fg2);
	transition: all 200ms;
	cursor: pointer;
}
.eb-share a:hover, .eb-share button:hover {
	color: var(--blue);
	border-color: var(--blue);
}
.eb-share--compact a, .eb-share--compact button { width: 30px; height: 30px; }
.eb-share--compact .eb-share-label { display: none; }

/* === Cabecera de sección (category) === */
.eb-sec-head {
	background: #fff;
	border-bottom: 1px solid var(--border);
	padding: 64px 32px 48px;
}
.eb-sec-head-inner {
	max-width: 1280px;
	margin: 0 auto;
}
.eb-sec-kicker {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--fg3);
	font-weight: 700;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.eb-sec-bar { display: inline-block; width: 32px; height: 2px; background: currentColor; }
.eb-sec-title {
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 900;
	font-size: clamp(48px, 8vw, 96px);
	line-height: 0.85;
	letter-spacing: -0.04em;
	color: var(--fg);
	margin: 0 0 24px;
	text-transform: uppercase;
}
.eb-sec-desc {
	font-family: 'Source Serif 4', Georgia, serif;
	font-style: italic;
	font-size: 20px;
	line-height: 1.5;
	color: var(--fg2);
	max-width: 680px;
	margin: 0 0 28px;
}
.eb-sec-stats {
	display: flex;
	gap: 24px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg3);
}
.eb-sec-stat .num {
	display: block;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: var(--fg);
	letter-spacing: 0;
	text-transform: none;
}
.eb-section-kicker {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--fg3);
	margin-bottom: 8px;
}

/* === Reels grid === */
.eb-reels-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}
.eb-reel {
	display: block;
	position: relative;
	aspect-ratio: 9/16;
	border-radius: 3px;
	overflow: hidden;
	background: linear-gradient(180deg, #1a2436 0%, #0a0f1a 100%);
}
.eb-reel-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.eb-reel-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
}
.eb-reel-meta {
	position: absolute;
	bottom: 16px;
	left: 16px;
	right: 16px;
}
.eb-reel-kicker {
	font-family: 'JetBrains Mono', monospace;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.7);
}
.eb-reel-title {
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 800;
	font-size: 16px;
	color: #fff;
	margin: 6px 0 0;
	line-height: 1.1;
}

/* === Search === */
.eb-search-inline { margin-top: 24px; max-width: 480px; }
.eb-searchform { display: flex; gap: 8px; }
.eb-searchform input[type="search"] {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: 3px;
	font-family: 'Instrument Sans', sans-serif;
	font-size: 14px;
}
.eb-searchform input[type="search"]:focus {
	outline: 2px solid var(--blue);
	outline-offset: -2px;
}

/* === Page === */
.eb-page-container { max-width: 760px; padding: 48px 32px; }
.eb-page-title {
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 900;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 0.95;
	letter-spacing: -0.03em;
	margin: 0 0 32px;
}
.eb-page-figure { margin: 0 0 32px; }
.eb-page-figure img { width: 100%; height: auto; border-radius: 3px; }
.eb-page-content {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 18px;
	line-height: 1.7;
	color: var(--fg);
}

/* === 404 === */
.eb-404-container {
	max-width: 640px;
	padding: 96px 32px;
	text-align: center;
}
.eb-404-kicker {
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 900;
	font-size: 120px;
	line-height: 1;
	color: var(--blue);
	margin: 0 0 24px;
}
.eb-404-title {
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 800;
	font-size: 40px;
	margin: 0 0 16px;
}
.eb-404-desc {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 18px;
	color: var(--fg2);
	margin-bottom: 32px;
}
.eb-404-search { margin: 32px auto; max-width: 480px; }

/* === Archive === */
.eb-archive { padding: 48px 32px; }
.eb-archive-header { margin-bottom: 32px; }
.eb-archive-title {
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 900;
	font-size: clamp(36px, 5vw, 64px);
	letter-spacing: -0.03em;
	margin: 0;
}

/* === Newsletter helpers === */
.eb-newsletter-fineprint {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg3);
	margin-top: 14px;
}

/* === Logo fallback texto === */
.eb-logo-text {
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 900;
	font-size: 22px;
	color: var(--navy);
	letter-spacing: -0.03em;
	line-height: 1;
}
.eb-logo-text--light { color: #fff; }

/* === Footer social === */
.eb-footer-social { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.eb-footer-social a {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.7);
	text-decoration: none;
}
.eb-footer-social a:hover { color: #fff; }

/* === Mobile menu CTA === */
.eb-mobile-cta { color: var(--blue) !important; }

/* === Card placeholder === */
.eb-card-img-placeholder {
	display: block;
	width: 100%;
	height: 200px;
	background: linear-gradient(135deg, #1a2436 0%, #374151 100%);
}

/* === Ad zones === */
.ad-inline {
	margin: 32px 0;
	padding: 0;
	text-align: center;
}
.ad-inline .ad-box {
	display: inline-flex;
	min-width: 320px;
	max-width: 728px;
	width: 100%;
}
.ad-sidebar { margin-top: 32px; }
.ad-image-link {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
}
.ad-image-link img,
.ad-box > img {
	max-width: 100%;
	height: auto;
	display: block;
}
.ad-claim {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg3);
	margin-top: 6px;
}

/* === Rankings === */
.eb-rank-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #5B21B6;
	color: #fff;
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 900;
	font-size: 18px;
	padding: 6px 12px;
	border-radius: 2px;
	letter-spacing: 0.04em;
	z-index: 2;
}
.eb-rank-tag {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #5B21B6;
	font-weight: 700;
}
.eb-rank-stats {
	display: flex;
	gap: 0;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg3);
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--border-light);
	flex-wrap: wrap;
}
.eb-rank-cta { margin-top: 32px; text-align: center; }

/* === Utilidades · tarjetas con icono === */
.eb-card--tool .eb-tool-link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}
.eb-tool-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 140px;
	background: linear-gradient(135deg, #f0f4ff 0%, #e6efff 100%);
	font-size: 56px;
	color: #1A6BFF;
}
.eb-tool-icon .dashicons { font-size: 56px; width: 56px; height: 56px; }
.eb-tool-thumb { width: 100%; height: 100%; object-fit: cover; }

.eb-utilidad-icon {
	font-size: 96px;
	line-height: 1;
	margin-bottom: 24px;
	color: #1A6BFF;
}
.eb-utilidad-icon .dashicons { font-size: 96px; width: 96px; height: 96px; }

/* === Filtros archive (chips) === */
.eb-section-filters {
	background: #fff;
	border-bottom: 1px solid var(--border);
	padding: 16px 0;
}
.eb-filters-inner {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	overflow-x: auto;
	padding: 0 32px;
}
.eb-filter {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--fg2);
	border: 1px solid var(--border);
	padding: 8px 14px;
	border-radius: 2px;
	text-decoration: none;
	white-space: nowrap;
	transition: all 200ms;
}
.eb-filter:hover { color: var(--blue); border-color: var(--blue); }
.eb-filter.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* === Card position relative para badges === */
.eb-card { position: relative; }

/* === Pagination === */
.eb-page-numbers, .navigation.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 48px 0;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.1em;
}
.navigation.pagination a, .navigation.pagination span {
	padding: 8px 14px;
	border: 1px solid var(--border);
	color: var(--fg2);
	text-decoration: none;
	border-radius: 2px;
}
.navigation.pagination .current,
.navigation.pagination a:hover {
	background: var(--blue);
	color: #fff;
	border-color: var(--blue);
}

/* === Section variants === */
.eb-section--alt { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.eb-section--dark { background: var(--navy); color: #fff; }

/* === Article body capitular (drop cap) === */
.eb-article-body > p:first-of-type::first-letter,
.eb-article-body > .wp-block-paragraph:first-of-type::first-letter {
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 900;
	font-size: 5em;
	float: left;
	line-height: 0.85;
	margin: 8px 12px 0 0;
	color: var(--fg);
}

/* === Page links (artículo paginado) === */
.eb-page-links {
	margin: 32px 0;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* === Responsive · móvil === */
@media (max-width: 1024px) {
	.eb-article-grid {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 0 24px;
	}
	.eb-article-share-rail { display: none; }
	.eb-article-toc-rail { order: 99; }
	.eb-reels-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
	.eb-hero { padding: 56px 24px 64px; }
	.eb-sec-head { padding: 40px 24px 32px; }
	.eb-byline-stats { flex-wrap: wrap; gap: 12px 0; }
	.eb-byline-stat { padding: 0 12px; }
	.eb-reels-grid { grid-template-columns: repeat(2, 1fr); }
	.eb-article-figure { padding: 0 16px; }
	.eb-archive { padding: 32px 24px; }
}
