/* SCZ Local, redesign proposal of 2026-10-28 (tailnet preview only).
   One idea: the day's board is the newsroom display, and it is the only panel on the front page. Everything else is
   paper, type and rules, so the lead reads as the lead. The anillos (the city's ring roads around the plaza) are the
   one ornament, drawn once behind the board; the cathedral and the toborochi close every page at the foot.
   Colours from BRAND.md: verde cruceño for the bar, tajibo as the one live accent, the section colours for chips only.
   Light follows the paper, dark keeps the display look the user chose on 2026-10-22; both follow the system setting.
   Barlow Condensed Bold for headlines and numbers, Barlow Medium and Bold for text (OFL, bundled in /fonts). */

@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/BarlowCondensed-Bold.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("/fonts/Barlow-Medium.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("/fonts/Barlow-Bold.woff2") format("woff2"); }

:root {
  --papel: #f5f6f1; --tinta: #14161a; --tinta-2: #4f5b55; --tinta-3: #66726c;
  --linea: rgba(20,22,26,.13); --regla: #14161a; --panel: #e9ede6;
  --barra: #0b5d3b; --barra-2: #0a4f33; --pie: #0a2a1d;
  --enlace: #0b6a43; --tajibo: #efa31d; --tajibo-texto: #96600a;
  --verde: #0f7a4a; --rojo: #b8402e; --ambar: #b8740f; --azul: #2a5ea8; --morado: #a8497a; --teal: #1f7f6e; --gris: #66736d;
  --page: var(--papel);
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", "Barlow", system-ui, sans-serif;
  --r: 8px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --papel: #08110d; --tinta: #f2f1ea; --tinta-2: #b6c4bc; --tinta-3: #8fa198;
    --linea: rgba(255,255,255,.12); --regla: rgba(242,241,234,.75); --panel: rgba(255,255,255,.06);
    --barra: #07170f; --barra-2: #0b2117; --pie: #040a07;
    --enlace: #4ac48c; --tajibo-texto: #efa31d;
    --verde: #4ac48c; --rojo: #de6a55; --ambar: #efa31d; --azul: #5d9de6; --morado: #d6649c; --teal: #3fb8a0; --gris: #8c9e94;
    --page: radial-gradient(900px 700px at -8% 75%, rgba(11,93,59,.5), transparent 62%),
            radial-gradient(760px 520px at 96% -8%, rgba(74,196,140,.14), transparent 60%),
            linear-gradient(#0c1a15, #050b09);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--papel); }
body { margin: 0; color: var(--tinta); font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.45; min-height: 100vh; background: var(--page); background-attachment: fixed; }
@media (max-width: 720px) { body { background-attachment: scroll; } }
a { color: inherit; text-decoration: none; }
a:hover h3, a:hover h1, a:hover .v-mid, .lista a:hover b, .strip a:hover h3 { text-decoration: underline; text-decoration-color: var(--tajibo); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--tajibo); outline-offset: 2px; border-radius: 3px; }
img, iframe { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, .h-dia, .svc-v, .clima-hero .grande { font-family: var(--cond); font-weight: 700; letter-spacing: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* masthead: the department's green, the wordmark in white and tajibo -------------------------------------------- */
.masthead { background: var(--barra); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); }
.bar { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; min-height: 56px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.logo::before { content: ""; width: 32px; height: 32px; background: url("/icon.png") center / cover no-repeat; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.18); flex: none; }
.logo .wordmark { font-family: var(--cond); font-weight: 700; font-size: 31px; line-height: 1; color: #fff; }
.logo .wordmark b { font-weight: 700; margin-left: 5px; color: var(--tajibo); }
.logo .lema { font-size: 14px; color: rgba(255,255,255,.72); padding-left: 12px; margin-left: 2px; border-left: 1px solid rgba(255,255,255,.25); line-height: 1.1; }
.search-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; border-radius: var(--r); margin-left: auto; }
.search-btn:hover { background: rgba(255,255,255,.1); }
.nav { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; flex-basis: 100%; border-top: 1px solid rgba(255,255,255,.12); }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: rgba(255,255,255,.84); font-size: 15px; font-weight: 700; white-space: nowrap; padding: 11px 0 9px; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--tajibo); }
.bar .nav i { display: none; }
.menu-toggle, .menu-btn { display: none; }
.nav .solo-menu { display: none; }
@media (max-width: 719px) {
  .bar { justify-content: space-between; gap: 0; min-height: 56px; }
  .logo { position: absolute; left: 50%; top: 0; height: 56px; padding: 0; transform: translateX(-50%); }
  .logo .lema { display: none; }
  .logo .wordmark { font-size: 27px; } .logo::before { width: 28px; height: 28px; }
  .search-btn { margin-left: 0; }
  .menu-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; border-radius: var(--r); order: -1; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; position: relative; transition: transform .15s, opacity .15s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
  .menu-toggle:checked ~ .menu-btn span { background: transparent; }
  .menu-toggle:checked ~ .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle:checked ~ .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; order: 10; }
  .menu-toggle:checked ~ .nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 6px 0 16px; overflow: visible; }
  .menu-toggle:checked ~ .nav a { padding: 14px 0; font-size: 18px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
  .menu-toggle:checked ~ .nav .solo-menu { display: block; }
  .masthead { max-height: 100vh; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) { .menu-btn span, .menu-btn span::before, .menu-btn span::after { transition: none; } }

/* section colours: a small square on chips and the dots elsewhere ------------------------------------------------ */
i.verde, i.rojo, i.ambar, i.azul, i.morado, i.teal, i.gris, .ant-slot i, .tag i { width: 9px; height: 9px; display: inline-block; border-radius: 2px; background: var(--gris); flex: none; }
i.verde { background: var(--verde); } i.rojo { background: var(--rojo); } i.ambar { background: var(--ambar); }
i.azul { background: var(--azul); } i.morado { background: var(--morado); } i.teal { background: var(--teal); } i.gris { background: var(--gris); }

/* the day's board: the newsroom display, the anillos behind it --------------------------------------------------- */
.tablero {
  position: relative; overflow: hidden; isolation: isolate; margin: 22px 0 30px; padding: 24px 28px 18px; border-radius: 16px;
  color: #f4f2ea; background: radial-gradient(520px 340px at 92% 8%, rgba(74,196,140,.20), transparent 62%), linear-gradient(155deg, #12301f 0%, #0b1d15 55%, #08130e 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.anillos { position: absolute; z-index: -1; width: 560px; height: 560px; right: -160px; top: -190px; fill: none; pointer-events: none; }
.anillos circle { stroke: var(--tajibo); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .32; }
.anillos .a1 { opacity: .7; } .anillos .a2 { opacity: .5; } .anillos .a3 { opacity: .36; } .anillos .a4 { opacity: .24; } .anillos .a5 { opacity: .16; }
.anillos .radial { stroke: #f4f2ea; stroke-width: .8; opacity: .10; stroke-dasharray: 1; }
.anillos .plaza-pt { fill: var(--tajibo); stroke: none; opacity: 1; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .anillos circle:not(.plaza-pt), .anillos .radial { animation: trazo 1.6s cubic-bezier(.3,.6,.2,1) both; stroke-dashoffset: 1; }
  .anillos .a2 { animation-delay: .12s; } .anillos .a3 { animation-delay: .24s; } .anillos .a4 { animation-delay: .36s; } .anillos .a5 { animation-delay: .48s; }
  .anillos .radial { animation-delay: .5s; animation-duration: 1.2s; }
  .anillos .plaza-pt { animation: brote .5s ease-out both; }
}
@keyframes trazo { to { stroke-dashoffset: 0; } }
@keyframes brote { from { opacity: 0; transform: scale(.2); } }
.tab-cab { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.tablero .h-dia { font-size: clamp(30px, 4.6vw, 52px); line-height: 1; margin: 0; max-width: calc(100% - 260px); text-wrap: balance; }
.ediciones-hoy { list-style: none; margin: 0; padding: 0; display: flex; position: relative; }
.ediciones-hoy li { position: relative; min-width: 108px; padding: 18px 14px 0 0; font-size: 13px; color: rgba(244,242,234,.7); }
.ediciones-hoy li::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: rgba(255,255,255,.22); }
.ediciones-hoy li:last-child::before { right: auto; width: 12px; }
.ediciones-hoy li::after { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid rgba(255,255,255,.45); background: #0b1d15; }
.ediciones-hoy li.hecha::after { background: var(--tajibo); border-color: var(--tajibo); }
.ediciones-hoy li.actual::after { box-shadow: 0 0 0 4px rgba(239,163,29,.28); }
.ediciones-hoy b { display: block; font-size: 16px; color: #f4f2ea; }
.ediciones-hoy span { display: block; }
.ediciones-hoy .pendiente b { color: rgba(244,242,234,.62); }
.ediciones-hoy a:hover b { text-decoration: underline; text-decoration-color: var(--tajibo); }
.servicios { margin: 0; }
.svc-fila { display: grid; grid-template-columns: repeat(4, 1fr); }
.svc { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 12px; min-width: 0; border-left: 1px solid rgba(255,255,255,.12); }
.svc:first-child { border-left: 0; padding-left: 0; }
.tablero .svc:hover { background: linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,0)); }
.svc-k { font-size: 14px; font-weight: 700; color: var(--tajibo); }
.svc-v { font-size: 38px; line-height: 1.02; }
.svc-d { font-size: 13px; color: rgba(244,242,234,.72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-alerta .svc-v { color: #ffd27a; }
.svc-pie { margin: 6px 0 0; font-size: 12px; color: rgba(244,242,234,.6); }
.svc-pie a { color: #f4f2ea; text-decoration: underline; text-decoration-color: rgba(239,163,29,.7); text-underline-offset: 2px; }
.svc-clima .svc-now { display: flex; align-items: center; gap: 8px; }
.svc-clima .svc-now svg { width: 32px; height: 32px; }

/* section heads -------------------------------------------------------------------------------------------------- */
.h-dia { font-size: clamp(34px, 6vw, 52px); line-height: 1; margin: 22px 0 8px; }
.h-dia::first-letter { text-transform: uppercase; }
.sub { color: var(--tinta-2); font-size: 16px; margin: 0 0 22px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 2px solid var(--regla); padding-top: 10px; margin: 44px 0 16px; }
.sec-head h2 { font-size: 28px; line-height: 1.05; margin: 0; }
.mas { font-size: 14px; font-weight: 700; color: var(--enlace); white-space: nowrap; }
.mas:hover { text-decoration: underline; }

/* the front page's lead and its list ----------------------------------------------------------------------------- */
.titulares > .sec-head:first-child { margin-top: 0; }
.portada { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.lista { border-left: 1px solid var(--linea); padding-left: 24px; }
.lista-cab { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--tinta-2); margin: 0 0 4px; }
.lista ul { list-style: none; margin: 0; padding: 0; }
.lista li { padding: 12px 0; border-bottom: 1px solid var(--linea); }
.lista b { display: block; font-family: var(--cond); font-weight: 700; font-size: 21px; line-height: 1.12; }
.li-src { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 13px; font-weight: 700; color: var(--tinta-2); }
.lista .mas { display: inline-block; margin-top: 12px; }

/* cards: paper, no panels ------------------------------------------------------------------------------------------ */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
.grid.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fila { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--linea); }
.card { min-width: 0; }
.card h3 { font-size: 21px; line-height: 1.12; margin: 10px 0 0; }
.card.lead h3 { font-size: clamp(30px, 4vw, 44px); line-height: 1.03; margin-top: 14px; }
.card.lead .pie-nota { color: var(--tinta-2); font-size: 17px; line-height: 1.5; margin: 10px 0 0; max-width: 62ch; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.card.texto { border-top: 3px solid var(--regla); padding-top: 10px; }
.card.texto h3 { margin-top: 0; font-size: 19px; }

/* the byline: the outlet first, with its icon; the time; the section at the right ----------------------------------- */
.tag { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--tinta-2); margin: 10px 0 0; }
.tag .medio { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--tinta); min-width: 0; }
.tag .fav, .f-medio .fav, .li-src .fav { width: 16px; height: 16px; border-radius: 3px; object-fit: contain; background: rgba(127,127,127,.16); flex: none; }
.tag .cuando, .tag .src { color: var(--tinta-3); }
.tag .sec { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--tinta-2); }
.tag .sec::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--c, var(--gris)); }
.sec.verde { --c: var(--verde); } .sec.rojo { --c: var(--rojo); } .sec.ambar { --c: var(--ambar); } .sec.azul { --c: var(--azul); }
.sec.morado { --c: var(--morado); } .sec.teal { --c: var(--teal); } .sec.gris { --c: var(--gris); }
.tag.grande { font-size: 15px; font-weight: 700; gap: 7px; color: var(--tinta-2); }
.f-medio { display: inline-flex; align-items: center; gap: 7px; }

/* the picture: the outlet's, over our own tile, which shows when theirs is missing or refused ----------------------- */
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: #2a3430; }
.thumb img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; background: var(--panel); }
.card.lead .thumb:has(img) { aspect-ratio: auto; max-height: 520px; }
.card.lead .thumb:has(img) img { position: relative; height: auto; max-height: 520px; }
.tile.verde { background: linear-gradient(135deg, #0f7a4a, #0a4a2d); }
.tile.rojo { background: linear-gradient(135deg, #b8402e, #6e2217); }
.tile.ambar { background: linear-gradient(135deg, #c98516, #7d4f06); }
.tile.azul { background: linear-gradient(135deg, #2a6cc0, #123b6b); }
.tile.morado { background: linear-gradient(135deg, #a84d7a, #5e2a46); }
.tile.teal { background: linear-gradient(135deg, #1f8f7c, #0f4f45); }
.tile.gris { background: linear-gradient(135deg, #4a5752, #262e2b); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 88% 120%, transparent 0 22%, rgba(255,255,255,.07) 22.5% 23.5%, transparent 24% 34%, rgba(255,255,255,.06) 34.5% 35.5%, transparent 36% 47%, rgba(255,255,255,.05) 47.5% 48.5%, transparent 49%); }
.t-sec { position: absolute; top: 10px; left: 12px; z-index: 1; color: #fff; font-size: 13px; font-weight: 700; }
.t-mark { position: absolute; right: 12px; bottom: 9px; z-index: 1; color: #fff; font-family: var(--cond); font-size: 15px; font-weight: 700; }
.t-mark b { font-weight: 700; margin-left: 3px; color: var(--tajibo); }
.tile.grande .t-sec { font-size: 15px; }

.aviso { background: rgba(239,163,29,.12); border-left: 4px solid var(--tajibo); border-radius: 0 var(--r) var(--r) 0; padding: 11px 14px; margin: 16px 0 0; font-size: 14px; line-height: 1.4; }
.bloque { margin-top: 8px; }

/* video rail: the still clean, our words under it ------------------------------------------------------------------- */
.rail-sec { margin-top: 8px; }
.rail-wrap { position: relative; }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.vcard { flex: 0 0 clamp(240px, 70vw, 300px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
.v-foto { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #0b2c1d; }
.v-foto img { width: 100%; height: 100%; object-fit: cover; }
.v-dur { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px 4px 8px; border-radius: 5px; background: rgba(5,12,9,.82); color: #fff; font-size: 13px; font-weight: 700; }
.v-play { width: 0; height: 0; border-left: 10px solid var(--tajibo); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.v-slot { font-size: 13px; font-weight: 700; color: var(--tinta-2); margin-top: 4px; }
.v-mid { font-family: var(--cond); font-size: 20px; font-weight: 700; line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rail-nav { position: absolute; top: 28%; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--barra); box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; z-index: 3; }
.rail-nav::before { content: ""; position: absolute; top: 14px; left: 13px; width: 9px; height: 9px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; transform: rotate(45deg); }
.rail-nav.prev { left: -12px; } .rail-nav.prev::before { left: 16px; transform: rotate(-135deg); }
.rail-nav.next { right: -12px; }

/* editions ------------------------------------------------------------------------------------------------------- */
.video { max-width: 380px; margin: 0 auto 6px; aspect-ratio: 9 / 16; background: #000; border-radius: 12px; overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; }
.video.ancho { max-width: 100%; aspect-ratio: 16 / 9; }
.antes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 24px; }
.ant { display: block; padding: 12px 0 14px; border-bottom: 1px solid var(--linea); }
.ant-slot { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--tinta-2); }
.ant-tit { display: block; font-family: var(--cond); font-weight: 700; font-size: 20px; line-height: 1.12; margin: 5px 0 4px; }
.ant:hover .ant-tit { text-decoration: underline; text-decoration-color: var(--tajibo); }
.ant-meta { color: var(--tinta-3); font-size: 13px; }
.dia .sec-head { border-top: 1px solid var(--linea); margin: 22px 0 2px; }
.dia .sec-head h2 { font-size: 21px; }
.dia .sec-head h2::first-letter { text-transform: uppercase; }

/* story page: the reader arriving from WhatsApp lands here ---------------------------------------------------------- */
.miga { font-size: 13px; color: var(--tinta-2); margin: 18px 0 0; }
.miga a { color: var(--enlace); font-weight: 700; }
.nota-page { max-width: 760px; }
.nota h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.03; margin: 10px 0 12px; text-wrap: balance; }
.firma { color: var(--tinta-2); font-size: 14px; margin: 0 0 18px; }
.firma::first-letter { text-transform: uppercase; }
.cuerpo { max-width: 38em; }
.cuerpo p { font-size: 19px; line-height: 1.6; margin: 0 0 16px; }
.fuente-bloque { background: var(--panel); border-radius: 12px; padding: 18px 20px 14px; margin: 26px 0; border-top: 4px solid var(--barra); }
@media (prefers-color-scheme: dark) { .fuente-bloque { border-top-color: var(--enlace); } }
.f-cab { font-size: 15px; font-weight: 700; margin: 0 0 10px; color: var(--tinta-2); }
.fuente-box { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--linea); }
.fuente-box:first-of-type { border-top: 0; padding-top: 0; }
.fuente-bloque .f-medio { font-size: 15px; font-weight: 700; color: var(--tinta); }
.f-tit { display: block; font-family: var(--cond); font-size: 22px; font-weight: 700; line-height: 1.12; }
.f-ir { justify-self: start; margin-top: 4px; padding: 9px 16px; border-radius: 6px; background: var(--barra); color: #fff; font-size: 15px; font-weight: 700; }
@media (prefers-color-scheme: dark) { .f-ir { background: var(--enlace); color: #05140d; } }
.fuente-box:hover .f-tit { text-decoration: underline; text-decoration-color: var(--tajibo); }
.fuente-box:hover .f-ir { filter: brightness(1.1); }
.mas-notas { margin-top: 10px; }
.nota-page .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.volver { margin: 30px 0; font-weight: 700; color: var(--enlace); }

/* share bar and the story's picture ------------------------------------------------------------------------------- */
.compartir { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 6px; }
.comp-lbl { font-size: 14px; font-weight: 700; color: var(--tinta-2); margin-right: 4px; }
.comp { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 6px; font-size: 14px; font-weight: 700; color: #fff; background: var(--gris); }
.comp.wa { background: #1a8f49; } .comp.fb { background: #1877f2; } .comp.x { background: #000; } .comp.tg { background: #1d8fcc; }
.comp.comp-nativo { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--linea); }
.comp:hover { filter: brightness(1.1); }
.nota-foto { margin: 0 0 18px; }
.nota-foto img { width: 100%; height: auto; border-radius: var(--r); }
.nota-foto figcaption { font-size: 13px; color: var(--tinta-3); margin-top: 6px; }

/* agenda ----------------------------------------------------------------------------------------------------------- */
.ag-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 24px; }
.ag-lista li { display: flex; flex-direction: column; gap: 3px; padding: 12px 0 14px; border-bottom: 1px solid var(--linea); }
.ag-cuando { font-size: 14px; font-weight: 700; color: var(--tajibo-texto); }
.ag-lista b { font-family: var(--cond); font-weight: 700; font-size: 20px; line-height: 1.12; }
.ag-lista a:hover b { text-decoration: underline; text-decoration-color: var(--tajibo); }
.ag-donde { font-size: 13px; color: var(--tinta-2); }

/* text pages (scoped to main, so a headline-only card never inherits them) ------------------------------------------ */
main.texto { max-width: 740px; }
main.texto h1 { font-size: clamp(36px, 6vw, 52px); margin: 22px 0 12px; line-height: 1.02; }
main.texto h2 { font-size: 26px; margin: 30px 0 8px; }
main.texto p, main.texto li { font-size: 17px; line-height: 1.6; }
main.texto p { margin: 0 0 14px; max-width: 40em; }
main.texto a:not(.lugar):not(.pin) { color: var(--enlace); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.entrada { font-size: 19px !important; color: var(--tinta-2); }
main.texto table { width: 100%; border-collapse: collapse; margin: 18px 0; }
main.texto th, main.texto td { text-align: left; padding: 10px 6px 10px 0; border-bottom: 1px solid var(--linea); font-size: 15px; }
main.texto th, .ranking th, .svc-t th { font-size: 13px; font-weight: 700; color: var(--tinta-2); }
.medio { font-weight: 700; }
.fino { color: var(--tinta-2); font-size: 14px; }
.centro { text-align: center; }
.fino a { color: var(--enlace); font-weight: 700; }

.paleta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 16px 0 26px; }
.sw span { display: block; height: 62px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--linea); }
.sw b { display: block; font-size: 14px; margin-top: 7px; }
.sw code { font-size: 12px; color: var(--tinta-2); }
.sw p { margin: 4px 0 0; }
.v9x16 { max-width: 340px; margin: 14px 0 22px; aspect-ratio: 9/16; background: #000; border-radius: 12px; overflow: hidden; }
.v9x16 video { width: 100%; height: 100%; }
.au { margin: 0 0 14px; }
.au b { display: block; font-size: 14px; margin-bottom: 4px; }
.au audio { width: 100%; max-width: 420px; }
.marcas figure { margin: 0 0 22px; }
.marcas img { width: 100%; border-radius: var(--r); }
.marcas figcaption { font-size: 13px; color: var(--tinta-2); margin-top: 5px; }
.busqueda input { width: 100%; font: inherit; font-size: 19px; padding: 13px 15px; border-radius: var(--r); border: 2px solid var(--linea); background: var(--papel); color: var(--tinta); }
.busqueda input:focus { border-color: var(--tajibo); outline: none; }
.busq { list-style: none; margin: 10px 0 0; padding: 0; }
.busq li { padding: 12px 0; border-bottom: 1px solid var(--linea); }
.busq b { font-family: var(--cond); font-weight: 700; font-size: 21px; line-height: 1.12; display: block; }
.svc-t { border-collapse: collapse; width: 100%; max-width: 560px; margin: 8px 0; }
.svc-t th, .svc-t td { text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--linea); font-size: 15px; }

/* footer: the plaza, then the tajibo line and the green ------------------------------------------------------------ */
.pie { margin-top: 64px; color: #eef0ea; background: var(--pie); }
.plaza { margin: 0; border-bottom: 4px solid var(--tajibo); }
.plaza img { width: 100%; height: clamp(150px, 26vw, 380px); object-fit: cover; object-position: 50% 62%; }
.pie-cuerpo { padding: 28px 20px 40px; }
.pie p { margin: 0 0 10px; font-size: 15px; max-width: 64ch; }
.pie .fino { color: #a9b8b0; font-size: 14px; }
.pie-marca { font-family: var(--cond); font-weight: 700; font-size: 30px; line-height: 1; color: #fff; }
.pie-marca b { font-weight: 700; margin-left: 5px; color: var(--tajibo); }
.pie-enlaces { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 16px 0 0; padding: 0; font-size: 15px; font-weight: 700; }
.pie-enlaces a { color: #eef0ea; }
.pie-enlaces a:hover { color: var(--tajibo); text-decoration: underline; }

/* wider and narrower screens --------------------------------------------------------------------------------------- */
@media (max-width: 959px) {
  .portada { grid-template-columns: 1fr; gap: 20px; }
  .lista { border-left: 0; padding-left: 0; }
  .grid.grid-4, .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-fila { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(odd) { border-left: 0; padding-left: 0; }
  .svc:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}
/* the phone: the board's tiles swipe in one row; the small cards become rows with the picture at the left */
@media (max-width: 719px) {
  .wrap { padding: 0 16px; }
  .tablero { margin: 14px -4px 22px; padding: 18px 16px 12px; border-radius: 12px; }
  .anillos { width: 380px; height: 380px; right: -170px; top: -150px; }
  .tab-cab { gap: 14px; padding-bottom: 14px; }
  .tablero .h-dia { font-size: 30px; max-width: 100%; }
  .ediciones-hoy { width: 100%; }
  .ediciones-hoy li { flex: 1; min-width: 0; }
  .svc-fila { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .svc-fila::-webkit-scrollbar { display: none; }
  .svc { flex: 0 0 44%; scroll-snap-align: start; padding: 12px 12px 10px 14px; border-top: 0 !important; }
  .svc:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.12); padding-left: 14px; }
  .svc:first-child { border-left: 0; padding-left: 0; }
  .svc-v { font-size: 30px; }
  .sec-head { margin-top: 34px; }
  .sec-head h2 { font-size: 25px; }
  .card.lead h3 { font-size: 30px; }
  .card.lead .pie-nota { font-size: 16px; }
  .lista b { font-size: 20px; }
  .grid, .grid.grid-4 { grid-template-columns: 1fr; gap: 0; }
  .grid .card:not(.lead) { padding: 14px 0; border-bottom: 1px solid var(--linea); }
  .grid .card:not(.lead) > a { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: start; }
  .grid .card:not(.lead) h3 { margin: 0; font-size: 19px; }
  .grid .card:not(.lead) .tag { margin-left: 136px; margin-top: 6px; }
  .grid .card:not(.lead) .tag .sec { margin-left: 0; }
  .grid .card:not(.lead) .t-sec, .grid .card:not(.lead) .t-mark { display: none; }
  .fila { margin-top: 22px; padding-top: 0; border-top: 0; }
  .strip { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
  .card.texto { border-top: 0; border-bottom: 1px solid var(--linea); padding: 14px 0; }
  .vcard { flex-basis: 76vw; }
  .rail-nav { display: none; }
  .cuerpo p { font-size: 18px; }
  .pie { margin-top: 48px; }
}

/* clima ------------------------------------------------------------------------------------------------------------ */
.svc-horas { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; grid-column: 1 / -1; }
.svc-horas::-webkit-scrollbar { display: none; }
.hora { display: flex; flex-direction: column; align-items: center; min-width: 44px; font-size: 12px; color: var(--tinta-2); }
.hora svg { width: 26px; height: 26px; }
.hora b { color: var(--tinta); font-size: 14px; }
.clima-hero { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; align-items: center; margin: 10px 0 18px; padding: 18px 20px; border-radius: 16px; color: #f4f2ea;
              background: radial-gradient(420px 260px at 95% 0%, rgba(74,196,140,.2), transparent 62%), linear-gradient(155deg, #12301f, #08130e); }
.clima-hero svg { width: 84px; height: 84px; }
.clima-hero .grande { font-size: 76px; line-height: 1; }
.clima-hero .det { color: rgba(244,242,234,.75); font-size: 15px; }
.clima-dias { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
main.texto .clima-dias td, main.texto .clima-dias th { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--linea); text-align: left; font-size: 15px; vertical-align: middle; }
main.texto .clima-dias td:nth-child(4) { white-space: nowrap; }
.clima-dias svg { width: 30px; height: 30px; vertical-align: middle; }
.clima-dias .barra { display: inline-block; height: 6px; background: var(--azul); border-radius: 3px; vertical-align: middle; margin-right: 6px; }
.mapa { position: relative; margin: 8px 0 18px; }
.mapa > svg { width: 100%; height: auto; display: block; }
.pin { position: absolute; transform: translate(-50%, -100%); display: flex; align-items: center; gap: 3px; padding: 2px 6px 2px 3px; background: var(--papel); border: 1px solid var(--linea); border-radius: 12px; font-size: 12px; line-height: 1; white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 7px; height: 7px; margin-left: -4px; background: var(--tajibo); border-radius: 50%; border: 1px solid var(--papel); }
.pin svg { width: 18px; height: 18px; }
.pin b { font-size: 13px; }
.pin .nom { color: var(--tinta-2); font-size: 11px; }
.pin-ciudad { border-color: var(--enlace); border-width: 2px; z-index: 2; }
.pin-ciudad b { font-size: 14px; }
@media (max-width: 600px) {
  .pin { padding: 1px 4px 1px 2px; font-size: 11px; gap: 2px; }
  .pin svg { width: 14px; height: 14px; }
  .pin b { font-size: 12px; }
  .pin:not(.pin-ciudad) .nom { display: none; }
  .clima-dias .cielo { display: none; }
  main.texto .clima-dias td, main.texto .clima-dias th { padding: 6px 8px 6px 0; font-size: 14px; }
  .clima-hero .grande { font-size: 56px; }
}
.lugares { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 20px; margin: 8px 0 18px; }
.lugar { padding: 10px 0; border-bottom: 1px solid var(--linea); }
.lugar b { font-size: 15px; }
.lugar span { display: block; font-size: 13px; color: var(--tinta-2); }
.lugar svg { width: 28px; height: 28px; float: right; }

/* creadores -------------------------------------------------------------------------------------------------------- */
.ranking { width: 100%; border-collapse: collapse; font-size: 15px; }
.ranking th, .ranking td { padding: 10px 8px; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: top; }
.ranking .n { color: var(--tinta-3); width: 2em; }
.ranking .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ranking .sube { color: var(--enlace); font-size: 12px; margin-left: 4px; }
.ranking .baja { color: var(--rojo); font-size: 12px; margin-left: 4px; }
.ranking .enlaces a { color: var(--enlace); margin-right: 8px; }
.embeds { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tt-slot { min-height: 120px; padding: 16px; background: var(--panel); border-radius: 12px; }
.tt-nom { margin: 0 0 4px; font-family: var(--cond); font-size: 22px; }
.tt-nom .src { font-family: var(--sans); font-size: 13px; color: var(--tinta-2); }
.tt-cifras { margin: 0 0 6px; font-size: 14px; color: var(--tinta-2); }
.tt-cifras b { color: var(--tinta); }
.tt-bio { margin: 0 0 10px; font-size: 13px; color: var(--tinta-2); }
.tt-acc { margin: 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tt-acc a { font-weight: 700; color: var(--enlace); font-size: 14px; }
.tt-cargar { font: inherit; font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 6px; border: 0; background: var(--barra); color: #fff; cursor: pointer; }
.tt-cargar:disabled { opacity: .6; cursor: default; }
.tt-slot blockquote { margin: 0; }
@media (max-width: 600px) { .ranking th:nth-child(4), .ranking td:nth-child(4) { display: none; } .ranking { font-size: 14px; } }
