/* ==========================================================================
   editorial.css — el bloque de texto propio que cuelga bajo el menú de cada
   uno de los 14 juegos (2026-09-21).

   Estructura del bloque (ver docs-claude/adsense-y-seo.md):
     Qué es X  ·  Cómo jugar  ·  Reglas  ·  Ejemplo  ·  [hueco de anuncio]
     ·  Preguntas frecuentes  ·  También te puede gustar

   Igual que ads.css, guia-link.css o otros-juegos.css NO es el design system
   de los juegos: es UNA pieza compartida para no repetir 14 veces la misma
   regla. Por eso todo lleva valores con respaldo (var(--x, currentColor)) y
   `font-family` propia: los menús de los juegos ponen mayúsculas, espaciado
   de letras y fuentes de titular en sus contenedores, y sin el reset de aquí
   el texto heredaría un "ANTON" en versalitas.

   El texto va DEBAJO del juego y nunca antes: el menú sigue siendo lo
   primero que se ve y lo que se pulsa.
   ========================================================================== */

.fh-edit {
  box-sizing: border-box;
  width: 100%;
  max-width: 62ch;
  margin: 34px auto 0;
  padding: 22px 0 6px;
  border-top: 1px solid var(--bd-c, rgba(var(--np-ink-rgb, 128, 128, 128), .28));
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  font-style: normal;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.65;
  color: inherit;
}

.fh-edit *,
.fh-edit *::before,
.fh-edit *::after { box-sizing: border-box; }

/* Los encabezados no heredan mayúsculas ni tipografía de titular. */
.fh-edit h2,
.fh-edit h3 {
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
  font-style: normal;
  line-height: 1.3;
  color: var(--np-ink, inherit);
}

.fh-edit h2 {
  margin: 28px 0 8px;
  font-size: 1.12rem;
  font-weight: 800;
}
.fh-edit h2:first-child { margin-top: 0; }

.fh-edit h3 {
  margin: 20px 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
}

.fh-edit p,
.fh-edit li,
.fh-edit summary {
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
  font-size: inherit;
  line-height: inherit;
}

.fh-edit p { margin: 0 0 12px; opacity: .9; }

.fh-edit ol,
.fh-edit ul {
  margin: 0 0 12px;
  padding-left: 1.3em;
}
.fh-edit li { margin: 0 0 6px; opacity: .9; }
.fh-edit li::marker { color: var(--ac, var(--np-red, currentColor)); font-weight: 700; }

.fh-edit strong { font-weight: 700; opacity: 1; }

.fh-edit a {
  color: var(--ac, var(--np-red, currentColor));
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Aclaración destacada (Blackjack y El Mentiroso: sin apuestas ni dinero). */
.fh-edit-aviso {
  margin: 14px 0 12px;
  padding: 10px 14px;
  border: 1px solid var(--bd-c, rgba(var(--np-ink-rgb, 128, 128, 128), .4));
  border-left-width: 4px;
  border-left-color: var(--ac, var(--np-red, currentColor));
  border-radius: var(--r-md, 0);
  font-weight: 600;
  opacity: 1 !important;
}

/* Ejemplo de cada juego: una caja aparte para que se distinga de las reglas. */
.fh-edit-ejemplo {
  margin: 4px 0 12px;
  padding: 12px 14px;
  border: 1px dashed var(--bd-c, rgba(var(--np-ink-rgb, 128, 128, 128), .4));
  border-radius: var(--r-md, 0);
}
.fh-edit-ejemplo p:last-child { margin-bottom: 0; }

/* ── Preguntas frecuentes ── */
.fh-edit-faq {
  margin: 0 0 8px;
  border-bottom: 1px solid var(--bd-c, rgba(var(--np-ink-rgb, 128, 128, 128), .22));
}
.fh-edit-faq summary {
  cursor: pointer;
  padding: 10px 26px 10px 0;
  position: relative;
  font-weight: 700;
  list-style: none;
  color: var(--np-ink, inherit);
}
.fh-edit-faq summary::-webkit-details-marker { display: none; }
.fh-edit-faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 8px;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ac, var(--np-red, currentColor));
}
.fh-edit-faq[open] summary::after { content: '\2212'; }
.fh-edit-faq summary:focus-visible {
  outline: 2px solid var(--ac, var(--np-red, currentColor));
  outline-offset: 2px;
}
.fh-edit-faq p { margin: 0 0 12px; }

/* ── También te puede gustar: 3 juegos con su descripción ──
   Sustituye al viejo .fh-otros de 4 enlaces sueltos (otros-juegos.css sigue
   sirviendo para el resto de sus reglas: separador y objetivo táctil). */
.fh-edit .fh-otros {
  margin: 30px 0 0;
  padding-top: 18px;
  text-align: left;
}
.fh-edit .fh-otros-titulo {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: normal;
  text-transform: none;
  color: var(--np-ink, inherit);
}
.fh-edit .fh-otros-lista {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.fh-edit .fh-otros-lista li { margin: 0; opacity: 1; }
.fh-edit .fh-otros-lista a {
  display: block;
  min-height: 24px;
  padding: 10px 14px;
  border: 1px solid var(--bd-c, rgba(var(--np-ink-rgb, 128, 128, 128), .28));
  border-radius: var(--r-md, 0);
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: normal;
  text-decoration: none;
  color: inherit;
}
.fh-edit .fh-otros-lista a:hover,
.fh-edit .fh-otros-lista a:focus-visible {
  border-color: var(--ac, var(--np-red, currentColor));
}
.fh-edit .fh-otros-nombre {
  display: block;
  font-weight: 800;
  color: var(--np-ink, inherit);
}
.fh-edit .fh-otros-desc {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  opacity: .82;
}

@media (min-width: 700px) {
  .fh-edit .fh-otros-lista { grid-template-columns: repeat(3, 1fr); }
}

/* ── El hueco de anuncio del contenido ──
   Uno solo por juego, entre la explicación y las preguntas frecuentes, a
   cientos de píxeles de cualquier botón de la partida. Sin ID en SLOTS
   (js/ads.js) no se pinta ni deja rastro. */
.ad-slot--contenido {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 26px auto 8px;
  text-align: center;
}
.ad-slot--contenido[data-ad-filled]::before {
  content: 'Publicidad';
  display: block;
  margin-bottom: 4px;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: .55;
}
.ad-slot--contenido ins.adsbygoogle { display: block; }

/* ── Aviso corto bajo el titular (Blackjack y El Mentiroso) ──
   Una sola línea, visible sin hacer scroll, que deja claro que el juego no
   incluye apuestas ni dinero real. Va en el hero, así que hereda el centrado
   del menú; el resto lo fija aquí para no depender del CSS de cada juego. */
.fh-aviso-linea {
  margin: 10px auto 0;
  max-width: 46ch;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
  opacity: .8;
}

/* ── Pie del bloque: independencia + enlaces legales ──
   Los juegos no tienen pie propio; sin esto ninguna pagina de juego enlazaba
   a la politica de privacidad ni al aviso legal. */
.fh-edit-pie {
  margin: 30px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--bd-c, rgba(var(--np-ink-rgb, 128, 128, 128), .22));
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.7;
  opacity: .8;
}
.fh-edit-pie a { white-space: nowrap; }
