/* ============================================================
   EEVN Études Bibliques – Print / PDF styles
   Masque tout sauf le contenu de l'étude.
   ============================================================ */

@media print {

  /* ── Hide everything except the article ───────────────────── */
  body > *:not(.eevn-single-study),
  header, footer, nav,
  .eevn-breadcrumb,
  .eevn-share,
  .eevn-article__footer,
  .eevn-btn,
  #wpadminbar,
  .site-header,
  .site-footer,
  .widget-area,
  sidebar {
    display: none !important;
  }

  /* ── Article layout ──────────────────────────────────────────  */
  body {
    font-family: Georgia, serif;
    font-size: 11pt;
    color: #000;
    background: #fff;
    margin: 0;
    padding: 0;
  }

  .eevn-single-study,
  .eevn-article {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .eevn-article__header {
    margin-bottom: 1.5cm;
    border-bottom: 2pt solid #000;
    padding-bottom: .5cm;
  }

  .eevn-article__title {
    font-size: 20pt;
    color: #000;
    margin: .4cm 0;
  }

  /* Keep badge visible for reference. */
  .eevn-badge {
    font-size: 9pt;
    border: 1pt solid #000;
    background: none !important;
    color: #000 !important;
    padding: 1pt 4pt;
    border-radius: 0;
  }

  /* ── Typography ──────────────────────────────────────────────  */
  .eevn-article__content {
    font-size: 11pt;
    line-height: 1.6;
    color: #000;
  }

  .eevn-article__content h2,
  .eevn-article__content h3 {
    color: #000;
    page-break-after: avoid;
  }

  p, blockquote, li {
    orphans: 3;
    widows: 3;
  }

  /* ── Page settings ───────────────────────────────────────────  */
  @page {
    margin: 2cm;
    size: A4;
  }

  /* ── Footer printed at the bottom of each page ───────────────  */
  .eevn-article__content::after {
    content: "Église Évangélique Vie Nouvelle Paris — www.vienouvelleparis.com";
    display: block;
    margin-top: 1.5cm;
    font-size: 8pt;
    color: #555;
    border-top: 1pt solid #ccc;
    padding-top: 4pt;
  }
}
