/* Screen shell for the printable forms. Their document body remains untouched. */
body.isy-form-shell > header.header-area {
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
}

body.isy-form-shell > header:not(.header-area) {
  display: none;
}

/* The three domestic-work forms include an earlier copyright bar. It remains
   in their print layout and yields to the shared site footer on screen. */
body.isy-form-shell > div.footer.text-center {
  display: none;
}

body.isy-form-shell .hero-executive,
body.isy-form-shell > footer {
  text-align: left;
}

body.isy-form-shell .hero-display-title {
  max-width: 850px;
  margin: 0 0 26px;
  color: #fff;
  font-family: Inter, Poppins, sans-serif;
  font-size: clamp(3.05rem,4.9vw,4.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.05em;
  text-wrap: balance;
}

body.isy-form-shell .hero-glass-card .form-hero-panel-title {
  max-width: 430px;
  margin: 0 0 22px;
  color: #fff;
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 1.24;
}

/* Old form styles use the generic .row class for field grids. Keep Bootstrap
   rows in the new trust strip and footer independent of those field rules. */
body.isy-form-shell .hero-stats-strip .row,
body.isy-form-shell > footer .row {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: none;
  align-items: stretch;
  gap: 0;
  margin: 0 calc(-.5 * var(--bs-gutter-x,1.5rem));
}

body.isy-form-shell .hero-stats-strip .row > *,
body.isy-form-shell > footer .row > * {
  margin-top: var(--bs-gutter-y,0);
  padding-right: calc(var(--bs-gutter-x,1.5rem) * .5);
  padding-left: calc(var(--bs-gutter-x,1.5rem) * .5);
}

body.isy-form-shell > main.page {
  position: relative;
  margin-top: 34px;
  margin-bottom: 60px;
  border-radius: 16px;
  box-shadow: 0 20px 65px rgba(13,35,57,.10);
}

body.isy-form-shell > main.page h1 {
  scroll-margin-top: 30px;
}

body.isy-form-shell .footer-area .footer-logo h2,
body.isy-form-shell .footer-area h4 {
  text-transform: none;
  text-align: left;
}

@media (max-width: 767.98px) {
  body.isy-form-shell .hero-display-title {
    font-size: clamp(2.25rem,10vw,3rem);
    line-height: 1.1;
    letter-spacing: -.04em;
  }

  body.isy-form-shell > main.page {
    max-width: calc(100% - 24px);
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media print {
  body.isy-form-shell > header.header-area,
  body.isy-form-shell > .isy-form-screen-shell,
  body.isy-form-shell > footer,
  body.isy-form-shell > .actions,
  body.isy-form-shell > .cookie-banner,
  body.isy-form-shell > .visually-hidden-focusable {
    display: none !important;
  }

  body.isy-form-shell > header:not(.header-area) {
    display: block !important;
  }

  body.isy-form-shell > div.footer.text-center {
    display: block !important;
  }

  body.isy-form-shell > main.page {
    margin: 0 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}
