/*
Theme Name: CDMX Press — Red de Metro
Theme URI: https://cdmxpress.mx/
Author: Medios e Información 360
Author URI: https://mei360.com.mx/
Description: Theme propio para CDMX Press. Concepto "Red de Metro": cada sección es una línea con su número y color, la portada abre con "próximas estaciones" y un tablero de salidas en vivo, índice como diagrama de estaciones y túnel con luces para la sección CDMX. Sin JNews, sin constructor, sin frameworks.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Propietario
Text Domain: mei-metro
*/

/* =========================================================
   0. Base
   ========================================================= */
:root {
  --cx-acc: #E9468F;
  --cx-ink: #0D0D12;
  --cx-ink2: #17171F;
  --cx-paper: #F3F2EE;
  --cx-card: #FFFFFF;
  --cx-text: #15151B;
  --cx-gray: #62656D;
  --cx-line: rgba(13, 13, 18, .11);
  --cx-led: #F5C400;
  --l1: #E9468F; --l2: #0072CE; --l3: #B5A300; --l4: #6BBBAE; --l5: #F5C400; --l6: #E1251B; --l7: #F28A1D; --l8: #00A651; --l9: #6B3E2E; --la: #9B26B6; --l12: #B8A42F;
  --stripes: linear-gradient(90deg, var(--l1) 0 11.1%, var(--l2) 0 22.2%, var(--l3) 0 33.3%, var(--l4) 0 44.4%, var(--l5) 0 55.5%, var(--l6) 0 66.6%, var(--l7) 0 77.7%, var(--l8) 0 88.8%, var(--la) 0);
  --cx-wrap: 1280px;
  --f-x: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-s: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-r: "Source Serif 4", Georgia, serif;
  --f-m: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --head-h: 72px;
  --shadow: 0 28px 60px -36px rgba(13, 13, 18, .55);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cx-paper); color: var(--cx-text); font: 400 16px/1.6 var(--f-s); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--cx-acc); color: #fff; }
:focus-visible { outline: 2px solid var(--cx-acc); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cx-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--cx-acc); color: #fff; padding: 8px 14px; font-weight: 700; border-radius: 8px; }
.cx-skip:focus { left: 8px; }
.cx-ico { width: 1em; height: 1em; fill: currentColor; flex: none; }
.cx-wrap { width: 100%; max-width: var(--cx-wrap); margin-inline: auto; padding-inline: 24px; }
.cx-wrap--narrow { max-width: 860px; }
.cx-only-m { display: none; }

.cx-pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cx-acc); box-shadow: 0 0 0 0 rgba(233, 70, 143, .7); animation: cxPulse 1.8s infinite; flex: none; }
@keyframes cxPulse { 70% { box-shadow: 0 0 0 10px rgba(233, 70, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 70, 143, 0); } }

/* Franjas de líneas decorativas (cabeceras oscuras) */
.cx-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cx-lines i { position: absolute; right: -10%; width: 70%; height: 14px; border-radius: 14px; transform: rotate(-24deg); transform-origin: 100% 50%; opacity: .9; }
.cx-lines i:nth-child(1) { top: 18%; background: var(--l1); }
.cx-lines i:nth-child(2) { top: calc(18% + 26px); background: var(--l2); right: -12%; }
.cx-lines i:nth-child(3) { top: calc(18% + 52px); background: var(--l3); right: -14%; }
.cx-lines i:nth-child(4) { top: calc(18% + 78px); background: var(--l7); right: -16%; }
.cx-lines i:nth-child(5) { top: calc(18% + 104px); background: var(--l8); right: -18%; }
.cx-lines::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cx-ink) 35%, rgba(13, 13, 18, .55) 70%, rgba(13, 13, 18, .2)); }
.cx-lines i { animation: cxSlide 1.4s var(--ease) both; }
.cx-lines i:nth-child(2) { animation-delay: .08s; } .cx-lines i:nth-child(3) { animation-delay: .16s; } .cx-lines i:nth-child(4) { animation-delay: .24s; } .cx-lines i:nth-child(5) { animation-delay: .32s; }
@keyframes cxSlide { from { transform: rotate(-24deg) translateX(40%); opacity: 0; } }

/* =========================================================
   1. Encabezado
   ========================================================= */
.cx-topbar { background: var(--cx-ink); color: rgba(255, 255, 255, .7); font-size: 12.5px; }
.cx-topbar__in { display: flex; align-items: center; gap: 20px; min-height: 34px; }
.cx-topbar__place { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: #fff; }
.cx-clock { font: 700 12.5px var(--f-m); color: var(--cx-led); letter-spacing: .04em; padding: 2px 7px; border-radius: 5px; background: rgba(245, 196, 0, .1); }
.cx-topbar__date { margin-left: auto; }
.cx-topbar__date::first-letter { text-transform: uppercase; }
.cx-social { display: flex; align-items: center; gap: 14px; }
.cx-social__a { display: grid; place-items: center; font-size: 15px; transition: color .2s, transform .3s var(--ease); }
.cx-social__a:hover { color: var(--cx-acc); transform: translateY(-2px); }

.cx-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow .3s; }
.cx-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--stripes); }
.admin-bar .cx-header { top: 32px; }
.is-stuck .cx-header { box-shadow: 0 16px 40px -28px rgba(13, 13, 18, .6); }
.cx-header__in { display: flex; align-items: center; gap: 22px; height: var(--head-h); padding-bottom: 4px; transition: height .3s var(--ease); }
.is-stuck .cx-header__in { height: 62px; }
.cx-logo { display: inline-flex; flex: none; }
.cx-logo__img { height: 46px; width: auto; }
.cx-wordmark { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.cx-wordmark__a { display: grid; place-items: center; height: 38px; padding: 0 10px; border-radius: 10px; background: var(--cx-acc); color: #fff; font: 700 19px/1 var(--f-x); letter-spacing: -.02em; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); transition: transform .4s var(--ease); }
.cx-logo:hover .cx-wordmark__a { transform: rotate(-4deg) scale(1.04); }
.cx-wordmark__b { position: relative; font: 700 26px/1 var(--f-x); letter-spacing: -.035em; color: var(--cx-ink); text-transform: uppercase; padding-bottom: 6px; }
.cx-wordmark__b i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--stripes); }
.cx-wordmark--light .cx-wordmark__b { color: #fff; }

.cx-nav { position: relative; flex: 1; min-width: 0; display: flex; justify-content: center; align-self: stretch; }
.cx-menu { position: relative; z-index: 1; display: flex; align-items: center; gap: 2px; }
.cx-menu a { display: block; padding: 10px 15px; font: 600 14.5px/1 var(--f-s); color: rgba(13, 13, 18, .72); white-space: nowrap; transition: color .2s; }
.cx-menu a:hover, .cx-menu .current-menu-item > a, .cx-menu .current-category-ancestor > a { color: var(--cx-ink); }
.cx-nav__ink { position: absolute; bottom: 14px; left: 0; height: 4px; width: 0; border-radius: 4px; background: var(--cx-acc); opacity: 0; transition: left .45s var(--ease), width .45s var(--ease), opacity .3s; pointer-events: none; }
.cx-nav__ink::before, .cx-nav__ink::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 3px solid var(--cx-acc); transform: translateY(-50%); }
.cx-nav__ink::before { left: -4px; } .cx-nav__ink::after { right: -4px; }
.cx-searchbtn { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 9px 10px 9px 14px; border: 1px solid var(--cx-line); border-radius: 12px; background: #fff; font-size: 14px; color: var(--cx-gray); transition: border-color .25s, box-shadow .25s, color .25s; }
.cx-searchbtn:hover { border-color: var(--cx-ink); color: var(--cx-ink); box-shadow: 0 0 0 4px rgba(233, 70, 143, .14); }
.cx-searchbtn kbd { font: 700 11px/1 var(--f-m); padding: 4px 7px; border-radius: 6px; background: var(--cx-paper); color: var(--cx-gray); }
.cx-iconbtn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--cx-line); font-size: 20px; background: #fff; }

.cx-tray { padding: 16px 0; background: #fff; border-bottom: 1px solid var(--cx-line); }
.cx-tray .mei-bn img, .cx-midban .mei-bn img, .cx-sideban img { border-radius: 12px; }
.cx-midban { padding-top: 34px; }

.cx-progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 100; pointer-events: none; }
.cx-progress i { display: block; height: 100%; background: var(--stripes); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
body:not(.single) .cx-progress { display: none; }

/* Menú lateral y buscador */
.cx-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.cx-drawer__bg { position: absolute; inset: 0; background: rgba(13, 13, 18, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.cx-drawer__panel { position: absolute; inset: 10px auto 10px 10px; width: min(380px, calc(100vw - 20px)); border-radius: 24px; background: var(--cx-ink); color: #fff; padding: 22px; overflow-y: auto; transform: translateX(-110%); transition: transform .5s var(--ease); display: flex; flex-direction: column; gap: 22px; }
.cx-drawer.is-open { visibility: visible; }
.cx-drawer.is-open .cx-drawer__bg { opacity: 1; }
.cx-drawer.is-open .cx-drawer__panel { transform: none; }
.cx-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.cx-x { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 20px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: transform .4s var(--ease), background .25s; }
.cx-x:hover { transform: rotate(90deg); background: var(--cx-acc); border-color: var(--cx-acc); }
.cx-drawer__menu { position: relative; padding-left: 26px; }
.cx-drawer__menu::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: 22px; width: 4px; border-radius: 4px; background: linear-gradient(var(--l1), var(--l2), var(--l3), var(--l7), var(--l8)); }
.cx-drawer__menu a { position: relative; display: flex; justify-content: space-between; padding: 13px 4px; font: 700 22px/1.1 var(--f-x); transition: color .2s, padding .3s var(--ease); }
.cx-drawer__menu a::before { content: ""; position: absolute; left: -26px; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--cx-ink); border: 4px solid #fff; transform: translateY(-50%); transition: border-color .2s, transform .3s var(--ease); }
.cx-drawer__menu a:hover { color: var(--cx-acc); padding-left: 10px; }
.cx-drawer__menu a:hover::before { border-color: var(--cx-acc); transform: translateY(-50%) scale(1.2); }
.cx-drawer .cx-sform input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; }
.cx-drawer__social { margin-top: auto; display: flex; gap: 18px; font-size: 20px; }

.cx-search { position: fixed; inset: 0; z-index: 210; background: rgba(13, 13, 18, .96); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow: hidden; }
.cx-search.is-open { opacity: 1; visibility: visible; }
.cx-search__lines { position: absolute; left: 0; right: 0; bottom: 12%; display: grid; gap: 10px; opacity: .5; }
.cx-search__lines i { display: block; height: 6px; border-radius: 6px; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease); }
.cx-search__lines i:nth-child(1) { background: var(--l1); width: 80%; } .cx-search__lines i:nth-child(2) { background: var(--l2); width: 64%; transition-delay: .06s; } .cx-search__lines i:nth-child(3) { background: var(--l3); width: 72%; transition-delay: .12s; } .cx-search__lines i:nth-child(4) { background: var(--l7); width: 52%; transition-delay: .18s; } .cx-search__lines i:nth-child(5) { background: var(--l8); width: 60%; transition-delay: .24s; }
.cx-search.is-open .cx-search__lines i { transform: none; }
.cx-search__x { position: absolute; top: 24px; right: 24px; z-index: 2; }
.cx-search__in { position: relative; z-index: 1; width: min(780px, 90vw); transform: translateY(24px); transition: transform .5s var(--ease); }
.cx-search.is-open .cx-search__in { transform: none; }
.cx-search__hint { font: 700 13px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--cx-led); margin-bottom: 18px; }
.cx-search .cx-sform input { font: 700 clamp(26px, 4.6vw, 48px)/1.15 var(--f-x); border: 0; border-bottom: 3px solid rgba(255, 255, 255, .25); border-radius: 0; padding: 12px 64px 12px 0; background: transparent; color: #fff; }
.cx-search .cx-sform input:focus { border-color: var(--cx-acc); box-shadow: none; }
.cx-sform { position: relative; display: flex; }
.cx-sform input { width: 100%; font: 500 15px var(--f-s); padding: 13px 54px 13px 18px; border: 1px solid var(--cx-line); border-radius: 14px; background: #fff; color: var(--cx-text); outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.cx-sform input:focus { border-color: var(--cx-acc); box-shadow: 0 0 0 4px rgba(233, 70, 143, .14); }
.cx-sform button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px; background: var(--cx-acc); color: #fff; display: grid; place-items: center; font-size: 17px; transition: background .2s; }
.cx-sform button:hover { background: var(--cx-ink); }

/* =========================================================
   2. Componentes
   ========================================================= */
.cx-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 8px; border-radius: 8px; background: var(--cx-ink); color: #fff; font: 700 10.5px/1 var(--f-s); letter-spacing: .1em; text-transform: uppercase; transition: background .25s, transform .3s var(--ease); }
.cx-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2.5px var(--ln, var(--cx-acc)); }
.cx-chip:hover { background: var(--ln, var(--cx-acc)); transform: translateY(-1px); }
.cx-chip--float { position: absolute; top: 12px; left: 12px; z-index: 2; }
.cx-chip--glass { background: rgba(13, 13, 18, .55); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 10px; font-size: 12.5px; color: var(--cx-gray); }
.cx-by { font-weight: 600; color: var(--cx-text); }
.cx-meta time, .cx-gcard__body time, .cx-rcard__body time, .cx-rank__item time, .cx-op__by time, .cx-feat__meta time, .cx-route__st time { display: inline-flex; align-items: center; gap: 6px; font: 500 12px var(--f-m); letter-spacing: .01em; }
.cx-cat { color: var(--cx-text); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.cx-ex, .cx-lead__ex { color: var(--cx-gray); }
.cx-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 12px 18px; border-radius: 12px; background: var(--cx-ink); color: #fff; font: 600 14px/1 var(--f-s); transition: background .3s, gap .3s var(--ease), box-shadow .3s; }
.cx-btn:hover { background: var(--ln, var(--cx-acc)); gap: 14px; box-shadow: 0 12px 28px -12px var(--ln, var(--cx-acc)); }
.cx-roundbtn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 18px; transition: background .25s, transform .3s var(--ease), border-color .25s; }
.cx-roundbtn:hover { background: var(--ln, var(--cx-acc)); border-color: var(--ln, var(--cx-acc)); transform: scale(1.06); }

.cx-glow { position: relative; isolation: isolate; }
.cx-glow::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 45%); opacity: 0; transition: opacity .35s; }
.cx-glow:hover::after { opacity: 1; }

/* Encabezado de sección = señal de estación */
.cx-sh { --ln: var(--cx-acc); position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.cx-sh__n { display: grid; place-items: center; align-content: center; flex: none; width: 58px; height: 58px; border-radius: 16px; background: var(--ln); color: #fff; font: 700 26px/1 var(--f-x); letter-spacing: -.03em; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .18), 0 12px 24px -14px var(--ln); }
.cx-sh__n small { font: 700 7.5px/1 var(--f-s); letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin-bottom: 3px; }
.cx-sh__t { font: 700 clamp(24px, 2.4vw, 34px)/1 var(--f-x); letter-spacing: -.03em; text-transform: uppercase; }
.cx-sh__t a:hover { color: var(--ln); }
.cx-sh__line { position: relative; flex: 1; height: 6px; border-radius: 6px; background: var(--ln); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) .15s; }
.cx-sh__line i { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--ln); transform: translate(-50%, -50%); }
.cx-sh__line i:nth-child(1) { left: 20%; } .cx-sh__line i:nth-child(2) { left: 55%; } .cx-sh__line i:nth-child(3) { left: 100%; transform: translate(-100%, -50%); }
.cx-sh.is-in .cx-sh__line, html:not(.cx-js) .cx-sh__line { transform: none; }
.cx-sh__more { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--cx-line); font: 600 13px/1 var(--f-s); white-space: nowrap; transition: background .25s, color .25s, border-color .25s, gap .3s var(--ease); }
.cx-sh__more:hover { background: var(--ln); border-color: var(--ln); color: #fff; gap: 10px; }
.cx-sh--dark .cx-sh__t { color: #fff; }
.cx-sh--dark .cx-sh__line i { background: var(--cx-ink); }
.cx-sh--dark .cx-sh__more { background: transparent; border-color: rgba(255, 255, 255, .2); color: #fff; }

/* =========================================================
   3. Portada
   ========================================================= */
.cx-sec { position: relative; padding: 72px 0; }

.cx-hero { position: relative; padding: 30px 0 0; background: var(--cx-paper); overflow: hidden; }
.cx-hero__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--cx-line) 1px, transparent 1px), linear-gradient(90deg, var(--cx-line) 1px, transparent 1px); background-size: 48px 48px; opacity: .5; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.cx-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 22px; align-items: stretch; }
.cx-feat { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 560px; border-radius: 26px; overflow: hidden; background: var(--cx-ink); box-shadow: var(--shadow); }
.cx-feat__img { position: absolute; inset: 0; }
.cx-feat__img img, .cx-feat__img .cx-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cx-feat:hover .cx-feat__img img { transform: scale(1.05); }
.cx-feat__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13, 13, 18, .35)); }
.cx-feat__body { grid-row: 2; position: relative; z-index: 2; margin: 0 18px 18px; padding: 22px 24px 20px; border-radius: 20px; background: #fff; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }
.cx-feat__k { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cx-feat__route { position: relative; flex: 1; max-width: 180px; height: 4px; border-radius: 4px; background: var(--stripes); }
.cx-feat__route i { position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 3px solid var(--cx-ink); transform: translate(-50%, -50%); }
.cx-feat__route i:nth-child(1) { left: 0; } .cx-feat__route i:nth-child(2) { left: 35%; } .cx-feat__route i:nth-child(3) { left: 70%; } .cx-feat__route i:nth-child(4) { left: 100%; background: var(--cx-acc); border-color: var(--cx-acc); animation: cxPulse 1.8s infinite; }
.cx-feat__t { margin: 14px 0 10px; font: 700 clamp(26px, 2.8vw, 42px)/1.08 var(--f-x); letter-spacing: -.035em; text-wrap: balance; }
.cx-feat__t a { background: linear-gradient(var(--cx-acc), var(--cx-acc)) 0 100% / 0 4px no-repeat; transition: background-size .6s var(--ease); }
.cx-feat__t a:hover { background-size: 100% 4px; }
.cx-feat__ex { font-size: 15.5px; color: var(--cx-gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cx-feat__meta { display: flex; gap: 14px; margin-top: 12px; font-size: 12.5px; color: var(--cx-gray); }

.cx-route { position: relative; padding: 24px 22px 18px; border-radius: 26px; background: var(--cx-ink); color: #fff; overflow: hidden; }
.cx-route__h { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 700 12px/1 var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--cx-led); }
.cx-route__list { position: relative; }
.cx-route__list::before { content: ""; position: absolute; left: 10px; top: 12px; bottom: 12px; width: 5px; border-radius: 5px; background: linear-gradient(var(--l1), var(--l2), var(--l3), var(--l7), var(--l8)); }
.cx-route__st { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 11px 0; }
.cx-route__st + .cx-route__st { border-top: 1px dashed rgba(255, 255, 255, .1); }
.cx-route__dot { position: relative; z-index: 1; width: 25px; height: 25px; margin-top: 2px; border-radius: 50%; background: var(--cx-ink); border: 5px solid var(--ln); transition: transform .35s var(--ease), background .3s; }
.cx-route__st:hover .cx-route__dot { transform: scale(1.18); background: #fff; }
.cx-route__st time { display: block; margin-bottom: 4px; color: rgba(255, 255, 255, .5); }
.cx-route__st a { font: 600 15px/1.35 var(--f-x); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.cx-route__st a:hover { color: var(--ln); }

.cx-hero__row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.cx-gcard { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--cx-line); box-shadow: inset 0 4px 0 var(--ln); transition: transform .45s var(--ease), box-shadow .45s; }
.cx-gcard:hover { transform: translateY(-4px); box-shadow: inset 0 4px 0 var(--ln), var(--shadow); }
.cx-gcard__img { border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.cx-gcard__img img, .cx-gcard__img .cx-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cx-gcard:hover .cx-gcard__img img { transform: scale(1.08); }
.cx-gcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.cx-gcard__t { font: 700 16px/1.28 var(--f-x); letter-spacing: -.015em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cx-gcard__t a:hover { color: var(--ln); }
.cx-gcard__body time { margin-top: auto; color: var(--cx-gray); }

/* Tablero de salidas */
.cx-board { position: relative; display: flex; align-items: stretch; margin-top: 34px; background: var(--cx-ink); color: #fff; overflow: hidden; }
.cx-board__label { position: relative; z-index: 2; flex: none; display: grid; align-content: center; padding: 14px 30px 14px max(24px, calc((100vw - var(--cx-wrap)) / 2 + 24px)); background: var(--cx-acc); clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
.cx-board__label span { font: 700 10px/1 var(--f-m); letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.cx-board__label b { font: 700 18px/1.1 var(--f-x); letter-spacing: -.02em; }
.cx-board__track { display: flex; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.cx-board__run { display: flex; flex: none; animation: cxRun 70s linear infinite; }
.cx-board:hover .cx-board__run { animation-play-state: paused; }
@keyframes cxRun { to { transform: translateX(-100%); } }
.cx-board__item { display: inline-flex; align-items: center; gap: 12px; padding: 16px 30px 16px 0; white-space: nowrap; font: 600 14.5px/1 var(--f-s); color: rgba(255, 255, 255, .88); transition: color .2s; }
.cx-board__item::after { content: ""; width: 7px; height: 7px; margin-left: 18px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.cx-board__item time { font: 700 13px/1 var(--f-m); color: var(--cx-led); text-shadow: 0 0 10px rgba(245, 196, 0, .5); padding: 5px 7px; border-radius: 5px; background: rgba(245, 196, 0, .08); }
.cx-board__item:hover { color: #fff; }

/* Revista (Nacional) */
.cx-lead { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 16px; border-radius: 28px; background: #fff; border: 1px solid var(--cx-line); }
.cx-lead__img { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; }
.cx-lead__img img, .cx-lead__img .cx-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cx-lead:hover .cx-lead__img img { transform: scale(1.05); }
.cx-lead__body { padding-right: 18px; }
.cx-lead__t { margin: 16px 0 12px; font: 700 clamp(26px, 2.6vw, 40px)/1.1 var(--f-x); letter-spacing: -.035em; text-wrap: balance; }
.cx-lead__t a:hover { color: var(--ln, var(--cx-acc)); }
.cx-lead__ex { font-size: 16.5px; line-height: 1.6; }
.cx-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 30px; }
.cx-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.cx-card { position: relative; padding: 10px 10px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--cx-line); transition: transform .45s var(--ease), box-shadow .45s; }
.cx-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: var(--ln, var(--cx-acc)); transform: scaleX(.18); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.cx-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cx-card:hover::before { transform: none; }
.cx-card__img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--cx-paper); }
.cx-card__img img, .cx-card__img .cx-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cx-card:hover .cx-card__img img { transform: scale(1.07); }
.cx-card__t { margin-top: 14px; padding-inline: 6px; font: 700 17px/1.3 var(--f-x); letter-spacing: -.015em; }
.cx-card__t a:hover { color: var(--ln, var(--cx-acc)); }
.cx-card > .cx-meta { padding-inline: 6px; }
.cx-noimg { display: block; width: 100%; height: 100%; min-height: 120px; background: var(--cx-ink) var(--stripes) no-repeat 0 100% / 100% 6px; }

/* Túnel (CDMX) */
.cx-railsec { background: var(--cx-ink); color: #fff; overflow: hidden; isolation: isolate; }
.cx-tunnel { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  repeating-linear-gradient(90deg, transparent 0 140px, rgba(255, 255, 255, .05) 140px 142px),
  radial-gradient(ellipse at 50% 120%, rgba(0, 114, 206, .35), transparent 60%); }
.cx-tunnel::before, .cx-tunnel::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 26px, transparent 26px 160px); animation: cxTunnel 3s linear infinite; }
.cx-tunnel::before { top: 22px; } .cx-tunnel::after { bottom: 22px; animation-duration: 4.5s; animation-direction: reverse; }
@keyframes cxTunnel { to { background-position: 160px 0; } }
.cx-railsec .cx-sh__t { color: #fff; }
.cx-railsec .cx-sh__line i { background: var(--cx-ink); }
.cx-railsec .cx-sh__more { background: transparent; border-color: rgba(255, 255, 255, .2); color: #fff; }
.cx-railsec .cx-wrap { position: relative; }
.cx-rail__ctrl { position: absolute; right: 24px; top: 6px; display: flex; gap: 10px; }
.cx-railsec .cx-sh { padding-right: 120px; }
.cx-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 18px; cursor: grab; }
.cx-rail::-webkit-scrollbar { display: none; }
.cx-rail.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.cx-rail.is-drag a { pointer-events: none; }
.cx-rcard { position: relative; scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; color: #fff; border: 1px solid rgba(255, 255, 255, .1); transition: transform .5s var(--ease); }
.cx-rcard:hover { transform: translateY(-6px); }
.cx-rcard__img { position: absolute; inset: 0; }
.cx-rcard__img img, .cx-rcard__img .cx-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cx-rcard:hover .cx-rcard__img img { transform: scale(1.08); }
.cx-rcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(13, 13, 18, .94)); }
.cx-rcard__body { position: absolute; inset: auto 0 0; z-index: 1; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cx-rcard__t { font: 700 18px/1.25 var(--f-x); letter-spacing: -.015em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cx-rcard__body time { color: var(--cx-led); }
.cx-rail__bar { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 8px; }
.cx-rail__bar i { display: block; height: 100%; width: 100%; background: var(--ln); border-radius: 6px; transform-origin: 0 50%; transform: scaleX(var(--p, .1)); transition: transform .2s; }

/* Índice como diagrama de estaciones (Economía) */
.cx-indexsec { background: #fff; overflow: hidden; }
.cx-indexsec .cx-wrap { position: relative; }
.cx-index { position: relative; }
.cx-index::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; width: 6px; border-radius: 6px; background: var(--ln); }
.cx-index__row { position: relative; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 22px; padding: 20px 18px 20px 0; border-radius: 16px; transition: background .4s, padding .45s var(--ease); }
.cx-index__row:hover { background: var(--cx-paper); padding-left: 10px; }
.cx-index__n { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 6px solid var(--ln); font: 700 13px/1 var(--f-m); color: var(--cx-ink); transition: background .3s, color .3s, transform .4s var(--ease); }
.cx-index__row:hover .cx-index__n { background: var(--ln); color: #fff; transform: scale(1.08); }
.cx-index__t { font: 600 clamp(18px, 1.9vw, 25px)/1.25 var(--f-x); letter-spacing: -.025em; }
.cx-index__meta { display: inline-flex; align-items: center; gap: 12px; color: var(--cx-gray); white-space: nowrap; }
.cx-index__meta time { font: 500 12px var(--f-m); }
.cx-index__meta .cx-ico { font-size: 18px; transition: transform .4s var(--ease), color .3s; }
.cx-index__row:hover .cx-index__meta .cx-ico { transform: translateX(6px); color: var(--ln); }
.cx-index__float { position: absolute; left: 0; top: 0; z-index: 5; width: 300px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; border: 5px solid #fff; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(3deg); transition: opacity .3s, transform .45s var(--ease); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.cx-index__float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(2deg); }

/* Mosaico + barra lateral */
.cx-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.cx-mosaic { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 14px; }
.cx-tile { position: relative; border-radius: 20px; overflow: hidden; color: #fff; }
.cx-tile--1 { grid-row: span 2; }
.cx-tile__img { position: absolute; inset: 0; }
.cx-tile__img img, .cx-tile__img .cx-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.cx-tile:hover .cx-tile__img img { transform: scale(1.08); filter: saturate(1.2); }
.cx-tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(13, 13, 18, .9)); }
.cx-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; width: 5px; background: var(--ln); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.cx-tile:hover::before { transform: none; }
.cx-tile__body { position: absolute; inset: auto 0 0; z-index: 1; padding: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cx-tile__t { font: 700 15.5px/1.28 var(--f-x); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cx-tile--1 .cx-tile__t { font-size: clamp(20px, 2vw, 28px); line-height: 1.15; letter-spacing: -.03em; -webkit-line-clamp: 5; }
.cx-tile--1 .cx-tile__body { padding: 24px; }

.cx-rank { padding: 22px; border-radius: 24px; background: var(--cx-ink); color: #fff; }
.cx-rank__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font: 700 18px/1 var(--f-x); text-transform: uppercase; letter-spacing: -.02em; }
.cx-rank__h a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .1); transition: background .25s; }
.cx-rank__h a:hover { background: var(--cx-acc); }
.cx-rank__item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); }
.cx-rank__item:last-child { border-bottom: 0; }
.cx-rank__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--cx-led); font: 700 14px/1 var(--f-m); color: var(--cx-led); }
.cx-rank__t { display: block; font: 600 15px/1.35 var(--f-x); margin-bottom: 4px; transition: color .2s; }
.cx-rank__t:hover { color: var(--cx-led); }
.cx-rank__item time { color: rgba(255, 255, 255, .5); }
.cx-sideban { margin-top: 24px; }

/* Dúo */
.cx-duo + .cx-duo { padding-top: 0; }
.cx-duo__in { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.cx-duo__col { padding: 26px; border-radius: 28px; background: #fff; border: 1px solid var(--cx-line); }
.cx-duo .cx-sh { margin-bottom: 22px; }
.cx-duo .cx-sh__n { width: 50px; height: 50px; font-size: 22px; }
.cx-duo .cx-card { margin-bottom: 8px; padding: 0; border: 0; background: none; }
.cx-duo .cx-card::before { display: none; }
.cx-duo .cx-card:hover { transform: none; box-shadow: none; }
.cx-duo .cx-card__img { aspect-ratio: 16 / 9; border-radius: 18px; }
.cx-duo .cx-card__t { font-size: 22px; padding: 0; }
.cx-duo .cx-card > .cx-meta { padding: 0; }
.cx-item { display: grid; gap: 14px; padding: 15px 0; border-top: 1px solid var(--cx-line); }
.cx-item--thumb { grid-template-columns: 100px 1fr; align-items: center; }
.cx-item .cx-media { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.cx-item .cx-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cx-item:hover .cx-media img { transform: scale(1.08); }
.cx-item .cx-t { font: 600 15.5px/1.35 var(--f-x); letter-spacing: -.01em; }
.cx-item .cx-t a:hover { color: var(--ln, var(--cx-acc)); }
.cx-item .cx-meta { margin-top: 6px; }

/* Opinión */
.cx-opsec { background: var(--cx-paper); }
.cx-ops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cx-op { display: flex; flex-direction: column; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--cx-line); box-shadow: inset 0 5px 0 var(--ln); transition: transform .5s var(--ease), box-shadow .5s; }
.cx-op:hover { transform: translateY(-6px); box-shadow: inset 0 5px 0 var(--ln), var(--shadow); }
.cx-op__q { font: 700 80px/.7 var(--f-r); color: var(--ln); height: 40px; }
.cx-op__t { font: 600 21px/1.28 var(--f-r); }
.cx-op__t a:hover { color: var(--cx-acc); }
.cx-op__ex { margin-top: 10px; font-size: 14px; color: var(--cx-gray); }
.cx-op__by { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--cx-gray); }
.cx-op__by span { font-weight: 700; color: var(--cx-text); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; }

/* =========================================================
   4. Interiores
   ========================================================= */
.cx-band { position: relative; overflow: hidden; background: var(--cx-ink); color: #fff; padding: 64px 0 56px; isolation: isolate; }
.cx-band__in { position: relative; z-index: 1; }
.cx-band__k { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--f-m); text-transform: uppercase; letter-spacing: .2em; color: var(--cx-led); }
.cx-band__k::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 4px solid var(--cx-acc); }
.cx-band__t { margin: 14px 0 10px; font: 700 clamp(36px, 5.6vw, 76px)/.95 var(--f-x); letter-spacing: -.045em; text-transform: uppercase; }
.cx-band__n { font: 500 13px var(--f-m); color: rgba(255, 255, 255, .6); }
.cx-band__d { margin-top: 14px; max-width: 640px; color: rgba(255, 255, 255, .8); }
.cx-band--sm { padding: 46px 0 40px; }
.cx-band--sm .cx-band__t { font-size: clamp(28px, 4vw, 48px); }
.cx-band--404 { padding: 90px 0; }
.cx-band--404 .cx-sform { margin-top: 28px; max-width: 560px; }
.cx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; padding-top: 46px; padding-bottom: 20px; }
.cx-layout__main > .cx-lead { margin-bottom: 10px; }
.cx-layout__side { display: grid; gap: 24px; align-self: stretch; align-content: start; }
.cx-sticky { position: sticky; top: calc(var(--head-h) + 24px); }
.cx-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 46px; }
.cx-pager a, .cx-pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding-inline: 14px; border-radius: 12px; border: 1px solid var(--cx-line); background: #fff; font: 700 14px var(--f-m); transition: background .2s, color .2s, border-color .2s; }
.cx-pager .current { background: var(--cx-ink); border-color: var(--cx-ink); color: #fff; }
.cx-pager a:hover { background: var(--cx-acc); border-color: var(--cx-acc); color: #fff; }
.cx-pager .dots { border: 0; background: none; }
.cx-empty { padding: 40px 0; display: grid; gap: 20px; max-width: 520px; }

.cx-single__head { position: relative; overflow: hidden; background: var(--cx-ink); color: #fff; padding: 48px 0 110px; isolation: isolate; }
.cx-single__headin { position: relative; z-index: 1; max-width: 960px; }
.cx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font: 700 12px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cx-crumbs a:last-child { color: var(--cx-led); }
.cx-crumbs a:hover { color: #fff; }
.cx-single__title { font: 700 clamp(30px, 4.4vw, 58px)/1.04 var(--f-x); letter-spacing: -.04em; text-wrap: balance; }
.cx-single__lede { margin-top: 18px; max-width: 800px; font: 400 21px/1.55 var(--f-r); color: rgba(255, 255, 255, .8); }
.cx-single__meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .68); }
.cx-single__meta .cx-by { color: #fff; }
.cx-single__meta time { font-family: var(--f-m); font-size: 12.5px; }
.cx-single__rt { display: inline-flex; align-items: center; gap: 8px; }
.cx-single__rt::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2.5px solid var(--cx-acc); }
.cx-single__img { position: relative; z-index: 2; margin: -80px auto 0; }
.cx-single__img img { width: 100%; max-height: 680px; object-fit: cover; border-radius: 26px; box-shadow: 0 50px 90px -50px rgba(13, 13, 18, .8); }
.cx-single__img figcaption { margin-top: 10px; font-size: 13px; color: var(--cx-gray); }
.cx-single:not(:has(.cx-single__img)) .cx-single__head { padding-bottom: 56px; }
.cx-share { display: flex; gap: 10px; margin-bottom: 28px; }
.cx-share__a { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--cx-line); font-size: 17px; background: #fff; transition: background .25s, color .25s, transform .35s var(--ease), border-color .25s; }
.cx-share__a:hover { transform: translateY(-3px); background: var(--cx-ink); border-color: var(--cx-ink); color: #fff; }
.cx-share__ok { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); background: var(--cx-ink); color: #fff; font-size: 12px; padding: 5px 9px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .25s; }
.cx-share__a.is-ok .cx-share__ok { opacity: 1; transform: translate(-50%, 0); }
.cx-content { font: 400 20px/1.72 var(--f-r); color: #1c1c22; overflow-wrap: anywhere; }
.cx-content > * + * { margin-top: 1.1em; }
.cx-content > p:first-of-type::first-letter { float: left; display: grid; font: 700 2.9em/1 var(--f-x); margin: .08em .16em 0 0; padding: .12em .2em; border-radius: 12px; background: var(--cx-acc); color: #fff; }
.cx-content h2, .cx-content h3, .cx-content h4 { font-family: var(--f-x); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; margin-top: 1.5em; }
.cx-content h2 { font-size: 30px; } .cx-content h3 { font-size: 25px; } .cx-content h4 { font-size: 21px; }
.cx-content a { color: #b8236a; text-decoration: underline; text-decoration-color: rgba(233, 70, 143, .5); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.cx-content a:hover { text-decoration-color: currentColor; }
.cx-content img { border-radius: 14px; }
.cx-content figure { margin-inline: 0; }
.cx-content figcaption, .cx-content .wp-caption-text { font: 13px/1.5 var(--f-s); color: var(--cx-gray); margin-top: 8px; }
.cx-content blockquote { margin-inline: 0; padding: 18px 24px; border-radius: 16px; background: #fff; border-left: 6px solid var(--cx-acc); font-style: italic; font-size: 22px; }
.cx-content ul, .cx-content ol { padding-left: 1.3em; }
.cx-content ul { list-style: disc; }
.cx-content ol { list-style: decimal; }
.cx-content iframe { width: 100%; border: 0; border-radius: 14px; }
.cx-content iframe[src*="youtube"] { aspect-ratio: 16 / 9; height: auto; }
.cx-content table { width: 100%; border-collapse: collapse; font: 15px/1.5 var(--f-s); }
.cx-content td, .cx-content th { border: 1px solid var(--cx-line); padding: 8px 10px; }
.cx-content .alignleft { float: left; margin: .3em 1.2em .6em 0; }
.cx-content .alignright { float: right; margin: .3em 0 .6em 1.2em; }
.cx-content .aligncenter { margin-inline: auto; }
.cx-content .mei-bn { font-family: var(--f-s); }
.mei-bn--inline, .mei-bn--end { margin: 2em auto; padding: 18px; border-radius: 16px; background: #fff; }
.cx-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 34px; font-size: 13px; }
.cx-tags span { font: 700 12px var(--f-m); text-transform: uppercase; letter-spacing: .14em; margin-right: 6px; color: var(--cx-gray); }
.cx-tags a { padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--cx-line); transition: background .2s, color .2s; }
.cx-tags a:hover { background: var(--cx-ink); color: #fff; }
.cx-related { margin-top: 56px; }
.cx-related .cx-grid3 { margin-top: 0; }
.cx-page { padding: 50px 0 20px; }
.cx-page .cx-content > p:first-of-type::first-letter { all: unset; }

/* =========================================================
   5. Pie
   ========================================================= */
.cx-footer { position: relative; margin-top: 80px; background: var(--cx-ink); color: rgba(255, 255, 255, .78); padding: 0; overflow: hidden; }
.cx-footer__lines { display: grid; grid-template-columns: repeat(9, 1fr); height: 10px; }
.cx-footer__lines i:nth-child(1) { background: var(--l1); } .cx-footer__lines i:nth-child(2) { background: var(--l2); } .cx-footer__lines i:nth-child(3) { background: var(--l3); } .cx-footer__lines i:nth-child(4) { background: var(--l4); } .cx-footer__lines i:nth-child(5) { background: var(--l5); } .cx-footer__lines i:nth-child(6) { background: var(--l6); } .cx-footer__lines i:nth-child(7) { background: var(--l7); } .cx-footer__lines i:nth-child(8) { background: var(--l8); } .cx-footer__lines i:nth-child(9) { background: var(--la); }
.cx-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 56px; padding-top: 56px; }
.cx-footer__brand p { margin: 18px 0 20px; max-width: 360px; font-size: 14.5px; }
.cx-social--foot .cx-social__a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); }
.cx-social--foot .cx-social__a:hover { background: var(--cx-acc); border-color: var(--cx-acc); color: #fff; }
.cx-footer__h { font: 700 12px/1 var(--f-m); letter-spacing: .18em; text-transform: uppercase; color: var(--cx-led); margin-bottom: 18px; }
.cx-footer__menu { columns: 2; column-gap: 20px; }
.cx-footer__menu a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font: 600 15px/1.2 var(--f-x); color: #fff; transition: color .2s, transform .3s var(--ease); }
.cx-footer__menu a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--cx-acc); }
.cx-footer__menu li:nth-child(5n+2) a::before { border-color: var(--l2); } .cx-footer__menu li:nth-child(5n+3) a::before { border-color: var(--l3); } .cx-footer__menu li:nth-child(5n+4) a::before { border-color: var(--l7); } .cx-footer__menu li:nth-child(5n+5) a::before { border-color: var(--l8); }
.cx-footer__menu a:hover { color: var(--cx-led); transform: translateX(4px); }
.cx-footer__post { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); font: 600 14.5px/1.35 var(--f-x); color: #fff; transition: color .2s; }
.cx-footer__post time { font: 500 12px var(--f-m); color: rgba(255, 255, 255, .5); }
.cx-footer__post:hover { color: var(--cx-led); }
.cx-footer__big { position: relative; z-index: 1; margin-top: 44px; text-align: center; font: 700 clamp(60px, 14.5vw, 220px)/.8 var(--f-x); letter-spacing: -.065em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13); white-space: nowrap; user-select: none; overflow: hidden; }
.cx-totop { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--cx-acc); color: #fff; font-size: 20px; box-shadow: 0 14px 30px -10px rgba(233, 70, 143, .8); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease), background .2s; }
.cx-totop .cx-ico { transform: rotate(90deg); }
.cx-totop:hover { background: var(--cx-ink); }
.is-scrolled .cx-totop { opacity: 1; transform: none; pointer-events: auto; }

.cx-js .cx-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.cx-js .cx-reveal.is-in { opacity: 1; transform: none; }
.cx-js .cx-card.cx-reveal.is-in:hover { transform: translateY(-5px); }

/* Enlaces de imagen a bloque completo */
.cx-card__img > a:not(.cx-chip), .cx-feat__img, .cx-gcard__img, .cx-rcard__img, .cx-tile__img, .cx-lead__img, .cx-item .cx-media { display: block; }
.cx-card__img > a:not(.cx-chip) { width: 100%; height: 100%; }

/* =========================================================
   6. Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .cx-menu a { padding-inline: 11px; font-size: 14px; }
  .cx-searchbtn span, .cx-searchbtn kbd { display: none; }
  .cx-split, .cx-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
  .cx-ops { grid-template-columns: repeat(2, 1fr); }
  .cx-grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .cx-nav { display: none; }
  .cx-only-m { display: grid; }
  .cx-header__in { justify-content: space-between; }
  .cx-searchbtn { padding: 11px; }
  .cx-hero__in { grid-template-columns: 1fr; }
  .cx-hero__row { grid-template-columns: 1fr; gap: 12px; }
  .cx-lead { grid-template-columns: 1fr; gap: 20px; }
  .cx-lead__body { padding: 0 8px 10px; }
  .cx-split, .cx-layout { grid-template-columns: minmax(0, 1fr); }
  .cx-split__side, .cx-layout__side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .cx-sticky { position: static; }
  .cx-duo__in { grid-template-columns: 1fr; gap: 24px; }
  .cx-footer__grid { grid-template-columns: 1fr 1fr; }
  .cx-footer__brand { grid-column: 1 / -1; }
  .cx-index__float { display: none; }
}
@media (max-width: 782px) { .admin-bar .cx-header { top: 0; } }
@media (max-width: 680px) {
  :root { --head-h: 62px; }
  .cx-wrap { padding-inline: 16px; }
  .cx-topbar__date { display: none; }
  .cx-social { margin-left: auto; }
  .cx-wordmark__a { height: 32px; font-size: 16px; padding: 0 8px; }
  .cx-wordmark__b { font-size: 21px; }
  .cx-sec { padding: 50px 0; }
  .cx-sh { flex-wrap: wrap; gap: 10px 12px; }
  .cx-sh__n { width: 48px; height: 48px; font-size: 21px; border-radius: 13px; }
  .cx-sh__line { display: none; }
  .cx-sh__more { margin-left: auto; }
  .cx-hero { padding-top: 14px; }
  .cx-feat { min-height: 0; grid-template-rows: 250px auto; }
  .cx-feat__img { position: relative; grid-row: 1; }
  .cx-feat__body { margin: -36px 10px 10px; padding: 18px; }
  .cx-feat__route { display: none; }
  .cx-gcard { grid-template-columns: 96px 1fr; }
  .cx-board__label { padding-left: 16px; padding-right: 24px; }
  .cx-board__label b { font-size: 15px; }
  .cx-grid4, .cx-grid3 { grid-template-columns: 1fr; gap: 18px; }
  .cx-mag .cx-grid4 .cx-card { display: grid; grid-template-columns: 112px 1fr; gap: 4px 14px; align-items: start; }
  .cx-mag .cx-grid4 .cx-card__img { grid-row: span 2; aspect-ratio: 1; }
  .cx-mag .cx-grid4 .cx-chip--float { display: none; }
  .cx-mag .cx-grid4 .cx-card__t { margin-top: 2px; padding: 0; font-size: 16px; }
  .cx-mag .cx-grid4 .cx-card > .cx-meta { margin-top: 0; padding: 0; }
  .cx-railsec .cx-sh { padding-right: 0; }
  .cx-rail__ctrl { display: none; }
  .cx-rail { grid-auto-columns: 80%; }
  .cx-index::before { left: 17px; }
  .cx-index__row { grid-template-columns: 40px 1fr; gap: 14px; padding-right: 0; }
  .cx-index__n { width: 40px; height: 40px; border-width: 5px; font-size: 11px; }
  .cx-index__meta { grid-column: 2; }
  .cx-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 170px 170px; }
  .cx-tile--1 { grid-column: 1 / -1; grid-row: auto; }
  .cx-split__side, .cx-layout__side { grid-template-columns: 1fr; }
  .cx-duo__col { padding: 18px; border-radius: 22px; }
  .cx-ops { grid-template-columns: 1fr; }
  .cx-single__head { padding: 30px 0 80px; }
  .cx-single__img { margin-top: -56px; padding-inline: 10px; }
  .cx-single__img img { border-radius: 18px; }
  .cx-content { font-size: 18.5px; }
  .cx-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .cx-lines i { height: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
