/**
 * Client-Specific Theming & Customizations
 *
 * This file contains CSS variables for easy color/theme customization
 * and any client-specific CSS overrides.
 *
 * USAGE:
 * 1. Update the CSS variables below to match your client's brand colors
 * 2. Add any additional client-specific CSS at the bottom of this file
 * 3. Do not modify bootstrap.css, platforma.css, or clue.css directly
 */


/* ========================================================================
   CSS VARIABLES - CUSTOMIZE THESE FOR EACH CLIENT
   ======================================================================== */

:root {
  /* ===== BRAND COLORS (Dental Clinique) =====
     The logo is black and green #88C441 (her own logo files). That green
     is 2.1:1 on white, so it never carries text and never sits under white
     text. It is the logo color and a decorative accent only. Every
     interactive and text color below is a darker green from the same hue
     (about 87deg), each checked against WCAG 2.1 AA (4.5:1 for text):
       --primary-color #436619: 6.66:1 with white, both ways; 6.32:1 on #f8f9fa;
                                6.13:1 on --tint-bg; 5.62:1 on --tint-strong
       --primary-color-dark #33501A: 9.12:1 under white; 8.06:1 on #eff1f5
       --primary-color-light #4B721D: 5.64:1 under white (hero dock box 4)
       --primary-color-bright #507A1F: 5.07:1 under white (button hover, gradient end) */
  --brand-green: #88C441;                /* Logo green: logo, decorative fills, never text */
  --brand-black: #000000;                /* Logo black */

  /* ===== PRIMARY BRAND COLORS ===== */
  --primary-color: #436619;              /* Main brand color - used throughout site */
  --primary-color-dark: #33501A;         /* Darker shade for hover states */
  --primary-color-light: #4B721D;        /* Lighter shade for accents */
  --primary-color-bright: #507A1F;       /* Brighter shade for button hover states */

  /* Override Bootstrap's primary color to match your brand */
  --bs-primary: #436619;
  --bs-primary-rgb: 67, 102, 25;
  /* Bootstrap's plain-link color (otherwise its default blue #0d6efd) */
  --bs-link-color: var(--primary-color);
  --bs-link-color-rgb: 67, 102, 25;
  --bs-link-hover-color: var(--primary-color-dark);
  --bs-link-hover-color-rgb: 51, 80, 26;


  /* ===== SECONDARY COLORS ===== */
  --secondary-color: #6c757d;            /* Secondary gray color */
  --accent-color: var(--brand-green);    /* Decorative accent only (2.1:1 on white) */


  /* ===== UI ELEMENT COLORS ===== */
  --link-color: var(--primary-color);
  --link-hover-color: var(--primary-color-dark);
  --button-color: var(--primary-color);
  --button-hover-color: var(--primary-color-dark);
  --sienna-color: var(--primary-color-dark); /* Accessibility widget (css/sienna.css): white on it 9.12:1, it on #fff 9.12:1 and on #eff1f5 8.06:1 */


  /* ===== BACKGROUND COLORS ===== */
  --bg-primary: var(--primary-color);
  --bg-secondary: #fafafa;
  --bg-light: #f8f9fa;
  --hero-bg-color: #F1F7E8;              /* Homepage hero section background (green tint) */
  --sidebar-bg: rgba(51, 80, 26, 0.95);  /* Mobile sidebar menu background (--primary-color-dark) */
  --tint-bg: #F3F7EC;                    /* Tinted section background (replaces the template's blue tint) */
  --tint-strong: #E6EFD9;                /* Chips, icon discs and card borders on the tint */
  --surface-color: #ffffff;              /* Cards and dialogs (smile cases) */
  --border-color: #dee2e6;               /* Decorative card borders (not a control boundary) */
  --scrim-color: rgba(0, 0, 0, 0.72);    /* Backdrop behind modal dialogs */


  /* ===== TEXT COLORS ===== */
  --text-primary: #212529;               /* Main body text */
  --text-secondary: #6c757d;             /* Secondary/muted text */
  --text-light: #6c757d;                 /* Light gray text */
  --text-white: #ffffff;                 /* White text */


  /* ===== TYPOGRAPHY ===== */
  /* --font-script is set by the layout, and only for a language whose
     registry entry names a fontFamily (Arabic and Hebrew want a face that
     actually has the glyphs). When no language asks for one the custom
     property is undefined and the var() falls back to -apple-system, so
     this stack resolves exactly as it always has. The rest of the chain is
     kept either way, so a script font is a preference and not a
     replacement. */
  --font-family-base: var(--font-script, -apple-system), BlinkMacSystemFont,
                      "Segoe UI", Roboto, "Helvetica Neue", Arial,
                      "Noto Sans", sans-serif;
  --font-family-headings: var(--font-family-base);

  /* The stack the page actually renders with.
     Bootstrap sets --bs-body-font-family from its own --bs-font-sans-serif,
     and body/headings read that, not --font-family-base above. So the script
     font has to be spliced in here too or it would never reach the page.
     The fallback is Bootstrap's --bs-font-sans-serif value verbatim, so with
     no --font-script defined this resolves to exactly what Bootstrap already
     computed and nothing about an English page changes. client.css is loaded
     after bootstrap-5.3.3.css, so this :root wins on source order.
     Re-copy the tail from Bootstrap's --bs-font-sans-serif on an upgrade. */
  --bs-body-font-family: var(--font-script, system-ui), -apple-system,
                         "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans",
                         "Liberation Sans", Arial, sans-serif,
                         "Apple Color Emoji", "Segoe UI Emoji",
                         "Segoe UI Symbol", "Noto Color Emoji";
  --font-size-base: 1rem;
  --line-height-base: 1.5;

  /* Heading font weights */
  --heading-font-weight: 300;            /* Light weight for h1-h4 */


  /* ===== SPACING ===== */
  --section-padding: 4rem;               /* Vertical padding for major sections */
  --section-padding-mobile: 2rem;        /* Vertical padding on mobile */


  /* ===== BORDER RADIUS ===== */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-pill: 30px;            /* For rounded buttons */


  /* ===== SHADOWS ===== */
  --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}


/* ========================================================================
   DARK MODE SUPPORT (OPTIONAL)
   Uncomment this section if you want to support dark mode
   ======================================================================== */

/*
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-light: #3d3d3d;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
  }
}
*/


/* ========================================================================
   CLIENT-SPECIFIC CSS OVERRIDES
   Add any additional custom CSS below this line
   ======================================================================== */

/* Example: Override specific element styling
.custom-header {
  background-color: var(--primary-color);
  color: var(--text-white);
}
*/

/* Example: Client-specific font import
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
:root {
  --font-family-base: 'Roboto', sans-serif;
}
*/

/* Example: Custom button style
.btn-custom {
  background-color: var(--accent-color);
  color: white;
  border-radius: var(--border-radius-pill);
  padding: 0.75rem 2rem;
}
*/


/* Brand tints: the template hardcodes a blue tint (#f0f5fa, #e4edf6) in
   clue.css for these elements. Re-pointed at the green tint variables here,
   since template CSS is never edited for a client. */
.hp-section-tinted { background-color: var(--tint-bg); }
.video-library-thumb { background: var(--tint-bg); }
.hp-chip,
.contact-card-icon { background: var(--tint-strong); }
.hp-tech-card { border-color: var(--tint-strong); }

/* Mobile top bar carries three buttons here (Call, Schedule Now, Map), not
   the template's two; let each take the width its label needs so "Schedule
   Now" is never clipped at 360px. */
.mobile-cta-btn { flex: 1 1 auto; }

/* Footer logo (all-white stacked logo on the green footer gradient). */
#footer .footer-logo {
  display: block;
  width: min(100%, 13.75rem);
  height: auto;
}


/* ========================================================================
   USAGE EXAMPLES & NOTES
   ======================================================================== */

/*
HOW TO USE CSS VARIABLES:

1. In your HTML or other CSS:
   background-color: var(--primary-color);
   color: var(--text-primary);

2. To change colors for a specific client:
   - Simply update the hex values in the :root section above
   - All instances throughout the site will update automatically

3. Common customizations by client:
   - --primary-color: Your client's main brand color
   - --sidebar-bg: Match the sidebar to their branding
   - --hero-bg-color: Customize homepage hero section
   - --font-family-base: Use client's preferred font

4. Advanced: Override Bootstrap classes:
   .btn-primary {
     background-color: var(--primary-color);
     border-color: var(--primary-color);
   }

BEST PRACTICES:
- Always use variables instead of hardcoded colors
- Test changes across multiple pages before deploying
- Keep client-specific overrides in this file
- Document any custom CSS you add below
*/


/* ==== DENTAL CLINIQUE ADVANCED REDESIGN ==== */
/* ========================================================================
   00b advanced homepage redesign, option 1 "The Readout", promoted
   2026-10-19 from the option-1 stylesheet (same order, so the
   cascade is unchanged). Direction:
   docs/planning/2026-10-16-advanced-redesign/option-1/06-direction.md
   Classes are dc- prefixed. Sections: 1 variables, 2 shared chrome (top bar,
   header, menu, search, footer), 3 homepage, 4 inside pages, 5 responsive,
   6 motion and accessibility states.
   ======================================================================== */



/* ========================================================================
   1. VARIABLES
   ======================================================================== */

:root {
  --dc-ink: #18231E;
  --dc-mist: #F7F8F2;
  --dc-white: #FFFFFF;
  --dc-sage: #E8F0DE;
  --dc-slate: #4E5B52;
  --dc-pale: #D5DDD3;
  --dc-green: var(--primary-color);            /* #436619: buttons and links on light */
  --dc-green-dark: var(--primary-color-dark);  /* #33501A: hover */
  --dc-brand: var(--brand-green);              /* #88C441: decorative on light; fills on dark */
  --dc-brand-light: #A9D46F;                   /* hover fill on dark, player accent */
  --dc-line: rgba(24, 35, 30, 0.16);
  --dc-line-strong: rgba(24, 35, 30, 0.32);
  --dc-line-dark: rgba(255, 255, 255, 0.24);

  --dc-font-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --dc-font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --dc-max: 75rem;
  --dc-gutter: clamp(1rem, 4vw, 3rem);
  --dc-section: clamp(4rem, 3rem + 4vw, 7rem);
  --dc-radius: 0.25rem;
  --dc-radius-lg: 0.5rem;

  --dc-h1: clamp(2.125rem, 1.25rem + 3.4vw, 4rem);
  --dc-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --dc-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --dc-body: 1.125rem;
  --dc-ui: 1rem;
  --dc-small: 0.875rem;

  /* Motion tokens (default level) */
  --dc-motion-dur: 1s;
  --dc-motion-dur-media: 1.1s;
  --dc-motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dc-motion-rise: 1.5rem;
  --dc-motion-stagger: 120ms;
  --dc-motion-load-delay: 150ms;

  /* The hero overlay: the template's three variables, in the brand tint */
  --hero-overlay-corner-1: rgba(51, 80, 26, 0.30);
  --hero-overlay-corner-2: rgba(51, 80, 26, 0.24);
  --hero-overlay-tint: rgba(24, 35, 30, 0.70);

  /* The Sienna accessibility widget's one brand color */
  --sienna-color: var(--primary-color-dark);
}


/* ========================================================================
   2. SHARED CHROME
   ======================================================================== */

/* Every page (Phase 6 carry-through, 2026-10-19): the homepage's type, ink and page white */
body,
body.homepage {
  font-family: var(--dc-font-body);
  color: var(--dc-ink);
  background-color: var(--dc-white);
}

.dc-wrap {
  width: 100%;
  max-width: calc(var(--dc-max) + 2 * var(--dc-gutter));
  margin-inline: auto;
  padding-inline: var(--dc-gutter);
}

/* ---- Buttons and links ---- */
.dc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 2.75rem;
  padding: 0.55em 1.25em;
  border: 1px solid var(--dc-green);
  border-radius: var(--dc-radius);
  font-family: var(--dc-font-body);
  font-size: var(--dc-ui);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.dc-btn-solid {
  background-color: var(--dc-green);
  color: var(--dc-white);
}
.dc-btn-solid:hover {
  background-color: var(--dc-green-dark);
  border-color: var(--dc-green-dark);
  color: var(--dc-white);
}
.dc-btn-outline {
  background-color: transparent;
  color: var(--dc-green);
}
.dc-btn-outline:hover {
  background-color: var(--dc-green);
  color: var(--dc-white);
}
.dc-btn-light {
  border-color: var(--dc-white);
  background-color: transparent;
  color: var(--dc-white);
}
.dc-btn-light:hover {
  background-color: var(--dc-white);
  color: var(--dc-ink);
}
.dc-btn-lg {
  min-height: 3rem;
  padding-inline: 1.5em;
}
.dc-btn:focus-visible,
.dc-link:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: 3px;
}
.dc-tech .dc-btn:focus-visible {
  outline-color: var(--dc-white);
}

.dc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 1.5rem;
  color: var(--dc-green);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.dc-link:hover {
  color: var(--dc-green-dark);
}

/* ---- Top bar (the readout strip) ---- */
.top-contact-bar.dc-topbar {
  background-color: var(--dc-ink);
  border-block-end: 0;
  color: var(--dc-pale);
  font-size: 0.9375rem;
}
.dc-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 2.75rem;
}
.dc-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 2.75rem;
  color: var(--dc-white);
  text-decoration: none;
}
.dc-topbar-link:hover {
  color: var(--dc-white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.dc-topbar-link:focus-visible {
  outline: 2px solid var(--dc-white);
  outline-offset: 2px;
}
.dc-topbar-phone {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.dc-topbar-address-short {
  display: none;
}
.dc-topbar-hours {
  color: var(--dc-pale);
  font-variant-numeric: tabular-nums;
}
.dc-topbar-hours strong {
  color: var(--dc-white);
  font-weight: 600;
}
.dc-topbar i,
.dc-topbar-hours i {
  color: var(--dc-brand);
}
body.homepage:not(.header-not-at-top) .top-contact-bar.dc-topbar a:focus-visible {
  outline: 2px solid var(--dc-white);
}

/* ---- Main header (solid mist, never see-through) ---- */
.main-header.dc-header,
body.homepage .main-header.dc-header,
body.homepage.header-not-at-top .main-header.dc-header {
  background-color: var(--dc-mist);
  box-shadow: none;
  border-block-end: 1px solid var(--dc-line);
}
body.header-scrolled .main-header.dc-header {
  box-shadow: 0 1px 0 var(--dc-line), 0 0.5rem 1.5rem rgba(24, 35, 30, 0.06);
}
.main-header.dc-header .navbar.dc-navbar,
body.header-scrolled .main-header.dc-header .navbar.dc-navbar {
  display: block;
  padding: 0;
}
.dc-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}
.main-header .dc-menu-btn,
body.header-scrolled .main-header .dc-menu-btn,
body.homepage:not(.header-not-at-top) .main-header .dc-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding-block: 0.25rem;
  padding-inline: 0.5rem 0.75rem;
  margin-inline-start: -0.5rem;
  border-radius: var(--dc-radius);
  background: none;
  color: var(--dc-ink);
  font-size: 1rem;
}
.dc-menu-btn .bi-list {
  font-size: 1.75rem;
  line-height: 1;
}
.dc-menu-label {
  font-family: var(--dc-font-body);
  font-size: var(--dc-ui);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.main-header .dc-menu-btn:hover,
body.homepage:not(.header-not-at-top) .main-header .dc-menu-btn:hover {
  background-color: var(--dc-sage);
  color: var(--dc-ink);
}
.main-header .navbar-brand.dc-brand,
body.homepage:not(.header-not-at-top) .main-header .navbar-brand.dc-brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0;
  margin: 0;
}
.main-header .header-logo.dc-logo,
body.header-scrolled .main-header .header-logo.dc-logo,
body.homepage .main-header .header-logo.dc-logo,
body.homepage.header-scrolled .main-header .header-logo.dc-logo {
  height: 1.875rem;
  width: auto;
  filter: none;
}
.dc-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-inline-start: auto;
}
.main-header .dc-search-btn,
body.header-scrolled .main-header .dc-search-btn,
body.homepage:not(.header-not-at-top) .main-header .dc-search-btn {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: var(--dc-radius);
  color: var(--dc-ink);
  font-size: 1.25rem;
}
.main-header .dc-search-btn:hover,
body.homepage:not(.header-not-at-top) .main-header .dc-search-btn:hover {
  background-color: var(--dc-sage);
  color: var(--dc-ink);
}
.main-header .dc-menu-btn:focus-visible,
.main-header .dc-search-btn:focus-visible,
.main-header .dc-brand:focus-visible,
body.homepage:not(.header-not-at-top) .main-header .dc-menu-btn:focus-visible,
body.homepage:not(.header-not-at-top) .main-header .dc-search-btn:focus-visible,
body.homepage:not(.header-not-at-top) .main-header .dc-brand:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: 2px;
}
.main-header .dc-menu-btn:focus:not(:focus-visible),
.main-header .dc-search-btn:focus:not(:focus-visible) {
  outline: none;
}
.dc-header-sub {
  display: none;
}

/* ---- Slide menu (opens from the start side, where its button sits) ---- */
.slide-menu.dc-menu {
  inset-inline-start: 0;
  inset-inline-end: auto;
  transform: translateX(-100%);
  box-shadow: 4px 0 24px rgba(24, 35, 30, 0.18);
  background-color: var(--dc-mist);
  font-family: var(--dc-font-body);
}
.slide-menu.dc-menu.active {
  transform: translateX(0);
}
[dir="rtl"] .slide-menu.dc-menu {
  transform: translateX(100%);
  box-shadow: -4px 0 24px rgba(24, 35, 30, 0.18);
}
[dir="rtl"] .slide-menu.dc-menu.active {
  transform: translateX(0);
}
.dc-menu .slide-menu-header {
  background-color: var(--dc-mist);
  border-block-end: 1px solid var(--dc-line);
  min-height: 4.25rem;
}
.dc-menu .slide-menu-title {
  font-family: var(--dc-font-display);
  font-weight: 400;
  font-size: 1.375rem;
  color: var(--dc-ink);
}
.dc-menu .slide-menu-close {
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: var(--dc-ink);
}
.dc-menu .slide-menu-close:hover {
  background-color: var(--dc-sage);
  color: var(--dc-ink);
}
.dc-menu .slide-nav-item {
  border-block-end: 1px solid var(--dc-line);
}
.dc-menu .slide-nav-link {
  color: var(--dc-ink);
  font-size: 1.0625rem;
  font-weight: 600;
  min-height: 3rem;
}
.dc-menu .slide-nav-link:hover,
.dc-menu .slide-nav-link:focus {
  background-color: var(--dc-sage);
  color: var(--dc-ink);
}
.dc-menu .slide-nav-link:focus-visible,
.dc-menu .slide-submenu-link:focus-visible,
.dc-menu .mega-menu-list a:focus-visible,
.dc-menu .slide-menu-close:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: -2px;
}
.dc-menu .slide-submenu,
.dc-menu .slide-mega-menu {
  background-color: var(--dc-white);
}
.dc-menu .slide-submenu-link,
.dc-menu .mega-menu-list a {
  color: var(--dc-ink);
}
.dc-menu .slide-submenu-link:hover,
.dc-menu .slide-submenu-link:focus,
.dc-menu .mega-menu-list a:hover,
.dc-menu .mega-menu-list a:focus {
  background-color: var(--dc-sage);
  color: var(--dc-ink);
}
.dc-menu .mega-menu-header {
  color: var(--dc-slate);
  font-family: var(--dc-font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dc-menu .slide-nav-footer {
  background-color: var(--dc-mist);
  border-block-start: 1px solid var(--dc-line);
  /* Clear of the Sienna launcher, fixed at the bottom start corner */
  padding-block-end: 6rem;
}
.dc-menu .slide-nav-cta .btn-primary {
  min-height: 2.75rem;
  border-radius: var(--dc-radius);
  background-color: var(--dc-green);
  border-color: var(--dc-green);
  color: var(--dc-white);
  font-weight: 600;
}
.dc-menu .slide-nav-cta .btn-primary:hover {
  background-color: var(--dc-green-dark);
  border-color: var(--dc-green-dark);
}
.dc-menu .slide-nav-cta .btn-primary:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: 2px;
}
.dc-menu .social-icon-btn {
  color: var(--dc-green);
  border-color: var(--dc-green);
}
.dc-menu .social-icon-btn:hover {
  background-color: var(--dc-green);
  color: var(--dc-white);
}
.slide-menu-overlay.dc-menu-overlay {
  background-color: rgba(24, 35, 30, 0.45);
}

/* ---- Search overlay ---- */
.search-overlay.dc-search {
  background-color: rgba(247, 248, 242, 0.98);
  font-family: var(--dc-font-body);
}
.search-overlay.dc-search.active {
  background-color: rgba(247, 248, 242, 0.98);
}
.dc-search .search-header {
  border-block-end: 1px solid var(--dc-line);
}
.dc-search .search-input {
  border: 1px solid var(--dc-line-strong);
  border-radius: var(--dc-radius);
  background-color: var(--dc-white);
  color: var(--dc-ink);
  font-family: var(--dc-font-body);
}
.dc-search .search-input:focus {
  border-color: var(--dc-green);
  outline: 2px solid var(--dc-green);
  outline-offset: 2px;
}
.dc-search .search-input-icon {
  color: var(--dc-slate);
}
.dc-search .search-close {
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: var(--dc-ink);
}
.dc-search .search-close:hover {
  color: var(--dc-green);
}
.dc-search .search-close:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: 2px;
}
.dc-search .search-result-item {
  border-radius: 0;
  border-block-end: 1px solid var(--dc-line);
  background-color: transparent;
}
.dc-search .search-result-item:hover {
  background-color: var(--dc-sage);
}
.dc-search .search-result-title {
  color: var(--dc-green);
  font-family: var(--dc-font-display);
  font-weight: 500;
}
.dc-search .search-result-excerpt {
  color: var(--dc-slate);
}
.dc-search .search-suggestions-title {
  color: var(--dc-slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dc-search .search-suggestion-item {
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius);
  background-color: var(--dc-white);
  color: var(--dc-ink);
}
.dc-search .search-suggestion-item:hover {
  border-color: var(--dc-green);
  background-color: var(--dc-sage);
  color: var(--dc-ink);
}
.dc-search .search-suggestion-item i {
  color: var(--dc-green);
}
.dc-search .search-view-all {
  color: var(--dc-green);
}

/* ---- Footer (a closing ink readout that mirrors the top bar) ---- */
#footer.dc-footer {
  background: var(--dc-ink);
  color: var(--dc-pale);
  font-family: var(--dc-font-body);
  /* the bottom padding keeps the last line clear of the fixed Sienna launcher */
  padding-block: 2.5rem 5.5rem;
}
.dc-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  padding-block-end: 1.5rem;
  border-block-end: 1px solid var(--dc-line-dark);
}
.dc-footer-logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-inline-end: auto;
}
.dc-footer-logo {
  display: block;
  height: 1.875rem;
  width: auto;
}
#footer.dc-footer address,
.dc-footer-address {
  margin: 0;
  font-style: normal;
  text-align: start;
}
.dc-footer-address a,
.dc-footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 2.75rem;
  color: var(--dc-white);
  text-decoration: none;
}
.dc-footer-phone {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.dc-footer-top i {
  color: var(--dc-brand);
}
.dc-btn-brand {
  border-color: var(--dc-brand);
  background-color: var(--dc-brand);
  color: var(--dc-ink);
}
.dc-btn-brand:hover {
  border-color: var(--dc-brand-light);
  background-color: var(--dc-brand-light);
  color: var(--dc-ink);
}
.dc-footer-nav {
  padding-block: 1.25rem;
}
.dc-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.dc-footer-links a,
.dc-footer-legal a {
  display: inline-block;
  padding-block: 0.35rem;
  color: var(--dc-pale);
  text-decoration: none;
}
.dc-footer-address a:hover,
.dc-footer-phone:hover,
.dc-footer-links a:hover,
.dc-footer-legal a:hover {
  color: var(--dc-white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.dc-footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  padding-block-start: 0.75rem;
  color: var(--dc-pale);
  font-size: var(--dc-small);
}
.dc-footer-social {
  display: flex;
  gap: 0.5rem;
}
.dc-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--dc-line-dark);
  border-radius: 50%;
  color: var(--dc-white);
  font-size: 1.125rem;
}
.dc-social-link:hover {
  border-color: var(--dc-brand);
  background-color: var(--dc-brand);
  color: var(--dc-ink);
}
.dc-footer-copy {
  margin: 0;
  margin-inline-start: auto;
}
/* The general-dentist statement (68 Ill. Adm. Code 1220.421), from site.licenseNotice, on every page */
.dc-footer-license {
  flex-basis: 100%;
  order: 10;
  margin: 0;
}
.dc-footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.dc-footer a:focus-visible {
  outline: 2px solid var(--dc-white);
  outline-offset: 2px;
}


/* ========================================================================
   3. HOMEPAGE
   ======================================================================== */

/* ---- Shared type ---- */
body.homepage .dc-h2 {
  margin: 0 0 1rem;
  color: inherit;
  font-family: var(--dc-font-display);
  font-size: var(--dc-h2);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
}
body.homepage .dc-h3 {
  margin: 0 0 0.5rem;
  font-family: var(--dc-font-display);
  font-size: var(--dc-h3);
  font-weight: 400;
  line-height: 1.2;
}
.dc-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--dc-slate);
  font-size: var(--dc-small);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dc-eyebrow--dark {
  color: var(--dc-pale);
}
.dc-lead {
  font-size: 1.25rem;
  line-height: 1.55;
}
.dc-section {
  padding-block: var(--dc-section);
}
.dc-section p,
.dc-essentials p,
.dc-tech p {
  font-size: var(--dc-body);
  line-height: 1.6;
}
.dc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---- The scan rule: hairline, a few registration ticks, one green disc ---- */
.dc-scanrule {
  --dc-rule: rgba(24, 35, 30, 0.3);
  position: relative;
  height: 0.5rem;
  border-block-end: 1px solid var(--dc-rule);
  background-image: repeating-linear-gradient(to right, var(--dc-rule) 0 1px, transparent 1px 6rem);
  background-size: 100% 0.5rem;
  background-repeat: no-repeat;
  background-position: 0 100%;
}
.dc-scanrule::after {
  content: "";
  position: absolute;
  inset-inline-start: 61.8%;
  inset-block-end: -0.3125rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: var(--dc-brand);
}
.dc-scanrule--hero,
.dc-scanrule--dark {
  --dc-rule: rgba(255, 255, 255, 0.55);
}

/* ---- Hero ---- */
body.homepage #homepage-cover.dc-hero {
  margin-block-start: 0;
  padding-block-start: 0;
  min-height: max(28rem, min(38.75rem, calc(100vh - 11.5rem)));
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background-color: var(--dc-ink);
}
.dc-hero .background-video-container video {
  object-position: 50% 35%;
}
body.homepage #homepage-cover.dc-hero .bg-cover.dc-hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}
body.homepage #homepage-cover.dc-hero .bg-cover > .container.dc-hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 2.5rem 1.75rem;
}
body.homepage #homepage-cover.dc-hero h1.dc-hero-title {
  max-width: 50rem;
  margin: 0 0 1.5rem;
  padding: 0;
  color: var(--dc-white);
  font-family: var(--dc-font-display);
  font-size: var(--dc-h1);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-shadow: none;
}
.dc-hero-title span {
  display: block;
}
.dc-scanrule--hero {
  margin-block-end: 1.5rem;
}

/* The docked console: transparent, cells divided by hairlines */
.dc-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
}
.dc-console > * + * {
  border-inline-start: 1px solid var(--dc-line-dark);
}
.dc-console-search {
  position: relative;
  margin: 0;
  padding-inline-end: 1.25rem;
}
.dc-console-search-icon {
  position: absolute;
  inset-inline-start: 1rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--dc-slate);
  font-size: 1.125rem;
  pointer-events: none;
}
body.homepage #homepage-cover .dc-console-input {
  display: block;
  width: 100%;
  height: 3rem;
  margin: 0;
  padding-block: 0;
  padding-inline: 2.875rem 1rem;
  border: 0;
  border-radius: var(--dc-radius);
  background-color: var(--dc-mist);
  color: var(--dc-ink);
  font-family: var(--dc-font-body);
  font-size: 1rem;
  box-shadow: none;
}
body.homepage #homepage-cover .dc-console-input::placeholder {
  color: var(--dc-slate);
  opacity: 1;
}
body.homepage #homepage-cover .dc-console-input:focus {
  outline: 2px solid var(--dc-white);
  outline-offset: 3px;
}
.dc-console-actions {
  display: flex;
  gap: 0.75rem;
  padding-inline: 1.25rem;
}
.dc-console-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.5em 1.4em;
  border: 1px solid var(--dc-white);
  border-radius: var(--dc-radius);
  font-size: var(--dc-ui);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.dc-console-schedule {
  border-color: var(--dc-brand);
  background-color: var(--dc-brand);
  color: var(--dc-ink);
}
.dc-console-schedule:hover {
  border-color: var(--dc-brand-light);
  background-color: var(--dc-brand-light);
  color: var(--dc-ink);
}
.dc-console-forms {
  background-color: transparent;
  color: var(--dc-white);
}
.dc-console-forms:hover {
  background-color: var(--dc-white);
  color: var(--dc-ink);
}
.dc-console-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-inline-start: 1.25rem;
}
.dc-console-call,
.dc-console-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 1.75rem;
  color: var(--dc-white);
  text-decoration: none;
  white-space: nowrap;
}
.dc-console-call {
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.dc-console-email {
  font-size: 1rem;
}
.dc-console-call:hover,
.dc-console-email:hover {
  color: var(--dc-white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.dc-console-call i,
.dc-console-email i {
  color: var(--dc-brand);
}
.dc-console-btn:focus-visible,
.dc-console-call:focus-visible,
.dc-console-email:focus-visible {
  outline: 2px solid var(--dc-white);
  outline-offset: 3px;
}

/* The quiet pause toggle: glyph on a faint disc, 44px hit area */
#homepage-cover .hero-video-toggle.dc-pause {
  inset-block-end: 9rem;
  inset-inline-end: var(--dc-gutter);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--dc-white);
  font-size: 1rem;
  opacity: 1;
}
#homepage-cover .hero-video-toggle.dc-pause::before {
  content: "";
  position: absolute;
  inset: 0.3125rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.45);
}
#homepage-cover .hero-video-toggle.dc-pause i {
  position: relative;
  z-index: 1;
  line-height: 1;
}
#homepage-cover .hero-video-toggle.dc-pause:hover::before,
#homepage-cover .hero-video-toggle.dc-pause:focus-visible::before {
  background-color: rgba(0, 0, 0, 0.8);
}
#homepage-cover .hero-video-toggle.dc-pause:focus-visible {
  outline: 2px solid var(--dc-white);
  outline-offset: 0;
}

/* ---- Essentials readout ---- */
.dc-essentials {
  padding-block: 2.5rem 1rem;
}
.dc-readout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.05fr) minmax(0, 1.7fr);
  border-block: 1px solid var(--dc-line);
}
.dc-readout-cell {
  padding-block: 1.75rem;
  padding-inline: 1.5rem;
}
.dc-readout-cell:first-child {
  padding-inline-start: 0;
}
.dc-readout-cell:last-child {
  padding-inline-end: 0;
}
.dc-readout-cell + .dc-readout-cell {
  border-inline-start: 1px solid var(--dc-line);
}
body.homepage .dc-readout-label {
  margin: 0 0 0.875rem;
  color: var(--dc-slate);
  font-family: var(--dc-font-body);
  font-size: var(--dc-small);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dc-essentials .dc-readout-main {
  margin: 0 0 0.75rem;
  color: var(--dc-ink);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.dc-readout-phone {
  color: var(--dc-ink);
  font-family: var(--dc-font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.dc-readout-phone:hover {
  color: var(--dc-green);
  text-decoration: underline;
}
.dc-readout-email {
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}
.dc-readout-phone:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: 2px;
}
.dc-essentials .dc-readout-note {
  margin: 0;
  color: var(--dc-slate);
  font-size: var(--dc-small);
  line-height: 1.5;
}
.dc-essentials .contact-hours {
  max-width: 20rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}
.dc-essentials .contact-hours > div {
  gap: 1rem;
}
.dc-essentials .contact-hours .text-muted {
  color: var(--dc-slate) !important;
}
.dc-insurance {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  columns: 2;
  column-gap: 1.5rem;
  font-size: 1rem;
  line-height: 1.35;
}
.dc-insurance li {
  break-inside: avoid;
  padding-block: 0.3rem;
}
.dc-insurance span {
  display: block;
  color: var(--dc-slate);
  font-size: var(--dc-small);
}

/* ---- Welcome, services and financing ---- */
.dc-welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "head photo"
    "copy photo";
  grid-template-rows: auto 1fr;
  gap: 1.5rem 4rem;
  align-items: start;
}
.dc-welcome-grid > .dc-h2 {
  grid-area: head;
  align-self: end;
}
.dc-welcome-copy {
  grid-area: copy;
}
/* Her own reception photograph, by her photographer (2026-10-19) */
.dc-welcome-photo {
  grid-area: photo;
  align-self: center;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--dc-radius-lg);
}
.dc-welcome-copy p:last-child {
  margin-block-end: 0;
}
.dc-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 2rem;
  list-style: none;
  padding: 0;
  margin: 3.5rem 0 0;
  border-block-start: 1px solid var(--dc-line-strong);
}
.dc-directory-link {
  display: block;
  padding-block: 1.25rem 0.5rem;
  color: var(--dc-ink);
  text-decoration: none;
}
.dc-directory-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-block-end: 0.5rem;
  color: var(--dc-green);
  font-family: var(--dc-font-display);
  font-size: 1.5rem;
  font-weight: 400;
}
.dc-directory-title i {
  font-size: 1.125rem;
}
.dc-directory-text {
  display: block;
  color: var(--dc-slate);
  font-size: 1rem;
  line-height: 1.5;
}
.dc-directory-link:hover .dc-directory-title {
  color: var(--dc-green-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.dc-directory-link:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: 4px;
}
.dc-financing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  margin-block-start: 3.5rem;
  padding: 1.5rem 2rem;
  border-radius: var(--dc-radius-lg);
  background-color: var(--dc-sage);
}
body.homepage .dc-financing-title {
  margin: 0;
  font-family: var(--dc-font-display);
  font-size: 1.375rem;
  font-weight: 400;
}
.dc-financing-title i {
  color: var(--dc-green);
  margin-inline-end: 0.35rem;
}
.dc-section .dc-financing p {
  margin: 0;
  flex: 1 1 18rem;
  color: var(--dc-ink);
}

/* ---- Featured implants with the Toothority player ---- */
.dc-implants {
  --muvi-teal: var(--dc-brand-light);
  --muvi-magenta: var(--dc-brand);
  padding-block-start: 0;
}
.dc-implants-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 2.5rem 4rem;
  align-items: center;
}
.dc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}
.dc-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.3em 0.75em;
  border: 1px solid var(--dc-line-strong);
  border-radius: var(--dc-radius);
  font-size: 0.9375rem;
}
.dc-chips i {
  color: var(--dc-green);
}
.dc-player {
  border-radius: var(--dc-radius-lg);
  overflow: hidden;
  background-color: var(--dc-ink);
}

/* ---- Technology band (the one dark band) ---- */
.dc-tech {
  margin-block: 1rem;
  padding-block: var(--dc-section);
  background-color: var(--dc-ink);
  color: var(--dc-white);
}
.dc-tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4rem 5rem;
  align-items: center;
}
.dc-tech-media {
  position: relative;
}
.dc-tech-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--dc-radius-lg);
}
.dc-tech-inset {
  display: block;
  width: 86%;
  height: auto;
  margin-block-start: 1.5rem;
  margin-inline-start: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--dc-radius-lg);
}
.dc-tech .dc-h2 {
  color: var(--dc-white);
}
.dc-scanrule--dark {
  margin-block: 1.5rem;
}
.dc-tech p.dc-tech-intro {
  color: var(--dc-pale);
  font-size: 1.1875rem;
  margin-block-end: 2rem;
}
.dc-tech-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.dc-tech-index li {
  padding-block: 1.25rem;
  border-block-start: 1px solid var(--dc-line-dark);
}
body.homepage .dc-tech-index h3 {
  margin: 0 0 0.5rem;
  color: var(--dc-white);
  font-family: var(--dc-font-display);
  font-size: 1.25rem;
  font-weight: 400;
}
.dc-tech .dc-tech-index p {
  margin: 0;
  color: var(--dc-pale);
  font-size: 1rem;
}

/* ---- Emergency ---- */
.dc-emergency {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
  padding-block: 2.5rem;
  border-block-start: 2px solid var(--dc-ink);
  border-block-end: 1px solid var(--dc-line-strong);
}
.dc-emergency .dc-h2 {
  margin: 0;
}
.dc-emergency-copy p {
  margin-block-end: 0.75rem;
}
.dc-emergency-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--dc-green);
  font-family: var(--dc-font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.dc-emergency-phone:hover {
  color: var(--dc-green-dark);
  text-decoration: underline;
}
.dc-emergency-phone:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: 3px;
}
.dc-emergency-section {
  padding-block: 0 var(--dc-section);
}

/* ---- Doctor, team and careers ---- */
.dc-people-head {
  max-width: 40rem;
  margin-block-end: 2.5rem;
}
.dc-people-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 3rem 4rem;
  align-items: start;
}
.dc-doctor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: start;
}
.dc-doctor-photo,
.dc-team-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--dc-radius-lg);
  object-fit: cover;
}
.dc-doctor-photo {
  aspect-ratio: 4 / 5;
}
.dc-team {
  margin-block-start: 6rem;
}
.dc-team-photo {
  aspect-ratio: 4 / 3;
  object-position: 50% 25%; /* the near-square team photo (2026-11-13): keeps the logo wall whole above their faces */
  margin-block-end: 1.5rem;
}
.dc-credential {
  margin-block-end: 1rem;
  color: var(--dc-slate);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.dc-doctor-copy .dc-btn,
.dc-team-copy .dc-btn {
  margin-block-start: 0.5rem;
}
.dc-careers {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 1.5rem 4rem;
  align-items: center;
  margin-block-start: 4.5rem;
  padding: 2.5rem 3rem;
  border-radius: var(--dc-radius-lg);
  background-color: var(--dc-sage);
}
body.homepage .dc-careers-title {
  margin: 0;
  font-family: var(--dc-font-display);
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}
.dc-section .dc-careers-copy p {
  margin-block-end: 1rem;
}

/* ---- Reviews carousel (markup and controls are the template's) ---- */
#reviews-banner.dc-reviews {
  padding-block: 1rem var(--dc-section);
}
.dc-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-block-end: 2rem;
}
.dc-reviews-head .dc-h2 {
  margin: 0;
}
#reviews-banner.dc-reviews .swiper {
  width: calc(100% - 2 * var(--dc-gutter));
  max-width: var(--dc-max);
  margin-inline: auto;
  overflow: hidden;
}
#reviews-banner.dc-reviews .swiper-slide {
  width: calc((100% - 3rem) / 3);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--dc-line);
  border-block-start: 2px solid var(--dc-brand);
  border-radius: 0;
  background-color: var(--dc-white);
  color: var(--dc-ink);
}
#reviews-banner.dc-reviews .swiper-slide p {
  font-size: 1rem;
}
#reviews-banner.dc-reviews .swiper-slide .text-center:first-child {
  text-align: start !important;
}
#reviews-banner.dc-reviews .bi-star-fill {
  color: var(--dc-green);
  font-size: 1rem;
  margin-inline-end: 0.15rem;
}
#reviews-banner.dc-reviews .media-body p {
  font-weight: 600;
}
#reviews-banner.dc-reviews .reviews-nav-btn {
  border: 1px solid var(--dc-green);
  border-radius: var(--dc-radius);
  color: var(--dc-green);
}
#reviews-banner.dc-reviews .reviews-nav-btn:hover {
  background-color: var(--dc-green);
  color: var(--dc-white);
}
#reviews-banner.dc-reviews .reviews-nav-btn:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: 2px;
}
#reviews-banner.dc-reviews .reviews-nav-fraction {
  color: var(--dc-slate);
  font-variant-numeric: tabular-nums;
}

/* ---- Office stills (inside the people section) ---- */
.dc-office {
  margin-block-start: 4.5rem;
}
.dc-office-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-block-end: 1.25rem;
}
.dc-office-head .dc-h3 {
  margin: 0;
}
.dc-office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: end;
}
.dc-office-fig {
  margin: 0;
}
.dc-office-fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--dc-radius-lg);
}
.dc-office-fig--a img {
  aspect-ratio: 4 / 3;
}
.dc-office-fig--c img {
  aspect-ratio: 4 / 3;
}
.dc-office-fig figcaption {
  margin-block-start: 0.5rem;
  color: var(--dc-slate);
  font-size: var(--dc-small);
}


/* ---- Closing: booking with a smiling person, then directions and the map ---- */
.dc-arrive-section {
  padding-block-start: 1rem;
}
.dc-arrive {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "book photo"
    "rule rule"
    "readout map";
  gap: 0 3rem;
  align-items: center;
  padding: clamp(1.5rem, 0.75rem + 3vw, 3rem);
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius-lg);
  background-color: var(--dc-mist);
}
.dc-arrive-book {
  grid-area: book;
}
.dc-section .dc-arrive-book > p {
  margin-block-end: 1.5rem;
  color: var(--dc-slate);
}
/* A generated lifestyle photograph (Dan, 2026-10-16), never presented as the practice */
.dc-arrive-photo {
  grid-area: photo;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--dc-radius-lg);
}
.dc-arrive .dc-arrive-rule {
  grid-area: rule;
  margin-block: 2.5rem 2rem;
}
.dc-arrive-readout {
  grid-area: readout;
  align-self: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.dc-section .dc-arrive-readout p {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.dc-arrive-map {
  grid-area: map;
  align-self: stretch;
}
.dc-arrive-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius-lg);
  background-color: var(--dc-sage);
}

/* ========================================================================
   4. INSIDE PAGES
   00b Phase 6, the initial carry-through (2026-10-19), CSS only: the
   homepage's palette, type, surfaces and buttons on every inside page
   (treatment, video watch and library, contact, team, doctor, forms,
   financing, search, sitemap, 404, careers, scheduling). Markup and copy
   are the pages' own. Rules are scoped to body:not(.homepage) wherever the
   homepage must stay as approved.
   ======================================================================== */

/* ---- Type: Jost headings, ink, no template green headings ---- */
body:not(.homepage) main h1,
body:not(.homepage) main h2,
body:not(.homepage) main h3,
body:not(.homepage) main h4,
body:not(.homepage) main h5,
body:not(.homepage) main h6,
body:not(.homepage) main .h1,
body:not(.homepage) main .h2,
body:not(.homepage) main .h3,
body:not(.homepage) main .h4,
body:not(.homepage) main .h5,
body:not(.homepage) main .h6 {
  font-family: var(--dc-font-display);
  font-weight: 400;
  color: var(--dc-ink);
  letter-spacing: -0.005em;
}
body:not(.homepage) main p,
body:not(.homepage) main li {
  line-height: 1.65;
}
body:not(.homepage) main a:not(.btn):not(.related-pill) {
  color: var(--dc-green);
  text-underline-offset: 0.18em;
}
body:not(.homepage) main a:not(.btn):not(.related-pill):hover {
  color: var(--dc-green-dark);
}

/* ---- Title band: an ink readout with the scan rule along its foot ---- */
#inside-header {
  position: relative;
  padding-block: 2.75rem 3rem;
  background: var(--dc-ink);
  color: var(--dc-pale);
}
body:not(.homepage) #inside-header h1,
body:not(.homepage) #inside-header .h1 {
  color: var(--dc-white);
  font-weight: 300;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  line-height: 1.12;
}
#inside-header h1 .video-header-prefix {
  color: var(--dc-pale);
  opacity: 1;
}
#inside-header p,
#inside-header .lead {
  color: var(--dc-pale);
}
#inside-header .hp-eyebrow {
  color: var(--dc-pale);
}
#inside-header::after {
  content: "";
  position: absolute;
  inset-inline: max(var(--dc-gutter), calc((100% - var(--dc-max)) / 2));
  inset-block-end: 1.25rem;
  height: 0.5rem;
  border-block-end: 1px solid rgba(255, 255, 255, 0.35);
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 6rem);
  background-size: 100% 0.5rem;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* ---- Bands: white and mist surfaces, never the template's green slab ---- */
.treatment-band-dark {
  background-color: var(--dc-mist);
  color: var(--dc-ink);
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius-lg);
}
.treatment-band-dark h2,
.treatment-band-dark h3,
.treatment-band-dark .lead,
.treatment-band-dark .h5,
.treatment-band-dark p,
.treatment-band-dark .treatment-list li {
  color: var(--dc-ink);
}
.treatment-band-dark a:not(.btn) {
  color: var(--dc-green);
  text-decoration-color: currentColor;
}
.treatment-band-dark a:not(.btn):hover {
  color: var(--dc-green-dark);
}
body:not(.homepage) .treatment-band > .container > p {
  max-width: 50rem;
  margin-inline: auto;
}

/* Content boxes and fact cards: white panels with a hairline */
.treatment-content-box,
.treatment-band-dark .treatment-content-box,
.treatment-fact-card,
.treatment-band-dark .treatment-fact-card {
  background-color: var(--dc-white);
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius-lg) !important;
  box-shadow: none;
}
.treatment-fact-card:hover,
.treatment-band-dark .treatment-fact-card:hover {
  background-color: var(--dc-white);
  box-shadow: none;
}
.treatment-fact-icon .bi,
.treatment-band-dark .treatment-fact-icon .bi {
  color: var(--dc-green);
}
.treatment-fact-card h3,
.treatment-band-dark .treatment-fact-card h3 {
  color: var(--dc-ink);
}
.treatment-band-dark .treatment-fact-card .text-secondary,
.treatment-fact-card .text-secondary {
  color: var(--dc-slate) !important;
}
.treatment-box-heading,
.treatment-band-dark .treatment-box-heading {
  color: var(--dc-slate);
  font-family: var(--dc-font-body);
  font-size: var(--dc-small);
  font-weight: 600;
  letter-spacing: 0.1em;
}
body:not(.homepage) main .treatment-box-heading {
  font-family: var(--dc-font-body);
  color: var(--dc-slate);
}
.treatment-box-heading .bi {
  color: var(--dc-green);
}

/* Inline call-to-action bar: the ink readout strip */
.treatment-cta {
  border-block: 1px solid var(--dc-line);
}
.treatment-band-dark .treatment-cta {
  background-color: var(--dc-ink);
  border-block-start: 0;
  color: var(--dc-pale);
}
.treatment-band-dark .treatment-cta p,
.treatment-band-dark .treatment-cta strong {
  color: var(--dc-white);
}
/* Links inside the ink bar (a phone number in the CTA text): white, never the
   page's green, which falls to 2.42:1 on ink. Beats the inside-page link
   rule (body:not(.homepage) main a:not(.btn):not(.related-pill)). */
body:not(.homepage) main .treatment-band-dark .treatment-cta a:not(.btn):not(.related-pill),
body:not(.homepage) main .treatment-band-dark .treatment-cta a:not(.btn):not(.related-pill):hover {
  color: var(--dc-white);
  text-decoration: underline;
  text-decoration-color: currentColor;
}
body:not(.homepage) main .treatment-band-dark .treatment-cta a:not(.btn):focus-visible {
  outline: 2px solid var(--dc-white);
  outline-offset: 2px;
}
.treatment-band-dark .treatment-cta .btn-outline-primary,
.treatment-band-dark .treatment-cta .btn-primary {
  background-color: var(--dc-brand);
  border-color: var(--dc-brand);
  color: var(--dc-ink) !important;
}
.treatment-band-dark .treatment-cta .btn-outline-primary:hover,
.treatment-band-dark .treatment-cta .btn-primary:hover {
  background-color: var(--dc-brand-light);
  border-color: var(--dc-brand-light);
  color: var(--dc-ink) !important;
}
.treatment-band-dark .treatment-cta .btn:focus-visible {
  outline: 2px solid var(--dc-white);
  outline-offset: 2px;
}
.treatment-band-dark .btn-outline-primary {
  color: var(--dc-white);
  border-color: var(--dc-green);
}

/* FAQs */
.treatment-faq-card,
.treatment-band-dark .treatment-faq-card {
  background-color: var(--dc-white);
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius) !important;
}
.treatment-faq-card .card-header a,
.treatment-faq-card .card-header button.btn-link,
.treatment-band-dark .treatment-faq-card .card-header a,
.treatment-band-dark .treatment-faq-card .card-header button.btn-link {
  color: var(--dc-ink);
  font-weight: 600;
}
.treatment-faq-card .card-header:hover,
.treatment-band-dark .treatment-faq-card .card-header:hover {
  background-color: var(--dc-sage);
}
.treatment-band-dark .treatment-faq-card .card-body {
  color: var(--dc-ink);
}
.treatment-band-dark .alert-warning {
  background-color: var(--dc-white);
  border-color: var(--dc-line-strong);
  color: var(--dc-ink);
}
.treatment-band-dark .treatment-img-wrap,
.treatment-img-wrap,
.hp-media-frame {
  border-radius: var(--dc-radius-lg);
  box-shadow: none;
}

/* Related topics: rectangles like the homepage buttons */
.related-pill {
  border-color: var(--dc-green);
  border-radius: var(--dc-radius);
  color: var(--dc-green);
  font-weight: 600;
}
.related-pill:hover {
  background-color: var(--dc-green);
  color: var(--dc-white);
}

/* ---- Buttons: the homepage's squared buttons (the template's "outline"
   class stays its solid call to action) ---- */
body:not(.homepage) .btn-primary,
body:not(.homepage) .btn-outline-primary {
  border-radius: var(--dc-radius);
  font-weight: 600;
}
body:not(.homepage) .btn-primary:hover,
body:not(.homepage) .btn-outline-primary:hover,
body:not(.homepage) .btn-primary:focus,
body:not(.homepage) .btn-outline-primary:focus {
  background-color: var(--dc-green-dark);
  border-color: var(--dc-green-dark);
}
body:not(.homepage) .btn-ghost-primary {
  border-radius: var(--dc-radius);
}

/* ---- Template homepage sections reused on inside pages (contact, team,
   doctor, careers, the practice summary) ---- */
body:not(.homepage) .hp-section-tinted {
  background-color: var(--dc-mist);
}
body:not(.homepage) .hp-eyebrow {
  color: var(--dc-slate);
  font-size: var(--dc-small);
  letter-spacing: 0.1em;
}
body:not(.homepage) .hp-section-heading {
  font-family: var(--dc-font-display);
  font-weight: 400;
  color: var(--dc-ink);
}
body:not(.homepage) .hp-section-sub {
  color: var(--dc-slate);
}
body:not(.homepage) .hp-chip {
  background: var(--dc-white);
  border: 1px solid var(--dc-line-strong);
  border-radius: var(--dc-radius);
  color: var(--dc-ink);
}
body:not(.homepage) .hp-chip i {
  color: var(--dc-green);
}
body:not(.homepage) .contact-card {
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius-lg);
  box-shadow: none;
}
body:not(.homepage) .contact-card:hover {
  box-shadow: none;
}
body:not(.homepage) .contact-card-icon {
  background: var(--dc-sage);
}
body:not(.homepage) .contact-card h3 {
  color: var(--dc-ink);
}
body:not(.homepage) .contact-phone a {
  color: var(--dc-ink);
  font-family: var(--dc-font-display);
  font-weight: 400;
}
body:not(.homepage) .contact-hours {
  font-variant-numeric: tabular-nums;
}
body:not(.homepage) .contact-hours .text-muted {
  color: var(--dc-slate) !important;
}
/* The office photo band: the homepage's one ink band */
body:not(.homepage) #contact-gallery {
  background: var(--dc-ink);
}
body:not(.homepage) #contact-gallery .contact-gallery-eyebrow {
  color: var(--dc-pale);
  opacity: 1;
}
body:not(.homepage) #contact-gallery .contact-gallery-heading {
  color: var(--dc-white);
  font-family: var(--dc-font-display);
  font-weight: 400;
}
body:not(.homepage) #contact-gallery .contact-gallery-sub {
  color: var(--dc-pale);
  opacity: 1;
}
body:not(.homepage) .contact-gallery-card {
  border-radius: var(--dc-radius-lg);
  box-shadow: none;
}
body:not(.homepage) #contact-gallery .btn-outline-light {
  border-radius: var(--dc-radius) !important;
}
body:not(.homepage) .hp-people-card,
body:not(.homepage) .hp-tech-card {
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius-lg);
  box-shadow: none;
}
body:not(.homepage) .hp-people-subtitle {
  color: var(--dc-slate);
}

/* ---- The Toothority player: the homepage's accents everywhere ---- */
.muvi-container {
  --muvi-teal: var(--dc-brand-light);
  --muvi-magenta: var(--dc-brand);
}

/* ---- Video library ---- */
body:not(.homepage) .video-library-card {
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius-lg);
  box-shadow: none;
}
body:not(.homepage) .video-library-thumb {
  background: var(--dc-mist);
}
body:not(.homepage) .video-library-card .card-title {
  font-family: var(--dc-font-display);
  font-weight: 400;
  color: var(--dc-ink);
}

/* ---- Search page ---- */
body:not(.homepage) .search-page-input {
  border: 1px solid var(--dc-line-strong);
  border-radius: var(--dc-radius);
  font-family: var(--dc-font-body);
}
body:not(.homepage) .search-page-input:focus {
  border-color: var(--dc-green);
  outline: 2px solid var(--dc-green);
  outline-offset: 2px;
}
body:not(.homepage) .search-page-result-item {
  border-block-end: 1px solid var(--dc-line);
  border-radius: 0;
}


/* ========================================================================
   5. RESPONSIVE
   ======================================================================== */

@media (max-width: 61.99875em) {
  .dc-topbar-address-full {
    display: none;
  }
  .dc-topbar-address-short {
    display: inline;
  }
  .dc-console {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .dc-console-call {
    display: none;
  }
  .dc-console-contact {
    grid-column: 1 / -1;
    padding-block-start: 0.75rem;
    padding-inline-start: 0;
  }
  .dc-console > .dc-console-contact {
    border-inline-start: 0;
  }
  .dc-readout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dc-readout-cell--wide {
    grid-column: 1 / -1;
    padding-inline: 0;
    border-block-start: 1px solid var(--dc-line);
  }
  .dc-readout-cell + .dc-readout-cell.dc-readout-cell--wide {
    border-inline-start: 0;
  }
  .dc-insurance {
    columns: 3;
  }
  .dc-implants-grid,
  .dc-tech-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dc-arrive {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 2rem;
  }
  .dc-tech-media {
    max-width: 34rem;
  }
  #reviews-banner.dc-reviews .swiper-slide {
    width: calc((100% - 1.5rem) / 2);
  }
  .dc-emergency {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .dc-emergency-copy {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .dc-people-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dc-team {
    margin-block-start: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }
  .dc-team-photo {
    margin-block-end: 0;
  }
  .dc-careers {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 47.99875em) {
  :root {
    --dc-motion-rise: 1rem;
  }
  /* Header: hours and Directions in the strip; menu, logo and Schedule Now;
     then New Patient Forms and Call in a second sticky row */
  .dc-topbar-inner {
    gap: 0.75rem;
    font-size: 0.875rem;
  }
  .dc-topbar-phone {
    display: none;
  }
  .dc-topbar-hours {
    order: -1;
  }
  .dc-header-row {
    gap: 0.5rem;
    min-height: 3.75rem;
  }
  .dc-menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .main-header .dc-menu-btn,
  body.header-scrolled .main-header .dc-menu-btn,
  body.homepage:not(.header-not-at-top) .main-header .dc-menu-btn {
    padding: 0;
    justify-content: center;
    width: 2.75rem;
  }
  .main-header .header-logo.dc-logo,
  body.header-scrolled .main-header .header-logo.dc-logo,
  body.homepage .main-header .header-logo.dc-logo,
  body.homepage.header-scrolled .main-header .header-logo.dc-logo {
    height: 1.4rem;
  }
  /* On phones the homepage's hero search is the search, so only the homepage
     hides the header search icon; inside pages keep it. */
  body.homepage .main-header .dc-search-btn,
  .dc-header-forms {
    display: none;
  }
  .dc-header-schedule {
    min-height: 3rem;
    padding-inline: 1em;
  }
  .dc-header-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-block-start: 1px solid var(--dc-line);
  }
  .dc-header-sub-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
    min-height: 2.75rem;
    color: var(--dc-green);
    font-weight: 600;
    text-decoration: none;
  }
  .dc-header-sub-link + .dc-header-sub-link {
    border-inline-start: 1px solid var(--dc-line);
  }
  .dc-header-sub-link:hover {
    background-color: var(--dc-sage);
    color: var(--dc-green-dark);
  }
  .dc-header-sub-link:focus-visible {
    outline: 2px solid var(--dc-green);
    outline-offset: -2px;
  }

  /* Hero: 390 x 500 window, the console over the video in two rows */
  body.homepage #homepage-cover.dc-hero {
    min-height: 31.25rem;
  }
  .dc-hero .background-video-container video {
    object-position: 60% 50%;
  }
  body.homepage #homepage-cover.dc-hero .bg-cover > .container.dc-hero-inner {
    padding-block: 2rem 1.25rem;
  }
  body.homepage #homepage-cover.dc-hero h1.dc-hero-title {
    font-weight: 400;
    margin-block-end: 1.25rem;
    padding-inline-end: 3rem;
  }
  .dc-scanrule--hero {
    margin-block-end: 1.25rem;
  }
  .dc-console {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.625rem;
  }
  .dc-console > * + * {
    border-inline-start: 0;
  }
  .dc-console-search {
    padding-inline-end: 0;
  }
  .dc-console-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    padding-inline: 0;
  }
  .dc-console-btn {
    padding-inline: 0.5em;
  }
  #homepage-cover .hero-video-toggle.dc-pause {
    inset-block-end: 12.25rem;
    inset-inline-end: 0.5rem;
  }

  /* Essentials: three stacked groups */
  .dc-essentials {
    padding-block: 1.75rem 0;
  }
  .dc-readout {
    grid-template-columns: minmax(0, 1fr);
  }
  .dc-readout-cell,
  .dc-readout-cell:first-child,
  .dc-readout-cell:last-child {
    padding-block: 1.25rem;
    padding-inline: 0;
  }
  .dc-readout-cell + .dc-readout-cell {
    border-inline-start: 0;
    border-block-start: 1px solid var(--dc-line);
  }
  .dc-insurance {
    columns: 2;
  }

  .dc-welcome-grid,
  .dc-directory,
  .dc-doctor,
  .dc-team,
  .dc-tech-index,
  .dc-arrive-readout,
  .dc-office-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dc-directory {
    margin-block-start: 2.5rem;
  }
  .dc-directory li + li {
    border-block-start: 1px solid var(--dc-line);
  }
  .dc-directory-link {
    padding-block: 1rem;
  }
  .dc-financing {
    padding: 1.5rem;
  }
  .dc-tech-inset {
    width: 72%;
    margin-block-start: 1rem;
  }
  #reviews-banner.dc-reviews .swiper-slide {
    width: 85%;
  }
  .dc-emergency {
    grid-template-columns: minmax(0, 1fr);
  }
  .dc-emergency-copy {
    grid-row: auto;
  }
  .dc-doctor-photo {
    max-width: 26rem;
  }
  .dc-careers {
    padding: 2rem 1.5rem;
  }
  .dc-welcome-grid,
  .dc-arrive {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    grid-template-rows: none;
    row-gap: 1.5rem;
  }
  .dc-welcome-grid > .dc-h2,
  .dc-welcome-copy,
  .dc-welcome-photo,
  .dc-arrive-book,
  .dc-arrive-photo,
  .dc-arrive .dc-arrive-rule,
  .dc-arrive-readout,
  .dc-arrive-map {
    grid-area: auto;
  }
  .dc-arrive .dc-arrive-rule {
    margin-block: 1rem 0.5rem;
  }
  .dc-arrive .dc-actions .dc-btn {
    width: 100%;
  }
  .dc-footer-top {
    gap: 0.25rem 1.5rem;
  }
  .dc-footer-logo-link {
    flex-basis: 100%;
    margin-block-end: 0.5rem;
  }
  .dc-footer-links {
    gap: 0.25rem 1.25rem;
  }
  .dc-footer-copy {
    flex-basis: 100%;
    margin-inline-start: 0;
  }
  /* Phone numbers on a line of their own: a 44px target (the emergency band,
     the two readouts, the video pages' contact card) */
  .dc-emergency-phone {
    min-block-size: 2.75rem;
  }
  .dc-readout-phone,
  body:not(.homepage) .contact-phone a {
    display: inline-flex;
    align-items: center;
    min-block-size: 2.75rem;
  }
}

@media (max-width: 22.5em) {
  .dc-insurance {
    columns: 1;
  }
  /* 320px: the menu button, logo and Schedule Now share one row */
  .dc-header-row {
    gap: 0.375rem;
  }
  .main-header .header-logo.dc-logo,
  body.header-scrolled .main-header .header-logo.dc-logo,
  body.homepage .main-header .header-logo.dc-logo,
  body.homepage.header-scrolled .main-header .header-logo.dc-logo {
    height: 1rem;
  }
  .dc-header-schedule {
    padding-inline: 0.75em;
    font-size: 0.9375rem;
  }
}


/* ========================================================================
   6. MOTION AND ACCESSIBILITY STATES
   Default level. Targets: [data-dc-reveal] and the direct children of
   [data-dc-reveal-group]. html.dc-motion-armed is set by the footer script
   only after every target is observed; .dc-in ends an entrance; .dc-now and
   html.dc-motion-finish end it at once. The hero's content enters on load
   with CSS keyframes (.dc-load); html.dc-hero-loaded is one-way.
   ======================================================================== */

@media (prefers-reduced-motion: no-preference) {
  html.dc-motion-armed [data-dc-reveal]:not(.dc-in),
  html.dc-motion-armed [data-dc-reveal-group] > :not(.dc-in) {
    opacity: 0;
    translate: 0 var(--dc-motion-rise);
  }
  html.dc-motion-armed [data-dc-reveal],
  html.dc-motion-armed [data-dc-reveal-group] > * {
    transition:
      opacity var(--dc-motion-dur) var(--dc-motion-ease) var(--dc-delay, 0ms),
      translate var(--dc-motion-dur) var(--dc-motion-ease) var(--dc-delay, 0ms);
  }
  html.dc-motion-armed [data-dc-reveal="media"] {
    transition:
      opacity var(--dc-motion-dur-media) var(--dc-motion-ease) var(--dc-delay, 0ms),
      translate var(--dc-motion-dur-media) var(--dc-motion-ease) var(--dc-delay, 0ms);
  }
  html.dc-motion-armed [data-dc-reveal]:focus-within,
  html.dc-motion-armed [data-dc-reveal-group] > :focus-within {
    opacity: 1;
    translate: none;
    transition: none;
  }
  html.dc-motion-armed .dc-now,
  html.dc-motion-finish [data-dc-reveal],
  html.dc-motion-finish [data-dc-reveal-group] > *,
  html.clue-motion-paused [data-dc-reveal],
  html.clue-motion-paused [data-dc-reveal-group] > * {
    transition: none;
  }
  html.clue-motion-paused [data-dc-reveal],
  html.clue-motion-paused [data-dc-reveal-group] > * {
    opacity: 1;
    translate: none;
  }

  /* The first screen's load entrance */
  html:not(.clue-motion-paused):not(.dc-hero-loaded) .dc-load {
    animation: dc-rise var(--dc-motion-dur) var(--dc-motion-ease) backwards;
    animation-delay: calc(var(--dc-motion-load-delay) + var(--dc-i, 0) * var(--dc-motion-stagger));
  }

  /* Short color feedback on controls */
  .dc-btn,
  .dc-console-btn,
  .dc-link,
  .dc-social-link,
  .dc-header-sub-link,
  .dc-directory-title,
  #homepage-cover .hero-video-toggle.dc-pause::before {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  /* END reduced-motion */
}

@keyframes dc-rise {
  from {
    opacity: 0;
    translate: 0 var(--dc-motion-rise);
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-dc-reveal],
  [data-dc-reveal-group] > *,
  html.dc-motion-armed [data-dc-reveal],
  html.dc-motion-armed [data-dc-reveal-group] > *,
  html.dc-motion-armed [data-dc-reveal="media"],
  .dc-load,
  html:not(.clue-motion-paused):not(.dc-hero-loaded) .dc-load,
  .dc-btn,
  .dc-console-btn,
  .dc-link,
  .dc-social-link,
  .dc-header-sub-link,
  .dc-directory-title,
  #homepage-cover .hero-video-toggle.dc-pause,
  #homepage-cover .hero-video-toggle.dc-pause::before {
    transition: none;
    animation: none;
  }
  html.dc-motion-armed [data-dc-reveal],
  html.dc-motion-armed [data-dc-reveal-group] > * {
    opacity: 1;
    translate: none;
  }
  /* END reduced-motion */
}

@media print {
  [data-dc-reveal],
  [data-dc-reveal-group] > * {
    opacity: 1 !important;
    translate: none !important;
  }
}

/* ==== END DENTAL CLINIQUE ADVANCED REDESIGN ==== */

/* ==== DENTAL CLINIQUE INSIDE PAGES (00c) ==== */
/* ========================================================================
   The inside-page design language (docs/inside-pages/design-language.md,
   frozen 2026-10-19) on the shared components (css/components.css, loaded
   only on pages whose front matter names a `family`). This block sets the
   --ds-* tokens from the homepage's --dc-* palette and type, and draws the
   three signatures: the readout, the scan rule and the ink evidence band.
   Selectors carry body:not(.homepage) main where the advanced-redesign
   block's inside-page rules (its section 4) would otherwise win.
   Contents: 1 tokens, 2 type and links, 3 openers, 4 buttons and the lead
   phone, 5 signature 1 the readout, 6 signature 2 the scan rule,
   7 signature 3 the ink band, 8 entries, steps, FAQ and alert, 8b the
   service directory (hubs), 9 inset and closing panel, 10 media,
   11 responsive.
   ======================================================================== */

/* ---- 1. Tokens ---- */
:root {
  --ds-ground: var(--dc-white);
  --ds-raised: var(--dc-mist);
  --ds-mat-bg: var(--dc-sage);
  --ds-text: var(--dc-ink);
  --ds-muted: var(--dc-slate);
  --ds-rule: var(--dc-line);
  --ds-rule-strong: var(--dc-line-strong);
  --ds-frame: var(--dc-line);
  --ds-btn-bg: var(--dc-green);
  --ds-btn-text: var(--dc-white);
  --ds-btn-hover: var(--dc-green-dark);
  --ds-focus: var(--dc-green);
  --ds-radius: var(--dc-radius-lg);
  --ds-font-display: var(--dc-font-display);
  --ds-font-body: var(--dc-font-body);
  --ds-weight-display: 400;
  /* Inside titles are long, so about 44px at 1160 and 32px at 390 (the
     homepage's 64px light display title stays on the homepage). */
  --ds-size-h1: clamp(2rem, 1.25rem + 2.07vw, 2.75rem);
  --ds-size-h2: var(--dc-h2);
  --ds-size-h3: var(--dc-h3);
  --ds-size-body: var(--dc-body);
  --ds-size-lead: 1.25rem;
  --ds-size-small: var(--dc-small);
  --ds-leading: 1.6;
  --ds-gutter: var(--dc-gutter);
  --ds-max: calc(var(--dc-max) + 2 * var(--dc-gutter));
  --ds-measure: 36rem;
  --ds-measure-wide: 75%;            /* the reading column: 75% of W, no rem cap below it */
  --ds-chapter-space: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  --ds-opener-space: clamp(2rem, 1.25rem + 2.5vw, 3.5rem);
  --ds-inner-space: clamp(1.25rem, 1rem + 1vw, 2rem);
  --ds-panel-pad: clamp(1.5rem, 0.75rem + 3vw, 3rem);
}

/* ---- 2. Type and links ---- */
body:not(.homepage) main .ds-section p,
body:not(.homepage) main .ds-section li {
  line-height: var(--ds-leading);
}
.ds-section h1 {
  line-height: 1.12;
  letter-spacing: -0.005em;
}
.ds-section h2 {
  line-height: 1.12;
}
.ds-section .ds-lead {
  line-height: 1.55;
}
body:not(.homepage) main .ds-section a:not(.ds-btn):not(.btn) {
  color: var(--dc-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
body:not(.homepage) main .ds-section a:not(.ds-btn):not(.btn):hover {
  color: var(--dc-green-dark);
}
.ds-section .ds-linkrow a {
  font-size: 1rem;
}
/* The related-links slot is its own chapter: a small heading, then the row;
   one rhythm above, no extra rule. */
.ds-section h2.ds-related-title {
  margin-block-end: 0.5rem;
  font-size: 1.375rem;
}
.ds-call-label {
  font-weight: 600;
}
.ds-opener--urgent .ds-call-label + .ds-phone--lead {
  margin-inline-start: -1.25rem;     /* the label and its number read as one line: "Call us now: (847) …" */
}
@media (max-width: 47.99875em) {
  /* Phones: Call and the ER warning in the first screen (390 x 844). */
  .ds-opener--urgent .ds-actions {
    margin-block-start: 1rem;
    gap: 0.25rem 2rem;
  }
  .ds-opener--urgent .ds-alert {
    margin-block-start: 1rem;
  }
  .ds-opener.ds-opener--urgent {
    padding-block-start: 1.25rem;
  }
  .ds-opener--urgent h1 {
    margin-block-end: 0.5rem;
    font-size: 1.75rem;
  }
  .ds-opener--urgent .ds-panel > .ds-lead {
    font-size: var(--dc-body);
    line-height: 1.5;
  }
  .ds-opener--urgent .ds-alert {
    padding: 0.75rem 1rem;
  }
  .ds-opener--urgent .ds-col {
    padding-block-start: 0.75rem;
  }
}
.ds-related .ds-links--related {
  margin-block-start: 0;
  padding-block-start: 0;
  border-block-start: 0;
}

/* ---- 3. Openers ---- */
.ds-opener--teach .ds-media .muvi-container,
.ds-opener--teach .ds-media video {
  border-radius: var(--dc-radius-lg);
}
.ds-opener--urgent .ds-col {
  border-block-start-color: var(--dc-ink);
}
.ds-opener--urgent .ds-media img,
.ds-opener--people .ds-person > img {
  border-radius: var(--dc-radius-lg);
}
.ds-opener .ds-panel > .ds-lead {
  max-width: none;
}
.ds-opener--people .ds-person {
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: center;
}
.ds-section .ds-person-text h2 {
  margin-block-end: 0.25rem;
}
.ds-section .ds-person-text .ds-role {
  margin-block-end: 1rem;
  font-size: var(--dc-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ds-opener--people .ds-person-text > * {
  max-width: none;
}
.ds-person-text .ds-readout-box {
  margin-block-start: var(--ds-inner-space);
}

/* ---- 4. Buttons and the lead phone: the homepage's squared buttons
   (.dc-btn), not the shared default's uppercase label ---- */
body:not(.homepage) main .ds-section a.ds-btn:not(.btn) {
  min-height: 2.75rem;
  padding: 0.55em 1.25em;
  border: 1px solid var(--dc-green);
  border-radius: var(--dc-radius);
  background-color: var(--dc-green);
  color: var(--dc-white);
  font-family: var(--dc-font-body);
  font-size: var(--dc-ui);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  text-decoration: none;
}
body:not(.homepage) main .ds-section a.ds-btn:not(.btn):hover {
  background-color: var(--dc-green-dark);
  border-color: var(--dc-green-dark);
  color: var(--dc-white);
}
body:not(.homepage) main .ds-section a.ds-btn.ds-btn--outline:not(.btn) {
  background-color: transparent;
  color: var(--dc-green);
}
body:not(.homepage) main .ds-section a.ds-btn.ds-btn--outline:not(.btn):hover {
  background-color: var(--dc-green);
  color: var(--dc-white);
}
.ds-section .ds-btn:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: 3px;
}
body:not(.homepage) main .ds-section a.ds-phone {
  color: var(--dc-ink);
  font-variant-numeric: tabular-nums;
}
body:not(.homepage) main .ds-section a.ds-phone--lead {
  color: var(--dc-green);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  text-decoration: none;
  white-space: nowrap;
}
body:not(.homepage) main .ds-section a.ds-phone--lead:hover {
  color: var(--dc-green-dark);
  text-decoration: underline;
}
/* The teaching opener's action row in the readout's grammar: cells divided
   by a hairline, no backing panel (from the hero console). */
.ds-opener--teach .ds-actions {
  gap: 0.75rem 0;
}
.ds-opener--teach .ds-actions > * + * {
  margin-inline-start: 1.25rem;
  padding-inline-start: 1.25rem;
  border-inline-start: 1px solid var(--dc-line-strong);
}

/* ---- 5. Signature 1, the readout (from .dc-readout) ---- */
.ds-readout-box {
  border-block-color: var(--dc-line);
}
.ds-readout-cell {
  padding-block: 1.5rem;
  padding-inline: 1.5rem;
}
.ds-readout-cell + .ds-readout-cell {
  border-inline-start-color: var(--dc-line);
}
@media (max-width: 47.99875em) {
  /* Phones: the cells stack on one left edge (this block's padding above
     would otherwise outrank the shared reset for the middle cell). */
  .ds-readout-cell,
  .ds-readout-cell:first-child,
  .ds-readout-cell:last-child {
    padding-inline: 0;
  }
}
.ds-readout-list dt {
  margin-block-end: 0.75rem;
  color: var(--dc-slate);
  font-family: var(--dc-font-body);
  font-size: var(--dc-small);
  font-weight: 600;
  letter-spacing: 0.1em;
}
body:not(.homepage) main .ds-section .ds-readout-list dd p {
  color: var(--dc-ink);
  font-size: 1.0625rem;
  line-height: 1.5;
}
body:not(.homepage) main .ds-section .ds-readout-list p.ds-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}
body:not(.homepage) main .ds-section .ds-readout-list p.ds-hours-row--closed {
  color: var(--dc-slate);
}
.ds-readout-list .contact-hours {
  max-width: 18rem;
  font-size: 1rem;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}
.ds-readout-list .contact-hours > div {
  gap: 1rem;
}
.ds-readout-list .contact-hours .text-muted {
  color: var(--dc-slate) !important;   /* Bootstrap's muted gray is under 4.5:1 on mist; the homepage readout does the same */
}

/* ---- 6. Signature 2, the scan rule (from .dc-scanrule): at most twice a
   page, the opener into the body and into the closing ---- */
.ds-rule {
  --dc-rule: rgba(24, 35, 30, 0.3);   /* --dc-ink at 30%, as the homepage rule */
  position: relative;
  height: 0.5rem;
  border-block-end: 1px solid var(--dc-rule);
  background-image: repeating-linear-gradient(to right, var(--dc-rule) 0 1px, transparent 1px 6rem);
  background-size: 100% 0.5rem;
  background-repeat: no-repeat;
  background-position: 0 100%;
}
.ds-rule::after {
  content: "";
  position: absolute;
  inset-inline-start: 61.8%;
  inset-block-end: -0.3125rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: var(--dc-brand);
}
.ds-opener .ds-col > .ds-rule {
  grid-column: 1 / -1;
  margin-block-start: calc(var(--ds-chapter-space) / 2 - 0.25rem);
}
/* The rule sits in the middle of one chapter rhythm: half above it, half
   below, so the opener's content and the next chapter stay one rhythm apart
   (the 00c gate: no gap larger than R). */
.ds-opener:has(.ds-rule) + .ds-section {
  padding-block-start: calc(var(--ds-chapter-space) / 2 - 0.25rem);
}
.ds-readout .ds-col > .ds-rule {
  margin-block-end: var(--ds-inner-space);
}

/* ---- 7. Signature 3, the ink evidence band (from .dc-tech): once a page,
   her real work beside a ruled explanation ---- */
.ds-band .ds-band-panel {
  border-color: var(--dc-ink);
  background-color: var(--dc-ink);
  color: var(--dc-white);
}
body:not(.homepage) main .ds-band h2,
body:not(.homepage) main .ds-band h3 {
  color: var(--dc-white);
}
body:not(.homepage) main .ds-band p,
body:not(.homepage) main .ds-band figcaption {
  color: var(--dc-pale);
}
.ds-band .ds-index-item {
  border-block-start-color: var(--dc-line-dark);
}
.ds-section .ds-band .ds-index-item h3 {
  font-size: 1.25rem;
}
body:not(.homepage) main .ds-section .ds-band .ds-index-item p {
  font-size: 1rem;
}
.ds-band .ds-media video {
  border-radius: var(--dc-radius-lg);
}
.ds-band :focus-visible:not(.muvi-container, .muvi-container *),
.ds-band .ds-media video:focus {
  outline-color: var(--dc-white);
}
body:not(.homepage) main .ds-band a:not(.ds-btn):not(.btn) {
  color: var(--dc-white);
}
@media (min-width: 62em) {
  /* A 4:5 clip fills the band's 5-of-12 media column (the shared 5 to 7);
     a landscape film leads at about 7 to 5. */
  .ds-band-panel:has(> .ds-media--film) {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}
@media (min-width: 62em) {
  .ds-band .ds-media--clip {
    max-width: none;
  }
}
@media (max-width: 61.99875em) {
  /* Stacked (tablets and phones): the clip always shows its whole encoded
     frame (the ratio its width and height attributes give), never cropped
     further, because a tighter window zooms in on her face. It runs the
     panel's full width on phones and, like a stacked photo, is held to a
     modest centered size on tablets so a square clip is not a giant one. */
  .ds-band .ds-media--clip {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
  }
}

/* ---- 8. Entries, steps, FAQ and alert ---- */
.ds-entry-list {
  border-block-start-color: var(--dc-line-strong);
}
.ds-section .ds-entry h3 {
  font-size: 1.375rem;
}
/* An entry heading that is a jump target (exams-cleanings #desensitizing,
   linked from the menu) clears the sticky header like a section does
   (components.css, .ds-section scroll-margin-top). */
.ds-entry > h3[id] {
  scroll-margin-top: 6rem;
}
.ds-step::before {
  font-family: var(--dc-font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--dc-green);
}
.ds-stage-list,
.ds-faq-list {
  border-block-start-color: var(--dc-line-strong);
}
.ds-faq-item > summary::after {
  background:
    linear-gradient(var(--dc-green), var(--dc-green)) center / 100% 2px no-repeat,
    linear-gradient(var(--dc-green), var(--dc-green)) center / 2px 100% no-repeat;
}
.ds-faq-item[open] > summary::after {
  background: linear-gradient(var(--dc-green), var(--dc-green)) center / 100% 2px no-repeat;
}
@media (min-width: 62em) {
  /* Wide screens: the heading beside its instruction, so the text keeps a
     reading measure across the opener's full width. */
  .ds-alert {
    display: grid;
    grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
    column-gap: 2rem;
    align-items: baseline;
  }
}
.ds-alert {
  border-color: var(--dc-line-strong);
  border-inline-start-color: var(--dc-ink);
  border-radius: var(--dc-radius);
  background-color: var(--dc-white);
}

/* ---- 8b. The service directory (entries variant "directory", the hub
   pages; from the homepage's .dc-directory): linked services across the
   content width, each opening on a strong hairline. Three a row on wide
   screens, with a last row of one or two set in halves; two a row on
   tablets, an odd last one across the row; one a row on phones. So no
   cell stands empty and every row is centered on the page. ---- */
.ds-entries--directory {
  --ds-measure-wide: 100%;             /* hubs: the directory runs the full content width (design language, Width by family) */
}
.ds-directory {
  margin: var(--ds-inner-space) 0 0;
  padding: 0;
  list-style: none;
}
.ds-service {
  padding-block: 1.25rem 0;
  border-block-start: 1px solid var(--dc-line-strong);
}
.ds-service + .ds-service {
  margin-block-start: 1.5rem;
}
.ds-section .ds-service h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}
body:not(.homepage) main .ds-section .ds-service h3 a:not(.ds-btn):not(.btn) {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--dc-green);
  text-decoration: none;
}
body:not(.homepage) main .ds-section .ds-service h3 a:not(.ds-btn):not(.btn):hover {
  color: var(--dc-green-dark);
  text-decoration: underline;
}
.ds-service h3 a::after {
  content: "";
  flex: none;
  width: 0.75em;
  height: 0.75em;
  background-color: currentColor;      /* the homepage's arrow, drawn so it is never read aloud */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ds-service h3 a:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: 4px;
}
body:not(.homepage) main .ds-section .ds-service p {
  color: var(--dc-ink);
  font-size: 1.0625rem;
  line-height: 1.5;
}
@media (min-width: 48em) {
  .ds-directory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }
  .ds-service + .ds-service {
    margin-block-start: 0;
  }
  .ds-service:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
@media (min-width: 62em) {
  .ds-directory {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .ds-service,
  .ds-service:last-child:nth-child(odd) {
    grid-column: span 2;
  }
  /* One left over: the last four in two rows of halves. Two left over:
     the last two in halves. */
  .ds-directory:has(> .ds-service:nth-child(3n+1):last-child) > .ds-service:nth-last-child(-n+4),
  .ds-directory:has(> .ds-service:nth-child(3n+2):last-child) > .ds-service:nth-last-child(-n+2) {
    grid-column: span 3;
  }
}

/* An odd last named entry takes the row, so a two-up list never ends on
   one entry against an empty half (veneers' three types). */
@media (min-width: 48em) {
  .ds-section[data-slot="options"] .ds-entry-list > .ds-entry:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
/* A split whose media is a photograph (fillings' before and after) sets
   the text beside the middle of the picture, so neither column ends far
   above the other. */
@media (min-width: 72em) {
  .ds-split[data-slot="second"] .ds-col:has(> .ds-media--photo) {
    align-items: center;
  }
}
@media (max-width: 71.99875em) {
  /* Stacked below the text (tablets and phones), the photo is held to a
     modest centered size rather than running the full width. */
  .ds-split[data-slot="second"] .ds-col > .ds-media--photo {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
  }
}
/* A group of small Toothority diagrams beside their text (cracked teeth's
   four crack types): each shown at no more than its own size, never
   enlarged, centered in its cell with its name below. */
.ds-split[data-slot="second"] .ds-media--pair .ds-media--model {
  text-align: center;
}
.ds-split[data-slot="second"] .ds-media--pair .ds-media--model img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}
/* Phones: they stay two across. components.css stacks a labeled pair at this
   width, which leaves these small diagrams alone in a wide white row. */
@media (max-width: 35.99em) {
  .ds-split[data-slot="second"] .ds-media--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- 8c. Photographs in reading chapters (batch 2b): a page's overview,
   steps or care chapter may carry one generated lifestyle photo, through the
   page's compositionOverrides (component split): beside the text on either
   side, or below it across the reading column. A photo marked
   .ds-img--narrow (portrait or square) takes a narrower column, and one
   marked .ds-img--tall a narrower one still, so the two columns end
   together. Scoped to these three slots only. ---- */
@media (min-width: 72em) {
  .ds-split:is([data-slot="overview"], [data-slot="process"], [data-slot="care"]):not(.ds-media-below) .ds-col:has(> .ds-media--photo) {
    align-items: center;
  }
  .ds-split:is([data-slot="overview"], [data-slot="process"], [data-slot="care"]).ds-media-end .ds-col:has(> .ds-media--photo .ds-img--narrow) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  }
  .ds-split:is([data-slot="overview"], [data-slot="process"], [data-slot="care"]).ds-media-start .ds-col:has(> .ds-media--photo .ds-img--narrow) {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  }
  /* A portrait photo beside a short chapter (.ds-img--tall) takes a
     still narrower column. */
  .ds-split:is([data-slot="overview"], [data-slot="process"], [data-slot="care"]).ds-media-end .ds-col:has(> .ds-media--photo .ds-img--tall) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
  }
  .ds-split:is([data-slot="overview"], [data-slot="process"], [data-slot="care"]).ds-media-start .ds-col:has(> .ds-media--photo .ds-img--tall) {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  }
}
@media (max-width: 71.99875em) {
  /* Stacked under its text, a photo keeps a modest centered size. */
  .ds-split:is([data-slot="overview"], [data-slot="process"], [data-slot="care"]):not(.ds-media-below) .ds-col > .ds-media--photo {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
  }
}
/* Below the text, the photo runs the reading column's full width. */
.ds-split.ds-media-below:is([data-slot="overview"], [data-slot="process"], [data-slot="care"]) .ds-col > .ds-media--photo {
  grid-column: 1 / -1;
}

/* ---- 9. Inset and closing panel ---- */
.ds-inset-row {
  border-color: var(--dc-sage);        /* the edge the eye measures from; invisible on the sage ground */
  background-color: var(--dc-sage);
}
.ds-section .ds-inset-text h2 {
  margin-block-end: 0.5rem;
  font-size: 1.375rem;
}
.ds-close-panel {
  border-color: var(--dc-line);
  background-color: var(--dc-mist);
}
.ds-section .ds-close-panel .ds-statement p {
  color: var(--dc-slate);
}
.ds-close-panel .ds-readout-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* The invitation, then its actions in one row under it, as the homepage's
   closing panel (.dc-arrive-book) sets them. */
.ds-close-panel .ds-statement-row {
  display: block;
}
.ds-close-panel .ds-statement-row > .ds-actions {
  flex-direction: row;
  align-items: center;
  margin-block-start: 1.5rem;
}
.ds-opener--urgent .ds-actions {
  gap: 0.75rem 2rem;
}
.ds-opener--urgent .ds-alert {
  margin-block-start: var(--ds-inner-space);
}

/* ---- 10. Media ---- */
.ds-media img,
.ds-media .muvi-container {
  border-radius: var(--dc-radius-lg);
}

/* ---- 11. Responsive ---- */
@media (min-width: 62em) {
  /* The urgent opener's photo fills its column's height (cropped, the
     subject kept in frame), so the text column never runs on beside empty
     space and the two columns end together. */
  .ds-opener--urgent .ds-col > .ds-media {
    align-self: stretch;
  }
  .ds-opener--urgent .ds-col > .ds-media img {
    height: 100%;
    object-fit: cover;
    object-position: 62% 40%;
  }
  .ds-person-text .ds-readout-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 61.99875em) {
  /* Beside a portrait the credentials stack, one fact a row. */
  .ds-person-text .ds-readout-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .ds-person-text .ds-readout-cell,
  .ds-person-text .ds-readout-cell:first-child,
  .ds-person-text .ds-readout-cell:last-child {
    padding-inline: 0;
    padding-block: 1rem;
  }
  .ds-person-text .ds-readout-cell + .ds-readout-cell {
    border-inline-start: 0;
    border-block-start: 1px solid var(--dc-line);
  }
}
@media (max-width: 47.99875em) {
  .ds-opener--teach .ds-actions > * + * {
    margin-inline-start: 0;
    padding-inline-start: 0;
    border-inline-start: 0;
  }
  .ds-opener--teach .ds-actions {
    gap: 0.5rem 1.25rem;
  }
  .ds-close-panel .ds-readout-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .ds-opener--people .ds-person {
    grid-template-columns: minmax(0, 1fr);
  }
  /* The phone header is taller (two sticky rows), so an entry heading that is
     a jump target needs more room above it */
  .ds-entry > h3[id] {
    scroll-margin-top: 7.5rem;
  }
}
/* Phones, inside pages: the header keeps its search icon (the homepage's
   hero search is the search there), so the row is tightened to fit at 390
   and 320 with no sideways scroll: a smaller logo, a narrower icon cell and
   closer actions. The menu button and Schedule Now keep their 44px. */
@media (max-width: 47.99875em) {
  body:not(.homepage) .dc-header-actions {
    gap: 0.25rem;
  }
  body:not(.homepage) .main-header .dc-search-btn {
    width: 2.5rem;
    min-width: 2.5rem;
  }
  body:not(.homepage) .main-header .header-logo.dc-logo,
  body:not(.homepage).header-scrolled .main-header .header-logo.dc-logo {
    height: 1.2rem;
  }
}
@media (max-width: 22.5em) {
  body:not(.homepage) .dc-header-row {
    gap: 0.25rem;
  }
  body:not(.homepage) .main-header .header-logo.dc-logo,
  body:not(.homepage).header-scrolled .main-header .header-logo.dc-logo {
    height: 0.875rem;
  }
}
/* ==== END DENTAL CLINIQUE INSIDE PAGES (00c) ==== */

/* ==== DENTAL CLINIQUE INSIDE PAGES (00c) BATCH 2 PRACTICAL ==== */
/* ========================================================================
   Batch 2 (docs/inside-pages/compositions-batch-2.md, frozen 2026-10-19):
   the practical pages (financing, scheduling, forms, contact-us), technology,
   careers and the office gallery, on the shared components and the 00c
   tokens above. As in batch 1, a chapter's heading sits on its own block's
   edge: reading chapters in the centered reading column (75% of W), and the
   full-width chapters (task links, photo pairs, the map and the tour) at W.
   Contents: 1 the task opener, 2 task links, 3 the practical readout and the
   network directory, 4 embeds (map and tour), 5 the office grid, 6 the
   recruitment inset, 7 split rows on these pages, 8 phones.
   ======================================================================== */

/* ---- 1. The task opener (opener variant "task"): no media; the title, the
   lead and the actions on the content edge, as every 00c opener sits, so a
   page's title lines up with its full-width chapters and its reading
   chapters center below it. ---- */
.ds-opener--task .ds-col {
  display: block;
}
.ds-opener--task .ds-panel {
  padding: 0;
  background: none;
  border: 0;
}
.ds-opener--task .ds-panel p {
  max-width: none;
}
.ds-opener--task .ds-actions {
  gap: 0.75rem 0;
}
.ds-opener--task .ds-actions > * + * {
  margin-inline-start: 1.25rem;
  padding-inline-start: 1.25rem;
  border-inline-start: 1px solid var(--dc-line-strong);
}
/* An opener with a booking button (technology) sets its actions at the end
   of the lead's row on wide screens, as the homepage console does, so the
   title, lead and actions read as one group on the content edge. */
@media (min-width: 62em) {
  .ds-opener--task .ds-panel:has(> .ds-actions .ds-btn) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: end;
  }
  .ds-opener--task .ds-panel:has(> .ds-actions .ds-btn) > h1 {
    grid-column: 1 / -1;
  }
  .ds-opener--task .ds-panel:has(> .ds-actions .ds-btn) > .ds-actions {
    margin-block-start: 0;
  }
}
/* Contact has no centered reading chapter, so its short handoff chapter
   runs at W too, on the page's one edge. */
main:has(.ds-embed--map) .ds-text {
  --ds-measure-wide: 100%;
}
/* Technology's photo pairs (impressions and camera): the text takes about
   seven twelfths of the row, and on the widest screens a little more, so a
   photo and its explanation end together (the 00c gate's tail rule). */
.ds-split--wide:is([data-slot="impressions"], [data-slot="chairside"]) {
  --ds-media-col: minmax(0, 0.72fr);
}
/* The careers photo is portrait (3:4) beside a short chapter, so it takes a
   fixed narrow column and ends with the text. */
.ds-split--wide[data-slot="workplace"] {
  --ds-media-col: minmax(0, 18rem);
}
/* Technology's laser photo is portrait (4:5) beside a short chapter, so it
   takes a narrower fixed column still. */
.ds-split--wide[data-slot="laser"] {
  --ds-media-col: minmax(0, 13rem);
}
@media (min-width: 80em) {
  .ds-split--wide:is([data-slot="impressions"], [data-slot="chairside"]) {
    --ds-media-col: minmax(0, 0.55fr);
  }
}

/* ---- 2. Task links (component "tasks"): bounded link controls, never a
   hairline alone as a control's edge. Appointments run W in rows of three,
   two on tablets, one on phones; downloads stay in the reading column. ---- */
.ds-task-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin: var(--ds-inner-space) 0 0;
  padding: 0;
  list-style: none;
}
.ds-task {
  display: flex;
  margin: 0;
}
.ds-tasks .ds-col > .ds-task-list:first-child,
.ds-tasks .ds-col > .visually-hidden:first-child + .ds-task-list {
  margin-block-start: 0;               /* a list that opens its chapter starts on the rhythm */
}
body:not(.homepage) main .ds-section .ds-task a:not(.ds-btn):not(.btn) {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.875em 1.25em;
  border: 1px solid var(--dc-green);
  border-radius: var(--dc-radius);
  background-color: var(--dc-white);
  color: var(--dc-green);
  font-family: var(--dc-font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
body:not(.homepage) main .ds-section .ds-task a:not(.ds-btn):not(.btn):hover {
  background-color: var(--dc-green);
  color: var(--dc-white);
}
.ds-task a::after {
  content: "";
  flex: none;
  width: 0.875em;
  height: 0.875em;
  background-color: currentColor;      /* an outward arrow, drawn so it is never read aloud */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.6 2.5a.5.5 0 0 1 .5-.5h4.4a.5.5 0 0 1 .5.5v4.4a.5.5 0 0 1-1 0V3.7L7.4 9.3a.5.5 0 1 1-.7-.7L12.3 3H9.1a.5.5 0 0 1-.5-.5zM2 4.5A1.5 1.5 0 0 1 3.5 3h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 1 1 0v3a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 2 12.5v-8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.6 2.5a.5.5 0 0 1 .5-.5h4.4a.5.5 0 0 1 .5.5v4.4a.5.5 0 0 1-1 0V3.7L7.4 9.3a.5.5 0 1 1-.7-.7L12.3 3H9.1a.5.5 0 0 1-.5-.5zM2 4.5A1.5 1.5 0 0 1 3.5 3h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 1 1 0v3a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 2 12.5v-8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ds-task a:focus-visible {
  outline: 2px solid var(--dc-green);
  outline-offset: 3px;
}
.ds-task .ds-task-meta {
  margin-inline-start: auto;
  font-size: var(--dc-small);
  font-weight: 600;
}
.ds-tasks--appointments,
.ds-gallery,
.ds-embed {
  --ds-measure-wide: 100%;             /* full-width chapters: the row and its heading run W, as batch 1's comparison and band do */
}
@media (min-width: 48em) {
  .ds-tasks--appointments .ds-task-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 62em) {
  .ds-tasks--appointments .ds-task-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
body:not(.homepage) main .ds-section .ds-task-note {
  color: var(--dc-slate);
  font-size: 1rem;
}
.ds-section .ds-task-list + .ds-task-after {
  margin-block-start: var(--ds-inner-space);
}
/* A download row: the form's name over its short description, then its
   format and the new-tab note. */
.ds-task .ds-task-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ds-task .ds-task-desc {
  font-weight: 400;
  font-size: 1rem;
}
.ds-task .ds-task-meta {
  flex: none;
  white-space: nowrap;
}
/* On these pages a phone number inside a sentence is an inline link, so it
   keeps the paragraph's line spacing (the shared phone() is a padded target
   meant for action rows). */
main:has(.ds-opener--task) .ds-section p > a.ds-phone {
  display: inline;
  padding-block: 0;
}

/* ---- 3. The practical readout (readout variant "practical": three cells
   in the reading column) and the network directory ---- */
@media (min-width: 62em) {
  .ds-readout--practical .ds-col {
    width: 100%;
    max-width: var(--ds-measure-wide);
    margin-inline: auto;
  }
}
.ds-networks {
  margin: var(--ds-inner-space) 0 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid var(--dc-line-strong);
}
.ds-networks li {
  padding-block: 0.75rem;
  border-block-end: 1px solid var(--dc-line);
  break-inside: avoid;
}
body:not(.homepage) main .ds-section .ds-networks li {
  font-size: 1.0625rem;
  line-height: 1.4;
}
.ds-networks .ds-network-note {
  display: block;
  color: var(--dc-slate);
  font-size: var(--dc-small);
}
@media (min-width: 48em) {
  .ds-networks {
    columns: 2;
    column-gap: 3rem;
  }
}

/* ---- 4. Embeds (component "embed"): the map beside the entrance photo, and
   the office tour at W. The frame's edge is the hairline the eye measures
   from. ---- */
.ds-embed-frame {
  margin: 0;
}
.ds-embed-frame iframe {
  display: block;
  width: 100%;
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius-lg);
  background-color: var(--dc-mist);
}
.ds-embed-frame--tour iframe {
  height: auto;
  aspect-ratio: 16 / 9;
}
.ds-embed-frame--map iframe {
  height: 20rem;
}
.ds-embed .ds-col > .ds-embed-pair,
.ds-embed .ds-col > .ds-embed-frame {
  margin-block-start: var(--ds-inner-space);
}
.ds-embed-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ds-inner-space);
}
@media (min-width: 62em) {
  /* The map takes about three fifths of the row and is as tall as the
     photograph and its caption beside it, so neither column leaves a tail. */
  .ds-embed-pair {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: stretch;
  }
  .ds-embed-pair > .ds-embed-frame--map {
    display: flex;
  }
  .ds-embed-pair > .ds-embed-frame--map iframe {
    height: auto;
    min-height: 18rem;
  }
}
.ds-embed .ds-lead-link {
  display: inline-block;
  padding-block: 0.625rem;
  font-weight: 600;
}

/* ---- 5. The office grid (component "gallery"): pairs of photos of matching
   proportions at W, each with its caption; one column on phones ---- */
.ds-photo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ds-inner-space);
  margin-block-start: var(--ds-inner-space);
}
.ds-photo-row > .ds-media + .ds-media {
  margin-block-start: 0;
}
@media (min-width: 48em) {
  .ds-photo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
.ds-gallery--opening {
  padding-block-start: var(--ds-opener-space);
}
.ds-gallery--opening .ds-links--jump {
  margin-block-start: 0.5rem;
}

/* ---- 6. The recruitment inset (inset variant "recruit", from .dc-careers):
   one sage panel at W, as the payment inset runs, its heading, text and
   action stacked ---- */
.ds-inset--recruit .ds-inset-row {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.ds-inset--recruit .ds-inset-text {
  flex: none;
}
.ds-inset--recruit .ds-inset-row > .ds-actions {
  margin-block-start: 1.5rem;
}

/* ---- 7. Split rows on these pages (variant "wide", W): technology's
   impressions and camera pairs and the careers workplace pair. A heading
   set before the pair (careers) spans the row above both columns. ---- */
.ds-split[data-slot="workplace"] .ds-col > h2 {
  margin-block-end: 0;
}
@media (min-width: 72em) {
  .ds-split[data-slot="workplace"]:not(.ds-media-below) .ds-col > h2 {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .ds-split[data-slot="workplace"]:not(.ds-media-below) .ds-col > .ds-prose,
  .ds-split[data-slot="workplace"]:not(.ds-media-below) .ds-col > .ds-media {
    grid-row: 2;
  }
}

/* ---- 7b. The team group (people, team type: the story slot as portraits
   "row"): the profiles stacked in the reading column, one per row, each
   opening on a hairline, so a long biography never leaves a tail beside a
   short entry (compositions-batch-1.md, team type). A portrait sits beside
   the name, role and biography, top-aligned, and above them on phones; a
   person without a portrait is a text profile (person "text"), with no
   reserved image area. Portraits shown together are the same size. ---- */
.ds-section.ds-portraits--row {
  /* The profiles' hairline and its padding sit inside one chapter rhythm,
     so the first portrait is R from the content above it (the 00c gate). */
  padding-block-start: calc(var(--ds-chapter-space) - 1.25rem - 1px);
}
.ds-portraits--row .ds-people {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ds-inner-space);
}
.ds-portraits--row .ds-person {
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
  column-gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--dc-line-strong);
}
.ds-portraits--row .ds-person--text {
  grid-template-columns: minmax(0, 1fr);
}
.ds-portraits--row .ds-person > img {
  max-width: none;
  margin: 0;
  border-radius: var(--dc-radius-lg);
}
.ds-portraits--row .ds-person-text h2 {
  margin-block: 0 0.35rem;
  font-size: var(--dc-h3);
}
.ds-portraits--row .ds-person-text .ds-role {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* A role that ends its entry (no biography) sits flush; before a biography
   it keeps the shared 1rem. */
.ds-portraits--row .ds-person-text .ds-role:last-child {
  margin-block-end: 0;
}
/* A biography fills the reading column (design-language.md, "Width by
   family": no fixed rem cap below 75% of W), as in the "single" variant. */
.ds-portraits--row .ds-person-text > * {
  max-width: none;
}
@media (min-width: 62em) {
  .ds-portraits--row .ds-col {
    width: 100%;
    max-width: var(--ds-measure-wide);
    margin-inline: auto;
  }
}
@media (max-width: 47.99875em) {
  .ds-portraits--row .ds-person {
    grid-template-columns: minmax(0, 1fr);
  }
  .ds-portraits--row .ds-person > img {
    width: 8rem;
    margin-block-end: 1rem;
  }
}

/* ---- 7c. Reviews (quotes variant "rows", the testimonials page): her
   reviews as ruled rows in the reading column, in the reading face, since
   they run from one line to several paragraphs; never columns (unequal
   lengths would leave tails), no stars, no carousel. ---- */
.ds-quotes--rows .ds-quote-list {
  display: block;
}
@media (min-width: 62em) {
  .ds-quotes--rows .ds-col {
    width: 100%;
    max-width: var(--ds-measure-wide);
    margin-inline: auto;
  }
  /* The register's group headings sit on the column's own edge (the shared
     rule centers a full-width register's heading on the reading axis). */
  .ds-quotes.ds-quotes--rows > .ds-wrap > .ds-col > h2 {
    max-width: none;
    margin-inline: 0;
  }
}
.ds-quotes--rows .ds-quote-list + h2 {
  margin-block-start: var(--ds-chapter-space);
}
.ds-quotes--rows .ds-quote,
.ds-quotes--rows .ds-quote + .ds-quote {
  padding: 1.5rem 0;
  border-inline-start: 0;
  border-block-end: 1px solid var(--dc-line);
}
body:not(.homepage) main .ds-section.ds-quotes--rows .ds-quote blockquote p {
  font-family: var(--dc-font-body);
  font-size: var(--dc-body);
  font-style: normal;
  line-height: var(--ds-leading);
}
.ds-quotes--rows .ds-quote figcaption {
  margin-block-start: 0.75rem;
  color: var(--dc-slate);
  font-size: var(--dc-small);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ---- 7d. Before-and-after cases (the template's smile-cases grid in a
   cases chapter, the smile makeover page): in the readout's grammar rather
   than boxed cards. Each case opens on a strong hairline with its
   treatment label in the display face; its photos keep their own shape,
   so a slide's crop is never letterboxed; one chapter rhythm between
   cases. The component's markup, viewer and script are unchanged. ---- */
.ds-cases .smile-cases {
  max-inline-size: none;
  padding: 0;
  background: none;
}
.ds-cases .smile-cases__list {
  gap: 0;
}
.ds-cases .smile-case {
  padding: 1.25rem 0 0;
  border: 0;
  border-block-start: 1px solid var(--dc-line-strong);
  border-radius: 0;
  background: none;
}
.ds-cases .smile-case + .smile-case {
  margin-block-start: calc(var(--ds-chapter-space) - 1.25rem - 1px);
}
.ds-cases .smile-case__title {
  margin-block: 0 0.75rem;
  font-family: var(--dc-font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--dc-ink);
}
.ds-cases .smile-case__label {
  color: var(--dc-slate);
  font-size: var(--dc-small);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.ds-cases .smile-case__photo {
  aspect-ratio: auto;
  background: none;
  border-radius: var(--dc-radius-lg);
}
.ds-cases .smile-case__photo img {
  block-size: auto;
}
.ds-cases .smile-case__pair {
  gap: 1.25rem;
  align-items: start;
}

/* ---- 8. Phones ---- */
@media (max-width: 47.99875em) {
  .ds-opener--task .ds-actions > * + * {
    margin-inline-start: 0;
    padding-inline-start: 0;
    border-inline-start: 0;
  }
  .ds-opener--task .ds-actions {
    gap: 0.5rem 1.25rem;
  }
  .ds-embed-frame--tour iframe {
    aspect-ratio: 4 / 3;
  }
  /* Contact page: the phone number on its own line is a 44px target; a number
     inside a sentence stays inline */
  main:has(.ds-opener--task) .ds-readout dd > p > a.ds-phone {
    display: inline-flex;
    align-items: center;
    min-block-size: 2.75rem;
  }
}
@media (max-width: 35.99em) {
  /* A download row (forms): the name and description take the full width, the
     format note and arrow go on the line below */
  body:not(.homepage) main .ds-section.ds-tasks--downloads .ds-task a:not(.ds-btn):not(.btn) {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 0.5rem;
  }
  .ds-tasks--downloads .ds-task .ds-task-text {
    flex-basis: 100%;
  }
  .ds-tasks--downloads .ds-task .ds-task-meta {
    margin-inline-start: 0;
  }
}
/* ==== END DENTAL CLINIQUE INSIDE PAGES (00c) BATCH 2 PRACTICAL ==== */
