/*
 * AvocatTravail — largeur articles/pages v1.0.2
 * Fichier séparé volontairement pour contourner tout ancien cache de style.css.
 */

body.single main.site-main,
body.single #primary,
body.single article,
body.page:not(.home) main.site-main,
body.page:not(.home) #primary,
body.page:not(.home) article {
    width: 100% !important;
    max-width: none !important;
}

body.single .narrow,
body.single .yoast-breadcrumbs,
body.single .entry-header,
body.single .article-hero-image,
body.single .entry-content,
body.single .entry-footer,
body.single .related,
body.page:not(.home) .narrow,
body.page:not(.home) .yoast-breadcrumbs,
body.page:not(.home) .entry-header,
body.page:not(.home) .article-hero-image,
body.page:not(.home) .entry-content,
body.page:not(.home) .entry-footer,
body.page:not(.home) .related {
    width: min(calc(100% - 40px), var(--wrap)) !important;
    max-width: var(--wrap) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

body.single .entry-header h1,
body.page:not(.home) .entry-header h1 {
    width: 100% !important;
    max-width: none !important;
}

body.single .article-hero-image img,
body.page:not(.home) .article-hero-image img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto;
}

body.single .entry-content > *,
body.page:not(.home) .entry-content > * {
    max-width: none;
}

@media (max-width: 760px) {
    body.single .narrow,
    body.single .yoast-breadcrumbs,
    body.single .entry-header,
    body.single .article-hero-image,
    body.single .entry-content,
    body.single .entry-footer,
    body.single .related,
    body.page:not(.home) .narrow,
    body.page:not(.home) .yoast-breadcrumbs,
    body.page:not(.home) .entry-header,
    body.page:not(.home) .article-hero-image,
    body.page:not(.home) .entry-content,
    body.page:not(.home) .entry-footer,
    body.page:not(.home) .related {
        width: min(calc(100% - 28px), var(--wrap)) !important;
    }
}
