/* Mobile content width and the transition out of the homepage hero. */
@media (max-width: 760px) {
  .contact-routing-suite-page #main-content .contact-routing-hero .about-hero-copy {
    padding-inline-end: 0 !important;
  }

  .dbc-home-page #main-content > #home,
  .dbc-home-page #main-content > #home .v240-hero__copy {
    min-height: 0 !important;
  }

  .dbc-home-page #main-content > #home {
    padding-bottom: var(--dbc-home-hero-offset, 0px) !important;
  }

  .dbc-home-page #main-content > #home .v240-hero__copy {
    padding-bottom: 56px !important;
  }
}

/* Keep the introductory copy and first action together on narrow screens. */
@media (max-width: 440px) {
  body.brand510-site.brand510-antux .brand510-hero {
    padding-top: 10px;
  }

  body.brand510-antux .brand510-hero .brand510-kicker {
    margin-bottom: 12px;
  }

  body.brand510-antux .brand510-hero .brand510-hero__lead {
    margin-top: 12px;
  }

  body.brand510-antux .brand510-hero .brand510-actions {
    margin-top: 20px;
  }
}

@media (max-width: 360px) {
  :is(body#fr-site-page.brand510-antux, body#de-site-page.brand510-antux,
      body#es-site-page.brand510-antux, body.brand510-antux)
  #main-content .brand510-hero #antux-title {
    font-size: clamp(28px, 8.75vw, 32px) !important;
    line-height: 1.12 !important;
  }

  :is(body#fr-site-page.brand510-antux, body#de-site-page.brand510-antux,
      body#es-site-page.brand510-antux, body.brand510-antux)
  #main-content.brand510-main > .brand510-hero .brand510-hero__grid
  .brand510-hero__copy > .brand510-hero__lead {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 760px) {
  body.dev740-page #main-content #collaboration.dev740-network {
    padding-bottom: 24px;
  }

  body.dev740-page #main-content #evidence.dev740-evidence {
    padding-top: 24px;
  }
}

/* Desktop section boundaries and the project-intake illustration track. */
@media (min-width: 1101px) {
  .observer-main--hub[data-observer-layout="editorial-grid-r9"] > .observer-hub-hero {
    padding-bottom: 24px;
  }

  .observer-main--hub[data-observer-layout="editorial-grid-r9"] .observer-hub-panel {
    min-height: 0;
    padding-bottom: 28px;
  }

  .observer-main--hub[data-observer-layout="editorial-grid-r9"] > #observer-company {
    padding-top: 28px;
  }

  body.sample-request-page #main-content .dbc-engineering-hero
  .request-hero-inner:has(> .dbc-intake-photo) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  }

  body.v520-brand-detail--antux #system {
    padding-bottom: 50px;
  }

  body.v520-brand-detail--antux #gallery {
    padding-top: 50px;
  }
}

@layer dbc-form-layout {
  @media (min-width: 1101px) {
    [data-dbc-form-layout="preflight"] .request-hero-inner:has(> .dbc-intake-photo) {
      column-gap: clamp(56px, 4.5vw, 72px) !important;
    }
  }
}

/* Join the standards list to the contact section of the brochure. */
#bioten-brochure #aviation > .chapter__body {
  padding-bottom: clamp(38px, 3.6vw, 56px);
}

#bioten-brochure #contact {
  padding-top: clamp(38px, 3.8vw, 57px);
}
