/* Páginas por tema y tribunal de BuscadorLaboral (27-sep-2026; api/laboral_temas.py). Mundo de /conectar/: banda granate
   arriba, papel abajo, filetes de 1 px. Domine en titulares y lectura, Manrope en el resto. Operate/Read:
   la columna principal son las sentencias (lo que se lee y lo que Google recorre); los datos van al costado.
   Barra de resultados con los colores ya decididos (azul acoge, rojo no acoge, gris sin fondo). */

.tm-cab { padding: 34px 0 44px; }
.tm-miga { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 18px; font-size: 13.5px; color: var(--oc-on-navy-soft); }
.tm-miga a { color: var(--oc-on-navy-soft); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.tm-miga a:hover { color: #fff; border-bottom-color: #fff; }
.tm-miga [aria-current] { color: #fff; font-weight: 600; }
.tm-cab h1 { max-width: 30ch; margin: 0 0 16px; color: #fff; font-size: clamp(30px, 3.1vw, 44px); font-weight: 700; line-height: 1.14; letter-spacing: -.028em; }
.tm-lede { max-width: 66ch; margin: 0 0 26px; font-family: var(--oc-font-serif); font-size: 19px; line-height: 1.6; color: var(--oc-on-navy-soft); }
.tm-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.tm-grid {
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 0 56px; padding: 44px 0 72px;
  grid-template-areas: "rec res" "rec an" "rec sub" "rec jue" "sigue sigue";
  align-items: start;
}
.tm-res { grid-area: res; } .tm-anios { grid-area: an; } .tm-subs { grid-area: sub; } .tm-jue { grid-area: jue; }
.tm-rec { grid-area: rec; } .tm-sigue { grid-area: sigue; }

.tm-bloque { padding: 0 0 30px; }
.tm-bloque + .tm-bloque:not(.tm-rec):not(.tm-sigue) { padding-top: 26px; border-top: 1px solid var(--oc-line); }
.tm-bloque h2 { margin: 0 0 14px; font-family: var(--oc-font-sans); font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--oc-navy-900); }
.tm-rec h2, .tm-sigue h2 { font-family: var(--oc-font-serif); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.tm-nota { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: var(--oc-mute); }

/* Cómo resuelve: una barra, tres segmentos, 2 px de papel entre ellos */
.tm-barra { display: flex; gap: 2px; height: 12px; border-radius: var(--oc-r-pill); overflow: hidden; background: var(--oc-bg); }
.tm-barra span { display: block; height: 100%; }
.tm-claves { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--oc-body); }
.tm-claves li { display: flex; align-items: center; gap: 8px; }
.tm-claves i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.tm-claves b { margin-left: auto; font-weight: 700; color: var(--oc-ink); font-variant-numeric: tabular-nums; }

/* Por año: columnas finas desde una sola línea base */
.tm-cols { display: flex; align-items: flex-end; gap: 4px; height: 128px; margin: 0; padding: 18px 0 0; list-style: none; border-bottom: 1px solid var(--oc-line-2); }
.tm-cols li { position: relative; flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.tm-col { display: block; width: min(100%, 18px); height: var(--h); border-radius: 3px 3px 0 0; background: var(--oc-navy-300); transition: background var(--oc-dur) var(--oc-ease); }
.tm-cols li:hover .tm-col { background: var(--oc-navy); }
.tm-col-n { position: absolute; top: calc(100% - var(--h) - 20px); font-size: 11px; font-weight: 600; color: var(--oc-mute); opacity: 0; transition: opacity var(--oc-dur) var(--oc-ease); font-variant-numeric: tabular-nums; }
.tm-cols li:hover .tm-col-n { opacity: 1; }
.tm-col-a { position: absolute; top: calc(100% + 6px); font-size: 11px; color: var(--oc-mute); font-variant-numeric: tabular-nums; }
.tm-cols li:nth-child(even) .tm-col-a { visibility: hidden; }
.tm-anios .tm-nota { margin-top: 26px; }

/* Listas de conteo: materias y jueces */
.tm-lista { margin: 0; padding: 0; list-style: none; }
.tm-lista li { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--oc-line); font-size: 14.5px; }
.tm-lista li:last-child { border-bottom: 0; }
.cx main .tm-lista a { color: var(--oc-ink); border-bottom-color: transparent; }
.cx main .tm-lista a:hover { color: var(--oc-navy); border-bottom-color: var(--oc-accent); }
.tm-n { margin-left: auto; font-weight: 600; color: var(--oc-body-soft); font-variant-numeric: tabular-nums; }
.tm-lista--barra li { padding-bottom: 12px; }
.tm-traza { position: absolute; left: 0; bottom: 5px; height: 3px; width: var(--w); border-radius: 2px; background: var(--oc-navy-100); }

/* Sentencias recientes: filas de lectura, no tarjetas */
.tm-fallos { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--oc-line); }
.tm-fallo { padding: 20px 0 22px; border-bottom: 1px solid var(--oc-line); }
.cx main .tm-fallo-t { display: inline; font-family: var(--oc-font-serif); font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--oc-ink); border-bottom: 1px solid transparent; }
.cx main .tm-fallo-t:hover { color: var(--oc-navy); border-bottom-color: var(--oc-accent); }
.tm-fallo-r { max-width: 70ch; margin: 8px 0 10px; font-family: var(--oc-font-serif); font-size: 16px; line-height: 1.65; color: var(--oc-body); }
.tm-fallo-m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: 13px; color: var(--oc-mute); font-variant-numeric: tabular-nums; }
.tm-pill { padding: 1px 9px; border: 1px solid var(--oc-line-2); border-radius: var(--oc-r-pill); background: var(--oc-bg-alt); color: var(--oc-body); font-size: 12px; font-weight: 600; }
.tm-mas { margin: 18px 0 0; font-size: 15px; font-weight: 600; }

/* Sigue leyendo: enlaces internos, dos columnas con filete */
.tm-sigue { padding-top: 34px; border-top: 1px solid var(--oc-line); }
.tm-dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.tm-dos h3 { margin: 0 0 8px; font-family: var(--oc-font-sans); font-size: 14px; font-weight: 700; color: var(--oc-mute); }
.tm-dos ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; }
.tm-dos li { break-inside: avoid; padding: 5px 0; font-size: 15px; }

@media (max-width: 900px) {
  .tm-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "res" "rec" "sub" "an" "jue" "sigue"; padding-top: 30px; }
  .tm-bloque + .tm-bloque:not(.tm-sigue) { padding-top: 26px; border-top: 1px solid var(--oc-line); }
  .tm-rec { padding-top: 26px; border-top: 1px solid var(--oc-line); }
  .tm-dos { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .tm-cab { padding: 24px 0 32px; }
  .tm-lede { font-size: 17px; }
  .tm-dos ul { columns: 1; }
  .tm-acciones .cn-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tm-col, .tm-col-n { transition: none; } }
