/* ==========================================================================
   PAGE 2, PAGE-SPECIFIC CSS: Immediate Dental Implants
   /dental-implants-wayland-watertown/immediate-implants/

   Loads on this page only, through Site Assets Manager's Page Assets box.

   Every component this page uses (hero, cards, checks, steps, boxes,
   figures, grid-2, arrows, review slider, before/after comparison, FAQ,
   CTA band, related links, sticky call bar, patient video slider) already
   exists in the live Global CSS under the bare [data-ddc-page] selector.
   Nothing below redefines, overrides or re-declares any of it. These are
   additive layout hooks for this page's own composition only.

   Every selector is compounded under [data-ddc-page], so nothing here can
   leak into Elementor's own widgets or any other page. No bare element
   selectors. No backslashes anywhere in this file (Rule Zero: WordPress
   strips backslashes from content saved through a plugin textarea).
   ========================================================================== */

/* ── Hero: before/after comparison column ───────────────────────────────── */

/* The hero grid child needs min-width:0 so the comparison image cannot
   force the dark hero into horizontal overflow on narrow screens. */
[data-ddc-page] .ddc-ii-hero-media {
    min-width: 0;
}

/* The comparison component's default top margin is meant for a light
   section; inside the hero it sits in its own grid column and needs none. */
[data-ddc-page] .ddc-ii-hero-media .ddc-cmp {
    margin-top: 0;
    max-width: 100%;
}

/* ACCESSIBILITY FIX: .ddc-cmp__cap is warm gray, which is correct on the
   cream sections but falls under 4.5:1 against the navy hero gradient.
   Scoped to the hero only, so the component keeps its normal styling
   everywhere else it is used on the site. */
[data-ddc-page] .ddc-ii-hero-media .ddc-cmp__cap {
    color: rgba(255, 255, 255, .72);
}

/* ── Shared spacing hooks ───────────────────────────────────────────────── */

/* Separation between a section's intro block and a following two-up grid. */
[data-ddc-page] .ddc-ii-gap {
    margin-top: 44px;
}

/* Closing paragraph after a list, a grid or a card row. */
[data-ddc-page] .ddc-ii-note {
    margin-top: 28px;
}

/* A centered measure block needs its auto margins kept when it also
   carries the note spacing above. */
[data-ddc-page] .ddc-p-measure.ddc-ii-note {
    margin-left: auto;
    margin-right: auto;
}

/* Checklists nested inside a bordered highlight box sit directly under the
   box heading, which already carries its own bottom margin. */
[data-ddc-page] .ddc-p-box .ddc-ii-checks-tight {
    margin-top: 4px;
}

/* ── Two-up rows that pair copy with a photo ────────────────────────────── */

[data-ddc-page] .ddc-ii-align-center {
    align-items: center;
}

/* Alternating photo side on desktop, so consecutive two-up rows do not
   stack all their images down one edge of the page. */
@media (min-width: 901px) {
    [data-ddc-page] .ddc-ii-reverse > :first-child {
        order: 2;
    }
}

/* ── Google profile links under the review summary strip ────────────────── */

[data-ddc-page] .ddc-ii-revlinks {
    margin-top: 16px;
    font-size: .875rem;
    color: var(--p-warm-gray);
}

[data-ddc-page] .ddc-ii-revlinks a {
    color: var(--p-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

[data-ddc-page] .ddc-ii-revlinks a:hover,
[data-ddc-page] .ddc-ii-revlinks a:focus-visible {
    color: var(--p-gold-dark);
}

[data-ddc-page] .ddc-ii-revlinks span {
    margin: 0 8px;
    color: var(--p-border);
}