/* ==========================================================================
   Dominicana al Día — estilos v2
   1. Tokens · 2. Base · 3. Utilidades · 4. Cabecera · 5. Mega menú y búsqueda
   6. Tendencias y última hora · 7. Tarjetas · 8. Bloques de portada
   9. Barra lateral · 10. Archivos · 11. Artículo · 12. Pie · 13. Modo oscuro
   14. Movimiento · 15. Impresión
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--brand: #0b3d91;
	--brand-ink: #082c6b;
	--brand-soft: #e7eefb;
	--accent: #d21f2f;
	--sun: #f5b301;
	--ink: #0d1424;
	--ink-2: #334155;
	--muted: #667085;
	--bg: #ffffff;
	--surface: #f3f5f9;
	--surface-2: #e9edf4;
	--line: #e3e8ef;
	--shadow: 0 1px 2px rgb(13 20 36 / .05), 0 12px 32px -14px rgb(13 20 36 / .22);
	--radius: 14px;
	--radius-sm: 9px;
	--font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1280px;
	--gutter: 16px;
	--nav-h: 56px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--overlay: linear-gradient(180deg, rgb(4 10 26 / 0) 25%, rgb(4 10 26 / .5) 55%, rgb(4 10 26 / .94));
	color-scheme: light;
}
.radius-soft { --radius: 7px; --radius-sm: 5px; }
.radius-square { --radius: 0px; --radius-sm: 0px; }
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font: 400 16px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.012em; font-weight: 800; }
.head-font-serif h1, .head-font-serif h2, .head-font-serif h3, .head-font-serif h4 { letter-spacing: -.005em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--sun); color: #000; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus { clip: auto; width: auto; height: auto; margin: 0; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; background: var(--bg); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow); }

/* 3. Utilidades ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex-shrink: 0; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: inherit; transition: background .2s; }
.icon-btn:hover { background: rgb(127 127 127 / .16); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
	border: 2px solid transparent; border-radius: 999px; background: var(--accent); color: #fff;
	font: 700 .95rem/1.1 var(--font-body); transition: transform .2s var(--ease), filter .2s, background .2s, color .2s;
}
.btn:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); filter: none; }
.btn-wa { background: #1fa855; }
.btn-white { background: #fff; color: #0a5c34; }
.btn-white:hover { color: #0a5c34; }
.btn-ghost { background: transparent; border-color: rgb(255 255 255 / .6); color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / .12); }

.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 300; pointer-events: none; }
.reading-progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--accent) 70%, var(--sun)); }

/* 4. Cabecera -------------------------------------------------------------- */
.topbar { background: var(--brand-ink); color: rgb(255 255 255 / .82); font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; gap: 22px; min-height: 38px; }
.topbar-date { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-transform: capitalize; }
.top-nav { margin-left: auto; }
.top-nav ul { display: flex; gap: 18px; list-style: none; }
.top-nav a:hover { color: #fff; }
.social { display: flex; gap: 2px; list-style: none; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; transition: background .2s, color .2s, transform .2s; }
.social a:hover { color: #fff; transform: translateY(-1px); }
.social .is-facebook:hover { background: #1877f2; }
.social .is-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social .is-x:hover { background: #000; }
.social .is-youtube:hover { background: #ff0000; }
.social .is-tiktok:hover { background: #111; }
.social .is-whatsapp:hover { background: #1fa855; }
.social-top { margin-left: auto; }
.top-nav + .social-top { margin-left: 0; }
@media (max-width: 767px) { .topbar { display: none; } }

.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.site-logo, .navbar-logo, .drawer-logo, .footer-logo { display: inline-block; position: relative; flex-shrink: 0; }
.logo-img { width: auto; }
.site-logo .logo-img { height: var(--logo-h, 96px); }
.logo-dark { display: none; }
.ad-header { flex: 0 1 728px; margin: 0; }
.ad-header .ad-label { display: none; }
@media (max-width: 1023px) { .brand-row { justify-content: center; } .ad-header { display: none; } }
@media (max-width: 767px) { .site-header { display: none; } }

/* Cabecera centrada */
.header-centered .brand-row { display: grid; grid-template-columns: 1fr auto 1fr; padding-block: 22px; }
.header-centered .brand-side-end { justify-self: end; }
.brand-tagline { font: italic 600 .95rem/1.3 var(--font-head); color: var(--muted); }
@media (max-width: 1023px) { .header-centered .brand-side { display: none; } .header-centered .brand-row { grid-template-columns: 1fr; justify-items: center; } }

/* Barra de navegación */
.navbar { position: relative; z-index: 90; background: var(--brand); color: #fff; box-shadow: inset 0 -3px 0 var(--accent); }
.navbar.is-sticky { position: sticky; top: 0; }
.admin-bar .navbar.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .navbar.is-sticky { top: 0; } }
.navbar-inner { display: flex; align-items: center; gap: 6px; min-height: var(--nav-h); }
.navbar-logo { display: none; margin-right: 10px; }
.navbar-logo .logo-img { height: 40px; }
.nav-open, .drawer-head, .drawer-foot, .drawer-search { display: none; }
.navbar-actions { display: flex; gap: 2px; margin-left: auto; }

.primary-nav .menu { display: flex; align-items: stretch; list-style: none; }
.primary-nav .menu > li { display: flex; align-items: center; position: relative; }
.primary-nav .menu > li.has-mega { position: static; }
.primary-nav .menu > li > a {
	display: flex; align-items: center; height: var(--nav-h); padding: 0 13px; position: relative; white-space: nowrap;
	font: 800 .9rem/1 var(--font-head); letter-spacing: .02em; text-transform: uppercase;
}
.head-font-serif .primary-nav .menu > li > a { font-weight: 700; letter-spacing: .04em; }
.primary-nav .menu > li > a::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 11px; height: 3px; border-radius: 3px;
	background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.primary-nav .menu > li > a:hover, .primary-nav .menu > li:focus-within > a { color: inherit; }
.primary-nav .menu > li:hover > a::after, .primary-nav .menu > li:focus-within > a::after,
.primary-nav .menu > .current-menu-item > a::after, .primary-nav .menu > .current-menu-ancestor > a::after,
.primary-nav .menu > .current-category-ancestor > a::after { transform: scaleX(1); }
.submenu-toggle { display: none; }

/* Submenú normal */
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; z-index: 5;
	background: var(--bg); color: var(--ink); border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	box-shadow: var(--shadow); padding: 8px; border-top: 3px solid var(--accent);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease);
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 6px; font-weight: 600; font-size: .92rem; }
.primary-nav .sub-menu a:hover { background: var(--surface); color: var(--accent); }

/* Variantes claras de la barra (centrada y compacta) */
.header-centered .navbar, .header-compact .navbar { background: var(--bg); color: var(--ink); box-shadow: none; border-bottom: 1px solid var(--line); }
.header-centered .navbar { border-top: 3px solid var(--ink); }
.header-centered .navbar-inner { justify-content: center; }
.header-centered .primary-nav .menu > li > a::after, .header-compact .primary-nav .menu > li > a::after { background: var(--accent); }
.header-centered .primary-nav .menu > li:hover > a, .header-compact .primary-nav .menu > li:hover > a { color: var(--brand); }
.header-compact .navbar { --nav-h: 68px; box-shadow: 0 10px 30px -24px rgb(0 0 0 / .4); }
.header-compact .navbar-logo { display: block; }
.header-compact .navbar-logo .logo-img { height: 52px; }
.header-compact .primary-nav { margin-inline: auto; }
.navbar.is-stuck .navbar-logo { display: block; animation: fade-in .3s var(--ease); }
.header-centered .navbar.is-stuck .navbar-inner { justify-content: flex-start; }
/* Logo sobre la barra azul: pastilla blanca */
.header-classic .navbar-logo .logo-img { background: #fff; border-radius: 8px; padding: 3px 8px; box-sizing: content-box; height: 36px; }
@media (min-width: 1024px) and (max-width: 1279px) {
	.primary-nav .menu > li > a { padding-inline: 9px; font-size: .84rem; }
	.primary-nav .menu > li > a::after { left: 9px; right: 9px; }
}
@media (min-width: 1024px) { .navbar.is-stuck .primary-nav .menu > li > a { padding-inline: 10px; } }

.theme-toggle .icon-sun { display: none; }

/* Menú móvil (cajón lateral) */
@media (max-width: 1023px) {
	:root { --nav-h: 58px; }
	.nav-open { display: inline-grid; }
	.navbar-logo { display: block; position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
	.navbar.is-stuck .navbar-logo { animation: none; }
	.header-compact .navbar-logo .logo-img { height: 42px; }
	.primary-nav {
		position: fixed; inset: 0 auto 0 0; width: min(88vw, 380px); z-index: 120;
		background: var(--bg); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(-102%); transition: transform .32s var(--ease), visibility 0s .32s; display: flex; flex-direction: column;
		visibility: hidden;
	}
	.primary-nav.is-open { transform: none; box-shadow: 0 0 60px rgb(0 0 0 / .35); visibility: visible; transition: transform .32s var(--ease); }
	.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 12px 18px; border-bottom: 1px solid var(--line); }
	.drawer-logo .logo-img { height: 54px; }
	.drawer-search { display: block; padding: 14px 16px 6px; }
	.primary-nav .menu { flex-direction: column; padding: 6px 0; }
	.primary-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li.has-mega { position: relative; }
	.primary-nav .menu > li > a { flex: 1; height: auto; padding: 15px 20px; font-size: .95rem; }
	.primary-nav .menu > li > a::after { display: none; }
	.primary-nav .menu > li > a:hover, .primary-nav .menu > .current-menu-item > a,
	.primary-nav .menu > .current-menu-ancestor > a, .primary-nav .menu > .current-category-ancestor > a { color: var(--accent); }
	.submenu-toggle { display: grid; place-items: center; width: 54px; border: 0; border-left: 1px solid var(--line); background: none; }
	.submenu-toggle .icon { transition: transform .2s; }
	.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.primary-nav .sub-menu, .primary-nav .mega {
		position: static; width: 100%; box-shadow: none; border: 0; border-radius: 0; opacity: 1; visibility: visible;
		transform: none; display: none; background: var(--surface); padding: 6px 12px 12px;
	}
	.primary-nav .sub-menu.is-open, .primary-nav .mega.is-open { display: block; }
	.primary-nav li:not(.menu-item-has-children) > .mega { display: none !important; }
	.primary-nav li:hover > .sub-menu:not(.is-open) { display: none; }
	.mega .container { padding: 0; }
	.mega-posts { display: none !important; }
	.mega-tabs { list-style: none; }
	.mega-tabs a { display: block; padding: 9px 10px; border-radius: 6px; font-weight: 600; }
	.mega-tabs .mega-all { display: none; }
	.drawer-foot { display: block; margin-top: auto; padding: 18px 16px 22px; }
	.drawer-foot .social { flex-wrap: wrap; gap: 6px; }
	.drawer-foot .social a { width: auto; height: auto; padding: 8px 12px; border-radius: 999px; gap: 6px; display: inline-flex; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
	.nav-overlay { position: fixed; inset: 0; z-index: 110; background: rgb(4 10 26 / .55); backdrop-filter: blur(2px); animation: fade-in .2s; }
	.nav-overlay[hidden] { display: none; }
}

/* 5. Mega menú y búsqueda -------------------------------------------------- */
@media (min-width: 1024px) {
	.mega {
		position: absolute; left: 0; right: 0; top: 100%; z-index: 5; color: var(--ink);
		background: var(--bg); border-top: 3px solid var(--accent); box-shadow: 0 30px 60px -30px rgb(4 10 26 / .45);
		opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
	}
	.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .1s, .1s, 0s; }
	.mega-inner { display: grid; grid-template-columns: 210px 1fr; gap: 28px; padding-block: 24px 28px; }
	.mega-tabs { list-style: none; border-right: 1px solid var(--line); padding-right: 18px; display: flex; flex-direction: column; gap: 2px; }
	.mega-tabs a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 8px; font-weight: 700; font-size: .92rem; }
	.mega-tabs a:hover, .mega-tabs a.is-active { background: var(--surface); color: var(--accent); }
	.mega-tabs .mega-all { margin-top: auto; }
	.mega-tabs .mega-all a { color: var(--brand); font-size: .85rem; justify-content: flex-start; }
	.mega-posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; min-height: 200px; transition: opacity .2s; }
	.mega-posts.is-loading { opacity: .35; }
}
.mega-card .post-card-media { aspect-ratio: 16 / 10; margin-bottom: 10px; border-radius: var(--radius-sm); }
.mega-title { display: block; font: 700 .98rem/1.3 var(--font-head); margin-bottom: 4px; }

.search-panel { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); padding-block: 22px; box-shadow: 0 30px 60px -30px rgb(4 10 26 / .45); }
.search-panel[hidden] { display: none; }
.search-panel .container { max-width: 820px; }
.search-form { display: flex; align-items: center; background: var(--surface); border-radius: 999px; border: 2px solid transparent; transition: border-color .2s, background .2s; }
.search-form:focus-within { border-color: var(--brand); background: var(--bg); }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 12px 20px; font: inherit; font-size: 1.02rem; }
.search-form input:focus { outline: none; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-form button { flex-shrink: 0; border: 0; background: var(--accent); color: #fff; width: 42px; height: 42px; margin: 3px; border-radius: 50%; display: grid; place-items: center; }
.live-results:empty { display: none; }
.live-results { margin-top: 14px; }
.live-results ul { list-style: none; display: grid; gap: 2px; }
.live-results a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 10px; }
.live-results a:hover, .live-results a:focus { background: var(--surface); color: inherit; }
.live-results img, .live-results .thumb-placeholder { width: 72px; height: 50px; object-fit: cover; border-radius: 6px; }
.live-results strong { display: block; font: 700 .98rem/1.3 var(--font-head); }
.live-results mark { background: rgb(245 179 1 / .35); color: inherit; border-radius: 2px; }
.live-results small { color: var(--muted); font-size: .78rem; }
.live-results small b { color: var(--cat, var(--accent)); text-transform: uppercase; letter-spacing: .05em; font-size: .7rem; margin-right: 6px; }
.live-results .live-all { display: block; text-align: center; padding: 12px; margin-top: 6px; font-weight: 700; color: var(--brand); border-top: 1px solid var(--line); border-radius: 0; }
.live-results .live-empty { color: var(--muted); padding: 10px 8px; margin: 0; }

/* 6. Tendencias y última hora --------------------------------------------- */
.trending-bar { border-bottom: 1px solid var(--line); background: var(--bg); font-size: .85rem; }
.trending-inner { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.trending-label { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font: 800 .76rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.trending-bar ul { display: flex; gap: 8px; list-style: none; overflow-x: auto; scrollbar-width: none; padding-block: 8px; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.trending-bar ul::-webkit-scrollbar { display: none; }
.trending-bar a { display: block; white-space: nowrap; padding: 5px 12px; border-radius: 999px; background: var(--surface); font-weight: 600; color: var(--ink-2); }
.trending-bar a::before { content: "#"; color: var(--accent); margin-right: 2px; }
.trending-bar a:hover { background: var(--brand); color: #fff; }
.trending-bar a:hover::before { color: var(--sun); }

.ticker { background: var(--ink); color: #fff; font-size: .9rem; }
.ticker-inner { display: flex; align-items: center; gap: 14px; min-height: 46px; }
.ticker-label {
	display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; background: var(--accent); color: #fff;
	padding: 6px 12px; border-radius: 4px; font: 800 .72rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
.ticker-viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); }
.ticker-track { display: flex; gap: 44px; list-style: none; width: max-content; animation: ticker var(--ticker-duration, 60s) linear infinite; }
.ticker-track li { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 500; }
.ticker-track time { color: var(--sun); font-weight: 700; font-size: .8rem; font-variant-numeric: tabular-nums; }
.ticker-track a:hover { color: var(--sun); }
.ticker.is-paused .ticker-track, .ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-pause { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); background: none; color: #fff; font-size: 9px; letter-spacing: -1px; }
@media (max-width: 599px) { .ticker-pause { display: none; } }

/* 7. Tarjetas -------------------------------------------------------------- */
.post-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.post-card-media { display: block; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--surface); isolation: isolate; }
.post-card-media img, .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.thumb-placeholder {
	display: block; position: relative;
	background:
		linear-gradient(90deg, transparent 47%, rgb(255 255 255 / .12) 47% 53%, transparent 53%),
		linear-gradient(0deg, transparent 44%, rgb(255 255 255 / .12) 44% 56%, transparent 56%),
		radial-gradient(120% 90% at 85% 10%, rgb(245 179 1 / .35), transparent 50%),
		linear-gradient(135deg, var(--brand) 0%, #0a2a63 55%, var(--accent) 140%);
}
.post-card:hover .post-card-media img { transform: scale(1.05); }
.play-badge {
	position: absolute; left: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px;
	border-radius: 50%; background: rgb(255 255 255 / .94); color: var(--accent); box-shadow: 0 6px 18px rgb(0 0 0 / .3);
	transition: transform .25s var(--ease);
}
.play-badge .icon { margin-left: 2px; }
.post-card:hover .play-badge { transform: scale(1.1); }
.post-card-body { padding-top: 13px; }
.post-card-title { font-size: 1.12rem; line-height: 1.22; margin: 7px 0 6px; }
.post-card-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.post-card-title a:hover { background-size: 100% 1.5px; color: inherit; }
.post-card-excerpt { color: var(--ink-2); font-size: .94rem; line-height: 1.55; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kicker { color: var(--cat, var(--accent)); font-weight: 800; text-transform: uppercase; font-size: .82em; letter-spacing: .02em; }
.kicker::after { content: " |"; color: var(--muted); opacity: .5; font-weight: 400; }

.badge {
	display: inline-flex; align-items: center; gap: 6px; color: var(--cat, var(--accent));
	font: 800 .69rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .09em;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.badge:hover { color: var(--ink); }
.badge.is-breaking, .is-overlay .badge.is-breaking, .mosaic-side .is-overlay .badge.is-breaking { color: #fff !important; background: var(--accent) !important; padding: 5px 9px !important; border-radius: 4px; animation: pulse-bg 2s infinite; }
.badge.is-breaking::before { display: none !important; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--muted); font-size: .79rem; }
.meta > * { display: inline-flex; align-items: center; gap: 4px; }
.meta .author { font-weight: 600; color: var(--ink-2); }
.meta > * + *::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .55; margin-right: 6px; }

/* Texto sobre la imagen */
.is-hero, .is-overlay { border-radius: var(--radius); overflow: hidden; isolation: isolate; color: #fff; background: #0b1424; }
.is-hero .post-card-media, .is-overlay .post-card-media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; z-index: -1; }
.is-hero .post-card-media::after, .is-overlay .post-card-media::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.is-hero .post-card-body, .is-overlay .post-card-body { margin-top: auto; padding: 24px; }
.is-hero .post-card-title a:hover, .is-overlay .post-card-title a:hover { color: #fff; }
.is-hero .badge, .is-overlay .badge { color: #fff; background: var(--cat, var(--accent)); padding: 5px 9px; border-radius: 4px; position: relative; z-index: 2; }
.is-hero .badge::before, .is-overlay .badge::before { display: none; }
.is-hero .meta, .is-overlay .meta, .is-hero .meta .author { color: rgb(255 255 255 / .82); }
.is-hero .post-card-excerpt { color: rgb(255 255 255 / .86); max-width: 62ch; }
.is-hero .kicker, .is-overlay .kicker { color: var(--sun); }
.is-hero { min-height: 440px; }
.is-hero .post-card-title { font-size: clamp(1.55rem, 1rem + 2.1vw, 2.6rem); line-height: 1.06; letter-spacing: -.022em; text-wrap: balance; margin-top: 12px; }
.is-overlay { min-height: 220px; }
.is-overlay .post-card-body { padding: 16px 18px; }
.is-overlay .post-card-title { font-size: 1.06rem; line-height: 1.22; text-wrap: balance; }
.is-hero .post-card-title a::before, .is-overlay .post-card-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.is-hero .play-badge, .is-overlay .play-badge { left: auto; right: 16px; top: 16px; bottom: auto; }

/* Lista con foto a la izquierda */
.is-list { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: start; }
.is-list .post-card-body { padding-top: 2px; }
.is-list .post-card-title { font-size: 1.3rem; }
@media (max-width: 599px) { .is-list { grid-template-columns: 1fr; gap: 0; } .is-list .post-card-body { padding-top: 12px; } .is-list .post-card-title { font-size: 1.15rem; } }

/* Fila compacta */
.is-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 16px; align-items: start; padding-block: 16px; border-top: 1px solid var(--line); }
.is-row:first-child { border-top: 0; padding-top: 0; }
.is-row .post-card-media { order: 2; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
.is-row .post-card-body { padding: 0; }
.is-row .post-card-title { font-size: 1rem; line-height: 1.28; margin-top: 0; }
.is-row .play-badge { width: 30px; height: 30px; left: 6px; bottom: 6px; }
.is-row .play-badge .icon { width: 13px; height: 13px; }

/* Solo texto */
.is-text { padding-block: 14px; border-top: 1px solid var(--line); }
.is-text .post-card-body { padding: 0; }
.is-text .badge { display: none; }
.is-text .post-card-title { font-size: 1rem; line-height: 1.3; margin: 0 0 6px; }

/* 8. Bloques de portada ---------------------------------------------------- */
.home-blocks > .block, .home-blocks > .container { margin-block: 34px 48px; }
.home-blocks > :first-child { margin-top: 24px; }
.home-blocks > .block-video { margin-block: 48px; }

.section-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.section-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--cat, var(--accent)); }
.section-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .005em; font-weight: 900; }
.head-font-serif .section-title { text-transform: none; font-size: 1.7rem; font-weight: 700; }
.section-title::before { content: ""; width: 6px; height: 1.05em; border-radius: 2px; background: linear-gradient(var(--brand) 50%, var(--cat, var(--accent)) 50%); }
.section-title a:hover { color: var(--cat, var(--accent)); }
.section-icon { display: none; }
.section-subcats { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.section-subcats a { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink-2); transition: .2s; }
.section-subcats a:hover { background: var(--cat, var(--brand)); border-color: transparent; color: #fff; }
.section-more { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--brand); }
.section-more:hover { color: var(--cat, var(--accent)); }
.section-more .icon { transition: transform .2s; }
.section-more:hover .icon { transform: translateX(3px); }

/* Mosaico */
.mosaic { display: grid; gap: 14px; }
.mosaic-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 1024px) {
	.mosaic { grid-template-columns: 1.6fr 1fr; }
	.mosaic-main .is-hero { height: 100%; min-height: 540px; }
	.mosaic-side .is-overlay { min-height: 0; }
}
@media (max-width: 599px) {
	.mosaic-side { grid-template-columns: 1fr; gap: 0; margin-top: 6px; }
	.mosaic-side .is-overlay { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; min-height: 0; color: var(--ink); background: none; padding-block: 16px; border-top: 1px solid var(--line); border-radius: 0; overflow: visible; }
	.mosaic-side .is-overlay:first-child { border-top: 0; }
	.mosaic-side .is-overlay .post-card-media { position: relative; z-index: 0; order: 2; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
	.mosaic-side .is-overlay .post-card-media::after { display: none; }
	.mosaic-side .is-overlay .post-card-body { padding: 0; }
	.mosaic-side .is-overlay .post-card-title a::before { display: none; }
	.mosaic-side .is-overlay .badge { background: none; padding: 0; color: var(--cat, var(--accent)); }
	.mosaic-side .is-overlay .badge::before { display: inline-block; }
	.mosaic-side .is-overlay .meta { color: var(--muted); }
	.mosaic-side .is-overlay .post-card-title a:hover { color: var(--accent); }
	.mosaic-side .is-overlay .kicker { color: var(--accent); }
	.mosaic-side .is-overlay .play-badge { width: 28px; height: 28px; top: auto; right: auto; left: 6px; bottom: 6px; }
}

/* Slider */
.slider { display: grid; gap: 16px; }
@media (min-width: 1024px) { .slider { grid-template-columns: minmax(0, 1fr) 340px; } }
.slider-stage { position: relative; border-radius: var(--radius); overflow: hidden; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide .is-hero { border-radius: 0; min-height: clamp(400px, 46vw, 560px); height: 100%; }
.slide .is-hero .post-card-body { padding: clamp(20px, 3vw, 38px); padding-bottom: 48px; }
.slider-arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .92); color: #0d1424; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s, transform .2s; }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-stage:hover .slider-arrow, .slider-arrow:focus-visible { opacity: 1; }
.slider-arrow:hover { transform: scale(1.06); }
.slider-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgb(255 255 255 / .2); z-index: 2; }
.slider-progress span { display: block; height: 100%; width: 100%; background: var(--sun); transform-origin: left; transform: scaleX(0); }
.slider-progress.is-running span { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.slider-nav { list-style: none; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.slider-nav li { flex: 1; }
.slider-nav li + li { border-top: 1px solid var(--line); }
.slider-nav button { display: flex; align-items: center; gap: 14px; width: 100%; height: 100%; padding: 14px 18px; border: 0; background: none; text-align: left; transition: background .2s; position: relative; }
.slider-nav button::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(0); transition: transform .3s var(--ease); }
.slider-nav button[aria-current="true"] { background: var(--bg); }
.slider-nav button[aria-current="true"]::before { transform: none; }
.slider-nav button:hover .slider-nav-title { color: var(--accent); }
.slider-num { font: 900 1.3rem/1 var(--font-head); color: var(--muted); opacity: .45; min-width: 28px; transition: color .2s, opacity .2s; }
.slider-nav button[aria-current="true"] .slider-num { color: var(--accent); opacity: 1; }
.slider-nav-title { font: 700 .95rem/1.3 var(--font-head); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1023px) {
	.slider-nav { flex-direction: row; justify-content: center; gap: 8px; background: none; }
	.slider-nav li { flex: 0 0 auto; }
	.slider-nav li + li { border: 0; }
	.slider-nav button { width: 10px; height: 10px; padding: 0; border-radius: 6px; background: var(--line); transition: width .3s var(--ease), background .3s; }
	.slider-nav button[aria-current="true"] { background: var(--accent); width: 28px; }
	.slider-nav button::before, .slider-num, .slider-nav-title { display: none; }
	.slider-arrow { opacity: 1; width: 38px; height: 38px; }
}

/* Lo último + barra lateral */
.layout-with-sidebar { display: grid; gap: 44px; padding-block: 28px 8px; }
@media (min-width: 1024px) { .layout-with-sidebar { grid-template-columns: minmax(0, 1fr) 330px; } }
.home-blocks .layout-with-sidebar { padding-block: 0; }
.content-area { min-width: 0; }
.latest-list { display: grid; gap: 26px; }
.latest-list .is-list + .is-list { padding-top: 26px; border-top: 1px solid var(--line); }
.block-more { margin-top: 30px; text-align: center; }

/* Destacada + lista */
.feature-body { display: grid; gap: 26px; }
@media (min-width: 768px) {
	.feature-body { grid-template-columns: 1.2fr 1fr; gap: 36px; }
	.is-flipped .feature-body { grid-template-columns: 1fr 1.2fr; }
	.is-flipped .feature-lead { order: 2; }
	.feature-lead .post-card-title { font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); line-height: 1.12; }
}

/* Cuadrícula con portada */
.big-grid { display: grid; gap: 26px 24px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.big-grid > :first-child { min-height: 340px; }
@media (min-width: 1024px) {
	.big-grid { grid-template-columns: repeat(4, 1fr); }
	.big-grid > :first-child { grid-column: span 2; grid-row: span 2; }
	.big-grid > :first-child .post-card-title { font-size: 1.8rem; line-height: 1.1; }
	.big-grid > :nth-child(n+6) { display: none; }
}

.grid-4 { display: grid; gap: 30px 24px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Carrusel */
.carousel-arrows { display: flex; gap: 6px; margin-left: auto; }
.carousel-arrows + .section-more { margin-left: 0; }
.carousel-arrows button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); transition: .2s; }
.carousel-arrows button:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: #fff; }
.carousel-arrows button:disabled { opacity: .35; cursor: default; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 4px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
@media (max-width: 1023px) { .carousel { grid-auto-columns: calc((100% - 24px) / 2.3); } }
@media (max-width: 599px) { .carousel { grid-auto-columns: 78%; gap: 16px; } }

/* Videos */
.block-video { background: #070d1b; color: #e8edf5; padding-block: 44px 50px; position: relative; overflow: hidden; }
.block-video::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgb(210 31 47 / .32), transparent 65%); pointer-events: none; }
.block-video .section-head { border-color: rgb(255 255 255 / .12); }
.block-video .section-title, .block-video .section-more { color: #fff; }
.block-video .section-title::before { background: linear-gradient(var(--accent) 50%, var(--sun) 50%); }
.video-layout { display: grid; gap: 22px; position: relative; }
@media (min-width: 1024px) { .video-layout { grid-template-columns: 1.7fr 1fr; gap: 30px; } }
.video-main .is-hero { min-height: 460px; height: 100%; }
.video-main .play-badge { left: 50%; top: 45%; right: auto; bottom: auto; translate: -50% -50%; width: 80px; height: 80px; background: var(--accent); color: #fff; box-shadow: 0 0 0 12px rgb(210 31 47 / .25); }
.video-main .play-badge .icon { width: 30px; height: 30px; }
.video-list .is-row { border-color: rgb(255 255 255 / .1); grid-template-columns: 150px minmax(0, 1fr); }
.video-list .is-row .post-card-media { order: 0; aspect-ratio: 16 / 10; }
.video-list .meta { color: #94a3b8; }
.video-list .post-card-title a:hover { color: var(--sun); }

/* Lo más leído */
.trending-list { list-style: none; display: grid; gap: 0 36px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.trending-item { display: grid; grid-template-columns: auto minmax(0, 1fr) 84px; gap: 16px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line); }
.trending-num { font: 900 3rem/.85 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--cat, var(--accent)); min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; transition: color .2s; }
.trending-item:hover .trending-num { color: var(--cat, var(--accent)); }
.trending-item .post-card-title { font-size: 1.02rem; margin: 6px 0; }
.trending-thumb { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.trending-thumb img, .trending-thumb .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }

/* Columnas de categorías */
.columns-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.column .section-title { font-size: 1.25rem; }
.column .is-card { margin-bottom: 4px; }

/* Titulares */
.headlines { list-style: none; display: grid; gap: 0 40px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.headlines li { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 12px; padding-block: 16px; border-bottom: 1px dashed var(--line); }
.headlines time { font: 700 .82rem/1.6 var(--font-body); color: var(--cat, var(--accent)); font-variant-numeric: tabular-nums; white-space: nowrap; }
.headlines .post-card-title { font-size: 1.04rem; margin: 4px 0 0; }
@media (max-width: 420px) { .headlines { grid-template-columns: 1fr; } }

/* Opinión */
.opinion-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.opinion-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: var(--surface); position: relative; transition: transform .25s var(--ease), box-shadow .25s; }
.opinion-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.opinion-card > .icon { color: var(--cat, var(--accent)); margin-bottom: 8px; }
.opinion-title { font: italic 600 1.2rem/1.3 "Source Serif", Georgia, serif; letter-spacing: 0; flex: 1; }
.opinion-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.opinion-author img { border-radius: 50%; }
.opinion-author span { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); }
.opinion-author strong { color: var(--ink); font-size: .92rem; }

/* Llamado a WhatsApp */
.cta {
	display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 30px 34px; border-radius: calc(var(--radius) + 6px);
	background: radial-gradient(120% 140% at 0% 0%, #2bd06b 0%, #14935a 50%, #0b5e3c 100%); color: #fff; position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgb(255 255 255 / .07); pointer-events: none; }
.cta-icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: rgb(255 255 255 / .16); }
.cta h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); margin-bottom: 4px; }
.cta p { margin: 0; opacity: .9; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
@media (max-width: 767px) { .cta { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 22px; } .cta-actions { justify-content: center; } }

/* 9. Barra lateral --------------------------------------------------------- */
.sidebar { min-width: 0; }
@media (min-width: 1024px) { .sidebar-sticky { position: sticky; top: calc(var(--nav-h) + 24px); } .admin-bar .sidebar-sticky { top: calc(var(--nav-h) + 56px); } }
.widget { margin-bottom: 36px; }
.widget-title, .sidebar .widget :is(h2, h3).wp-block-heading, .sidebar .wp-block-search__label {
	display: block; font: 900 1.02rem/1.15 var(--font-head); text-transform: uppercase; letter-spacing: .03em;
	padding-bottom: 11px; margin: 0 0 16px; border-bottom: 1px solid var(--line); position: relative;
}
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 44px; height: 3px; background: var(--accent); }
.widget ul:not(.mini-list):not(.cat-cloud):not(.social):not([class*="wp-block"]) { list-style: none; }
.widget ul:not(.mini-list):not(.cat-cloud):not(.social):not([class*="wp-block"]) li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.wp-block-search__inside-wrapper { display: flex; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--bg); padding: 3px !important; }
.wp-block-search__input { flex: 1; min-width: 0; border: 0 !important; padding: 9px 14px; background: transparent; color: var(--ink); font: inherit; }
.wp-block-search__button { border: 0; margin: 0 !important; padding: 0 18px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; }
.widget :is(.wp-block-latest-posts, .wp-block-categories, .wp-block-archives, .wp-block-latest-comments) { list-style: none; padding: 0; margin: 0; }
.widget :is(.wp-block-latest-posts, .wp-block-categories, .wp-block-archives, .wp-block-latest-comments) li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.widget .wp-block-latest-posts li a { font-family: var(--font-head); font-weight: 700; }

.mini-list { list-style: none; counter-reset: mini; }
.mini-list li { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-list li:first-child { padding-top: 0; }
.mini-list li:last-child { border-bottom: 0; }
.mini-thumb { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.mini-thumb img, .mini-thumb .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.is-numbered li { counter-increment: mini; }
.is-numbered .mini-thumb::after { content: counter(mini); position: absolute; left: 6px; top: 6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font: 800 .78rem/1 var(--font-head); box-shadow: 0 0 0 2px var(--bg); }
.mini-title { display: block; font: 700 .95rem/1.3 var(--font-head); margin-bottom: 4px; }
.mini-body .meta { font-size: .74rem; }

.widget-cta { text-align: center; padding: 26px 22px; border-radius: var(--radius); background: radial-gradient(120% 120% at 0 0, #2bd06b, #0e7a49); color: #fff; }
.widget-cta .icon { margin: 0 auto 10px; }
.widget-cta .btn { background: #fff; color: #0c6b37; }
.cat-cloud { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.cat-cloud a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .84rem; font-weight: 600; transition: .2s; }
.cat-cloud a span { color: var(--muted); font-weight: 500; font-size: .74rem; }
.cat-cloud a:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.cat-cloud a:hover span { color: rgb(255 255 255 / .8); }

/* Publicidad */
.ad { text-align: center; margin: 0 auto 26px; max-width: 100%; overflow: hidden; }
.ad img { margin-inline: auto; border-radius: var(--radius-sm); }
.ad-label { display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.ad-wide { padding: 16px; background: var(--surface); border-radius: var(--radius); }
.entry-content .ad { margin-block: 32px; padding-block: 12px; border-block: 1px solid var(--line); }
.ad-sticky-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--bg); box-shadow: 0 -6px 20px rgb(0 0 0 / .15); padding: 6px; text-align: center; }
.ad-sticky-mobile[hidden] { display: none; }
.ad-sticky-close { position: absolute; top: -26px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 6px 6px 0 0; background: var(--bg); display: grid; place-items: center; }
@media (min-width: 768px) { .ad-sticky-mobile { display: none !important; } }

/* 10. Archivos ------------------------------------------------------------- */
.archive-header { position: relative; overflow: hidden; padding-block: 42px 32px; background: linear-gradient(120deg, var(--surface) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.archive-header::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--cat, var(--accent)); }
.archive-header::after { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--cat, var(--sun)) 26%, transparent), transparent 70%); pointer-events: none; }
.archive-header-inner { display: flex; align-items: center; gap: 24px; position: relative; z-index: 1; }
.archive-avatar img { border-radius: 50%; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--accent); }
.archive-parent { display: inline-block; font: 800 .74rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--cat, var(--accent)); margin-bottom: 10px; }
.archive-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); margin: 0 0 8px; letter-spacing: -.025em; }
.archive-desc { color: var(--ink-2); max-width: 70ch; }
.archive-desc p:last-child { margin: 0; }
.archive-count { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.archive-header .section-subcats { margin-top: 16px; }
.archive-header .section-subcats a { background: var(--bg); }
.archive-search { margin-top: 18px; max-width: 580px; }

.archive-grid { display: grid; gap: 34px 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.archive-grid .is-hero { grid-column: 1 / -1; min-height: 460px; }
.archive-grid.is-list { grid-template-columns: 1fr; gap: 0; }
.archive-grid.is-list > .is-list { padding-block: 24px; border-top: 1px solid var(--line); }
.archive-grid.is-list > .is-hero { margin-bottom: 24px; }
.archive-grid.is-list > .is-hero + .is-list { border-top: 0; padding-top: 0; }
.archive-grid .post-card.is-new { animation: rise .5s var(--ease) both; }
.load-more-wrap { text-align: center; margin-top: 44px; }
.load-more.is-loading { pointer-events: none; opacity: .7; }
.load-more.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.js .load-more-wrap + .pagination { display: none; }

.pagination { margin-block: 40px 16px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; font-size: .92rem; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .dots { border: 0; }

.empty-state { text-align: center; padding: 56px 16px; }
.empty-state .search-form { margin: 22px auto; max-width: 520px; }

/* 11. Artículo ------------------------------------------------------------- */
.single-layout { padding-top: 30px; }
.layout-narrow { max-width: 860px; padding-block: 34px 8px; }
.entry { min-width: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .crumb-cat { color: var(--cat, var(--accent)); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.entry-header .badge.is-breaking { margin-bottom: 14px; }
.entry-title { font-size: clamp(1.85rem, 1.1rem + 2.8vw, 3rem); line-height: 1.07; letter-spacing: -.025em; text-wrap: balance; margin-bottom: 14px; }
.head-font-serif .entry-title { letter-spacing: -.01em; line-height: 1.12; }
.entry-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--ink-2); margin: 0 0 4px; max-width: 64ch; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 22px 0 26px; padding-block: 16px; border-block: 1px solid var(--line); }
.avatar-wrap img { border-radius: 50%; }
.entry-meta-text { display: flex; flex-direction: column; gap: 2px; }
.entry-meta .author { font-size: .92rem; color: var(--muted); }
.entry-meta .author a { font-weight: 700; color: var(--ink); }
.entry-meta .meta { font-size: .8rem; }
.updated-at { color: var(--accent); }
.entry-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin-left: auto; font-size: .82rem; color: var(--muted); }
.entry-stats > li { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: var(--surface); }
.entry-stats .font-tools { padding: 2px; gap: 2px; }
.font-tools button { border: 0; background: none; width: 30px; height: 28px; border-radius: 999px; font: 800 .9rem/1 var(--font-head); color: var(--ink); }
.font-tools button:first-child { font-size: .75rem; }
.font-tools button:hover { background: var(--bg); color: var(--accent); }
.font-tools sup { font-size: .6em; }
@media (max-width: 599px) { .entry-stats { margin-left: 0; width: 100%; } }

.entry-figure { margin: 0 0 30px; }
.entry-figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.entry-figure figcaption, .entry-hero-caption { font-size: .82rem; color: var(--muted); margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--line); }
.entry-figure .play-badge { display: none; }
.featured-video { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; background: #000; }
.embed-16x9 { position: relative; aspect-ratio: 16 / 9; }
.embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Portada inmersiva */
.entry-hero { position: relative; min-height: clamp(460px, 64vh, 680px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: #0b1424; }
.entry-hero-media { position: absolute; inset: 0; z-index: -1; }
.entry-hero-media img, .entry-hero-media .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.entry-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(4 10 26 / .3) 0%, rgb(4 10 26 / .1) 30%, rgb(4 10 26 / .92) 100%); }
.entry-hero-inner { padding-block: 60px 34px; width: 100%; }
.entry-hero .entry-header { max-width: 920px; }
.entry-hero .breadcrumbs, .entry-hero .breadcrumbs a { color: rgb(255 255 255 / .8); }
.entry-hero .breadcrumbs .crumb-cat { color: var(--sun); }
.entry-hero .entry-lead { color: rgb(255 255 255 / .9); }
.entry-hero .entry-meta { border-color: rgb(255 255 255 / .2); margin-bottom: 0; }
.entry-hero .entry-meta .author, .entry-hero .meta { color: rgb(255 255 255 / .75); }
.entry-hero .entry-meta .author a { color: #fff; }
.entry-hero .entry-stats > li { background: rgb(255 255 255 / .14); color: #fff; }
.entry-hero .font-tools button { color: #fff; }
.entry-hero .font-tools button:hover { background: rgb(255 255 255 / .2); color: #fff; }
.entry-hero .play-badge { display: none; }

.entry-wrap { display: grid; gap: 24px; }
@media (min-width: 768px) { .entry-wrap { grid-template-columns: 46px minmax(0, 1fr); gap: 30px; } }
.share { display: flex; gap: 8px; }
@media (min-width: 768px) { .share-rail { flex-direction: column; position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; } }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); transition: .2s; }
.share a:hover, .share button:hover { color: #fff; border-color: transparent; transform: translateY(-2px); }
.share-wa:hover { background: #1fa855; }
.share-fb:hover { background: #1877f2; }
.share-x:hover { background: #000; }
.share-copy:hover, .share-print:hover { background: var(--brand); }
.share-copy.is-done { background: #16a34a; color: #fff; border-color: transparent; }

.entry-content { --fs: 1.14rem; font-size: var(--fs); line-height: 1.78; color: var(--ink); max-width: 74ch; min-width: 0; }
.body-font-serif .entry-content { --fs: 1.2rem; line-height: 1.72; }
.entry-content > * { margin-block: 0 1.3em; }
.entry-content > p:first-of-type::first-letter { float: left; font: 900 3.5em/.82 var(--font-head); margin: .06em .1em 0 0; color: var(--cat, var(--accent)); }
.entry-content h2 { font-size: 1.62rem; margin-top: 1.7em; letter-spacing: -.015em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.5em; }
.entry-content a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.entry-content a:hover { color: var(--accent); text-decoration-color: currentColor; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--accent); font-weight: 700; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-caption-text, .entry-content .wp-element-caption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.entry-content blockquote:not(.wp-block-pullquote blockquote) { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--cat, var(--accent)); font: 600 1.3rem/1.45 var(--font-head); }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content .wp-block-pullquote { padding: 30px 0; border-block: 3px solid var(--ink); text-align: left; }
.entry-content .wp-block-pullquote blockquote p { font: 800 clamp(1.4rem, 1rem + 1.5vw, 2rem)/1.2 var(--font-head); letter-spacing: -.02em; }
.entry-content .wp-block-pullquote cite { font-size: .85rem; font-style: normal; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--surface); font-weight: 700; }
.entry-content iframe { width: 100%; border-radius: var(--radius-sm); }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content::after { content: ""; display: table; clear: both; }
/* Estilos de redacción */
.entry-content .is-style-dad-key { padding: 18px 22px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--sun) 16%, var(--bg)); border-left: 4px solid var(--sun); }
.entry-content .is-style-dad-summary { padding: 22px 26px; border-radius: var(--radius); background: var(--surface); }
.entry-content .is-style-dad-summary h3 { margin-top: 0; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.entry-content .is-style-dad-summary ul { margin: 0; }
.entry-content .is-style-dad-update { padding: 14px 20px; border-radius: var(--radius-sm); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
.entry-content .is-style-dad-update strong:first-child { color: var(--accent); }
.entry-content [class*="is-style-dad"] > :last-child { margin-bottom: 0; }

/* Lee también */
.read-also { margin-block: 30px; clear: both; }
.read-also a { display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.entry-content .read-also a, .entry-content .read-also a:hover { color: var(--ink); text-decoration: none; }
.read-also a:hover { border-color: var(--cat, var(--accent)); box-shadow: var(--shadow); }
.read-also-thumb { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; }
.read-also-thumb img, .read-also-thumb .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.read-also-label { display: block; font: 800 .7rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--cat, var(--accent)); margin-bottom: 6px; }
.read-also strong { font: 700 1.05rem/1.3 var(--font-head); display: block; }

/* YouTube ligero */
.yt-lite { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; opacity: .9; transition: opacity .2s; }
.yt-lite:hover img { opacity: 1; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 54px; border: 0; border-radius: 16px; background: #ff0033; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgb(0 0 0 / .4); transition: transform .2s; }
.yt-lite:hover .yt-play { transform: scale(1.08); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.featured-video .yt-lite { border-radius: 0; }

/* Pie del artículo */
.entry-footer { margin-top: 36px; display: grid; gap: 26px; }
.entry-footer .ad { margin: 0; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tags-label { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.tags a { padding: 6px 13px; border-radius: 999px; background: var(--surface); font-size: .84rem; font-weight: 600; }
.tags a:hover { background: var(--brand); color: #fff; }
.share-inline { flex-wrap: wrap; align-items: center; padding: 18px 20px; background: var(--surface); border-radius: var(--radius); }
.share-title { font: 800 1rem/1.2 var(--font-head); margin-right: auto; }
.share-inline a, .share-inline button { width: auto; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: #fff; border: 0; }
.share-inline .share-wa { background: #1fa855; }
.share-inline .share-fb { background: #1877f2; }
.share-inline .share-x { background: #000; }
.share-inline .share-copy { background: #475569; }
@media (max-width: 599px) { .share-inline a span, .share-inline button span { display: none; } .share-inline a, .share-inline button { width: 44px; padding: 0; } .share-title { width: 100%; } }

.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.author-box-avatar img { border-radius: 50%; }
.author-box-label { font: 700 .72rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.author-box-name { font-size: 1.3rem; margin: 6px 0 8px; }
.author-box p { color: var(--ink-2); font-size: .95rem; }
.author-box-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--brand); }
@media (max-width: 480px) { .author-box { grid-template-columns: 1fr; } }

.next-article { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 22px; padding: 14px; border-radius: var(--radius); background: #0d1424; color: #fff; transition: transform .25s var(--ease); }
.next-article:hover { color: #fff; transform: translateY(-2px); }
.next-article-media { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; }
.next-article-media img, .next-article-media .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.next-article-label { display: inline-flex; align-items: center; gap: 6px; font: 800 .72rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--sun); margin-bottom: 8px; }
.next-article strong { display: block; font: 800 1.25rem/1.2 var(--font-head); }
@media (max-width: 599px) { .next-article { grid-template-columns: 1fr; } }

.related { padding-block: 42px 50px; margin-top: 44px; background: var(--surface); }
.related .section-head { border-color: var(--surface-2); }

/* Comentarios */
.comments { margin-top: 44px; }
.comments .section-title { font-size: 1.25rem; margin-bottom: 18px; }
.comment-list { list-style: none; }
.comment-list .children { list-style: none; padding-left: 28px; border-left: 2px solid var(--line); }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .78rem; color: var(--muted); margin: 4px 0 8px; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font: inherit; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; }
.comment-form-cookies-consent label { font-weight: 400; }

/* Página y 404 */
.page-layout { max-width: 880px; padding-block: 36px; }
.error-404 { text-align: center; padding-block: 56px 20px; }
.error-404 .search-form { margin: 22px auto 44px; max-width: 540px; }
.error-404 .related { text-align: left; background: none; margin: 0; padding: 0; }
.error-code { font: 900 clamp(5.5rem, 3rem + 12vw, 10rem)/1 var(--font-head); margin: 0; letter-spacing: -.05em; background: linear-gradient(100deg, var(--brand) 20%, var(--accent) 60%, var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 12. Pie ------------------------------------------------------------------ */
.site-footer { margin-top: 48px; background: #061531; color: #b9c5dd; font-size: .93rem; position: relative; }
.related + .site-footer { margin-top: 0; }
.flag-stripe { height: 6px; background: linear-gradient(90deg, var(--brand) 0 44%, #fff 44% 56%, var(--accent) 56%); }
.footer-grid { display: grid; gap: 40px; padding-block: 56px 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.35fr 1fr 1.1fr 1fr; } }
.footer-logo .logo-img { height: 72px; background: #fff; padding: 10px 14px; border-radius: var(--radius); box-sizing: content-box; }
.footer-about p { max-width: 42ch; margin-top: 18px; }
.site-footer .contact { list-style: none; margin-bottom: 16px; }
.site-footer .contact a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .social a { background: rgb(255 255 255 / .07); }
.site-footer .widget-title, .site-footer .widget :is(h2, h3).wp-block-heading { color: #fff; border-color: rgb(255 255 255 / .1); }
.site-footer .mini-list li { border-color: rgb(255 255 255 / .08); }
.site-footer .mini-title { color: #e8edf5; }
.site-footer .meta { color: #7f8db0; }
.site-footer .mini-thumb { background: rgb(255 255 255 / .06); }
.site-footer .is-numbered .mini-thumb::after { box-shadow: 0 0 0 2px #061531; }
.footer-cats { list-style: none; columns: 2; column-gap: 20px; }
.footer-cats li { padding: 6px 0; break-inside: avoid; }
.footer-cats a { display: inline-flex; align-items: center; gap: 8px; }
.footer-cats a::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.footer-cats .children { display: none; }
.footer-cta-text { margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); font-size: .82rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-block: 20px; }
.footer-bottom p { margin: 0; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgb(210 31 47 / .6); transition: transform .2s; }
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-3px); }
.has-sticky-ad .to-top { bottom: 84px; }

/* 13. Modo oscuro ---------------------------------------------------------- */
/* Mismas reglas para el modo elegido (data-theme) y para el automático del sistema. */
:root[data-theme="dark"] {
	--brand-soft: #14213b; --ink: #e8edf5; --ink-2: #c3cad6; --muted: #94a0b4;
	--bg: #0a0f19; --surface: #121a28; --surface-2: #1a2436; --line: #222c3d;
	--shadow: 0 1px 2px rgb(0 0 0 / .5), 0 12px 32px -14px rgb(0 0 0 / .8);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--brand-soft: #14213b; --ink: #e8edf5; --ink-2: #c3cad6; --muted: #94a0b4;
		--bg: #0a0f19; --surface: #121a28; --surface-2: #1a2436; --line: #222c3d;
		--shadow: 0 1px 2px rgb(0 0 0 / .5), 0 12px 32px -14px rgb(0 0 0 / .8);
		color-scheme: dark;
	}
}
html.is-dark .theme-toggle .icon-sun { display: block; }
html.is-dark .theme-toggle .icon-moon { display: none; }
html.is-dark .topbar { background: #050912; }
html.is-dark .ticker { background: #050912; border-block: 1px solid var(--line); }
html.is-dark .section-more, html.is-dark .entry-content a:not(.read-also a), html.is-dark .author-box-more { color: #8fb1f5; }
html.is-dark .site-logo:not(.has-dark) .logo-img,
html.is-dark .drawer-logo:not(.has-dark) .logo-img,
html.is-dark .header-compact .navbar-logo:not(.has-dark) .logo-img,
html.is-dark .header-centered .navbar-logo:not(.has-dark) .logo-img { background: #fff; border-radius: 12px; padding: 4px 10px; box-sizing: content-box; }
html.is-dark .has-dark .logo-light { display: none; }
html.is-dark .has-dark .logo-dark { display: block; }
html.is-dark .next-article { background: var(--surface-2); }
html.is-dark .site-footer { background: #050b18; }
html.is-dark .entry-content .wp-block-pullquote { border-color: var(--line); }

/* 14. Movimiento ----------------------------------------------------------- */
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(255 255 255 / .7); } 70% { box-shadow: 0 0 0 8px rgb(255 255 255 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0); } }
@keyframes pulse-bg { 50% { filter: brightness(1.2); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

.js .reveal { opacity: 0; }
.js .reveal.is-in { opacity: 1; animation: rise .65s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.ticker-track { animation: none; overflow-x: auto; }
	.js .reveal { opacity: 1; }
}

/* 15. Impresión ------------------------------------------------------------ */
@media print {
	.topbar, .navbar, .trending-bar, .ticker, .sidebar, .share, .related, .comments, .site-footer, .ad, .to-top, .reading-progress, .next-article, .author-box, .read-also, .entry-stats, .ad-sticky-mobile { display: none !important; }
	.layout-with-sidebar, .entry-wrap { display: block; }
	.site-header { display: block !important; }
	body { color: #000; background: #fff; }
	.entry-hero { min-height: 0; color: #000; }
	.entry-hero-media { display: none; }
}
