/* ==========================================================================
   D'AMICO DENTAL CARE - DENTAL IMPLANTS PILLAR - PAGE CSS
   Site Assets Manager -> Edit Page (NOT "Edit with Elementor") -> Page
   Assets (CSS). Asset key: dental-implants-wayland-watertown (confirm the
   key in the Page Assets meta box; it falls back to the page slug).

   THIS FILE REPLACES css/dental-implants.css ENTIRELY.
   Delete the old file in the same deployment. Do not leave both in place -
   the two define the same component names and the cascade would become
   load-order dependent.

   ------------------------------------------------------------------------
   WHY THERE ARE NO TOKEN OVERRIDES IN THIS FILE
   ------------------------------------------------------------------------
   The rebuild strategy expected a "token-override block" expressing this
   page's navy/gold/cream identity. On inspection of both stylesheets, none
   is needed: the shared [data-ddc-page] defaults ARE this palette already.

     orphan [data-ddc-implants]      shared [data-ddc-page]        same?
     --navy        #1B3A5C           --p-navy       #1b3a5c        yes
     --gold        #C9A84C           --p-gold       #c9a84c        yes
     --sage        #4A7C59           --p-sage       #4a7c59        yes
     --charcoal    #2C2C2C           --p-charcoal   #2c2c2c        yes
     --warm-gray   #6B6560           --p-warm-gray  #6b6560        yes
     --light-border#E8E3DC           --p-border     #e8e3dc        yes
     --cream-card  #FDFBF8           --p-cream      #fdfbf8        yes
     --page-bg     #f9f7f4           --p-bg         #f9f7f4        yes
     --step-bg     #EEF2F7           --p-step-bg    #eef2f7        yes
     --faq-border  #D4CFC8           --p-faq-border #d4cfc8        yes
     --gold-dark   #A8872A  3.19:1   --p-gold-dark  #856a1c 4.8:1  NO

   The only divergence is the accent gold, where the shared token is the
   AA-passing one. So the migration changes the page's palette in exactly
   one respect, and that respect is the accessibility fix. Nothing of the
   "deliberate premium design" is lost - which is the evidence that the
   orphan stylesheet was never a design decision, only an un-migrated copy.

   What remains page-specific, and is therefore all this file contains:
     A. the answer block's mobile reflow (it must never be display:none)
     B. the mobile-first motion layer
     C. Elementor/theme cascade hardening for interactive components
     D. a handful of page-only layout refinements
     E. the page palette mapped onto the video component
     F. patient stories, page-level refinements
     G. mobile art direction
     H. media, reviews and layout (2026-11-17 revision)

   2026-11-17 REVISION. The review slider and the single feature video are
   gone from this page, replaced by a by-topic review library, four videos
   and five before/after comparisons placed beside the text they support.
   Rules that only served the removed components were deleted rather than
   left in place, and two rules that would now fight the new components
   (a forced 46px comparison knob and a forced outline on the comparison's
   2px divider) were removed. Every change is listed in the package notes.

   No backslashes appear anywhere in this file (Rule Zero: WordPress strips
   backslashes from content saved through a plugin textarea).
   ========================================================================== */


/* ==========================================================================
   A. THE ANSWER BLOCK ON MOBILE
   --------------------------------------------------------------------------
   The previous page carried
       [data-ddc-implants] .hero-summary-card { display: none }
   below 860px, which removed the page's single most extractable block from
   the experience of most of its readers. It is NOT hidden here at any width.

   Below 900px the shared .ddc-p-hero__grid already collapses to one column,
   so the aside stacks full-width directly beneath the hero copy. The rules
   below only make it read as a deliberate card at that size rather than as
   a leftover sidebar.
   ========================================================================== */
@media (max-width: 899px) {
  [data-ddc-page="implants"] .ddc-p-hero__aside {
    display: flex;            /* explicit: never none, at any breakpoint */
    margin-top: 32px;
    padding: 22px 20px;
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
  }
  [data-ddc-page="implants"] .ddc-p-hero__aside-title { font-size: .7rem; }
  [data-ddc-page="implants"] .ddc-p-hero__aside li { font-size: .9rem; }
}

/* Belt and braces: if any future rule or plugin tries to hide it, this wins
   on specificity without !important. The block is load-bearing for answer
   engines and for the mobile reader, so it is pinned deliberately. */
[data-ddc-page="implants"] .ddc-p-hero__grid > .ddc-p-hero__aside { display: flex; }


/* ==========================================================================
   B. MOBILE-FIRST MOTION LAYER
   --------------------------------------------------------------------------
   Engineering rules this follows:
     - opacity and transform only; nothing animates layout, so no CLS
     - the DEFAULT state of every target is visible. Global CSS declares
       .ddc-reveal { opacity: 1 } and only adds the hidden state under
       .ddc-anim, which Global JS applies after confirming
       IntersectionObserver support. JS off = nothing hidden, ever
     - no scroll hijacking, no continuous decorative animation
     - movement distance and duration are TUNED DOWN for touch, not copied
       from desktop: short travel reads as responsive on a phone, where the
       same 28px travel reads as sluggish
     - prefers-reduced-motion removes all of it
   ========================================================================== */

/* --- B1. Section reveal, tuned per device -------------------------------- */
@media (max-width: 899px) {
  /* Shorter travel, faster curve: a thumb-driven scroll outruns a 600ms
     28px rise, so the element is still moving when it is already read. */
  [data-ddc-page="implants"] .ddc-reveal.ddc-anim {
    transform: translate3d(0, 16px, 0);
    transition: opacity .42s cubic-bezier(.22,.61,.36,1),
                transform .42s cubic-bezier(.22,.61,.36,1);
  }
}
@media (min-width: 900px) {
  [data-ddc-page="implants"] .ddc-reveal.ddc-anim {
    transform: translate3d(0, 26px, 0);
    transition: opacity .62s cubic-bezier(.22,.61,.36,1),
                transform .62s cubic-bezier(.22,.61,.36,1);
  }
}
[data-ddc-page="implants"] .ddc-reveal.ddc-anim.ddc-visible {
  transform: translate3d(0, 0, 0);
}

/* --- B2. Staggered children ---------------------------------------------
   A container marked [data-ddc-stagger] releases its own children in
   sequence once the container itself becomes visible. Guarded by .ddc-anim
   on the ancestor, so with JS off no child is ever hidden. */
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > *,
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > * > .ddc-p-step,
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > .ddc-faq__item,
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > .ddc-p-loc {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity .44s ease, transform .44s ease;
}
[data-ddc-page="implants"] .ddc-reveal.ddc-anim.ddc-visible[data-ddc-stagger] > *,
[data-ddc-page="implants"] .ddc-reveal.ddc-anim.ddc-visible[data-ddc-stagger] > * > .ddc-p-step,
[data-ddc-page="implants"] .ddc-reveal.ddc-anim.ddc-visible[data-ddc-stagger] > .ddc-faq__item,
[data-ddc-page="implants"] .ddc-reveal.ddc-anim.ddc-visible[data-ddc-stagger] > .ddc-p-loc {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* Delays stop at the 8th child: beyond that the tail of a long list would
   wait almost a second, which reads as the page being slow, not polished. */
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > *:nth-child(1) { transition-delay: 0ms; }
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > *:nth-child(2) { transition-delay: 60ms; }
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > *:nth-child(3) { transition-delay: 120ms; }
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > *:nth-child(4) { transition-delay: 180ms; }
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > *:nth-child(5) { transition-delay: 220ms; }
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > *:nth-child(6) { transition-delay: 260ms; }
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > *:nth-child(7) { transition-delay: 300ms; }
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > *:nth-child(n+8) { transition-delay: 340ms; }

/* --- B3. Touch feedback -------------------------------------------------
   Phones have no hover, so the press itself has to answer. A small, fast
   scale-down on :active is the whole effect: it cannot shift layout and it
   needs no script. */
[data-ddc-page="implants"] .ddc-p-btn,
[data-ddc-page="implants"] .ddc-p-toc__list a,
[data-ddc-page="implants"] .ddc-p-callbar {
  -webkit-tap-highlight-color: rgba(27,58,92,.12);
  touch-action: manipulation;   /* removes the 300ms double-tap delay */
}
@media (hover: none) {
  [data-ddc-page="implants"] .ddc-p-btn:active,
  [data-ddc-page="implants"] .ddc-p-toc__list a:active,
  [data-ddc-page="implants"] .ddc-p-callbar:active {
    transform: scale(.97);
    transition-duration: 90ms;
  }
  /* A hover lift that fires on tap and then sticks looks like a bug. */
  [data-ddc-page="implants"] .ddc-p-btn:hover,
  [data-ddc-page="implants"] .ddc-p-card:hover,
  [data-ddc-page="implants"] .ddc-p-check:hover,
  [data-ddc-page="implants"] .ddc-p-numcard:hover,
  [data-ddc-page="implants"] .ddc-p-callbar:hover { transform: none; }
}

/* --- B4. FAQ panel ------------------------------------------------------
   Global JS animates max-height, which it measures from scrollHeight. The
   inner block is faded and nudged in alongside it so the panel does not
   appear to unroll a fully-formed paragraph from nowhere. */
[data-ddc-page="implants"] .ddc-faq__body-inner {
  opacity: 0;
  transform: translate3d(0, -4px, 0);
  transition: opacity .3s ease .08s, transform .3s ease .08s;
}
[data-ddc-page="implants"] .ddc-faq__item.ddc-open .ddc-faq__body-inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* With scripting off the accordion never gets .ddc-open, so the panel text
   must not stay at opacity 0. Global CSS un-collapses the body in this
   query; this restores the inner block with it. */
@media (scripting: none) {
  [data-ddc-page="implants"] .ddc-faq__body-inner { opacity: 1; transform: none; }
}

/* --- B5. Reduced motion: remove the entire layer ------------------------ */
@media (prefers-reduced-motion: reduce) {
  [data-ddc-page="implants"] .ddc-reveal.ddc-anim,
  [data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > *,
  [data-ddc-page="implants"] .ddc-faq__body-inner,
  [data-ddc-page="implants"] .ddc-p-btn,
  [data-ddc-page="implants"] .ddc-p-card,
  [data-ddc-page="implants"] .ddc-p-check,
  [data-ddc-page="implants"] .ddc-p-numcard,
  [data-ddc-page="implants"] .ddc-p-figure img,
  [data-ddc-page="implants"] .ddc-p-callbar {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
    animation: none !important;
  }
  [data-ddc-page="implants"] .ddc-p-card:hover,
  [data-ddc-page="implants"] .ddc-p-check:hover,
  [data-ddc-page="implants"] .ddc-p-numcard:hover,
  [data-ddc-page="implants"] .ddc-p-figure:hover img { transform: none !important; }
}


/* ==========================================================================
   C. ELEMENTOR / THEME CASCADE HARDENING
   --------------------------------------------------------------------------
   DOCUMENTED EXTERNAL CONFLICT. The recurring failure on this site is that
   buttons and icons lose their styling once the markup is saved into an
   Elementor HTML widget: they render square, lose padding and background,
   and the inline SVG collapses or disappears. The cause is generic
   selectors - `button`, `a`, `svg`, `span`, `i` - coming from the theme,
   from Elementor's own button defaults, and from plugin stylesheets, which
   are not contested by the shared system's single-state declarations.

   SCOPE AND JUSTIFICATION FOR !important (master rule 8 / addendum 3):
   it is used ONLY on the specific properties that have actually been lost
   in that environment - geometry, surface, appearance reset and SVG
   dimensions - and ONLY under the [data-ddc-page="implants"] wrapper. It is
   not applied page-wide, not to colour where the shared system already
   wins, and not to anything that would break a shared component elsewhere.
   Every property the addendum lists is declared explicitly below, with all
   interaction states.
   ========================================================================== */

/* --- C1. Button geometry, surface and reset ----------------------------- */
[data-ddc-page="implants"] .ddc-p-btn,
[data-ddc-page="implants"] a.ddc-p-btn,
[data-ddc-page="implants"] button.ddc-p-btn {
  display: inline-flex !important;
  position: relative;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  width: auto;
  min-height: 48px !important;      /* >= 44px touch target */
  padding: 14px 28px !important;
  border: 2px solid transparent !important;
  border-radius: 50px !important;
  font-family: var(--p-font-body) !important;
  font-size: .9375rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: .02em;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal;              /* NOT nowrap - see the 2026-08-21 overflow fix */
  overflow-wrap: break-word;
  max-width: 100%;
  min-width: 0;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  box-sizing: border-box !important;
  box-shadow: none;
  transition: background var(--p-transition), border-color var(--p-transition),
              color var(--p-transition), transform var(--p-transition),
              box-shadow var(--p-transition);
}
[data-ddc-page="implants"] .ddc-p-btn--lg,
[data-ddc-page="implants"] a.ddc-p-btn--lg {
  min-height: 56px !important;
  padding: 17px 38px !important;
  font-size: 1.0625rem !important;
}
[data-ddc-page="implants"] .ddc-p-btn--block { width: 100% !important; }

/* Surfaces, every state declared. Labels on gold are deep navy, which is
   the AA-passing pairing the shared system already proved; the orphan file
   used white on gold at 2.29:1. */
[data-ddc-page="implants"] .ddc-p-btn--primary,
[data-ddc-page="implants"] a.ddc-p-btn--primary {
  background: var(--p-navy) !important;
  border-color: var(--p-navy) !important;
  color: var(--p-white) !important;
}
[data-ddc-page="implants"] .ddc-p-btn--primary:hover,
[data-ddc-page="implants"] .ddc-p-btn--primary:focus-visible {
  background: var(--p-navy-hover) !important;
  border-color: var(--p-navy-hover) !important;
  color: var(--p-white) !important;
}
[data-ddc-page="implants"] .ddc-p-btn--primary:active {
  background: var(--p-navy-deep) !important;
  border-color: var(--p-navy-deep) !important;
}

[data-ddc-page="implants"] .ddc-p-btn--gold,
[data-ddc-page="implants"] a.ddc-p-btn--gold {
  background: var(--p-gold) !important;
  border-color: var(--p-gold) !important;
  color: var(--p-navy-deep) !important;
}
[data-ddc-page="implants"] .ddc-p-btn--gold:hover,
[data-ddc-page="implants"] .ddc-p-btn--gold:focus-visible {
  background: var(--p-gold-dark) !important;
  border-color: var(--p-gold-dark) !important;
  color: var(--p-white) !important;
}
[data-ddc-page="implants"] .ddc-p-btn--gold:active {
  background: var(--p-gold-dark) !important;
  border-color: var(--p-gold-dark) !important;
  color: var(--p-white) !important;
}

[data-ddc-page="implants"] .ddc-p-btn--outline,
[data-ddc-page="implants"] a.ddc-p-btn--outline {
  background: transparent !important;
  border-color: var(--p-navy) !important;
  color: var(--p-navy) !important;
}
[data-ddc-page="implants"] .ddc-p-btn--outline:hover,
[data-ddc-page="implants"] .ddc-p-btn--outline:focus-visible {
  background: var(--p-navy) !important;
  color: var(--p-white) !important;
}

[data-ddc-page="implants"] .ddc-p-btn--onDark,
[data-ddc-page="implants"] a.ddc-p-btn--onDark {
  background: transparent !important;
  border-color: rgba(255,255,255,.6) !important;
  color: var(--p-white) !important;
}
[data-ddc-page="implants"] .ddc-p-btn--onDark:hover,
[data-ddc-page="implants"] .ddc-p-btn--onDark:focus-visible {
  background: rgba(255,255,255,.14) !important;
  border-color: var(--p-white) !important;
  color: var(--p-white) !important;
}

[data-ddc-page="implants"] .ddc-p-btn[aria-disabled="true"],
[data-ddc-page="implants"] .ddc-p-btn:disabled {
  opacity: .45 !important;
  cursor: default !important;
  pointer-events: none;
  transform: none !important;
}

/* --- C2. Icon integrity -------------------------------------------------
   Icons are inline SVG, never an icon font: an icon font that is not loaded
   leaves a missing glyph, and the project rule is not to rely on external
   icon libraries. Dimensions, display, flex behaviour and stroke/fill are
   declared explicitly because a global `svg { width: 100% }` or
   `svg { display: inline }` from a plugin is exactly what collapses them. */
[data-ddc-page="implants"] .ddc-p-btn svg,
[data-ddc-page="implants"] .ddc-p-callbar svg,
[data-ddc-page="implants"] .ddc-p-hero__tag svg {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
  fill: none !important;
  vertical-align: middle;
  pointer-events: none !important;  /* the click always lands on the control */
}
[data-ddc-page="implants"] .ddc-p-hero__tag svg {
  width: 12px !important; height: 12px !important;
  min-width: 12px !important; min-height: 12px !important;
  max-width: 12px !important; max-height: 12px !important;
}
/* Star glyphs are filled shapes, not strokes - excluded from the rule above. */
[data-ddc-page="implants"] .ddc-p-revsum__stars svg {
  display: block !important;
  flex: 0 0 auto !important;
  stroke: none !important;
  fill: var(--p-gold) !important;
}
[data-ddc-page="implants"] .ddc-p-revsum__stars svg { width: 15px !important; height: 15px !important; }

/* Icon wells inside check lists, the hero aside and the FAQ header. */
[data-ddc-page="implants"] .ddc-p-check__icon,
[data-ddc-page="implants"] .ddc-p-hero__aside-icon,
[data-ddc-page="implants"] .ddc-faq__icon,
[data-ddc-page="implants"] .ddc-p-callbar__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
}
[data-ddc-page="implants"] .ddc-p-check__icon svg,
[data-ddc-page="implants"] .ddc-p-hero__aside-icon svg,
[data-ddc-page="implants"] .ddc-faq__icon svg {
  display: block !important;
  flex: 0 0 auto !important;
  fill: none !important;
}

/* --- C3. FAQ header: contrast and state ---------------------------------
   The orphan file carried `color: black !important` on the question text,
   putting #000 on navy at 1.81:1 and making all ten questions effectively
   unreadable. It is NOT reproduced. The shared system already declares
   white in all five states; this only re-asserts the geometry a theme
   `button` rule can take away. */
[data-ddc-page="implants"] .ddc-faq__list .ddc-faq__q,
[data-ddc-page="implants"] .ddc-faq__list button.ddc-faq__q {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  min-height: 56px !important;
  padding: 20px 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--p-navy) !important;
  color: var(--p-white) !important;
  font-family: var(--p-font-body) !important;
  text-align: left !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
}
[data-ddc-page="implants"] .ddc-faq__list .ddc-faq__q-text { color: var(--p-white) !important; }

/* --- C4. Comparison controls -------------------------------------------
   The review slider this block used to harden has been removed from the
   page. The comparison knob is now drawn by the .ddc-cmp--pro skin in
   Global CSS, at 54px; forcing it back to 46px here with !important, as
   this block previously did, would undo that. Only the cursor stays. */
[data-ddc-page="implants"] .ddc-cmp__handle { box-sizing: border-box; cursor: ew-resize; }

/* --- C5. Focus visibility ----------------------------------------------
   The orphan file had no :focus rule at all (WCAG 2.2 SC 2.4.7 Focus
   Visible). Re-asserted here because Elementor and several plugins ship
   `outline: none` on :focus and would otherwise win on source order.

   The COLOURS below deliberately match Global CSS block 5, which replaces
   the shared system's --p-gold ring: that ring measures 2.03:1 to 2.29:1
   on this page's light surfaces and fails SC 1.4.11 Non-text Contrast
   (3:1). Light surfaces use --p-gold-dark (4.58:1 to 5.15:1), dark navy
   surfaces use --p-gold-onDark (6.82:1 to 9.07:1), and the sage call bar
   uses white (4.86:1), because neither gold token clears 3:1 on sage.
   If the Global CSS block is ever reverted, these values must change with
   it or the two will disagree. */
[data-ddc-page="implants"] a:focus-visible,
[data-ddc-page="implants"] button:focus-visible,
[data-ddc-page="implants"] [tabindex]:focus-visible,
[data-ddc-page="implants"] .ddc-p-btn:focus-visible,
[data-ddc-page="implants"] .ddc-slider__btn:focus-visible,
[data-ddc-page="implants"] .ddc-p-table__scroll:focus-visible,
[data-ddc-page="implants"] .ddc-p-toc__list a:focus-visible {
  outline: 3px solid var(--p-gold-dark) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}
/* Dark surfaces: the champagne token is the one that measures on navy. */
[data-ddc-page="implants"] .ddc-p-hero a:focus-visible,
[data-ddc-page="implants"] .ddc-p-hero button:focus-visible,
[data-ddc-page="implants"] .ddc-p-cta a:focus-visible,
[data-ddc-page="implants"] .ddc-p-aside-cta a:focus-visible,
[data-ddc-page="implants"] .ddc-p-crumbs a:focus-visible,
[data-ddc-page="implants"] .ddc-faq__q:focus-visible {
  outline-color: var(--p-gold-onDark) !important;
}
/* Clipped by .ddc-faq__item's overflow:hidden unless the offset is inset. */
[data-ddc-page="implants"] .ddc-faq__q:focus-visible { outline-offset: -3px !important; }
/* Sage surface: only white reaches 3:1. */
[data-ddc-page="implants"] .ddc-p-callbar:focus-visible {
  outline: 3px solid var(--p-white) !important;
  outline-offset: 3px !important;
}


/* ==========================================================================
   D. PAGE-ONLY LAYOUT REFINEMENTS
   ========================================================================== */

/* The hero copy column carries more text than the shared default expects. */
@media (min-width: 900px) {
  [data-ddc-page="implants"] .ddc-p-hero__grid { grid-template-columns: 1.1fr .9fr; }
}

/* The candidacy and preparation asides are tall; top-align their columns so
   the box does not float against a much longer text column. */
[data-ddc-page="implants"] #candidacy .ddc-p-grid-2,
[data-ddc-page="implants"] #preparation .ddc-p-grid-2,
[data-ddc-page="implants"] #recovery .ddc-p-grid-2 { align-items: start; }

/* Stacked note boxes inside one aside need separating. */
[data-ddc-page="implants"] .ddc-p-stack > .ddc-p-box + .ddc-p-box { margin-top: 14px; }


/* Keep the sticky call bar clear of the comparison handle on small screens. */
@media (max-width: 680px) {
  [data-ddc-page="implants"] .ddc-p-callbar { bottom: 16px; right: 16px; }
}


/* ==========================================================================
   E. PATIENT VIDEO - re-skinning the existing lite-embed component
   --------------------------------------------------------------------------
   The video reuses .ddc-yt-slider-section, which already ships in Global CSS
   and is already driven by Global JS (thumbnail facade -> real iframe on
   click). That is why this page adds NO new JavaScript for the video and no
   second lite-embed implementation (master rule 36).

   The component is namespace-isolated and declares its own --yts-* custom
   properties on itself, which is exactly what makes it re-skinnable: mapping
   those onto the page's own tokens below changes its appearance without
   touching Global CSS and without affecting the Pain-Free Implants page,
   which uses the same component with its original Lato/blue skin.

   It is used here with ONE slide and no prev/next or dots. The Global JS
   guards every control lookup (`if (prevBtn)`, `if (dotsWrap)`), so omitting
   them is supported rather than merely tolerated.
   ========================================================================== */
[data-ddc-page="implants"] .ddc-yt-slider-section {
  /* Map the component's tokens onto this page's palette. */
  --yts-navy: var(--p-navy);
  --yts-navy-light: var(--p-navy-hover);
  --yts-gold: var(--p-gold);
  --yts-white: var(--p-white);
  --yts-off: var(--p-cream);
  --yts-border: var(--p-border);
  --yts-text: var(--p-charcoal);
  --yts-text-mid: var(--p-warm-gray);
  --yts-text-light: var(--p-warm-gray);
  --yts-radius: var(--p-radius-md);
  --yts-radius-sm: var(--p-radius-sm);
  --yts-shadow: var(--p-shadow-sm);
  --yts-shadow-md: var(--p-shadow-md);
  --yts-shadow-lg: var(--p-shadow-lg);
}

/* Sizing and spacing for the four videos on this page now come from the
   reusable .ddc-yt-slider-section--inline modifier in Global CSS, which
   sizes each player to the column it sits in. */

/* Typography: the component ships Lato declarations; this page is
   Cormorant/Inter, and a single stray Lato caption looks like a mistake. */
[data-ddc-page="implants"] .ddc-yt-slider-section .ddc-yt-slider__caption {
  font-family: var(--p-font-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--p-warm-gray);
}
[data-ddc-page="implants"] .ddc-yt-slider-section .ddc-yt-slider__play-label {
  font-family: var(--p-font-body);
  letter-spacing: .12em;
}

/* CONTRAST FIX. The component focuses its scrollable viewport with
   `outline: 2px solid var(--yts-gold)`. Once --yts-gold is mapped to this
   page's gold (#c9a84c), that ring measures 2.14:1 against the cream section
   background and fails WCAG 2.2 SC 1.4.11 (3:1). Use the same per-surface
   token this page uses everywhere else: #856a1c, 4.99:1 on cream. */
[data-ddc-page="implants"] .ddc-yt-slider-section .ddc-yt-slider__viewport:focus-visible,
[data-ddc-page="implants"] .ddc-yt-slider-section .ddc-yt-slider__play:focus-visible {
  outline: 3px solid var(--p-gold-dark) !important;
  outline-offset: 3px !important;
}
/* The play facade sits on a dark photographic overlay, where the champagne
   token is the readable one and an inset offset is needed because the frame
   clips its children. */
[data-ddc-page="implants"] .ddc-yt-slider-section .ddc-yt-slider__play:focus-visible {
  outline-color: var(--p-gold-onDark) !important;
  outline-offset: -4px !important;
}

/* Reduced motion: the component animates the play button's scale on hover. */
@media (prefers-reduced-motion: reduce) {
  [data-ddc-page="implants"] .ddc-yt-slider-section .ddc-yt-slider__play-icon,
  [data-ddc-page="implants"] .ddc-yt-slider-section .ddc-yt-slider__frame {
    transition: none !important;
  }
  [data-ddc-page="implants"] .ddc-yt-slider-section .ddc-yt-slider__play:hover .ddc-yt-slider__play-icon {
    transform: none !important;
  }
}


/* ==========================================================================
   F. PATIENT STORIES - page-level refinements only
   The component itself is in Global CSS (block 6).
   ========================================================================== */
/* On a phone the two stories stack, and a 3px quoting rule plus card padding
   eats reading width. Tighten only there. */
@media (max-width: 480px) {
  [data-ddc-page="implants"] .ddc-p-story { padding: 20px 18px; }
  [data-ddc-page="implants"] .ddc-p-story__rating { padding: 10px 13px; font-size: .84rem; }
}
/* Stagger the two stories rather than revealing them together. */
[data-ddc-page="implants"] .ddc-reveal.ddc-anim[data-ddc-stagger] > .ddc-p-story:nth-child(2) {
  transition-delay: 110ms;
}


/* ==========================================================================
   G. MOBILE ART DIRECTION
   ==========================================================================
   Everything in this section was written against measurements taken in a
   browser at 360, 375, 390, 430 and 768px, not from reading the cascade.

   The type rules are deliberately held inside (max-width: 899px). The small
   uppercase labels are a legitimate editorial device at desktop sizes and
   the desktop composition is already approved; it is on a phone, at 11.2px,
   that they stop being a device and start being hard to read.
   ========================================================================== */

/* --- G1. Mobile type floor ----------------------------------------------
   Measured sizes are noted against each rule. Nothing here changes a word,
   a colour or a weight: only the size at which a phone renders it. */
@media (max-width: 899px) {
  [data-ddc-page="implants"] .ddc-p-eyebrow        { font-size: .8125rem; }  /* 12.0 -> 13.0 */
  [data-ddc-page="implants"] .ddc-p-hero__tag      { font-size: .8125rem; }  /* 12.0 -> 13.0 */
  [data-ddc-page="implants"] .ddc-p-trust__label   { font-size: .78rem; line-height: 1.5; }   /* 11.2 -> 12.5 */
  [data-ddc-page="implants"] .ddc-p-hero__aside-title { font-size: .79rem; } /* 11.2 -> 12.6 */
  [data-ddc-page="implants"] .ddc-cmp__cap         { font-size: .85rem; line-height: 1.6; }   /* 12.8 -> 13.6 */
  [data-ddc-page="implants"] .ddc-cmp__label       { font-size: 12px; letter-spacing: 1.2px; padding: 5px 12px; }
  [data-ddc-page="implants"] .ddc-p-toc__list a    { font-size: .85rem; }    /* 13.0 -> 13.6 */
  [data-ddc-page="implants"] .ddc-p-crumbs,
  [data-ddc-page="implants"] .ddc-p-crumbs a,
  [data-ddc-page="implants"] .ddc-p-crumbs span   { font-size: .8125rem; }   /* 12.0 -> 13.0 */

  /* Running copy gets a touch more leading on a narrow measure, where a
     line break lands every eight or nine words. */
  [data-ddc-page="implants"] .ddc-p-body,
  [data-ddc-page="implants"] .ddc-p-glossary dd,
  [data-ddc-page="implants"] .ddc-p-spec__desc,
  [data-ddc-page="implants"] .ddc-p-anatomy__desc { line-height: 1.72; }
}

/* --- G2. Mobile spacing rhythm -----------------------------------------
   The page is long. On a phone the eye needs the section boundary to do
   more work than a heading alone, so the gap between sections opens and
   the gap inside a section closes slightly. */
@media (max-width: 680px) {
  [data-ddc-page="implants"] .ddc-p-anatomy > li   { padding: 20px 0; }
  [data-ddc-page="implants"] .ddc-p-anatomy > li::before { width: 40px; height: 40px; font-size: 1.05rem; }
  [data-ddc-page="implants"] .ddc-p-anatomy > li   { grid-template-columns: 40px 1fr; gap: 0 14px; }
  [data-ddc-page="implants"] .ddc-p-glossary > div { padding: 16px 0; }
  [data-ddc-page="implants"] .ddc-p-spec > li      { padding: 15px 0; }
  [data-ddc-page="implants"] .ddc-p-story          { padding: 22px 18px; }
  [data-ddc-page="implants"] .ddc-p-glossary-panel { padding: 22px 18px; }
}

/* --- G3. Touch feedback, extended --------------------------------------
   B3 covers buttons, the contents chips and the call bar. These are the
   remaining things a thumb actually lands on. A press answers in under a
   tenth of a second and moves nothing but the pressed element. */
@media (hover: none) {
  [data-ddc-page="implants"] .ddc-p-related a,
  [data-ddc-page="implants"] .ddc-p-loc,
  [data-ddc-page="implants"] .ddc-p-card,
  [data-ddc-page="implants"] .ddc-faq__q,
  [data-ddc-page="implants"] .ddc-yt-slider__play {
    -webkit-tap-highlight-color: rgba(27,58,92,.10);
    touch-action: manipulation;
  }
  [data-ddc-page="implants"] .ddc-p-related a:active,
  [data-ddc-page="implants"] .ddc-faq__q:active {
    background: var(--p-step-bg);
    transition-duration: 80ms;
  }
  [data-ddc-page="implants"] .ddc-yt-slider__play:active .ddc-yt-slider__play-icon {
    transform: scale(.94);
    transition-duration: 90ms;
  }
  /* The scrollable table and the contents strip are the two places a drag
     is expected. Keeping the drag inside them stops a sideways swipe from
     pulling the whole page or triggering a browser back gesture. */
  [data-ddc-page="implants"] .ddc-p-table__scroll,
  [data-ddc-page="implants"] .ddc-p-toc__list {
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
  }
}

/* --- G4. The contents strip knows where you are -------------------------
   Global JS already sets aria-current on the chip for the section in view.
   Styling the attribute rather than a class keeps the state in one place
   and keeps it true for assistive technology as well as for the eye. */
[data-ddc-page="implants"] .ddc-p-toc__list a[aria-current="true"] {
  border-color: var(--p-navy);
  background: var(--p-navy);
  color: #fff;
}
@media (prefers-reduced-motion: no-preference) {
  [data-ddc-page="implants"] .ddc-p-toc__list a {
    transition: background-color .22s ease, border-color .22s ease, color .22s ease;
  }
}

/* --- G5. Reduced motion covers the additions above --------------------- */
@media (prefers-reduced-motion: reduce) {
  [data-ddc-page="implants"] .ddc-p-related a,
  [data-ddc-page="implants"] .ddc-faq__q,
  [data-ddc-page="implants"] .ddc-p-toc__list a,
  [data-ddc-page="implants"] .ddc-yt-slider__play-icon {
    transition: none !important;
    transform: none !important;
  }
}


/* ==========================================================================
   H. MEDIA, REVIEWS AND LAYOUT (2026-11-17)
   ========================================================================== */

/* --- H1. Spacing utilities ------------------------------------------------
   These replace the inline style="" attributes that were in the widget
   markup (32 of them). Values are exactly the ones the inline styles used,
   so nothing moves; they now live in the stylesheet, where the master
   instruction says presentation belongs. */
[data-ddc-page="implants"] .ddc-pl-mt-6  { margin-top: 6px; }
[data-ddc-page="implants"] .ddc-pl-mt-8  { margin-top: 8px; }
[data-ddc-page="implants"] .ddc-pl-mt-12 { margin-top: 12px; }
[data-ddc-page="implants"] .ddc-pl-mt-14 { margin-top: 14px; }
[data-ddc-page="implants"] .ddc-pl-mt-18 { margin-top: 18px; }
[data-ddc-page="implants"] .ddc-pl-mt-22 { margin-top: 22px; }
[data-ddc-page="implants"] .ddc-pl-mt-24 { margin-top: 24px; }
[data-ddc-page="implants"] .ddc-pl-mt-28 { margin-top: 28px; }
[data-ddc-page="implants"] .ddc-pl-mt-30 { margin-top: 30px; }
[data-ddc-page="implants"] .ddc-pl-mt-32 { margin-top: 32px; }
[data-ddc-page="implants"] .ddc-pl-mt-34 { margin-top: 34px; }
[data-ddc-page="implants"] .ddc-pl-mt-36 { margin-top: 36px; }
[data-ddc-page="implants"] .ddc-pl-mt-40 { margin-top: 40px; }
[data-ddc-page="implants"] .ddc-pl-prose  { max-width: 74ch; }
[data-ddc-page="implants"] .ddc-pl-center { text-align: center; }
[data-ddc-page="implants"] .ddc-p-cta .ddc-pl-cta-note { color: rgba(255, 255, 255, .7); }

/* --- H2. Tables -----------------------------------------------------------
   The table markup now matches the component Global CSS already defines: a
   figure that does not scroll, a caption that stays readable at viewport
   width, and an inner .ddc-p-table__scroll region that does scroll. The
   previous markup put the table straight inside the figure, which Global
   CSS sets to overflow: hidden, so on a phone 330 to 446px of every table
   was cut off and could not be reached by swiping. The hint below is shown
   only at the widths where a table actually overflows. */
[data-ddc-page="implants"] .ddc-pl-scrollhint { display: none; }
@media (max-width: 899px) {
  [data-ddc-page="implants"] .ddc-pl-scrollhint { display: block; }
}

/* --- H3. Photographs --------------------------------------------------------
   Each photo sits in a media column capped at 560px (Global PL-1). The two
   portrait-leaning photos are given a fixed frame so they cannot grow taller
   than the copy beside them; object-position keeps the faces in frame. */
[data-ddc-page="implants"] .ddc-pl-photo { margin: 0; border-radius: 20px; }
[data-ddc-page="implants"] .ddc-pl-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
[data-ddc-page="implants"] .ddc-pl-photo--group img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: 50% 18%; }
[data-ddc-page="implants"] .ddc-pl-photo .ddc-p-figure__cap { padding: 12px 4px 4px; font-size: .85rem; line-height: 1.5; }
/* The figure component clips its own corners and adds a shadow; the
   caption sits inside that frame, on the component's tinted background. */
[data-ddc-page="implants"] .ddc-pl-photo { background: var(--p-white); box-shadow: 0 1px 2px rgba(15,30,50,.05), 0 14px 34px -12px rgba(15,30,50,.22); }
[data-ddc-page="implants"] .ddc-pl-photo img { border-radius: 20px 20px 0 0; }
[data-ddc-page="implants"] .ddc-pl-photo .ddc-p-figure__cap { padding: 12px 16px 14px; }

/* The recovery photo heads a narrow column next to a long one; it is kept
   to a 16:9 frame so it adds height in proportion to the text beside it. */
[data-ddc-page="implants"] .ddc-pl-photo--wide img { aspect-ratio: 16 / 9; object-fit: cover; }

/* --- H4. Who treats you: the two boxes under the photos ------------------- */
[data-ddc-page="implants"] .ddc-pl-box-cell { height: 100%; }

/* --- H5. Locations -----------------------------------------------------------
   Beside the Wayland photograph the two location cards stack in one column. */
[data-ddc-page="implants"] .ddc-pl-locs-stack { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
@media (min-width: 681px) and (max-width: 899px) {
  [data-ddc-page="implants"] .ddc-pl-locs-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Measured: a phone number alone on its own line, and the two Google-profile
   links in the review summary, rendered 14 to 17px tall. A link that is not
   inside a sentence does not get WCAG 2.5.8's inline exception, so it needs
   a 24px target, and 44px on touch screens. */
[data-ddc-page="implants"] .ddc-p-loc .ddc-p-body > a[href^="tel:"],
[data-ddc-page="implants"] .ddc-p-revsum__label a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 0;
}
@media (hover: none) {
  [data-ddc-page="implants"] .ddc-p-loc .ddc-p-body > a[href^="tel:"],
  [data-ddc-page="implants"] .ddc-p-revsum__label a { min-height: 44px; }
}

/* --- H6. Reviews ------------------------------------------------------------- */
[data-ddc-page="implants"] .ddc-pl-revsum { margin-top: 44px; }
/* Measured at 11.2px. These labels are links carrying the review counts for
   each office, the part a reader is most likely to want to check, so they are
   lifted at every width, not only on a phone. */
[data-ddc-page="implants"] .ddc-p-revsum__label { font-size: .8125rem; line-height: 1.45; }
[data-ddc-page="implants"] .ddc-p-revs { margin-top: 52px; }
[data-ddc-page="implants"] .ddc-pl-revs-title { text-align: left; }
[data-ddc-page="implants"] .ddc-pl-revs-intro { margin-top: 8px; max-width: 70ch; color: var(--p-warm-gray); text-align: left; }
@media (max-width: 680px) {
  [data-ddc-page="implants"] .ddc-p-revs { margin-top: 40px; }
}

/* --- H7. Media inside the process steps --------------------------------------
   The steps list carries a vertical connector line behind the numbers; the
   media sits in the text column, so the line is never crossed. */
[data-ddc-page="implants"] .ddc-p-step--media .ddc-p-step__media { padding-top: 4px; }

/* --- H8. Reduced motion for the additions in this section ------------------ */
@media (prefers-reduced-motion: reduce) {
  [data-ddc-page="implants"] .ddc-pl-photo img { transition: none !important; transform: none !important; }
}