/*
 * Impression (chargée avec media="print" : ne coûte rien à l'affichage).
 */

@layer impression {
    /* ---------- Impression : le contenu seul, noir sur blanc, adresses des liens externes ---------- */

    .entete,
    .pied,
    .barre-reserver,
    .lien-evitement,
    .calendrier__nav,
    .calendrier__selection,
    .heros__claustra,
    .mosaique__tout,
    .photo__agrandir,
    .sommaire,
    .rubriques,
    .visionneuse,
    .fenetre {
        display: none !important;
    }

    html,
    body {
        background: #fff;
        color: #000;
    }

    body {
        padding-block-end: 0;
        font-size: 11pt;
    }

    .section,
    .section--sauge,
    .section--bois,
    .page-entete,
    .heros,
    .tarif--accent {
        background: none;
        color: #000;
        padding-block: var(--e-5);
    }

    .heros {
        display: block;
        min-block-size: 0;
    }

    .heros__photo .photo img {
        max-block-size: 9cm;
    }

    .section--confiserie {
        background: none;
        color: #000;
    }

    .heros__titre,
    .heros__accroche,
    .heros__dates {
        padding: 0;
    }

    .encart,
    .tarif,
    .lieu,
    .dates,
    .plan,
    .devis {
        background: none;
        border-color: #000;
    }

    a,
    .heros__titre h1,
    .heros__lieu,
    .heros__accroche {
        color: #000;
    }

    a[href^='http']::after,
    main a[href^='http']::after {
        content: ' (' attr(href) ')';
        display: inline;
        inline-size: auto;
        block-size: auto;
        margin: 0;
        background: none;
        mask: none;
        font-size: 0.85em;
        overflow-wrap: anywhere;
    }

    h1,
    h2,
    h3 {
        break-after: avoid;
    }

    .tarif,
    .lieu,
    .encart,
    .plan,
    tr,
    figure {
        break-inside: avoid;
    }

    img,
    svg {
        max-inline-size: 100%;
    }
}
