/* Hemeroteca HOY Tamaulipas. Colores del logo; Oswald es su voz, propia del sitio. */
@font-face { font-family: "Oswald"; font-weight: 400 700; font-display: swap; src: url("oswald.woff2") format("woff2"); }
:root {
  --hoy-azul: #080078;
  --rojo-vivo: #c8102e;
  --tinta: #14142b;
  --texto: #2e2e3a;
  --texto-2: #5c5c6e;
  --papel: #fff;
  --papel-2: #f3f4f9;
  --filete: #e1e3ee;
  --borde: #7d8096;
  --marcador: #ffe58a;
  --voz: "Oswald", "Arial Narrow", Arial, sans-serif;
  --lectura: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radio: 6px;
}
* { box-sizing: border-box; }
html { font: 16px/1.5 var(--lectura); color: var(--texto); background: var(--papel); -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--hoy-azul); color: #fff; }
a { color: var(--hoy-azul); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--rojo-vivo); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--voz); color: var(--tinta); line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.ancho { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saltar { position: absolute; left: -999px; background: #fff; padding: 12px; }
.saltar:focus { left: 8px; top: 8px; z-index: 2; }

.barra { background: var(--hoy-azul); border-bottom: 4px solid var(--rojo-vivo); }
.barra .ancho { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.barra a { color: #fff; text-decoration: none; }
.barra a:focus-visible { outline-color: #fff; }
.marca { font: 700 26px/1 var(--voz); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 8px 0; }
.marca span { font: 400 14px/1.2 var(--lectura); color: #d9dbf2; }
.salida { font-size: 14px; padding: 12px 0; white-space: nowrap; }
.salida:hover { text-decoration: underline; }

.caja { padding: 32px 0 20px; }
.caja label { display: block; font: 700 28px/1.2 var(--voz); color: var(--tinta); margin-bottom: 10px; }
.campo { display: flex; align-items: center; border: 2px solid var(--hoy-azul); border-radius: var(--radio); background: #fff; }
.campo:focus-within { outline: 3px solid var(--rojo-vivo); outline-offset: 2px; }
.campo svg { width: 24px; height: 24px; margin-left: 16px; flex: none; fill: none; stroke: var(--hoy-azul); stroke-width: 2.2; stroke-linecap: round; }
.campo input { flex: 1; min-width: 0; border: 0; background: none; font: 400 22px/1.2 var(--lectura); color: var(--tinta); padding: 16px 12px; }
.campo input:focus { outline: 0; }
.campo button { border: 0; background: var(--hoy-azul); color: #fff; font: 700 16px/1 var(--lectura); align-self: stretch; padding: 0 24px; cursor: pointer; }
.campo button:hover { background: #0c00a8; }
.ayuda { margin-top: 10px; font-size: 14px; color: var(--texto-2); }
.ayuda code { font: 13px ui-monospace, Consolas, monospace; color: var(--tinta); background: var(--papel-2); padding: 2px 6px; border-radius: 4px; white-space: nowrap; display: inline-block; }
.falla { border-left: 4px solid var(--rojo-vivo); background: #fdecef; color: #7a0a1c; padding: 10px 14px; margin-bottom: 16px; }
#resultados { transition: opacity 120ms; padding-bottom: 64px; }
#resultados.esperando { opacity: .55; }

/* línea del tiempo: la firma de esta pantalla. Es filtro y gráfica a la vez. */
.tiempo { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; border-bottom: 2px solid var(--hoy-azul); }
.tiempo a { display: grid; grid-template-rows: 44px auto auto; justify-items: center; text-decoration: none; color: var(--tinta); padding: 6px 4px 8px; border-radius: var(--radio) var(--radio) 0 0; }
.tiempo a:hover { background: var(--papel-2); }
.tiempo i { align-self: end; width: 100%; max-width: 120px; height: 0; background: var(--hoy-azul); border-radius: 3px 3px 0 0; }
.tiempo strong { font: 700 18px/1.3 var(--voz); }
.tiempo span { font-size: 13px; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.tiempo a[aria-current] { background: var(--hoy-azul); color: #fff; }
.tiempo a[aria-current] i { background: #fff; }
.tiempo a[aria-current] span { color: #d9dbf2; }
.tiempo .nada { color: var(--texto-2); }
.alto-1 i { height: 4px; } .alto-2 i { height: 9px; } .alto-3 i { height: 13px; } .alto-4 i { height: 18px; } .alto-5 i { height: 22px; }
.alto-6 i { height: 26px; } .alto-7 i { height: 31px; } .alto-8 i { height: 35px; } .alto-9 i { height: 40px; } .alto-10 i { height: 44px; }

.cuenta { padding: 14px 0; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.cuenta b { font: 700 20px/1 var(--voz); color: var(--tinta); }
.limpiar { margin-left: 12px; font-size: 14px; }

.cuerpo { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
.filtros details { border-top: 1px solid var(--filete); padding: 4px 0 12px; }
.filtros summary { font: 700 16px/1.2 var(--voz); color: var(--tinta); cursor: pointer; padding: 12px 0; }
.opciones { max-height: 372px; overflow: auto; }
.opciones a { display: flex; justify-content: space-between; gap: 12px; padding: 7px 8px; font-size: 14px; line-height: 1.3; color: var(--texto); text-decoration: none; border-radius: 4px; }
.opciones a:hover { background: var(--papel-2); }
.opciones b { font-weight: 400; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.opciones a[aria-current] { background: var(--hoy-azul); color: #fff; }
.opciones a[aria-current] b { color: #d9dbf2; }

.orden { display: flex; gap: 20px; border-bottom: 1px solid var(--filete); font-size: 14px; }
.orden a { padding: 12px 0; text-decoration: none; color: var(--texto-2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.orden a:hover { color: var(--hoy-azul); }
.orden a[aria-current] { color: var(--tinta); font-weight: 700; border-color: var(--rojo-vivo); }
.nota { padding: 18px 0; border-bottom: 1px solid var(--filete); }
.nota .titulo { font: 700 21px/1.2 var(--voz); color: var(--tinta); text-decoration: none; text-wrap: balance; }
.nota .titulo:hover { color: var(--hoy-azul); text-decoration: underline; text-decoration-color: var(--rojo-vivo); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.extracto { margin-top: 6px; max-width: 72ch; overflow-wrap: anywhere; text-wrap: pretty; }
.datos { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px; font-size: 13px; color: var(--texto-2); }
.datos time { font-weight: 700; color: var(--texto); font-variant-numeric: tabular-nums; }
mark { background: var(--marcador); color: inherit; padding: 0 1px; border-radius: 2px; }
.paginas { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px 0; font-size: 14px; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.paginas a { padding: 12px 0; font-weight: 700; }
.paginas > :last-child { justify-self: end; }
.nadie { padding: 40px 0; max-width: 60ch; }
.nadie p + p { margin-top: 8px; }

.hoy h2 { font-size: 28px; padding: 8px 0 4px; }
.grupo { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; border-top: 1px solid var(--filete); }
.grupo h3 { font-size: 32px; color: var(--hoy-azul); padding-top: 16px; }
.grupo h3 span { display: block; font: 400 14px/1.4 var(--lectura); color: var(--texto-2); }
.grupo .nota:last-child { border-bottom: 0; }

.lector { max-width: 768px; padding-bottom: 72px; }
.regreso { padding: 20px 0 8px; font-size: 14px; }
.regreso a { display: inline-block; padding: 8px 0; }
.lector h1 { font-size: clamp(28px, 4.4vw, 42px); line-height: 1.1; margin-top: 8px; }
.balazo { font-weight: 700; color: var(--tinta); margin-top: 12px; }
.entrada { font-size: 20px; line-height: 1.45; margin-top: 12px; text-wrap: pretty; }
.firma { margin-top: 16px; padding-left: 10px; border-left: 4px solid var(--rojo-vivo); font-size: 14px; color: var(--texto-2); }
.firma b { color: var(--tinta); }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0; font-size: 14px; }
.acciones button { min-height: 44px; padding: 0 16px; border: 1px solid var(--borde); border-radius: var(--radio); background: #fff; color: var(--tinta); font: 600 14px/1 var(--lectura); cursor: pointer; }
.acciones button:hover { border-color: var(--hoy-azul); color: var(--hoy-azul); }
.acciones .abrir { padding: 12px 0; }
.ligapublica { margin: 0 0 20px; font-size: 14px; }
.ligapublica label { display: block; color: var(--texto-2); padding-bottom: 4px; }
.ligapublica input { width: 100%; padding: 10px 12px; border: 1px solid var(--borde); border-radius: var(--radio); background: var(--papel-2); color: var(--tinta); font: 14px ui-monospace, Consolas, monospace; text-overflow: ellipsis; }
.texto { font-size: 19px; line-height: 1.7; overflow-wrap: anywhere; }
.texto p { margin: 0 0 1.15em; text-wrap: pretty; }
.texto .lugar { color: var(--tinta); }
.texto .inter { font-size: 21px; line-height: 1.25; margin: 1.5em 0 .5em; }
.recuadro { background: var(--papel-2); border-top: 4px solid var(--hoy-azul); padding: 16px 20px; margin: 8px 0 24px; }
.recuadro p + p { margin-top: 8px; }
.pies, .mismo { border-top: 2px solid var(--hoy-azul); margin-top: 24px; padding-top: 16px; }
.pies h2, .mismo h2 { font-size: 22px; }
.pies p { color: var(--texto-2); font-size: 14px; }
.pies li { padding: 8px 0; border-bottom: 1px solid var(--filete); }

@media (max-width: 760px) {
  .ancho { padding: 0 16px; }
  .marca { font-size: 22px; gap: 2px 10px; }
  .marca span { font-size: 13px; }
  .caja { padding-top: 20px; }
  .caja label { font-size: 22px; }
  .campo input { font-size: 18px; padding: 14px 10px; }
  .campo svg { margin-left: 12px; }
  .campo button { padding: 0 16px; }
  .tiempo { gap: 2px; }
  .cuerpo, .grupo { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .grupo h3 { font-size: 24px; padding-top: 18px; }
  .opciones { max-height: 264px; }
  .opciones a { padding: 12px 8px; font-size: 16px; }
  .orden { justify-content: space-between; gap: 8px; }
  .lista-caja { border-top: 1px solid var(--filete); }
  .texto { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .barra, .acciones, .ligapublica, .regreso, .mismo, .caja, .filtros, .tiempo { display: none; } }
