/* Van Leeuwen Law Firm — v12.14.87
 * One measured, centered outside width across all 25 editorial chapters,
 * the Dutch isolated featured-insights chapter, and the inserted 360° graphic.
 * Full-bleed photography remains INSIDE the shared frame; theme/header and
 * fixed chapter rail remain untouched. No independent per-language widths.
 */

/* Use the existing navigation-aligned geometry as the canonical frame. The
 * nav-width script already recalculates this variable on resize. */
html[data-vlf-ultradynamic] {
  --vlf87-frame: var(--vlf-nav-width, min(calc(100vw - 64px), 1440px));
  --vlf87-inner-gap: clamp(20px, 2.22vw, 32px);
}

html[data-vlf-ultradynamic] .vlf-page.vlf-ux-chapter > .vlf-section,
html[data-vlf-ultradynamic] .vlf-page.vlf-ux-chapter > .vlf86-360 {
  box-sizing: border-box !important;
  width: var(--vlf87-frame) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  left: auto !important;
  right: auto !important;
}

/* The photography and editorial surfaces previously applied an additional
 * 20–84 px shrink inside the already constrained chapter. Remove that double
 * inset so their visible edges share the same left/right coordinates. */
html[data-vlf-ultradynamic] .vlf-page.vlf-ux-chapter .vlf62-editorial-hero .vlf62-editorial-frame,
html[data-vlf-ultradynamic] .vlf-page.vlf-ux-chapter .vlf76-divorce-hero,
html[data-vlf-ultradynamic] .vlf-page.vlf-ux-chapter .vlf75-via-hero,
html[data-vlf-ultradynamic] .vlf-page.vlf-ux-chapter .vlf-purpose-hero-frame {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

/* Keep the compact reading panel directly aligned to its introduction's
 * photographic frame. Column reading measure remains limited by v85 styles. */
html[data-vlf-ultradynamic] .vlf-page.vlf-ux-chapter .vlf76-divorce-intro-shell {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

/* The eight-discipline SVG interlude is a sibling of chapter 01's section,
 * not itself a .vlf-section. Its gradient now ends at the identical edge. */
html[data-vlf-ultradynamic] .vlf-page.vlf-ux-chapter > .vlf86-360 {
  padding-inline: var(--vlf87-inner-gap) !important;
}
html[data-vlf-ultradynamic] .vlf86-360-shell {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

/* Preserve the familiar 32 px interior reading gutter of standard sections
 * while eliminating their former independent 1440 px secondary maximum. */
html[data-vlf-ultradynamic] .vlf-page.vlf-ux-chapter > .vlf-section > .vlf-shell {
  box-sizing: border-box;
  max-width: 100% !important;
}

@media (max-width: 1100px) {
  html[data-vlf-ultradynamic] {
    --vlf87-frame: var(--vlf-nav-width, calc(100vw - 48px));
  }
}
@media (max-width: 700px) {
  html[data-vlf-ultradynamic] {
    --vlf87-frame: var(--vlf-nav-width, calc(100vw - 32px));
    --vlf87-inner-gap: 18px;
  }
  html[data-vlf-ultradynamic] .vlf-page.vlf-ux-chapter > .vlf86-360 {
    padding-block: 48px 56px;
  }
  html[data-vlf-ultradynamic] .vlf-page.vlf-ux-chapter .vlf76-divorce-intro-shell {
    padding-inline: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Geometry is static; leave the independent accessibility motion rules in
   * previous stylesheets untouched. */
}
