/*
 * WebP for page backgrounds named directly in stylesheets.
 *
 * The output buffer in image-webp.php swaps image URLs in the page itself, but
 * these six are painted by external CSS files the buffer never sees. The rules
 * restate each one with the .webp sibling (same pixels, a fraction of the
 * weight — cat-bg.png alone was 22.8MB on every department, blog and legal
 * page). "html body" outranks the originals' own !important without touching
 * those files; each selector and media query is copied from the line named.
 *
 * Remove this file and its enqueue in image-webp.php to go back.
 */

/* category-page.css:13 · blog-page.css:18 · single-post.css:15 · assets/css/legal-page.css:32 */
html body .dmc-category-page-wrapper,
html body .dmc-blog-page-wrapper,
html body .dmc-single-post-wrapper,
html body .dmc-legal-page {
    background-image: url('/wp-content/uploads/2026/06/cat-bg.webp') !important;
}

/* home-v2.css:145 */
html body #dmc-home {
    background-image: url('/wp-content/uploads/2026/06/hp-bg.webp') !important;
}

/* clinic-page.css:452 · team-member.css:838 and :1968 */
html body .dmc-clinic-page-wrapper,
html body .dmc-dr-page-wrapper {
    background-image: url('/wp-content/uploads/2026/06/clinic-full-bg2.webp') !important;
}

/* home-v2.css:335 and :12108 · assets/css/about-figma-alignment.css:25 (theme file, not the library) */
html body .dmc-hero,
html body.page-id-194 .dmc-hero.dmc-about-story {
    background-image: url('/wp-content/themes/hello-theme-child-master/assets/homepage/hero/bg.webp') !important;
}

/* category-page.css:781 */
@media (max-width: 1024px) {
    html body .dmc-category-page-wrapper {
        background-image: url('/wp-content/uploads/2026/06/catbgmob.webp') !important;
    }

    /* clinic-page.css:1359 — tipul-mob-bg.png stays PNG (WebP came out larger),
       restated here only so the desktop rule above does not override it. */
    html body .dmc-clinic-page-wrapper {
        background-image: url('/wp-content/uploads/2026/06/tipul-mob-bg.png') !important;
    }
}
