@media print {
  body > :not(main),
  body::before,
  body::after,
  main > :not(.hoja-capitales),
  .hoja-capitales .no-print {
    display: none !important;
  }

  html[data-theme] body {
    background: white;
    color: #172c32;
    font: 12pt/1.3 sans-serif;
  }

  .content-page,
  .content-page .hoja-capitales {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body.content-site main.content-page {
    padding-top: 0 !important;
  }

  .hoja-capitales .section-heading {
    margin: 0 0 6mm;
    text-align: left;
  }

  .hoja-capitales .section-heading h2 {
    max-width: none;
    margin: 0;
    color: inherit;
    font: bold 22pt/1.1 sans-serif;
    letter-spacing: normal;
  }

  .hoja-capitales .section-heading p {
    max-width: none;
    margin: 3mm 0 0;
    color: inherit;
  }

  .hoja-capitales h3 {
    margin: 6mm 0 2mm;
    color: inherit;
    font-size: 14pt;
    letter-spacing: normal;
  }

  .ficha-nombre {
    display: block;
    margin: 4mm 0;
  }

  .ficha-preguntas,
  .ficha-respuestas {
    max-width: none;
  }

  .ficha-preguntas li,
  .ficha-respuestas li {
    padding: 2mm 0;
  }

  .ficha-preguntas li {
    padding-block: 3.5mm;
  }

  .ficha-preguntas li::after {
    width: 55%;
  }

  #soluciones-ficha {
    break-before: page;
  }
}
