/* Shared outer boundaries; reading columns inside articles retain their own width. */
:root {
  --site-content-width: 86rem;
  --site-gutter: clamp(1.25rem, 4vw, 4rem);
  --site-frame-width: min(var(--site-content-width), calc(100% - 2 * var(--site-gutter)));
}
body:has(#lenmash-header) .container,
body:has(#lenmash-header) main.wrap,
body:has(#lenmash-header) main.shell,
body:has(#lenmash-header) .journal-wrap,
body:has(#lenmash-header) .solution-page,
body:has(#lenmash-header) .tc-main {
  box-sizing: border-box;
  width: var(--site-frame-width);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
#lenmash-header,
#lenmash-footer,
.industrial-home .consultation {
  box-sizing: border-box;
  width: var(--site-frame-width);
  max-width: none;
  margin-inline: auto;
}
#lenmash-header .lmh-inner,
#lenmash-footer .lmf-wrap,
body.industrial-home:has(#lenmash-header) .consultation > .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

/* Keep the wash anchored to the section, independent of the inner container. */
@media (min-width: 48rem) {
  .industrial-home .consultation {
    background-image: linear-gradient(90deg, #f5f6f7 0%, rgba(245,246,247,.97) 30%, rgba(245,246,247,.82) 48%, transparent 68%), url('../images/consultation-test-bench-v1.webp');
    background-position: left top, right center;
    background-size: 100% 100%, cover;
    background-repeat: no-repeat;
  }
  .industrial-home .consultation-inner { background: transparent; }
}
#lenmash-footer .lmf-compact-grid > div:first-child {
  padding-left: clamp(20px, 2vw, 32px);
}

/* Inset only the home consultation content; the section background stays full width. */
body.industrial-home:has(#lenmash-header) .consultation > .container.consultation-inner {
  padding-left: clamp(20px, 2vw, 32px);
}
