/* Print styly — pro tisknutelné stránky (Důležité informace, formuláře, dokumenty) */
@media print {
    @page {
        margin: 1.5cm;
    }
    *,
    *::before,
    *::after {
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
        color: #000 !important;
    }
    html, body {
        background: #fff !important;
        font-size: 11pt;
        line-height: 1.45;
        color: #000;
    }
    body {
        max-width: 100%;
    }

    /* Skryj interaktivní + ozdobné prvky */
    .site-header,
    .site-footer,
    .nav-drawer,
    .hamburger,
    .theme-toggle,
    .skip,
    .ssur-consent,
    .ssur-consent-modal,
    .map-placeholder,
    .map-embed,
    .article-share,
    .article-nav,
    .breadcrumb,
    [data-consent-iframe],
    .news-preview__cta,
    .why-choose,
    .obor-card,
    .hero,
    .page-title__band,
    button,
    .btn {
        display: none !important;
    }

    /* Layout reset pro tisk */
    main, .container, .section {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    /* Odkazy — vypiš URL za textem */
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: .85em;
        font-weight: normal;
        color: #555 !important;
    }
    a[href^="#"]::after,
    a[href^="javascript:"]::after,
    a[href^="mailto:"]::after,
    a[href^="tel:"]::after {
        content: "";
    }

    /* Nadpisy */
    h1, h2, h3, h4 {
        page-break-after: avoid;
        break-after: avoid;
        color: #000;
    }
    h1 { font-size: 18pt; }
    h2 { font-size: 14pt; margin-top: 1em; }
    h3 { font-size: 12pt; }

    /* Tabulky a obrázky nepřerušovat napříč stránkami */
    table, figure, img {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    table {
        border-collapse: collapse;
        width: 100%;
    }
    table th, table td {
        border: 1px solid #888 !important;
        padding: .35em .5em;
        text-align: left;
    }
    table th {
        background: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Speciální TipTap bloky */
    [data-type="cta"] {
        display: inline !important;
        background: transparent !important;
        padding: 0 !important;
        font-weight: 700;
        text-decoration: underline;
    }
    [data-type="spacer"] {
        display: none !important;
    }
    [data-type="embed"],
    [data-type="gallery"] {
        display: none !important;
    }

    /* Logo viditelné v záhlaví tisku */
    .logo {
        display: block !important;
        margin-bottom: 1cm;
    }
    .logo__text {
        display: inline !important;
        font-weight: 700;
    }
}
