/* Module Blog — mise en forme des articles et des diagrammes */

.ltdp-article-contenu {
  max-width: 46rem;
}

.ltdp-chess {
  margin: 1.25rem 0;
  text-align: center;
}

.ltdp-chess-board {
  width: 320px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border: 1px solid var(--ltdp-border, #ccc);
}

.ltdp-chess-fallback {
  display: block;
  font-family: monospace;
  font-size: 0.8rem;
  word-break: break-all;
  padding: 0.5rem;
}

.ltdp-chess-study iframe {
  max-width: 100%;
  border: 1px solid var(--ltdp-border, #ccc);
}

.ltdp-chess-cta {
  display: block;
  font-size: 0.85rem;
}

/* Impression : filigrane « La Tour de Pierres » (règle de mise en forme, pas une donnée métier) */
@media print {
  header, footer, .ltdp-no-print { display: none !important; }

  .ltdp-article-contenu { max-width: none; }

  body::before {
    content: "La Tour de Pierres";
    position: fixed;
    top: 45%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.08);
    transform: rotate(-30deg);
    z-index: 9999;
    pointer-events: none;
  }
}
