/* Independent-site layout, using the criminal center's shared content box.
   The dimensions live in /local.css: 1480px maximum, 104px desktop gutters,
   and 20px gutters below 768px. Section backgrounds remain full width. */
#doz_body.ic-chrome :is(.container, .home-cases-inner, .case-grid-inner) {
  box-sizing: border-box;
  width: var(--content-box) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

/* A nested container uses its parent's edge without applying gutters twice. */
#doz_body.ic-chrome .container .container {
  width: 100% !important;
}

/* New practice and country sections use the same edge as the header and footer. */
#doz_body.ic-chrome :is(
  .ic-establishment-intro-inner,
  .ic-related-shell,
  .ic-country-card,
  .jp-entry-shell,
  .jp-check-shell,
  .jp-process-shell,
  .jp-support-shell,
  .jp-method-shell,
  .country-faq-shell,
  .country-issues-shell,
  .jpc-card
),
#doz_body.ic-chrome :is(#ic-establishment-design, #ic-establishment-design-mobile, .ic-difference) .shell,
#doz_body.ic-chrome [data-decent-cases-skin]:has(.is-static-cases-grid) > main > .inside {
  box-sizing: border-box;
  width: var(--content-box) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

#doz_body.ic-chrome .ic-country-overlap {
  padding-inline: 0;
}

/* The country picker is inside a padded masthead, unlike the cards below it. */
#doz_body.ic-chrome .jpc-masthead {
  padding-inline: max(var(--page-gutter), calc((100% - var(--content-width)) / 2));
}
#doz_body.ic-chrome .jpc-masthead .country-hero-tools {
  width: 100%;
  max-width: none;
}

/* Use the full section width without counting the desktop scrollbar as content. */
#doz_body.ic-home .boff-mobile-hero-video {
  left: 0;
  width: 100%;
  transform: none;
}
