@media print {
    .no-print {
        display: none;
    }

    @page {
        size: A4 landscape;
        margin: 0;
        padding: 0;
        margin-right: -10mm;
    }

    section {
        height: 210mm; /* Ширина A4 */
        max-width: 297mm; /* Высота A4 */
        overflow: hidden;
    }
    .timeline-section {
        overflow: visible !important;
    }

    html, body {
        overflow: visible !important;  /* Убирает скрытие содержимого */
        height: auto !important;
    }

    * {
        opacity: 1 !important;
    }
    #content {
        padding: 0 !important;
    }
    .header,
    .footer,
    .footer__custom-socials,
    #panel,
    #color-picker-toast,
    noindex {
        display: none;
    }
    body .svg:first-of-type {
        display: none;
    }

}