/* Threat Intelligence: índice de boletines, boletín y suscripción. Usa las variables de site.css. */
.ti-meta{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:1.25rem;font-size:.9375rem;color:var(--muted)}
.ti-meta strong{color:var(--ink)}
.ti-section{margin-top:3.5rem}
.ti-section>h2{margin-bottom:.5rem}
.ti-section>p.ti-intro{color:var(--muted);max-width:70ch}

/* Distintivos de gravedad y estado */
.ti-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.ti-badge{display:inline-block;padding:3px 10px;border:1px solid currentColor;border-radius:var(--radius);font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;line-height:1.6}
.ti-critica{color:#9b1c1c;background:#fdf1f1}
.ti-alta{color:#8a4b00;background:#fff6e8}
.ti-vigilancia{color:#28265b;background:#eef0fa}
.ti-explotada{color:#fff;background:#9b1c1c;border-color:#9b1c1c}
.ti-tlp{color:var(--green);background:var(--lime)}

/* Aviso principal */
.ti-alert{border:2px solid #9b1c1c;border-left-width:8px;background:#fff;padding:28px;margin-top:2rem}
.ti-alert h2{margin:.25rem 0 1rem;font-size:1.5rem}
.ti-alert p{max-width:75ch}

/* Tarjetas de incidencias */
.ti-cards{display:grid;gap:22px;margin-top:1.5rem}
.ti-card{border:1px solid var(--line);background:#fff;padding:26px}
.ti-card h3{margin:0 0 .25rem;line-height:1.3}
.ti-cve{font-size:.875rem;color:var(--muted);margin:0 0 1rem;overflow-wrap:anywhere}
.ti-card dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px 18px;margin:0}
.ti-card dt{font-weight:700;color:var(--ink)}
.ti-card dd{margin:0}
.ti-sources{margin:1rem 0 0;font-size:.8125rem;color:var(--muted)}

/* Tablas */
.ti-table-wrap{overflow-x:auto;margin-top:1.25rem;border:1px solid var(--line)}
.ti-table{width:100%;border-collapse:collapse;background:#fff;min-width:560px}
.ti-table th,.ti-table td{padding:12px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.ti-table thead th{background:var(--mist);font-size:.875rem}
.ti-table tbody tr:last-child th,.ti-table tbody tr:last-child td{border-bottom:0}
.ti-table th[scope=row]{width:30%}

/* Listas */
.ti-list{padding-left:1.25rem}
.ti-list li{margin-bottom:.6rem}
.ti-closing{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--line)}
.ti-closing .small{color:var(--muted)}

/* Índice de boletines */
.ti-bulletins{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:1.5rem}
.ti-bulletin{display:flex;flex-direction:column;gap:12px;border:1px solid var(--line);background:#fff;padding:26px;text-decoration:none;color:inherit}
.ti-bulletin:hover,.ti-bulletin:focus-visible{border-color:var(--ink)}
.ti-bulletin h3{margin:0;line-height:1.3}
.ti-bulletin .more{margin-top:auto}

/* Suscripción */
.ti-subscribe{border:1px solid var(--ink);background:var(--paper);padding:32px;margin-top:3.5rem}
.ti-subscribe h2{margin-top:0}
.ti-subscribe .form-grid{margin-top:1.25rem}
.ti-legal{margin-top:1.25rem;border-top:1px solid var(--line);padding-top:1rem}
.ti-legal table{width:100%;border-collapse:collapse;font-size:.8125rem}
.ti-legal th,.ti-legal td{padding:6px 10px 6px 0;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.ti-legal th{width:26%;color:var(--ink)}

@media(max-width:760px){
  .ti-bulletins{grid-template-columns:1fr}
  .ti-card dl{grid-template-columns:1fr;gap:4px}
  .ti-card dd{margin-bottom:10px}
  .ti-alert,.ti-subscribe{padding:22px}
  .ti-legal th{width:auto;display:block;padding-bottom:0;border-bottom:0}
  .ti-legal td{display:block}
}
