/* Myaree Dental v1.7 – remove repeated sections (not the home page).
   Only active when <html> has class "adh-trim" (set by the v1.7 Header script; ?adh_trim=0 turns it off).
   Nothing is deleted from Zoho: every block is still in the page and comes back the moment this file or the class is removed.
   Each rule is scoped to the page path via html[data-adh-page]. */

/* T1 – "Getting here" strip directly under the call-to-action band. The site footer already carries the address,
   parking and the "Getting here, parking and access" link on every page. Kept on /emergency (urgent visits). */
html.adh-trim:is([data-adh-page="book"],[data-adh-page="register"],[data-adh-page="new-patients"],[data-adh-page="feedback"],[data-adh-page="data-request"],[data-adh-page="referrals"],[data-adh-page="careers"]) section.ghl-sec{display:none!important}

/* T2 – "Considering implants or a crown?" mini-card sitting right on top of the page's own booking band
   (two booking prompts back to back). Kept on /compare, where it is on-topic. (Not present on other pages.) */
html.adh-trim:is([data-adh-page="articles"],[data-adh-page="health-funds"]) .container:has(> aside.ic2-xl){display:none!important}

/* T3 – /book: the "Prefer to talk to someone? Call or text…" band repeated a "Request an appointment" button
   that reloads the page you are already on. Call and Text stay. */
html.adh-trim[data-adh-page="book"] .cta-band .acts > a.btn[href="/book"]{display:none!important}

/* T4 – /faqs: "Have another question?" card and the "Didn't find your answer?" band say the same thing one under
   the other. The band (book, call, text) stays. */
html.adh-trim[data-adh-page="faqs"] .card:has(> p > a.btn[href="/contact"]):has(> p > a[href^="tel:"]){display:none!important}

/* T5 – /your-visit: a full-width band holding only a "New patient hub →" button, straight above "Ready when you are".
   New patients stays in the menu, the footer and the hero. */
html.adh-trim[data-adh-page="your-visit"] section.section:has(> .container > a.btn[href="/new-patients"]:only-child){display:none!important}

/* T6 – /about: "The care behind every visit" points to the same care tour and equipment page as the
   "Safety, precision and innovation" video block above it. The video block stays. */
html.adh-trim[data-adh-page="about"] section#technology.helper{display:none!important}

/* T7 – /aftercare: "Day-by-day: what's normal?" repeats the "How are you going today?" recovery countdown at the top
   (same question, same advice). The countdown, the aftercare guides (all deep links /aftercare#implant etc.) and
   denture care stay. */
html.adh-trim[data-adh-page="aftercare"] section.section.helper:has(.kicker){display:none!important}

/* T8 – empty Zoho page footer under the site footer (a blank 20px strip on 12 pages). Only hidden when it holds no
   visible content; any scripts inside still run. */
html.adh-trim .zppage-template > footer.zpelem-container:not(:has(.site-footer,section,img,a,iframe,form,button,p,h2,h3)){display:none!important}
