/* =============================================================
   VIDENT | Blog post: "Digital Implant Planning vs. Traditional Methods"
   Languages: EN / NL / FR / BG (one shared stylesheet)
   Scope:  .vident-dip-page   (every rule below is scoped to it)
   Prefix: vdp-
   File:   /assets/css/pages/digital-implant-planning.css  (Site Assets Manager, page asset)
   Loads:  this post (all four language versions) only.
   Same visual language as the existing VIDENT blog CSS (navy / gold),
   written to be safe next to Elementor: no bare element selectors,
   no !important outside the reduced-motion block.
   ============================================================= */

/* ---- TOKENS (scoped) ---- */
.vident-dip-page {
  --vdp-navy: #0A1628;
  --vdp-navy-mid: #1a2c4a;
  --vdp-gold: #C9A96E;
  --vdp-gold-light: #e8d5b0;
  --vdp-gold-deep: #7d5f27;
  --vdp-white: #ffffff;
  --vdp-off-white: #f8f7f4;
  --vdp-light-grey: #f2f0eb;
  --vdp-mid-grey: #5b6472;
  --vdp-dark-grey: #374151;
  --vdp-text: #1f2937;
  --vdp-border: #e5e0d8;
  --vdp-warm: #fff8ec;
  --vdp-radius: 12px;
  --vdp-radius-sm: 6px;
  --vdp-shadow: 0 4px 24px rgba(10, 22, 40, 0.10);
  --vdp-shadow-hover: 0 8px 40px rgba(10, 22, 40, 0.16);
  --vdp-max-width: 860px;
  --vdp-gutter: 1.25rem;
  --vdp-section-gap: 4rem;
  --vdp-transition: 0.25s ease;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--vdp-text);
  overflow-wrap: break-word;
}

/* ---- BASE (zero-specificity reset so it never fights Elementor) ---- */
.vident-dip-page :where(*, *::before, *::after) { box-sizing: border-box; }
.vident-dip-page :where(h1, h2, h3, p, ul, ol, figure, table, details) { margin: 0; }
.vident-dip-page :where(img) { max-width: 100%; height: auto; }

/* ---- BREADCRUMB ---- */
.vident-dip-page .vdp-breadcrumb {
  max-width: var(--vdp-max-width);
  margin: 0 auto 2rem;
  padding: 0 var(--vdp-gutter);
}
.vident-dip-page .vdp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--vdp-mid-grey);
}
.vident-dip-page .vdp-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.vident-dip-page .vdp-breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #b9b2a5;
}
.vident-dip-page .vdp-breadcrumb a {
  color: var(--vdp-gold-deep);
  text-decoration: none;
  transition: color var(--vdp-transition);
}
.vident-dip-page .vdp-breadcrumb a:hover,
.vident-dip-page .vdp-breadcrumb a:focus-visible {
  color: var(--vdp-navy);
  text-decoration: underline;
}

/* ---- ARTICLE WRAPPER ---- */
.vident-dip-page .vdp-article {
  max-width: var(--vdp-max-width);
  margin: 0 auto;
  padding: 0 var(--vdp-gutter);
}

/* ---- HEADINGS ---- */
.vident-dip-page .vdp-h1 {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--vdp-navy);
  margin: 0 0 2rem;
}
.vident-dip-page .vdp-h2 {
  position: relative;
  font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.05rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--vdp-navy);
  margin: 0 0 1.25rem;
  padding-top: 1.1rem;
}
.vident-dip-page .vdp-h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--vdp-gold);
}
.vident-dip-page .vdp-h3 {
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.4rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--vdp-navy-mid);
  margin: 2.25rem 0 0.85rem;
}
.vident-dip-page .vdp-h2 + .vdp-h3 { margin-top: 0.5rem; }

/* ---- TEXT ---- */
.vident-dip-page .vdp-section p,
.vident-dip-page .vdp-cta p,
.vident-dip-page .vdp-faq-answer p {
  margin: 0 0 1.1rem;
}
.vident-dip-page .vdp-section p:last-child,
.vident-dip-page .vdp-cta p:last-of-type,
.vident-dip-page .vdp-faq-answer p:last-child {
  margin-bottom: 0;
}
.vident-dip-page .vdp-lead {
  font-size: 1.0625rem;
  color: var(--vdp-dark-grey);
}
.vident-dip-page .vdp-section strong {
  font-weight: 700;
  color: var(--vdp-navy);
}
.vident-dip-page .vdp-inline-link {
  color: var(--vdp-navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--vdp-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--vdp-transition), text-decoration-color var(--vdp-transition);
}
.vident-dip-page .vdp-inline-link:hover,
.vident-dip-page .vdp-inline-link:focus-visible {
  color: var(--vdp-gold-deep);
  text-decoration-color: var(--vdp-navy);
}
.vident-dip-page .vdp-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--vdp-mid-grey);
}

/* ---- SECTIONS ---- */
.vident-dip-page .vdp-section { margin-bottom: var(--vdp-section-gap); }
.vident-dip-page .vdp-section > .vdp-list,
.vident-dip-page .vdp-section > .vdp-steps { margin-bottom: 1.25rem; }
.vident-dip-page .vdp-section > .vdp-list:last-child,
.vident-dip-page .vdp-section > .vdp-steps:last-child { margin-bottom: 0; }

/* ---- QUICK SUMMARY ---- */
.vident-dip-page .vdp-summary-box {
  background: var(--vdp-navy);
  color: var(--vdp-white);
  border-left: 4px solid var(--vdp-gold);
  border-radius: var(--vdp-radius);
  padding: 2rem 2.25rem;
  margin-bottom: var(--vdp-section-gap);
}
.vident-dip-page .vdp-summary-title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--vdp-gold);
  margin: 0 0 1.1rem;
}
.vident-dip-page .vdp-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.vident-dip-page .vdp-summary-list li {
  position: relative;
  margin: 0;
  padding-left: 1.75rem;
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}
.vident-dip-page .vdp-summary-list li::before,
.vident-dip-page .vdp-list li::before {
  content: "";
  position: absolute;
  background: var(--vdp-gold);
  -webkit-mask: var(--vdp-icon) center / contain no-repeat;
  mask: var(--vdp-icon) center / contain no-repeat;
  --vdp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l4.8 4.8L19.5 7'/%3E%3C/svg%3E");
  left: 0;
  top: 0.32rem;
  width: 1.05rem;
  height: 1.05rem;
}
.vident-dip-page .vdp-summary-list strong { color: var(--vdp-white); }

/* ---- CHECK LIST ---- */
.vident-dip-page .vdp-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0.5rem 1.5rem;
  background: var(--vdp-off-white);
  border: 1px solid var(--vdp-border);
  border-radius: var(--vdp-radius);
}
.vident-dip-page .vdp-list li {
  position: relative;
  margin: 0;
  padding: 0.95rem 0 0.95rem 1.9rem;
  line-height: 1.65;
  color: var(--vdp-dark-grey);
  border-top: 1px solid var(--vdp-border);
}
.vident-dip-page .vdp-list li:first-child { border-top: 0; }
.vident-dip-page .vdp-list li::before { top: 1.3rem; background: var(--vdp-gold-deep); }

/* ---- WORKFLOW STEPS (numbered) ---- */
.vident-dip-page .vdp-steps {
  list-style: none;
  counter-reset: vdp-step;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.vident-dip-page .vdp-steps li {
  position: relative;
  counter-increment: vdp-step;
  margin: 0;
  padding: 1.4rem 1.4rem 1.3rem;
  background: var(--vdp-off-white);
  border: 1px solid var(--vdp-border);
  border-top: 3px solid var(--vdp-gold);
  border-radius: var(--vdp-radius);
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--vdp-dark-grey);
}
.vident-dip-page .vdp-steps li::before {
  content: counter(vdp-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--vdp-navy);
  color: var(--vdp-gold);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}
.vident-dip-page .vdp-steps strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  line-height: 1.4;
}

/* ---- FIGURES ---- */
.vident-dip-page .vdp-figure { margin: 2.25rem 0 var(--vdp-section-gap); }
.vident-dip-page .vdp-figure-frame {
  overflow: hidden;
  border-radius: var(--vdp-radius);
  background: var(--vdp-light-grey);
  box-shadow: var(--vdp-shadow);
  line-height: 0;
}
.vident-dip-page .vdp-figure-frame img { display: block; width: 100%; height: auto; }
.vident-dip-page .vdp-figcaption {
  margin-top: 0.75rem;
  padding: 0 0.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--vdp-mid-grey);
}

/* ---- BEFORE / AFTER COMPARISON ---------------------------------
   Without JavaScript the two images simply stack (before, then after).
   With JavaScript the figure gets .is-ready and becomes a slider:
   the "before" pane is clipped to --vdp-pos over the "after" pane.
   ---------------------------------------------------------------- */
.vident-dip-page .vdp-gallery { margin-top: 2.5rem; }
.vident-dip-page .vdp-gallery-intro { margin: 0 0 1.5rem; }
.vident-dip-page .vdp-compare-list {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.vident-dip-page .vdp-compare { --vdp-pos: 50%; }
.vident-dip-page .vdp-compare-stage {
  display: grid;
  gap: 0.75rem;
}
.vident-dip-page .vdp-compare-pane {
  position: relative;
  aspect-ratio: var(--vdp-ratio, 16 / 9);
  overflow: hidden;
  border-radius: var(--vdp-radius);
  background: var(--vdp-navy);
  box-shadow: var(--vdp-shadow);
}
.vident-dip-page .vdp-compare-pane img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}
.vident-dip-page .vdp-compare-tag {
  position: absolute;
  z-index: 1;
  top: 0.9rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  background: rgba(10, 22, 40, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--vdp-white);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}
.vident-dip-page .vdp-compare-before .vdp-compare-tag { left: 0.9rem; }
.vident-dip-page .vdp-compare-after .vdp-compare-tag {
  right: 0.9rem;
  background: rgba(201, 169, 110, 0.92);
  color: var(--vdp-navy);
}
.vident-dip-page .vdp-compare-handle,
.vident-dip-page .vdp-compare-hint { display: none; }

/* Slider mode (JS active) */
.vident-dip-page .vdp-compare.is-ready .vdp-compare-stage {
  position: relative;
  display: block;
  aspect-ratio: var(--vdp-ratio, 16 / 9);
  overflow: hidden;
  border-radius: var(--vdp-radius);
  background: var(--vdp-navy);
  box-shadow: var(--vdp-shadow);
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.vident-dip-page .vdp-compare.is-ready .vdp-compare-pane {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}
.vident-dip-page .vdp-compare.is-ready .vdp-compare-after { z-index: 1; }
.vident-dip-page .vdp-compare.is-ready .vdp-compare-before {
  z-index: 2;
  -webkit-clip-path: inset(0 calc(100% - var(--vdp-pos)) 0 0);
  clip-path: inset(0 calc(100% - var(--vdp-pos)) 0 0);
}
.vident-dip-page .vdp-compare.is-ready .vdp-compare-handle {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--vdp-pos);
  display: block;
  width: 2px;
  transform: translateX(-50%);
  background: var(--vdp-white);
  box-shadow: 0 0 12px rgba(10, 22, 40, 0.45);
  pointer-events: none;
}
.vident-dip-page .vdp-compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  transform: translate(-50%, -50%);
  border: 2px solid var(--vdp-gold);
  border-radius: 50%;
  background: var(--vdp-navy);
  color: var(--vdp-gold);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.4);
  transition: transform var(--vdp-transition), background var(--vdp-transition), color var(--vdp-transition);
}
.vident-dip-page .vdp-compare-knob svg { display: block; width: 1.5rem; height: 1.5rem; }
.vident-dip-page .vdp-compare.is-dragging .vdp-compare-knob,
.vident-dip-page .vdp-compare-stage:hover .vdp-compare-knob {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--vdp-gold);
  color: var(--vdp-navy);
}
.vident-dip-page .vdp-compare-range {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.vident-dip-page .vdp-compare-range:focus-visible + .vdp-compare-handle .vdp-compare-knob {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--vdp-gold);
  color: var(--vdp-navy);
  box-shadow: 0 0 0 3px var(--vdp-white), 0 0 0 6px var(--vdp-navy);
}
.vident-dip-page .vdp-compare.is-ready .vdp-compare-hint {
  display: block;
  margin-top: 0.7rem;
  padding: 0 0.25rem;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--vdp-gold-deep);
}
.vident-dip-page .vdp-compare .vdp-figcaption { margin-top: 0.75rem; }
.vident-dip-page .vdp-compare.is-ready .vdp-compare-hint + .vdp-figcaption { margin-top: 0.15rem; }

/* ---- COMPARISON TABLE ---- */
.vident-dip-page .vdp-table-wrapper {
  margin: 1.75rem 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--vdp-white);
  border: 1px solid var(--vdp-border);
  border-radius: var(--vdp-radius);
  box-shadow: var(--vdp-shadow);
}
.vident-dip-page .vdp-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.6;
  background: var(--vdp-white);
}
.vident-dip-page .vdp-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--vdp-white);
  background: var(--vdp-navy-mid);
}
.vident-dip-page .vdp-table thead th:first-child { background: var(--vdp-navy); color: var(--vdp-gold); }
.vident-dip-page .vdp-table tbody th,
.vident-dip-page .vdp-table tbody td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
  color: var(--vdp-dark-grey);
  border-top: 1px solid var(--vdp-border);
}
.vident-dip-page .vdp-table tbody th {
  position: sticky;
  left: 0;
  width: 22%;
  font-weight: 700;
  color: var(--vdp-navy);
  background: var(--vdp-light-grey);
}
.vident-dip-page .vdp-table thead th:first-child { position: sticky; left: 0; }
.vident-dip-page .vdp-table tbody tr:hover td { background: var(--vdp-off-white); }

/* ---- CTA ---- */
.vident-dip-page .vdp-cta {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  margin-bottom: var(--vdp-section-gap);
  padding: 2.75rem 2.5rem;
  background: var(--vdp-navy);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--vdp-radius);
}
.vident-dip-page .vdp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(201, 169, 110, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(201, 169, 110, 0.10) 0%, transparent 50%);
  pointer-events: none;
}
.vident-dip-page .vdp-cta > * { position: relative; }
.vident-dip-page .vdp-cta .vdp-h3 { margin-top: 0; color: var(--vdp-gold); }
.vident-dip-page .vdp-cta p { color: rgba(255, 255, 255, 0.9); }
.vident-dip-page .vdp-cta .vdp-inline-link {
  color: var(--vdp-gold-light);
  text-decoration-color: var(--vdp-gold);
}
.vident-dip-page .vdp-cta .vdp-inline-link:hover,
.vident-dip-page .vdp-cta .vdp-inline-link:focus-visible {
  color: var(--vdp-white);
  text-decoration-color: var(--vdp-white);
}
.vident-dip-page .vdp-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 1rem 2.25rem;
  background: var(--vdp-gold);
  color: var(--vdp-navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
  transition: background var(--vdp-transition), transform var(--vdp-transition), box-shadow var(--vdp-transition);
}
.vident-dip-page .vdp-cta-button:hover,
.vident-dip-page .vdp-cta-button:focus-visible {
  background: #d8bb84;
  color: var(--vdp-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 110, 0.45);
}

/* ---- FAQ ---- */
.vident-dip-page .vdp-faq-section { margin-bottom: var(--vdp-section-gap); }
.vident-dip-page .vdp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.vident-dip-page .vdp-faq-item {
  background: var(--vdp-white);
  border: 1px solid var(--vdp-border);
  border-radius: var(--vdp-radius-sm);
  overflow: hidden;
  transition: box-shadow var(--vdp-transition), border-color var(--vdp-transition);
}
.vident-dip-page .vdp-faq-item[open] {
  border-color: var(--vdp-gold-light);
  box-shadow: var(--vdp-shadow);
}
.vident-dip-page .vdp-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 1.15rem 1.5rem;
  list-style: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--vdp-navy);
  transition: background var(--vdp-transition);
  -webkit-tap-highlight-color: transparent;
}
.vident-dip-page .vdp-faq-question::-webkit-details-marker { display: none; }
.vident-dip-page .vdp-faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--vdp-gold-deep);
  transition: transform var(--vdp-transition);
}
.vident-dip-page .vdp-faq-item[open] > .vdp-faq-question { background: var(--vdp-light-grey); }
.vident-dip-page .vdp-faq-item[open] > .vdp-faq-question::after { transform: rotate(45deg); }
.vident-dip-page .vdp-faq-question:hover { background: var(--vdp-light-grey); }
.vident-dip-page .vdp-faq-answer {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--vdp-border);
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--vdp-dark-grey);
}
.vident-dip-page .vdp-faq-answer strong { color: var(--vdp-navy); }

/* ---- FOCUS VISIBILITY (navy on light surfaces, gold on dark ones) ---- */
.vident-dip-page a:focus-visible,
.vident-dip-page summary:focus-visible,
.vident-dip-page .vdp-table-wrapper:focus-visible {
  outline: 3px solid var(--vdp-navy-mid);
  outline-offset: 3px;
  border-radius: 3px;
}
.vident-dip-page .vdp-cta a:focus-visible { outline-color: var(--vdp-gold); }
.vident-dip-page .vdp-cta-button:focus-visible { border-radius: 100px; }

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 767px) {
  .vident-dip-page { --vdp-section-gap: 2.75rem; --vdp-gutter: 1rem; }
  .vident-dip-page .vdp-summary-box { padding: 1.5rem 1.25rem; }
  .vident-dip-page .vdp-h3 { margin-top: 1.9rem; }
  .vident-dip-page .vdp-list { padding: 0.25rem 1.1rem; }
  .vident-dip-page .vdp-cta { padding: 2rem 1.35rem; margin-top: 2.25rem; }
  .vident-dip-page .vdp-cta-button { width: 100%; padding: 1rem 1.25rem; }
  .vident-dip-page .vdp-faq-question { padding: 1rem 1.15rem; font-size: 0.97rem; }
  .vident-dip-page .vdp-faq-answer { padding: 1rem 1.15rem 1.25rem; }
  .vident-dip-page .vdp-table { font-size: 0.9rem; }
  .vident-dip-page .vdp-table thead th,
  .vident-dip-page .vdp-table tbody th,
  .vident-dip-page .vdp-table tbody td { padding: 0.85rem 1rem; }
  .vident-dip-page .vdp-table tbody th { width: 9.5rem; }
  .vident-dip-page .vdp-compare-list { gap: 1.75rem; }
}

@media (max-width: 639px) {
  .vident-dip-page .vdp-steps { grid-template-columns: minmax(0, 1fr); }
  .vident-dip-page .vdp-table { min-width: 560px; }
  .vident-dip-page .vdp-compare-knob { width: 2.6rem; height: 2.6rem; }
  .vident-dip-page .vdp-compare-tag { top: 0.65rem; padding: 0.3rem 0.7rem; font-size: 0.66rem; }
  .vident-dip-page .vdp-compare-before .vdp-compare-tag { left: 0.65rem; }
  .vident-dip-page .vdp-compare-after .vdp-compare-tag { right: 0.65rem; }
}

@media (max-width: 400px) {
  .vident-dip-page .vdp-summary-box { padding: 1.35rem 1.05rem; }
  .vident-dip-page .vdp-h2 { font-size: 1.32rem; }
}

@media (min-width: 1024px) {
  .vident-dip-page { --vdp-section-gap: 4.5rem; }
}

@media (min-width: 1280px) {
  .vident-dip-page {
    --vdp-max-width: 900px;
    font-size: 1.0625rem;
  }
}

@media (min-width: 1600px) {
  .vident-dip-page {
    --vdp-max-width: 960px;
    font-size: 1.125rem;
  }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .vident-dip-page *,
  .vident-dip-page *::before,
  .vident-dip-page *::after {
    transition: none !important;
    animation: none !important;
  }
  .vident-dip-page .vdp-cta-button:hover,
  .vident-dip-page .vdp-cta-button:focus-visible { transform: none; }
}

/* ---- FIGURE SPACING INSIDE SECTIONS ---- */
.vident-dip-page .vdp-section > .vdp-figure:last-child,
.vident-dip-page .vdp-intro > .vdp-figure { margin-bottom: 0; }
.vident-dip-page .vdp-section > .vdp-figure:first-child { margin-top: 0; }