/* 130a: página de Novedades (novedades.html). Cada nota es un <article class="news-post"> con título (h2), fecha
   (<time>), resumen visible (.news-summary) y el resto en <details class="news-more" open>: todo el texto está en
   el HTML, sin JavaScript. PC: todo abierto y el summary oculto (se lee de corrido). Celular: el script inline al
   final de la lista pliega el resto antes del primer pintado y el summary es una fila de 44 px con + / −.
   Cómo sumar una nota: docs/NOVEDADES.md. */
.news-intro {
  margin: 0 0 8px;
}

.news-list {
  margin: 8px 0 0;
}

.news-post {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.news-post:last-of-type {
  padding-bottom: 0;
}

.legal-page .news-post h2 {
  margin: 0 0 4px;
}

.legal-page .news-date {
  margin: 0 0 12px;
  font-size: var(--type-meta);
  color: var(--text-muted);
}

.legal-page .news-summary {
  color: var(--text);
}

.news-more > summary {
  display: none;
}

.legal-page .news-more p:last-child {
  margin-bottom: 0;
}

.game-shell[data-layout="mobile"] .news-post {
  padding: 16px 0;
}

.game-shell[data-layout="mobile"] .legal-page .news-date {
  margin: 0 0 8px;
  font-size: var(--type-small);
}

.game-shell[data-layout="mobile"] .legal-page .news-summary {
  margin: 0 0 4px;
}

.game-shell[data-layout="mobile"] .news-more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--type-body);
  color: var(--cyan);
  -webkit-tap-highlight-color: transparent;
}

.game-shell[data-layout="mobile"] .news-more > summary::-webkit-details-marker {
  display: none;
}

.game-shell[data-layout="mobile"] .news-more > summary::marker {
  content: "";
}

.game-shell[data-layout="mobile"] .news-more > summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 1em;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--type-meta);
  line-height: 1;
}

.game-shell[data-layout="mobile"] .news-more[open] > summary::after {
  content: "−";
}

.game-shell[data-layout="mobile"] .news-more[open] > summary {
  margin: 0 0 8px;
}

.game-shell[data-layout="mobile"] .news-more > summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
