/* Valor Agregado · piezas de marca (se carga después de va.css y wp.css). */

/* ---------- letra: títulos angostos ---------- */
h1, h2, h3, h4 { font-stretch: 82%; font-weight: 700; letter-spacing: -.005em; font-variation-settings: normal; }
body { font-size: 17px; }
.num { font-family: var(--f-data); font-variant-numeric: tabular-nums; }

/* ---------- barra de países ---------- */
.paises { background: var(--navy); color: var(--on-bar); font-family: var(--f-ui); font-size: 13px; }
.paises .wrap { display: flex; align-items: center; gap: 12px; min-height: 38px; }
.paises .lbl { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-bar-muted); }
.paises-l { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; white-space: nowrap; mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.paises-l::-webkit-scrollbar { display: none; }
.paises-l a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 4px; color: #e6ecf7; }
.paises-l a:hover { background: rgba(255, 255, 255, .1); }
.paises-l a[aria-current="page"] { background: var(--brand); color: #fff; font-weight: 600; }
.paises .fl { font-size: 15px; line-height: 1; }
/* banderas: WordPress las cambia por imágenes para que se vean en todas las computadoras */
img.emoji { display: inline-block !important; width: 1.1em !important; height: 1.1em !important; max-width: none !important; vertical-align: -.18em !important; margin: 0 !important; background: none !important; }

/* ---------- logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--navy); }
:root[data-theme="dark"] .brand { color: var(--ink); }
.wordmark { font-family: var(--f-display); font-weight: 700; font-stretch: 75%; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; letter-spacing: .005em; white-space: nowrap; }
.brand.grande .wordmark { font-size: clamp(32px, 4.4vw, 54px); }
.wordmark i { font-style: normal; color: var(--coral); display: inline-block; transform: skewX(-8deg); padding-inline: .06em; font-weight: 700; }
.latam { flex: none; font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; background: var(--brand); color: #fff; padding: 5px 7px 4px; }

/* ---------- cabecera ---------- */
.masthead { border-bottom: 0; }
.masthead .wrap { display: flex; align-items: center; gap: 22px; padding-block: 20px 18px; grid-template-columns: none; }
.masthead.portada .wrap { padding-block: 26px 22px; }
.mh-dato { display: grid; gap: 3px; font-family: var(--f-ui); font-size: 13px; color: var(--muted); border-left: 1px solid var(--rule); padding-left: 18px; min-width: 0; }
.mh-dato .hoy { color: var(--ink); font-weight: 600; }
.mh-dato .lema { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.masthead .head-logos { margin-left: auto; }
.mh-acc { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.masthead .head-logos + .mh-acc { margin-left: 0; }
.mh-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 13px; font-weight: 600; color: var(--ink); padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); }
.mh-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.mh-btn svg { width: 15px; height: 15px; }
.icon-btn { color: var(--ink); }

/* ---------- menú de secciones ---------- */
.nav { border-top: 1px solid var(--rule); border-bottom: 3px solid var(--navy); box-shadow: none; }
:root[data-theme="dark"] .nav { border-bottom-color: var(--rule-strong); }
.nav li a { font-family: var(--f-ui); font-stretch: 85%; font-size: 14px; font-weight: 700; letter-spacing: .06em; padding: 14px 12px 11px; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.nav li a:hover { border-bottom-color: var(--rule); }
.nav li a[aria-current="page"] { border-bottom-color: var(--coral); }
.nav .mini { background: var(--navy); color: #fff; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 14px; width: auto; height: 30px; padding: 0 8px; white-space: nowrap; }
.nav .mini i { font-style: normal; color: var(--coral); }
.nav .search { color: var(--ink); display: none; }
.nav.stuck .search { display: inline-flex; }

/* ---------- tira de mercados (TradingView) ---------- */
.cinta { background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.cinta .wrap { display: flex; align-items: center; gap: 12px; height: 46px; overflow: hidden; }
.cinta .lbl { flex: none; font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.cinta .tradingview-widget-container { flex: 1; min-width: 0; height: 46px; overflow: hidden; }
.cinta .tradingview-widget-container__widget { height: 46px; }
.cinta .tradingview-widget-container iframe { display: block; }

/* ---------- temas del día ---------- */
.topics .lbl { color: var(--coral-txt); }
.topic-list a { border-radius: 999px; }

/* ---------- volantas ---------- */
.kicker { font-family: var(--f-ui); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--brand); gap: 8px; }
.kicker .tag { background: none; color: var(--brand); padding: 0; }
.kicker .place { color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: none; }
.kicker .place::before { content: "·"; margin-right: 8px; color: var(--muted); }

/* ---------- nota principal ---------- */
.hero { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); padding-block: 26px 34px; }
.lead { gap: 18px; }
.lead-l { display: grid; gap: 14px; }
.lead .h1, .lead h1 { font-family: var(--f-display); font-stretch: 78%; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.02; font-weight: 700; letter-spacing: -.005em; }
.lead img { aspect-ratio: 16 / 8.5; }
.claves { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; border-top: 1px solid var(--rule); padding-top: 18px; }
.claves.una { grid-template-columns: minmax(0, 1fr); }
.claves h3 { font-family: var(--f-ui); font-stretch: 100%; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-txt); margin-bottom: 8px; }
.claves p { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.claves .meta { margin-top: 10px; }
.porque ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 16px; color: var(--ink-2); }
.porque li::marker { color: var(--coral-txt); }
.hero .aside { padding-left: 0; }

/* lo último */
.latest .block-head h2 { font-size: 22px; }
.timeline .hh { color: var(--brand); font-family: var(--f-data); font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline b { color: var(--brand); }

/* ---------- el dato del día ---------- */
.dato { background: var(--navy); color: #fff; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 26px; }
.dato .num { font-family: var(--f-num); font-style: italic; font-size: 64px; line-height: 1; color: var(--coral); font-weight: 400; }
.dato p { font-size: 16.5px; line-height: 1.45; color: #dfe6f3; }
.dato b { color: #fff; }

/* ---------- bloques y tarjetas ---------- */
.block-head { border-top: 3px solid var(--navy); padding-top: 12px; }
:root[data-theme="dark"] .block-head { border-top-color: var(--rule-strong); }
.block-head h2 { font-family: var(--f-display); font-stretch: 78%; text-transform: uppercase; font-size: 26px; letter-spacing: .01em; }
.block-head h2::before { display: none; }
.block-head a.more { color: var(--brand); }
.card h3 { font-size: 20px; line-height: 1.12; }
.card.big h3 { font-size: 30px; line-height: 1.04; font-stretch: 80%; }
.card img, .lead img, .row-img img { border-radius: 0; }
.list h3 { font-size: 19px; line-height: 1.14; }
.mostread a::before, .edition li a::before { color: var(--coral-txt); }
.btn { background: var(--navy); color: #fff; border-radius: 3px; }
.btn:hover { background: var(--brand); }
.btn.brand { background: var(--coral-txt); color: #fff; }
.btn.ghost { color: var(--ink); }

/* ---------- tablero de países ---------- */
.tablero-paises { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pais-t { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 0 10px; align-items: center; padding: 10px 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.pais-t .fl { grid-row: span 2; font-size: 24px; line-height: 1; }
.pais-t .nm { font-family: var(--f-ui); font-weight: 700; font-size: 14.5px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pais-t .k { font-family: var(--f-ui); font-size: 12px; color: var(--muted); }
.pais-t:hover { box-shadow: inset 0 0 0 2px var(--brand); }
.pais-t[data-level="2"] { box-shadow: inset 3px 0 0 var(--brand), inset 0 0 0 1px var(--rule); }
.pais-t[data-level="3"] { box-shadow: inset 5px 0 0 var(--coral), inset 0 0 0 1px var(--rule); }
.pais-t[aria-current="page"] { background: var(--navy); color: #fff; box-shadow: none; }
.pais-t[aria-current="page"] .k { color: var(--on-bar-muted); }

/* ---------- edición impresa (tapa de respaldo) ---------- */
.cover { background: var(--navy); color: #fff; }
.cover .cm i { color: var(--coral); font-style: normal; }
.cover .cd { border-color: #fff; }

/* ---------- nota ---------- */
.monogram { background: var(--navy); color: #fff; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 18px; }
.monogram i { font-style: normal; color: var(--coral); }
.art-top h1 { font-stretch: 78%; font-weight: 700; line-height: 1.03; }
.keys h2 { color: var(--coral-txt); }
.progress { background: var(--coral); }

/* ---------- pie ---------- */
.footer { background: var(--foot); color: #dfe6f3; border-top: 0; }
.footer a { color: #fff; }
.footer .brand { color: #fff; }
.footer .foot-brand p { color: #b7c3da; margin-top: 12px; max-width: 42ch; }
.footer h4 { color: var(--on-bar-muted); }
.footer .foot-brand h4 { margin-top: 22px; margin-bottom: 10px; font-family: var(--f-ui); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.foot-top { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); }
.paises-pie ul { columns: 2; column-gap: 18px; display: block; }
.paises-pie li { break-inside: avoid; margin-bottom: 8px; }
.foot-bottom { border-top-color: rgba(255, 255, 255, .15); color: var(--on-bar-muted); }
.redes .red-x { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }

/* ---------- hoja del celular ---------- */
.mini-logo { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 20px; background: var(--navy); color: #fff; padding: 6px 8px; }
.mini-logo i { font-style: normal; color: var(--coral); }

/* ---------- columna de avisos: los ocultos por el webmaster no dejan hueco ---------- */
.riel .ocultar { display: none !important; }
.riel .aviso:has(> .ocultar:only-child) { display: none; }
.riel .aviso .wp-block-image, .riel .aviso figure { margin: 0; }
.riel .aviso .wp-block-image img { margin-inline: auto; }

/* ---------- pantallas medianas y celular ---------- */
@media (max-width: 1100px) {
  .mh-dato .lema { display: none; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .lead { border-right: 0; padding-right: 0; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .paises .lbl { display: none; }
  .masthead .wrap { gap: 12px; padding-block: 14px 12px; }
  .mh-dato { display: none; }
  .mh-btn span { display: none; }
  .mh-btn { padding: 8px; }
  .latam { font-size: 10px; padding: 4px 6px 3px; }
  .wordmark, .brand.grande .wordmark { font-size: 28px; }
  .claves { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dato { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px; }
  .dato .num { font-size: 52px; }
  .cinta .lbl { display: none; }
  .tablero-paises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- versión 2 ---------- */
.mh-wa { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-ui); font-size: 13px; font-weight: 700; color: #fff; background: #128c4a; padding: 8px 13px; border-radius: 999px; }
.mh-wa:hover { background: #0e7a40; }
.mh-wa svg { width: 15px; height: 15px; }
.wa-nota { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding: 14px 16px; background: #eaf7ef; color: #0d3d22; font-family: var(--f-ui); font-size: 15px; }
.wa-nota a { color: #fff; background: #128c4a; padding: 8px 13px; border-radius: 999px; font-weight: 700; margin-left: auto; }
.kicker .place.region { color: var(--muted); }
@media (max-width: 640px) { .mh-wa span { display: none; } .mh-wa { padding: 8px; } }

/* ---------- mercados (2.1) ---------- */
.cinta a.lbl:hover { text-decoration: underline; text-underline-offset: 3px; }
.merc-g { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.tv-cuadro { position: relative; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.tv-cuadro[data-cargado] { background: transparent; box-shadow: none; }
.tv-cuadro .tradingview-widget-container, .tv-cuadro .tradingview-widget-container__widget { height: 100%; }
.tv-cargando { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-ui); font-size: 13px; color: var(--muted); text-align: center; padding: 16px; }
.tv-credito { font-family: var(--f-ui); font-size: 12px; color: var(--muted); margin-top: 10px; }
.tv-credito a { color: var(--brand); }
.mercados + .mercados { padding-top: 0; }
@media (max-width: 980px) { .merc-g { grid-template-columns: minmax(0, 1fr); } }
