/**
 * ==========================================================================
 * ÓRBITA - BOLETÍN EDITORIAL & RADAR TÁCTICO (boletin.css)
 * Estilo Gráfico Estandarizado con Misiones // V2.0
 * Tipografías, Formas, Botones de Píldora, Colores y Visor Monolito
 * ==========================================================================
 */

/* ==========================================================================
   1. VARIABLES DE MARCA & ETAPAS
   ========================================================================== */
:root {
  --bol-bg-space: #020610;
  --bol-bg-card: rgba(3, 9, 24, 0.72);
  --bol-bg-card-hover: rgba(6, 18, 44, 0.85);
  
  --bol-accent-cream: #FFF7D0;
  --bol-accent-cyan: #56D7FF;
  --bol-accent-cyan-glow: rgba(86, 215, 255, 0.45);
  --bol-accent-orange: #FF4924;
  --bol-accent-green: #2CB764;
  --bol-accent-gold: #FFB800;

  --bol-border-subtle: rgba(255, 255, 255, 0.12);
  --bol-border-active: rgba(86, 215, 255, 0.4);

  --bol-text-main: #e2eeff;
  --bol-text-muted: rgba(226, 238, 255, 0.75);
  --bol-text-dim: rgba(226, 238, 255, 0.55);
  --bol-text-cream: rgba(255, 247, 208, 0.85);

  --bol-font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --bol-font-display: Arial, Helvetica, sans-serif;
  --bol-font-mono: "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

/* ==========================================================================
   2. ESTRUCTURA GLOBAL & ENTORNO ESPACIAL
   ========================================================================== */
body.page-boletin {
  background-color: var(--bol-bg-space);
  color: var(--bol-text-main);
  font-family: var(--bol-font-sans);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.bulletin-main-section {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  padding: 40px 24px 80px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   3. RADAR LIVE TICKER // TENDENCIAS EN TIEMPO REAL
   ========================================================================== */
.radar-live-strip {
  width: 100%;
  background: rgba(3, 9, 24, 0.88);
  border-bottom: 1px solid var(--bol-border-subtle);
  position: relative;
  z-index: 25;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-top: 65px; /* Altura del HUD superior */
}

.radar-strip-inner {
  display: flex;
  align-items: center;
  height: 42px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.radar-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 26, 50, 0.8);
  border: 1px solid var(--bol-border-active);
  border-radius: 999px;
  padding: 4px 12px;
  font-family: var(--bol-font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--bol-accent-cyan);
  font-weight: 700;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 0 14px rgba(86, 215, 255, 0.2);
}

.radar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bol-accent-cyan);
  box-shadow: 0 0 8px var(--bol-accent-cyan);
  animation: pulseDot 2s infinite ease-in-out;
}

.radar-freq {
  color: var(--bol-text-dim);
  font-size: 0.58rem;
  margin-left: 4px;
}

.radar-marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
}

.radar-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 50s linear infinite;
  padding-left: 20px;
}

.radar-marquee-track:hover {
  animation-play-state: paused;
}

.radar-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--bol-font-sans);
  font-size: 0.8rem;
  color: var(--bol-text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.radar-item:hover {
  color: var(--bol-accent-cyan);
}

.radar-item-tag {
  font-family: var(--bol-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--bol-accent-cyan);
  background: rgba(86, 215, 255, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(86, 215, 255, 0.25);
}

.radar-item-sep {
  color: var(--bol-text-dim);
  opacity: 0.5;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   4. CONSOLA TÁCTICA DE FILTROS (FORMA & ESTILO IDÉNTICOS A MISIONES)
   ========================================================================== */
/* Botones de Píldora de Macro-Ejes Activos */
.filter-pill-btn.axis-tecnologia.is-active {
  background: var(--bol-accent-cyan);
  border-color: var(--bol-accent-cyan);
  color: #020610;
  box-shadow: 0 0 16px var(--bol-accent-cyan-glow);
}

.filter-pill-btn.axis-crecimiento.is-active {
  background: var(--bol-accent-green);
  border-color: var(--bol-accent-green);
  color: #020610;
  box-shadow: 0 0 16px rgba(44, 183, 100, 0.45);
}

.filter-pill-btn.axis-diseno.is-active {
  background: var(--bol-accent-orange);
  border-color: var(--bol-accent-orange);
  color: #020610;
  box-shadow: 0 0 16px rgba(255, 73, 36, 0.45);
}

.filter-pill-btn.axis-narrativa.is-active {
  background: var(--bol-accent-gold);
  border-color: var(--bol-accent-gold);
  color: #020610;
  box-shadow: 0 0 16px rgba(255, 184, 0, 0.45);
}

/* Buscador Semántico con forma de Píldora */
.console-search-pill-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 26, 50, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 5px 16px;
  margin-left: auto;
  transition: all 0.25s ease;
}

.console-search-pill-wrap:focus-within {
  border-color: var(--bol-accent-cyan);
  box-shadow: 0 0 14px rgba(86, 215, 255, 0.25);
  background: rgba(18, 34, 68, 0.8);
}

.console-search-pill-wrap .search-icon {
  font-size: 0.75rem;
  opacity: 0.7;
}

.console-search-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--bol-font-mono);
  font-size: 0.72rem;
  color: var(--bol-accent-cream);
  letter-spacing: 0.5px;
  width: 260px;
}

.console-search-input::placeholder {
  color: rgba(226, 238, 255, 0.4);
  font-family: var(--bol-font-mono);
}

.btn-clear-search {
  background: none;
  border: none;
  color: var(--bol-text-dim);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0 4px;
}

.btn-clear-search:hover {
  color: var(--bol-accent-orange);
}

/* ==========================================================================
   ESTADO EN ESPERA (STANDBY / SIN ARTÍCULOS PUBLICADOS)
   ========================================================================== */
.bulletin-standby-container {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 10px;
  box-sizing: border-box;
}

.bulletin-standby-card {
  position: relative;
  max-width: 720px;
  width: 100%;
  background: rgba(3, 9, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 56px 36px;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(86, 215, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.standby-beacon-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(86, 215, 255, 0.08);
  border: 1px solid rgba(86, 215, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.standby-pulse-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #56D7FF;
  box-shadow: 0 0 16px #56D7FF;
  animation: pulseDot 2s infinite ease-in-out;
}

.standby-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(86, 215, 255, 0.4);
  animation: pulseDot 2.5s infinite ease-in-out;
}

.standby-meta-tag {
  font-family: var(--bol-font-mono);
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: var(--bol-accent-cyan);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.standby-headline {
  font-family: var(--bol-font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--bol-accent-cream);
  text-transform: uppercase;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.standby-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--bol-text-muted);
  max-width: 540px;
  margin: 0 0 28px 0;
}

.standby-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 26, 50, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 18px;
  font-family: var(--bol-font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--bol-accent-cream);
  text-transform: uppercase;
}

.bulletin-empty-state {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.empty-state-card {
  max-width: 560px;
  width: 100%;
  background: rgba(3, 9, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(14px);
}

.empty-radar-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.empty-title {
  font-family: var(--bol-font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bol-accent-cream);
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.empty-desc {
  font-size: 0.85rem;
  color: var(--bol-text-muted);
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.btn-reset-filters {
  background: rgba(86, 215, 255, 0.15);
  border: 1px solid var(--bol-accent-cyan);
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--bol-font-mono);
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  font-weight: 700;
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset-filters:hover {
  background: var(--bol-accent-cyan);
  color: #020610;
  box-shadow: 0 0 14px var(--bol-accent-cyan-glow);
}

/* Fila de Tags Tácticos Populares */
.filter-group-wrap.tags-group-wrap {
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.tag-pill-btn {
  background: rgba(14, 26, 50, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 5px 14px;
  color: rgba(226, 238, 255, 0.7);
  font-family: var(--bol-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.tag-pill-btn:hover {
  background: rgba(24, 42, 80, 0.8);
  border-color: var(--bol-accent-cyan);
  color: var(--bol-accent-cream);
  transform: translateY(-1px);
}

.tag-pill-btn.is-active {
  background: rgba(86, 215, 255, 0.2);
  border-color: var(--bol-accent-cyan);
  color: var(--bol-accent-cream);
  box-shadow: 0 0 12px rgba(86, 215, 255, 0.35);
  font-weight: 700;
}

/* ==========================================================================
   5. BENTO GRID EDITORIAL (ESTÁNDAR MISIONES)
   ========================================================================== */
.bento-card[data-axis="tecnologia-ia"]      { --card-accent: var(--bol-accent-cyan); --card-glow: var(--bol-accent-cyan-glow); }
.bento-card[data-axis="crecimiento-negocios"] { --card-accent: var(--bol-accent-green); --card-glow: rgba(44, 183, 100, 0.45); }
.bento-card[data-axis="diseno-branding"]    { --card-accent: var(--bol-accent-orange); --card-glow: rgba(255, 73, 36, 0.45); }
.bento-card[data-axis="narrativa-produccion"] { --card-accent: var(--bol-accent-gold); --card-glow: rgba(255, 184, 0, 0.45); }

/* Clúster de Autores Múltiples en Tarjeta */
.card-authors-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-avatar-stack {
  display: flex;
  align-items: center;
}

.card-avatar-stack .officer-micro-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--card-accent, var(--bol-accent-cyan));
  background: #01040a;
  object-fit: cover;
  object-position: center 18%;
  margin-left: -8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.card-avatar-stack .officer-micro-avatar:first-child {
  margin-left: 0;
}

.card-author-names {
  font-family: var(--bol-font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--bol-accent-cream);
  line-height: 1.2;
}

.card-read-time-pill {
  font-family: var(--bol-font-mono);
  font-size: 0.62rem;
  letter-spacing: 1px;
  color: rgba(226, 238, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   6. VISOR MONOLITO DE LECTURA PROFUNDA (ESTILO GRÁFICO ALINEADO)
   ========================================================================== */
.monolith-reader-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2, 6, 16, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow: hidden;
}

.monolith-reader-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Barra Superior Fija del Lector */
.reader-top-toolbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(3, 9, 24, 0.95);
  border-bottom: 1px solid var(--bol-border-subtle);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.toolbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.btn-reader-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 26, 50, 0.7);
  border: 1px solid var(--bol-border-active);
  border-radius: 999px;
  padding: 6px 16px;
  color: var(--bol-accent-cyan);
  font-family: var(--bol-font-mono);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reader-back:hover {
  background: rgba(86, 215, 255, 0.15);
  border-color: var(--bol-accent-cyan);
  color: #ffffff;
  transform: translateX(-2px);
}

.reader-center-telemetry {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bol-font-mono);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: var(--bol-text-dim);
  text-transform: uppercase;
}

.telemetry-dispatch-id {
  color: var(--bol-accent-cyan);
  font-weight: 700;
}

.telemetry-dispatch-title {
  color: var(--bol-accent-cream);
  font-weight: 600;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reader-actions-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.font-scaler-group {
  display: inline-flex;
  align-items: center;
  background: rgba(14, 26, 50, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px 10px;
}

.btn-font-scale {
  background: none;
  border: none;
  color: var(--bol-accent-cream);
  font-family: var(--bol-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.2s ease;
}

.btn-font-scale:hover {
  color: var(--bol-accent-cyan);
}

.font-scale-divider {
  color: rgba(255, 255, 255, 0.15);
  margin: 0 2px;
}

.btn-reader-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 26, 50, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--bol-text-muted);
  font-family: var(--bol-font-mono);
  font-size: 0.68rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reader-share:hover {
  border-color: var(--bol-accent-cyan);
  color: var(--bol-accent-cyan);
}

.btn-reader-close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 73, 36, 0.12);
  border: 1px solid rgba(255, 73, 36, 0.4);
  border-radius: 999px;
  padding: 6px 16px;
  color: var(--bol-accent-orange);
  font-family: var(--bol-font-mono);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reader-close:hover {
  background: var(--bol-accent-orange);
  color: #020610;
  box-shadow: 0 0 14px rgba(255, 73, 36, 0.5);
}

/* Barra de Progreso de Lectura */
.reader-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.reader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--bol-accent-cyan), var(--bol-accent-green));
  box-shadow: 0 0 10px var(--bol-accent-cyan);
  transition: width 0.1s linear;
}

/* Contenedor Principal del Lector en Scroll */
.reader-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 40px 24px 80px 24px;
  box-sizing: border-box;
}

.reader-viewport::-webkit-scrollbar {
  width: 8px;
}

.reader-viewport::-webkit-scrollbar-track {
  background: #020610;
}

.reader-viewport::-webkit-scrollbar-thumb {
  background: rgba(86, 215, 255, 0.25);
  border-radius: 4px;
}

.reader-viewport::-webkit-scrollbar-thumb:hover {
  background: rgba(86, 215, 255, 0.5);
}

.reader-layout-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* Columna Izquierda: Índice Flotante Táctico */
.reader-toc-sidebar {
  position: sticky;
  top: 40px;
}

.toc-sticky-box {
  background: rgba(3, 9, 24, 0.8);
  border: 1px solid var(--bol-border-subtle);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.toc-radar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bol-accent-cyan);
  box-shadow: 0 0 8px var(--bol-accent-cyan);
  animation: pulseDot 2s infinite ease-in-out;
}

.toc-title {
  font-family: var(--bol-font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--bol-accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-item-link {
  font-family: var(--bol-font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(226, 238, 255, 0.65);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  display: block;
}

.toc-item-link:hover {
  color: var(--bol-accent-cream);
  background: rgba(14, 26, 50, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.toc-item-link.is-active {
  background: rgba(14, 26, 50, 0.85);
  border-color: var(--bol-accent-cyan);
  border-left: 3px solid var(--bol-accent-cyan);
  color: var(--bol-accent-cream);
  font-weight: 700;
  box-shadow: 0 0 15px rgba(86, 215, 255, 0.15);
}

.toc-quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

/* Columna Central del Artículo Monolito */
.reader-article-column {
  max-width: 780px;
  width: 100%;
}

.reader-meta-header {
  margin-bottom: 24px;
}

.reader-tag-date-line {
  font-family: var(--bol-font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--bol-accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.reader-headline-title {
  font-family: var(--bol-font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--bol-accent-cream);
  margin: 0 0 20px 0;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.reader-lead-quote {
  border-left: 3px solid var(--bol-accent-cyan);
  padding-left: 18px;
  margin: 0 0 32px 0;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--bol-accent-cream);
  background: rgba(86, 215, 255, 0.04);
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 0 8px 8px 0;
}

/* Imagen Principal del Artículo */
.reader-hero-image-wrap {
  width: 100%;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--bol-border-subtle);
  margin-bottom: 36px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.reader-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tipografía y Cuerpo de Lectura */
.article-prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(226, 238, 255, 0.88);
}

.article-prose p {
  margin: 0 0 20px 0;
}

.article-prose h2 {
  font-family: var(--bol-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bol-accent-cream);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-prose h3 {
  font-family: var(--bol-font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bol-accent-cyan);
  text-transform: uppercase;
  margin: 28px 0 12px 0;
}

.article-prose ul, .article-prose ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

.article-prose li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Caja de Código / Prompt Táctico */
.prompt-terminal-box {
  background: rgba(2, 6, 16, 0.85);
  border: 1px solid rgba(86, 215, 255, 0.25);
  border-radius: 10px;
  margin: 28px 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.prompt-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 26, 50, 0.7);
  padding: 8px 14px;
  border-bottom: 1px solid rgba(86, 215, 255, 0.15);
}

.prompt-terminal-title {
  font-family: var(--bol-font-mono);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  color: var(--bol-accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
}

.btn-copy-prompt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(86, 215, 255, 0.12);
  border: 1px solid rgba(86, 215, 255, 0.35);
  border-radius: 6px;
  padding: 4px 10px;
  color: var(--bol-accent-cyan);
  font-family: var(--bol-font-mono);
  font-size: 0.65rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-prompt:hover {
  background: var(--bol-accent-cyan);
  color: #020610;
  box-shadow: 0 0 10px rgba(86, 215, 255, 0.4);
}

.prompt-terminal-body {
  padding: 16px;
  font-family: var(--bol-font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #a8d5ff;
  white-space: pre-wrap;
  word-break: break-word;
  background: #01040a;
}

/* Caja de Takeaways (TL;DR) */
.article-takeaways-box {
  background: rgba(3, 14, 30, 0.75);
  border: 1px solid rgba(86, 215, 255, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin: 36px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(86, 215, 255, 0.08);
}

.takeaways-title {
  font-family: var(--bol-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bol-accent-cream);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.takeaways-list {
  margin: 0;
  padding-left: 20px;
}

.takeaways-list li {
  color: rgba(226, 238, 255, 0.85);
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Sección de Cierre: Oficiales a Cargo (Dossiers Idénticos a Misiones) */
.article-authors-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.authors-section-title {
  font-family: var(--bol-font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--bol-accent-cyan);
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 18px 0;
}

.authors-dossier-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dossier-officer-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(6, 16, 40, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-sizing: border-box;
}

.dossier-officer-card .officer-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--bol-accent-cyan);
  background: #01040a;
  overflow: hidden;
  flex-shrink: 0;
}

.dossier-officer-card .officer-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.dossier-officer-card .officer-card-info {
  flex: 1;
  min-width: 0;
}

.dossier-officer-card .officer-label {
  font-family: var(--bol-font-mono);
  font-size: 0.58rem;
  letter-spacing: 1.5px;
  color: rgba(226, 238, 255, 0.5);
  text-transform: uppercase;
}

.dossier-officer-card .officer-name {
  font-family: var(--bol-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bol-accent-cream);
  margin: 2px 0;
}

.dossier-officer-card .officer-role {
  font-family: var(--bol-font-mono);
  font-size: 0.65rem;
  color: rgba(226, 238, 255, 0.6);
  margin: 0 0 4px 0;
}

.dossier-officer-card .officer-bio-snippet {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(226, 238, 255, 0.8);
  margin: 0;
}

.dossier-officer-card .btn-view-officer {
  font-family: var(--bol-font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  color: var(--bol-accent-cyan);
  border: 1px solid rgba(86, 215, 255, 0.35);
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.dossier-officer-card .btn-view-officer:hover {
  background: rgba(86, 215, 255, 0.15);
  border-color: var(--bol-accent-cyan);
  color: #ffffff;
}

/* Toast de Notificaciones Tácticas */
.bulletin-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(4, 12, 30, 0.95);
  border: 1px solid var(--bol-accent-cyan);
  border-radius: 999px;
  padding: 10px 20px;
  color: var(--bol-accent-cream);
  font-family: var(--bol-font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--bol-accent-cyan-glow);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.bulletin-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   7. RESPONSIVIDAD (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 960px) {
  .reader-layout-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reader-toc-sidebar {
    position: static;
  }

  .toolbar-inner {
    padding: 0 16px;
  }

  .reader-center-telemetry {
    display: none;
  }

  .console-search-pill-wrap {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }

  .console-search-input {
    width: 100%;
  }

  .dossier-officer-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .dossier-officer-card .btn-view-officer {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .btn-reader-back .back-text {
    display: none;
  }

  .btn-reader-close .close-label {
    display: none;
  }

  .btn-reader-share .share-text {
    display: none;
  }

  .reader-viewport {
    padding: 20px 16px 60px 16px;
  }

  .reader-hero-image-wrap {
    height: 220px;
  }
}
