/* Industry-only adaptation of saved core blocks to WordPress Group wrappers.
   The original industry design rules remain in service-industry.css. */
.dc-gutenberg-content.service-industry-page .dc-container.wp-block-group {
  width: min(1360px, calc(100% - 80px));
  max-width: 1360px;
}

/* In WordPress's inner-container variant the wrapper, rather than the
   intended cards/columns, would become the sole grid child. */
.dc-gutenberg-content.service-industry-page :is(
  .industry-hero__grid, .hero-actions, .industry-answer, .industry-split,
  .industry-heading, .industry-demand-list, .industry-relay,
  .industry-work-list, .industry-data-register, .industry-proof,
  .industry-faq, .industry-final-cta, .faq-list
) > .wp-block-group__inner-container,
.dc-gutenberg-content.service-industry-page :is(
  .industry-demand-list, .industry-work-list, .industry-data-register
) article.wp-block-group > .wp-block-group__inner-container {
  display: contents;
}

/* Breadcrumbs remain editable links in one Paragraph inside a nav Group. */
.dc-gutenberg-content.service-industry-page .breadcrumbs.wp-block-group > .wp-block-group__inner-container,
.dc-gutenberg-content.service-industry-page .breadcrumbs.wp-block-group > .wp-block-group__inner-container > p,
.dc-gutenberg-content.service-industry-page .breadcrumbs.wp-block-group > p {
  display: contents;
}

/* Gutenberg's flow margins must not expand the compact PHP card tracks. */
.dc-gutenberg-content.service-industry-page :is(
  .industry-demand-list, .industry-work-list, .industry-data-register,
  .industry-relay, .faq-list
) :is(article.wp-block-group, details.wp-block-details) :is(p, h3) {
  margin-block-start: 0;
  margin-block-end: 0;
}
.dc-gutenberg-content.service-industry-page .industry-work-list article > .wp-block-group__inner-container > :is(p:first-child, div.wp-block-group),
.dc-gutenberg-content.service-industry-page .industry-work-list article > :is(p:first-child, div.wp-block-group) {
  margin-block-start: 0;
}
.dc-gutenberg-content.service-industry-page .industry-work-list article div.wp-block-group p {
  margin-block-start: 8px;
}
.dc-gutenberg-content.service-industry-page .industry-hero__copy > .wp-block-group__inner-container > h1 {
  margin-block-start: 18px;
}
.dc-gutenberg-content.service-industry-page .industry-hero__copy > .wp-block-group__inner-container > :is(.lead, .hero-actions) {
  margin-block-start: 0;
}
.dc-gutenberg-content.service-industry-page .industry-hero__copy > .wp-block-group__inner-container > .industry-hero__note {
  margin-block-start: 22px;
}
.dc-gutenberg-content.service-industry-page .industry-demand-list article p:first-child span,
.dc-gutenberg-content.service-industry-page .industry-work-list article p:first-child span {
  display: block;
}

@media (max-width: 1100px) {
  .dc-gutenberg-content.service-industry-page .dc-container.wp-block-group {
    width: min(100% - 48px, 960px);
  }
}
@media (max-width: 720px) {
  .dc-gutenberg-content.service-industry-page .dc-container.wp-block-group {
    width: calc(100% - 32px);
  }
}
