/**
 * RADIO UNaF — CONTENIDO DE GUTENBERG
 *
 * Estilos del contenido escrito con el editor de bloques: el cuerpo de una
 * noticia, de un programa o de una página institucional. Se cargan también
 * dentro del editor (add_editor_style) para que escribir y publicar se vean
 * igual.
 */

/* ==========================================================================
   CUERPO DE ARTÍCULO
   Medida de línea corta, jerarquía clara y ritmo vertical parejo.
   ========================================================================== */

.entry-content {
  max-width: var(--container-narrow);
  margin-inline: auto;
  font-size: var(--step-0);
  line-height: var(--leading-relaxed);
  color: var(--text);
}

.entry-content > * + * { margin-block-start: var(--space-5); }

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-block-start: var(--space-7);
  text-transform: none;
  font-stretch: 100%;
}

.entry-content h2 { font-size: var(--step-3); letter-spacing: -0.02em; }
.entry-content h3 { font-size: var(--step-2); letter-spacing: -0.015em; }
.entry-content h4 { font-size: var(--step-1); }

.entry-content a {
  color: var(--action);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-out);
}
.entry-content a:hover { color: var(--action-hover); }

.entry-content ul,
.entry-content ol { padding-inline-start: 1.4em; }
.entry-content li + li { margin-block-start: var(--space-2); }
.entry-content ul { list-style: disc; }
.entry-content ul::marker { color: var(--action); }

.entry-content blockquote {
  margin-inline: 0;
  padding-inline-start: var(--space-5);
  border-inline-start: var(--border-thick) solid var(--action);
  font-size: var(--step-1);
  line-height: var(--leading-normal);
  color: var(--text);
}

.entry-content figure { margin-inline: 0; }

.entry-content figcaption {
  margin-block-start: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.04em;
  color: var(--text-subtle);
}

.entry-content img { border-radius: 0; }

.entry-content hr {
  border: none;
  border-top: var(--border-hairline) solid var(--border);
  margin-block: var(--space-7);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}
.entry-content th,
.entry-content td {
  padding: var(--space-3);
  border-bottom: var(--border-hairline) solid var(--border);
  text-align: left;
}
.entry-content th {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* Una tabla ancha se desplaza dentro de su caja: el documento nunca. */
.entry-content .wp-block-table { overflow-x: auto; }

/* ==========================================================================
   ANCHOS DE BLOQUE
   ========================================================================== */

.entry-content .alignwide {
  max-width: var(--container);
  width: calc(100vw - var(--gutter) * 2);
  margin-inline: calc(50% - 50vw + var(--gutter));
}

.entry-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* ==========================================================================
   ESTILOS DE BLOQUE PROPIOS
   Los que se registran en inc/blocks.php.
   ========================================================================== */

.is-style-radio-unaf-kicker {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.is-style-radio-unaf-kicker::before {
  content: '';
  width: var(--border-thick);
  height: 1.1em;
  background: var(--action);
  flex: none;
}

.is-style-radio-unaf-lede {
  font-size: var(--step-1);
  line-height: var(--leading-normal);
  color: var(--text-muted);
}

.is-style-radio-unaf-statement {
  border: none;
  padding: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--step-3);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.is-style-radio-unaf-statement p { margin: 0; }

.is-style-radio-unaf-editorial img { border-radius: 0; }

.is-style-radio-unaf-live {
  background: var(--action);
  color: var(--white);
  border-radius: 0;
}

.is-style-radio-unaf-dial {
  border: none;
  height: var(--border-thick);
  background: var(--action);
  max-width: 64px;
  margin-inline: 0;
}

/* ==========================================================================
   ESTADO VACÍO
   Lo que ve una sección sin contenido cargado.
   ========================================================================== */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-7);
  border: var(--border-hairline) dashed var(--border-strong);
  color: var(--text-subtle);
}

.empty-state__text {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  line-height: var(--leading-normal);
  max-width: 52ch;
}
