h2,h3{font-size:16px!important}*,a{text-decoration:none}.price-list-section{padding:10px 0;page-break-after:always;border-top:1px solid grey}.about-section,.contact-section,.coop-section,.price-list-section{border-top:1px solid grey}*{font-weight:400!important;color:#000;line-height:1.5!important}h2{display:block!important;margin-bottom:20px!important}.main-menu,.price-list-section .icon,.why-me-section .icon-box{display:none}a,figcaption,li,p{font-size:13px!important}@page{size:a4;margin:0}.main-section{height:auto;min-height:auto;padding:10px 0}.main-section-text h2,.main-section-text span{text-align:center}.main-section-text{position:relative}.coop-section{padding:10px 0}.about-section ul li{margin-top:10px}.offers-section,.why-me-section{padding:10px 0;border-top:1px solid grey}.why-me-section p{margin-bottom:30px}.price-list-section .price-list-item{padding:10px 15px;margin-bottom:30px;font-size:12px;border:1px solid grey}.contact-section{padding:10px 0;margin-bottom:0}.contact-section p.right-text{margin-top:0}

/* Plynulé stránkování při tisku */
@media print {

    @page {
        size: A4;
        margin: 12mm;
    }

    html,
    body {
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
    }

    /* Sekce mohou přirozeně pokračovat na další stránce */
    .main-section,
    .about-section,
    .coop-section,
    .offers-section,
    .why-me-section,
    .price-list-section,
    .contact-section {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
        page-break-after: auto !important;
        break-after: auto !important;
        page-break-before: auto !important;
        break-before: auto !important;
    }

    /* Nadpisy pokud možno ponechat s následujícím obsahem */
    h1,
    h2,
    h3 {
        page-break-after: avoid;
        break-after: avoid-page;
    }

    /* Nerozdělovat cenovou položku mezi stránky */
    .price-list-section .price-list-item {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    /* Omezit osamocené řádky odstavců */
    p,
    li {
        orphans: 3;
        widows: 3;
    }
}

@media print {

    /* Kdo jsem vždy začne na nové stránce */
    .about-section {
        page-break-before: always !important;
        break-before: page !important;
        page-break-after: auto !important;
        break-after: auto !important;
    }

    /* Ceník nesmí vynucovat novou stránku */
    .price-list-section {
        page-break-after: auto !important;
        break-after: auto !important;
        page-break-before: auto !important;
        break-before: auto !important;
    }

    /* Kontakt plynule navazuje na předchozí obsah */
    .contact-section {
        page-break-before: auto !important;
        break-before: auto !important;
        page-break-after: auto !important;
        break-after: auto !important;
        page-break-inside: auto !important;
        break-inside: auto !important;
        margin-top: 0 !important;
    }
}

@media print {

    /* Zmenšení mezery před patičkou */
    .contact-section {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    footer,
    .footer {
        margin-top: 0 !important;
        padding-top: 5px !important;
        page-break-before: auto !important;
        break-before: auto !important;
    }
}

