@media print {
  body:not(.legal-modal-open) {
    background: white !important;
    color: #17232e !important;
    --text: #17232e;
    --muted: #394955;
  }

  body:not(.legal-modal-open) .reveal,
  body:not(.legal-modal-open) .reveal-group > * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  body:not(.legal-modal-open) main,
  body:not(.legal-modal-open) main :where(section, article, div, aside),
  body:not(.legal-modal-open) footer {
    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.legal-modal-open) :is(main, footer),
  body:not(.legal-modal-open) :is(main, footer)
    :where(h1, h2, h3, h4, p, li, span, strong, em, small, div, summary, label) {
    color: #17232e !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
  }

  body:not(.legal-modal-open) main a,
  body:not(.legal-modal-open) main .kicker {
    color: #204969 !important;
  }

  body:not(.legal-modal-open) .section {
    min-height: 0 !important;
    padding-block: 5mm !important;
  }

  body:not(.legal-modal-open) :is(.solution-grid, .process-grid) {
    display: block !important;
  }

  body:not(.legal-modal-open) :is(.solution-grid, .process-grid) > * {
    break-inside: avoid;
    margin-block: 0 3mm;
  }

  body:not(.legal-modal-open) :is(h1, h2, h3) {
    break-after: avoid;
  }

  body:not(.legal-modal-open) :is(header nav, .mobile-menu-toggle,
    .mobile-nav-panel, .language-picker, #wnevo-hu-consent,
    #wnevo-consent-reopen) {
    display: none !important;
  }
}

@media print {
  body:not(.legal-modal-open) header.header {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    background: white !important;
    box-shadow: none !important;
  }

  body:not(.legal-modal-open) main :is(.problem-grid, .solution-grid,
      .process-grid, .help-grid) > *,
  body:not(.legal-modal-open) main #faq details.faq-item {
    border: 1pt solid #687e91 !important;
    border-radius: 3mm !important;
    box-shadow: none !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 3mm 4mm !important;
    margin-block: 0 3mm !important;
    break-inside: avoid;
  }

  body:not(.legal-modal-open) main #faq .faq-answer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    color: #17232e !important;
  }

  body:not(.legal-modal-open) main #faq .faq-icon {
    display: none !important;
  }

  body:not(.legal-modal-open) .section-heading {
    break-inside: avoid;
    break-after: avoid;
  }
}
