/* El año en noticias (portada): idea de la plantilla Halftone The Recap de motionsites.ai, rehecha para el sitio.
   Tira horizontal sin fin con las imágenes de las noticias, regla de meses abajo y ficha ampliada al tocar. */
.recap { --r-fondo: #0d1114; --r-tinta: #f1f0eb; --r-mudo: #7f8a8e; --r-sup: #161c20; --r-borde: #2b3439; --r-ph: #182026; --r-tick: #4f5b60;
  --cw: 18.75vw; --gap: 1.32vw; --pad: 1.32vw; --nav: 1.333vw; --h1: 7.02vw; --cy: 58.3;
  position: relative; height: min(100vh, 900px); height: min(100svh, 900px); min-height: 600px; overflow: hidden; background: var(--r-fondo); color: var(--r-tinta); margin: 0; isolation: isolate; }
.rc-grano { position: absolute; inset: 0; z-index: 30; pointer-events: none; opacity: .16; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.rc-mono { font: 500 clamp(10px, .84vw, 13px)/1.25 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.rc-titulo { position: absolute; left: 0; right: 0; top: calc(var(--pad) * 2.4); z-index: 20; margin: 0; pointer-events: none; text-align: center;
  font: 700 var(--h1)/.86 var(--display); letter-spacing: -.03em; color: var(--r-tinta); will-change: transform; }
.rc-titulo span { display: block; }
.rc-titulo .rc-l3 { font-weight: 600; font-size: .62em; letter-spacing: -.01em; margin-top: .12em; color: var(--r-tinta); }
.rc-nav { position: absolute; left: var(--pad); top: var(--pad); z-index: 22; font: 500 var(--nav)/1 var(--titular); opacity: 0; transition: opacity .6s; }
.rc-nav button { border: 0; background: none; padding: .2em 0; font: inherit; color: var(--r-mudo); cursor: pointer; transition: color .2s; }
.rc-nav button:hover, .rc-nav button[aria-pressed="true"] { color: var(--r-tinta); }
.rc-pill { position: absolute; right: var(--pad); top: calc(var(--pad) * .8); z-index: 22; display: flex; align-items: center; gap: .55em; padding: .28em .7em .28em .3em; border: 1px solid var(--r-borde); border-radius: .3em;
  background: var(--r-sup); font: 500 var(--nav)/1 var(--titular); color: var(--r-tinta); text-decoration: none; opacity: 0; transition: opacity .6s, background .2s; }
.rc-pill:hover { background: #20292e; }
.rc-pill i { width: 1.55em; height: 1.55em; border-radius: .12em; background: var(--r-ph) center / cover no-repeat; flex: none; }
.rc-pill b { color: var(--r-mudo); font-weight: 500; }
.rc-tira { position: absolute; inset: 0; z-index: 10; cursor: grab; touch-action: pan-y; outline: none; visibility: hidden; }
.rc-tira.arrastrando { cursor: grabbing; }
.rc-tira:focus-visible { box-shadow: inset 0 0 0 2px #2bb3c9; }
.rc-carta { position: absolute; left: 0; top: 0; width: var(--cw); background: var(--r-ph) center / cover no-repeat; cursor: pointer; will-change: transform; transition: filter .25s; }
.rc-carta.on { filter: none; }
.rc-lab { position: absolute; left: 0; top: 0; z-index: 12; pointer-events: none; white-space: nowrap; color: var(--r-tinta); opacity: 0; transition: opacity .2s; }
.recap.dentro .rc-lab { opacity: 1; }
.rc-regla { position: absolute; left: 0; bottom: 0; width: 100%; height: 78px; z-index: 11; pointer-events: none; opacity: 0; transition: opacity .6s; }
.recap.dentro .rc-nav, .recap.dentro .rc-pill, .recap.dentro .rc-regla { opacity: 1; }

.rc-lb { position: fixed; inset: 0; z-index: 200; background: rgba(10,14,16,.97); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1em; padding: 4vh 6vw; cursor: zoom-out; opacity: 0; transition: opacity .25s; color: var(--r-tinta); }
.rc-lb[hidden] { display: none; }
.rc-lb.on { opacity: 1; }
.rc-lb img { height: min(56vh, 70vw); max-width: 88vw; width: auto; object-fit: contain; background: var(--r-ph); cursor: default; }
.rc-lb-pie { display: flex; gap: 2em; color: var(--r-tinta); }
.rc-lb-pie span:last-child { color: var(--r-mudo); }
.rc-lb h3 { margin: 0; max-width: 40em; text-align: center; font: 600 clamp(17px, 1.5vw, 22px)/1.3 var(--display); letter-spacing: -.01em; color: var(--r-tinta); cursor: default; }
.rc-lb p { margin: 0; max-width: 46em; text-align: center; font-size: 14.5px; line-height: 1.55; color: #b9c2c5; cursor: default; hyphens: none; }
.rc-lb-acciones { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.rc-lb-acciones a, .rc-lb-acciones button { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--r-borde); border-radius: .3em; background: var(--r-sup); color: var(--r-tinta); font: 500 13.5px var(--titular); text-decoration: none; cursor: pointer; }
.rc-lb-acciones a:hover, .rc-lb-acciones button:hover { background: var(--r-tinta); color: var(--r-fondo); }
.recap button:focus-visible, .recap a:focus-visible, .rc-lb a:focus-visible, .rc-lb button:focus-visible { outline: 2px solid #2bb3c9; outline-offset: 2px; }

@media (max-width: 820px) {
  .recap { --cw: 44vw; --gap: 3vw; --pad: 4vw; --nav: max(12px, 3.6vw); --h1: 11.6vw; --cy: 57; min-height: 560px; }
  .rc-nav { right: calc(var(--pad) + 3.4em); line-height: 1.25; }
  .rc-titulo { top: calc(var(--pad) + 56px); }
  .rc-pill span { display: none; }
  .rc-regla { height: 64px; }
  .rc-mono { font-size: 10px; }
  .rc-lb p { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .rc-nav, .rc-pill, .rc-regla, .rc-lab, .rc-lb { transition: none; } }
