/* ============================================
   SECTION: Autism Testing — Get In Touch (closing CTA)
   Reuses the approach closing-CTA layout (.approach-cta,
   from css/sections/approach/get_in_touch.css) and only
   swaps in this page's background photo.

   Center detail pages can override per slug via
   body.page-center--{slug} (see center_detail.html).
   ============================================ */

.approach-cta--at {
    background-image: url("../../../images/autism-testing/autism-testing__get-in-touch.add57296e924.webp");
}

/* Autism Screening: Custom #2 (same 689×645 footprint as AT default) */
.approach-cta--as {
    background-image: url("../../../images/autism-testing/cutout_waving_girl_20260820_183203_hero_diagonal.50accea3d48e.webp");
}

/* Diagnostic Evaluation: Custom #2 (~1.5:1, 1200×800) */
.approach-cta--de {
    background-image: url("../../../images/autism-testing/hero__hero-child.e4f7be64f49a.webp");
}

/* Wayland: Custom #1 (wider ~1.63:1) */
.page-center--wayland-ma .approach-cta--at {
    background-image: url("../../../images/autism-testing/autism-screening__tools.a843c2365533.webp");
}

/* Andover: Custom #2 */
.page-center--andover-ma .approach-cta--at {
    background-image: url("../../../images/autism-testing/cutout_waving_girl_20260820_183203_hero_diagonal.50accea3d48e.webp");
}

/* Braintree: Custom #3 */
.page-center--braintree-ma .approach-cta--at {
    background-image: url("../../../images/autism-testing/diagnostic-evaluation__hero.28fb0047826b.webp");
}

/* Woburn: Custom #2 */
.page-center--woburn-ma .approach-cta--at {
    background-image: url("../../../images/autism-testing/cutout_carer_toddler_20260825_213003_hero_diagonal.86ddeba9172c.webp");
}

/* Foxborough: Custom #2 */
.page-center--foxborough-ma .approach-cta--at {
    background-image: url("../../../images/autism-testing/cutout_dad_toddler_20260826_064317_hero_diagonal.330cf31f62da.webp");
}

/* Weston: Custom #1 */
.page-center--weston-ma .approach-cta--at {
    background-image: url("../../../images/autism-testing/approach__approach-our-services2.a4ff84e105c1.webp");
}

/* Sudbury: Custom #2 */
.page-center--sudbury-ma .approach-cta--at {
    background-image: url("../../../images/autism-testing/cutout_crown_boy_20260821_054538_hero_diagonal.cbcd731f1ab6.webp");
}

/* Tablet: ~1.07:1 photo — tuck sparse top like the shared approach CTA. */
@media (max-width: 1100px) {
    .approach-cta--at {
        padding-bottom: calc(88% + 20px);
    }

    .page-center--wayland-ma .approach-cta--at {
        padding-bottom: calc(61% + 20px);
    }

    .page-center--andover-ma .approach-cta--at {
        padding-bottom: calc(92% + 20px);
    }

    .approach-cta--de {
        padding-bottom: calc(67% + 20px);
    }
}

/* ----- Phones -----
   This photo is 689x645 (1.068:1) where the Our Approach one is 1.083:1, so
   at 110% width it stands 103vw tall — 1vw more than the shared rule
   reserves, which left its top edge grazing the copy. */
@media (max-width: 600px) {
    .approach-cta--at {
        padding-bottom: 103vw;
    }

    .page-center--wayland-ma .approach-cta--at {
        padding-bottom: 68vw;
    }

    .page-center--andover-ma .approach-cta--at {
        padding-bottom: 102vw;
    }

    .approach-cta--de {
        padding-bottom: 74vw;
    }
}
