/* =========================================================
   Conversa RD — sitio público
   Paleta oficial: negro #171717 + azul eléctrico #1433FF + blanco
   ========================================================= */
:root {
  --negro-950: #0A0A0A;
  --negro-900: #111111;
  --negro: #171717;
  --negro-700: #2E3140;
  --negro-100: #EEF0F5;
  --azul: #1433FF;
  --azul-600: #0F27CC;
  --azul-100: #E3E8FF;
  --azul-50: #F3F5FF;
  --ink: #0F172A;
  --text: #283244;
  --muted: #667085;
  --line: #E5E8EF;
  --bg: #F5F6F9;
  --paper: #FFFFFF;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(23, 23, 23, .06), 0 1px 3px rgba(23, 23, 23, .08);
  --shadow: 0 10px 30px -12px rgba(23, 23, 23, .28);
  --f-head: "Montserrat", "Arial", sans-serif;
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-read: "Source Serif 4", Georgia, serif;
  --wrap: 1240px;
  --logo-bg: var(--negro);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--f-ui); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ico { flex: none; vertical-align: middle; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--azul); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; border-radius: 4px; }

/* ---------- Logo (PNG oficial de Conversa) ---------- */
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 40px; width: auto; display: block; }
.logo--compact img { height: 28px; }

/* ---------- Barra superior / cabecera ---------- */
.topbar { background: var(--negro-950); color: #BDBDC6; font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar__date { display: inline-flex; align-items: center; gap: 7px; text-transform: none; }
.topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar__links a:hover { color: #fff; }

.masthead { background: var(--negro); position: relative; overflow: hidden; }
.masthead::after { /* destello azul sutil */
  content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(20, 51, 255, .22), transparent 65%); pointer-events: none;
}
.masthead__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; position: relative; z-index: 1; }
.searchbox { display: flex; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 4px 4px 4px 18px; width: min(340px, 100%); transition: background .2s, border-color .2s; }
.searchbox:focus-within { background: rgba(255, 255, 255, .14); border-color: var(--azul); }
.searchbox input { flex: 1; border: 0; background: transparent; color: #fff; font: inherit; font-size: 15px; outline: none; min-width: 0; }
.searchbox input::placeholder { color: #9C9CA8; }
.searchbox button { border: 0; background: var(--azul); color: #fff; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.searchbox button:hover { background: var(--azul-600); }
.iconbtn { border: 0; background: transparent; color: #fff; padding: 6px; border-radius: 8px; display: inline-grid; place-items: center; }
.navtoggle { display: none; }

.mainnav { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; transition: box-shadow .2s; }
.mainnav.is-stuck { box-shadow: 0 6px 20px -10px rgba(23, 23, 23, .35); }
.mainnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.mainnav__in::-webkit-scrollbar { display: none; }
.mainnav a {
  font-family: var(--f-head); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .01em;
  color: var(--negro); padding: 15px 14px 12px; white-space: nowrap; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s;
}
.mainnav a:hover { color: var(--azul); }
.mainnav a.is-active { border-bottom-color: var(--c, var(--azul)); color: var(--c, var(--azul)); }

/* ---------- Cinta de última hora ---------- */
.ticker { background: var(--azul); color: #fff; }
.ticker__in { display: flex; align-items: center; height: 42px; gap: 14px; }
.ticker__label { display: inline-flex; align-items: center; gap: 6px; background: var(--negro); padding: 5px 12px; border-radius: 6px; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 12px; white-space: nowrap; }
.ticker__label .ico { color: var(--azul); animation: pulse 1.4s ease-in-out infinite; }
.ticker__track { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__move { display: inline-flex; gap: 48px; white-space: nowrap; animation: ticker 60s linear infinite; font-weight: 600; font-size: 14.5px; }
.ticker__move a::before { content: "●"; margin-right: 12px; font-size: 8px; vertical-align: middle; opacity: .7; }
.ticker__move a:hover { text-decoration: underline; }
.ticker:hover .ticker__move { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Drawer móvil ---------- */
.drawer { position: fixed; inset: 0 auto 0 0; width: min(340px, 86vw); background: var(--negro); color: #fff; z-index: 60; transform: translateX(-100%); transition: transform .28s ease; display: flex; flex-direction: column; padding: 16px; overflow-y: auto; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer > a { display: flex; align-items: center; gap: 12px; padding: 13px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-family: var(--f-head); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .01em; }
.drawer > a i { width: 8px; height: 8px; border-radius: 50%; }
.searchbox--drawer { width: 100%; margin-bottom: 10px; }
.scrim { position: fixed; inset: 0; background: rgba(10, 10, 10, .55); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Avisos ---------- */
.toasts { margin-top: 16px; display: grid; gap: 8px; }
.toast { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--negro-100); color: var(--negro); font-weight: 500; border-left: 4px solid var(--negro); }
.toast--success { background: #E8F7EE; color: #11603A; border-color: #1A9A5B; }
.toast--error { background: #FDECEC; color: #9B1C1C; border-color: #D93636; }
.toast--warning { background: var(--azul-50); color: #8A3A08; border-color: var(--azul); margin-top: 16px; }

/* ---------- Componentes ---------- */
.chip { display: inline-block; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 11px; line-height: 1.14; padding: 6px 9px 5px; border-radius: 5px; background: var(--c, var(--azul)); color: #fff; position: relative; z-index: 2; }
.chip--ghost { background: transparent; color: var(--c, var(--azul)); padding: 0; margin-bottom: 6px; }
.meta { display: inline-flex; gap: 14px; color: var(--muted); font-size: 13px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 15px; transition: transform .15s, background .2s, box-shadow .2s; }
.btn--azul { background: var(--azul); color: #fff; box-shadow: 0 8px 20px -8px rgba(20, 51, 255, .7); }
.btn--azul:hover { background: var(--azul-600); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--negro); border: 2px solid var(--negro); }
.btn--ghost:hover { background: var(--negro); color: #fff; }

.sectitle { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; border-bottom: 2px solid var(--line); position: relative; }
.sectitle span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .01em; color: var(--negro); padding-bottom: 8px; position: relative; }
.sectitle span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--c, var(--azul)); border-radius: 2px; }
.sectitle span .ico { color: var(--c, var(--azul)); }
.sectitle--sm span { font-size: 22px; }
.sectitle__more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--c, var(--azul)); }
.sectitle__more:hover { gap: 8px; }

/* Tarjeta con imagen de fondo */
.ocard { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--negro); isolation: isolate; min-height: 220px; }
.ocard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.ocard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 25%, rgba(10, 10, 10, .55) 55%, rgba(10, 10, 10, .95) 100%); }
.ocard:hover img { transform: scale(1.045); }
.ocard__body { position: absolute; inset: auto 0 0 0; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ocard__title { color: #fff; font-family: var(--f-head); font-weight: 700; line-height: 1.14; font-size: 18px; text-wrap: balance; }
.ocard__title a:hover { text-decoration: underline; text-decoration-color: var(--azul); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ocard__excerpt { color: #D6DDEC; margin: 0; max-width: 60ch; font-size: 16px; }
.ocard .meta { color: #BDBDC6; }
.ocard--xl { min-height: 520px; }
.ocard--xl .ocard__body { padding: 34px; }
.ocard--xl .ocard__title { font-size: clamp(32px, 4vw, 50px); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; margin-top: 24px; }
.hero__side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.hero__side .ocard__body { padding: 16px; gap: 8px; }
.hero__side .ocard__title { font-size: 19px; }
.hero__side .meta { display: none; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; margin-top: 44px; align-items: start; }
.stack { display: grid; gap: 4px; }

.hcard { display: grid; grid-template-columns: 260px 1fr; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hcard:first-child { padding-top: 0; }
.hcard__img { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10; background: var(--negro-100); }
.hcard__img img, .vcard__img img, .mini__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hcard:hover img, .vcard:hover img, .mini:hover img { transform: scale(1.05); }
.hcard__title { font-family: var(--f-head); font-size: 20px; line-height: 1.14; font-weight: 700; margin-bottom: 8px; text-wrap: balance; }
.hcard__title a:hover, .vcard__title a:hover, .mini h3 a:hover { color: var(--azul); }
.hcard__excerpt { margin: 0 0 10px; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.vcard__img { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 14px; background: var(--negro-100); }
.vcard__title { font-family: var(--f-head); font-size: 19px; line-height: 1.14; font-weight: 700; margin-bottom: 8px; text-wrap: balance; }
.vcard__excerpt { color: var(--muted); margin: 0 0 10px; font-size: 15px; }

.catblock { margin-top: 56px; }
.catblock__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--c); }
.catblock__grid .vcard__title { font-size: 30px; }
.catblock__list { display: grid; gap: 18px; align-content: start; }
.mini { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mini:last-child { border-bottom: 0; padding-bottom: 0; }
.mini__img { border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.mini h3 { font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.1; margin-bottom: 6px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ---------- Barra lateral ---------- */
.sidebar { display: grid; gap: 28px; position: sticky; top: 72px; }
.widget { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.ranking { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ranking li + li { border-top: 1px solid var(--line); }
.ranking a { display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 13px 0; align-items: start; }
.ranking b { font-family: var(--f-head); font-weight: 800; font-size: 32px; line-height: .9; color: var(--azul); -webkit-text-stroke: 0; }
.ranking li:nth-child(n+4) b { color: transparent; -webkit-text-stroke: 1.5px var(--negro-700); }
.ranking span { font-weight: 600; color: var(--ink); line-height: 1.3; font-size: 15px; }
.ranking a:hover span { color: var(--azul); }
.ranking small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 4px; }

.newsletter { background: var(--negro); color: #CBCBD3; position: relative; overflow: hidden; }
.newsletter::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 51, 255, .35), transparent 70%); }
.newsletter__ico { display: inline-grid; place-items: center; width: 46px; height: 46px; background: var(--azul); color: #fff; border-radius: 12px; margin-bottom: 14px; }
.newsletter h3 { color: #fff; font-family: var(--f-head); font-size: 21px; line-height: 1.14; margin-bottom: 8px; }
.newsletter p { margin: 0 0 16px; font-size: 14.5px; }
.newsletter form { display: grid; gap: 10px; position: relative; z-index: 1; }
.newsletter input { border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; padding: 12px 16px; border-radius: 999px; font: inherit; }
.newsletter input::placeholder { color: #8D9BBB; }
.newsletter input:focus { outline: none; border-color: var(--azul); }

.adslot { text-align: center; border: 2px dashed #CDD3E0; background: repeating-linear-gradient(45deg, #fff, #fff 12px, #FAFBFD 12px, #FAFBFD 24px); box-shadow: none; }
.adslot span { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.adslot strong { display: block; font-family: var(--f-head); font-size: 22px; color: var(--negro); margin: 8px 0 4px; }
.adslot p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }

/* ---------- Noticia ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 70; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--azul), #6B80FF); }
.article-layout { margin-top: 32px; }
.story { background: var(--paper); border-radius: var(--radius); padding: 40px 48px 36px; box-shadow: var(--shadow-sm); min-width: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--azul); }
.story__title { font-family: var(--f-head); font-weight: 800; font-size: clamp(27px, 3.68vw, 43px); line-height: 1.14; margin: 14px 0 16px; text-wrap: balance; letter-spacing: -.005em; }
.story__dek { font-family: var(--f-read); font-size: 21px; line-height: 1.45; color: #475467; margin: 0 0 24px; }
.story__byline { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.story__byline strong { display: block; color: var(--ink); font-size: 15px; }
.story__byline span { font-size: 13.5px; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--negro); color: #fff !important; display: grid; place-items: center; font-weight: 700; font-size: 15px !important; border: 2px solid var(--azul); }
.share { margin-left: auto; display: flex; gap: 8px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--negro); transition: all .2s; }
.share__fb:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share__x:hover { background: #000; color: #fff; border-color: #000; }
.share__wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share__copy:hover, .share__copy.is-done { background: var(--azul); color: #fff; border-color: var(--azul); }
.story__figure { margin: 28px -48px; }
.story__figure img { width: 100%; max-height: 560px; object-fit: cover; }
.story__figure figcaption { padding: 10px 48px 0; font-size: 13.5px; color: var(--muted); border-left: 3px solid var(--azul); margin-left: 48px; padding-left: 12px; }
.prose { font-family: var(--f-read); font-size: 19.5px; line-height: 1.75; color: #1F2937; max-width: 70ch; }
.prose > p:first-of-type::first-letter { float: left; font-family: var(--f-head); font-weight: 800; font-size: 62px; line-height: .8; padding: 8px 10px 0 0; color: var(--azul); }
.prose p { margin: 0 0 1.2em; }
.prose h2, .prose h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.1; margin: 1.6em 0 .6em; color: var(--negro); }
.prose h2 { font-size: 32px; } .prose h3 { font-size: 26px; }
.prose a { color: var(--azul-600); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 5px solid var(--azul); font-size: 23px; font-style: italic; color: var(--negro); }
.prose img { border-radius: var(--radius-sm); margin: 1.4em 0; height: auto; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--azul); font-weight: 700; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius-sm); }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags a { background: var(--azul-50); color: var(--azul-600); padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.tags a:hover { background: var(--azul); color: #fff; }
.story__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.story__foot span { display: inline-flex; gap: 6px; align-items: center; }
.related { margin-top: 56px; }

/* ---------- Encabezados de página ---------- */
.pagehead { background: var(--negro); color: #CBCBD3; padding: 44px 0 40px; position: relative; overflow: hidden; border-bottom: 5px solid var(--c, var(--azul)); }
.pagehead::after { content: ""; position: absolute; right: 8%; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c, var(--azul)) 40%, transparent), transparent 70%); }
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead__kicker { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .09em; color: var(--c, var(--azul)); font-weight: 700; font-size: 12px; filter: brightness(1.25); }
.pagehead h1 { color: #fff; font-family: var(--f-head); font-weight: 800; font-size: clamp(32px, 4.8vw, 51px); text-transform: uppercase; line-height: 1.14; margin: 6px 0 8px; }
.pagehead p { margin: 0; }
.bigsearch { display: flex; gap: 10px; margin-top: 22px; max-width: 640px; }
.bigsearch input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 14px 22px; font: inherit; font-size: 17px; }
.lead { margin-bottom: 28px; }
.lead .ocard--xl { min-height: 420px; }
.empty { padding: 40px; text-align: center; background: var(--paper); border-radius: var(--radius); color: var(--muted); }
.empty-home { text-align: center; padding: 120px 20px; }
.empty-home h1 { font-family: var(--f-head); font-size: 38px; color: var(--negro); }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 32px 0 0; }
.pager a, .pager .gap { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.pager a:hover { border-color: var(--azul); color: var(--azul); }
.pager a.is-current { background: var(--negro); border-color: var(--negro); color: #fff; }
.pager .gap { border: 0; background: none; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.contact-card { background: var(--paper); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--azul); }
.contact-card > .ico { color: var(--azul); }
.contact-card h3 { font-family: var(--f-head); font-size: 21px; margin: 12px 0 6px; color: var(--negro); }
.contact-card p { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.contact-card a { color: var(--azul-600); font-weight: 600; word-break: break-all; }

.errorpage { text-align: center; padding: 100px 20px; }
.errorpage b { font-family: var(--f-head); font-size: 112px; line-height: 1.14; color: var(--azul); }
.errorpage h1 { font-family: var(--f-head); font-size: 27px; color: var(--negro); margin: 8px 0 26px; }

/* ---------- Pie ---------- */
.footer { background: var(--negro-900); color: #A9B6D1; margin-top: 80px; border-top: 5px solid var(--azul); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr .8fr; gap: 48px; padding-top: 56px; padding-bottom: 48px; }
.footer__brand p { max-width: 42ch; margin: 20px 0; font-size: 15px; }
.footer h4 { color: #fff; font-family: var(--f-head); text-transform: uppercase; letter-spacing: .04em; font-size: 14px; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer__cols { grid-template-columns: 1fr 1fr; }
.footer a:hover { color: var(--azul); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; }
.footer__social a:hover { background: var(--azul); color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 13.5px; }

.totop { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--azul); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .25s; z-index: 30; }
.totop .ico { transform: rotate(-90deg); }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__side { grid-template-rows: 240px 240px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .topbar__links a:not([aria-label]) { display: none; }
  .navtoggle { display: inline-grid; }
  .masthead__in { padding-top: 14px; padding-bottom: 14px; }
  .masthead .searchbox { display: none; }
  .masthead__logo { margin-right: auto; }
  .mainnav a { font-size: 15px; padding: 12px 10px 9px; }
  .ocard--xl { min-height: 440px; }
  .ocard--xl .ocard__body { padding: 20px; }
  .hero__side { grid-template-columns: 1fr; grid-template-rows: none; }
  .hero__side .ocard { min-height: 210px; }
  .hcard { grid-template-columns: 112px 1fr; gap: 14px; }
  .hcard__img { aspect-ratio: 1; }
  .hcard__title { font-size: 20px; }
  .hcard__excerpt { display: none; }
  .catblock__grid { grid-template-columns: 1fr; padding: 16px; }
  .catblock__grid .vcard__title { font-size: 26px; }
  .grid3 { grid-template-columns: 1fr; }
  .story { padding: 24px 18px; border-radius: 0; margin: 0 -16px; }
  .story__figure { margin: 22px -18px; }
  .story__figure figcaption { margin-left: 18px; }
  .story__dek { font-size: 18px; }
  .prose { font-size: 18px; }
  .share { margin-left: 0; width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .bigsearch { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker__track { overflow-x: auto; }
}
.avatar--ext { background: var(--azul); border-color: var(--negro); font-size: 13px !important; }

/* ---------- Videos (YouTube) ---------- */
.vcard__img, .hcard__img { position: relative; }
.vbadge { position: absolute; z-index: 2; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; background: #E11D2E; color: #fff; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 11px; padding: 4px 9px 4px 6px; border-radius: 999px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.5); }
.ocard .vbadge { left: auto; right: 14px; top: 14px; }
.story__video { background: #000; }
.video16x9 { position: relative; aspect-ratio: 16/9; background: #000; }
.video16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cta { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 48px; background: var(--paper); }
.btn--yt { background: #E11D2E; color: #fff; }
.btn--yt:hover { background: #B9101F; transform: translateY(-1px); }
@media (max-width: 760px) { .video-cta { padding: 12px 18px; } }

/* ---------- Reel dentro de la noticia ---------- */
.story__reel { background: var(--negro); border-radius: var(--radius); padding: 18px; }
.story__reel video { width: 100%; max-width: 380px; aspect-ratio: 9/16; margin: 0 auto; display: block; border-radius: 12px; background: #000; }
.story__reel figcaption { color: #C6C6CE; text-align: center; }
