/*
 * ISO-10: bodies of Chris's mock-ups of 12 November 2026 (CMS pages with the isolatop_mockup_page
 * handle, blog posts, realisations gallery).
 *
 * Each body brings its own stylesheet, every rule of which starts with the body's root id, and was
 * designed on a bare page (browser defaults only). The theme's element and class rules (h1-h3 font,
 * .eyebrow, .text-link, .photo, .stars, Tailwind preflight…) would otherwise apply to the same elements.
 *
 * `all: revert` sends every property back to the browser default. With the specificity of one id it
 * beats the theme rules (classes, elements, preflight) and loses to the mock-up rules (id + more), so
 * each element ends up exactly as in the mock-up preview. Load this file before the page stylesheet.
 */
:is(#isolatop-sols-page, #isolatop-murs-page, #isolatop-toiture-page, #isolatop-caves-page, #isolatop-vide-page,
    #isolatop-batiments-pro, #isolatop-mousse, #isolatop-methode, #isolatop-professionnels, #isolatop-a-propos,
    #isolatop-realisations, #isolatop-conseil) *,
:is(#isolatop-sols-page, #isolatop-murs-page, #isolatop-toiture-page, #isolatop-caves-page, #isolatop-vide-page,
    #isolatop-batiments-pro, #isolatop-mousse, #isolatop-methode, #isolatop-professionnels, #isolatop-a-propos,
    #isolatop-realisations, #isolatop-conseil) *::before,
:is(#isolatop-sols-page, #isolatop-murs-page, #isolatop-toiture-page, #isolatop-caves-page, #isolatop-vide-page,
    #isolatop-batiments-pro, #isolatop-mousse, #isolatop-methode, #isolatop-professionnels, #isolatop-a-propos,
    #isolatop-realisations, #isolatop-conseil) *::after {
    all: revert;
}

/*
 * The theme header is sticky (68px, 88px from 1024px once the top bar has scrolled away). The mock-ups
 * read its height from --isolatop-anchor-offset, both for their anchors (scroll-margin) and for their
 * sticky parts (table of contents, side videos), so the theme's own anchor padding is dropped here.
 */
html:has(.page-mockup) { scroll-padding-top: 0; }
.page-mockup { --isolatop-anchor-offset: 76px; }
@media (min-width: 1024px) {
    .page-mockup { --isolatop-anchor-offset: 96px; }
}
