/* V156 public pages: banner artwork and layout only. */
.v156-banner {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  aspect-ratio: 2048 / 682;
  overflow: hidden;
  background: #072b4d;
  touch-action: pan-y pinch-zoom;
}

.v156-banner > .jee-slide {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
  opacity: 0;
  transition: opacity .6s ease;
}

.v156-banner > .jee-slide[data-current] {
  opacity: 1;
  z-index: 1;
}

.v156-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v156-banner ~ .v152-hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-height: 0;
  padding-block: 32px 40px;
}

.v156-banner ~ .v152-hero-grid > div {
  width: 100%;
}

.v156-banner ~ .v152-hero-grid .v152-hero-visual {
  max-width: 620px;
}

.v156-banner ~ .v152-hero-grid .v152-hero-note {
  position: relative;
  inset: auto;
}

@media (max-width: 640px) {
  .v156-banner { aspect-ratio: 780 / 520; }
  .v156-banner ~ .v152-hero-grid { padding-block: 26px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .v156-banner > .jee-slide { transition: none; }
}

.v152-hero-grid > div:first-child > h1 + p,
.v152-pagehead h1 + p,
.v152-legacy-intro h1 + p,
.v152-section-head > :is(h2, h3) + p,
.v152-form-head > h2 + p,
.v152-cta-box h2 + p,
.v152-section > .v152-wrap > h2 + p,
.page-hero .section-head > h1 + p,
.hero-copy > h1 + p,
.cf-hero .cf-lead,
.article-hero-v87 .lead-v87,
.news-toolbar-v87 > h2 + p,
.news-topic-strip-v105 > h2 + p,
.hub-service-box-v105 > h2 + p,
.contact-final-head > h2 + p,
.v152-legacy-main .cta-box > h2 + p,
.v152-legacy-main .seo-content-card > h1 + p,
.v152-legacy-main .boundary > h2 + p {
  text-align: center;
  margin-inline: auto;
}

.v152-hero-grid > div:first-child > :is(.v152-eyebrow, h1),
.v152-pagehead :is(.v152-eyebrow, h1),
.v152-legacy-intro h1,
.v152-section-head > :is(h2, h3),
.v152-section > .v152-wrap > h2,
.v152-cta-box :is(.v152-eyebrow, h2),
.v152-form-head > :is(.v152-eyebrow, h2),
.hero-copy > h1,
.cf-hero h1,
.cf-related > h2,
.article-hero-v87 h1,
.news-toolbar-v87 > h2,
.news-topic-strip-v105 > h2,
.hub-service-box-v105 > h2,
.contact-final-head > h2,
.v152-legacy-main .cta-box > h2,
.v152-legacy-main .seo-content-card > h1,
.v152-legacy-main .boundary > h2 {
  text-align: center;
  margin-inline: auto;
}

.v152-legacy-intro .v152-wrap > .v152-eyebrow,
.v152-cta-box .v152-eyebrow,
.v152-form-head > .v152-eyebrow {
  display: block;
  text-align: center;
}

#v154-resources .v154-index-links,
.v152-page .v154-index-links,
.v152-page .v152-btnrow,
.v152-page .v152-chips,
.content-fill-v104 .cf-cta-row,
.content-fill-v104 .cf-related-links,
.news-system-v87 .news-topic-links-v105,
.v152-page .hub-service-links-v105,
.v152-page .v156-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-inline-size: var(--v156-row-width, 100%);
  margin-inline: auto;
}

.v156-action-row { gap: 12px; }

.v152-page .v156-action-row > *,
.v152-page .v154-index-links > *,
.v152-page .v152-btnrow > *,
.v152-page .v152-chips > *,
.content-fill-v104 .cf-cta-row > *,
.content-fill-v104 .cf-related-links > *,
.news-system-v87 .news-topic-links-v105 > *,
.v152-page .hub-service-links-v105 > * {
  min-inline-size: 0;
  max-inline-size: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.v152-legacy-intro .v156-action-row > a > span,
.v152-btnrow > a > span { min-inline-size: 0; }

.v152-cta-box { flex-wrap: wrap; justify-content: center; }
.v152-cta-box > div { width: 100%; }
.v152-cta-box > a { align-self: center; }
.v152-section-head { max-width: none; }
.v152-section-head > p { max-width: 820px; }

/* Balance the card rows as a group, keeping the content inside each card intact. */
.v152-page .v152-cards {
  --v156-card-basis: calc((100% - 32px) / 3);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.v152-page .v152-cards > * {
  flex: 0 0 var(--v156-card-basis);
  min-inline-size: 0;
}

@media (min-width: 1100px) {
  .v152-page .v152-cards:has(> :nth-child(4):last-child) {
    --v156-card-basis: calc((100% - 48px) / 4);
  }
}

@media (max-width: 1099px) {
  .v152-page .v152-cards { --v156-card-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 640px) {
  .v152-page .v152-cards { --v156-card-basis: 100%; }
}

.v152-page .scenario-page-v69 .service-grid-v69 {
  --v156-tile-basis: calc((100% - 54px) / 4);
  display: flex !important; /* The earlier scenario stylesheet sets grid with !important. */
  flex-wrap: wrap;
  justify-content: center;
}

.v152-page .scenario-page-v69 .service-grid-v69:has(> :nth-child(5):last-child) {
  --v156-tile-basis: calc((100% - 36px) / 3);
}

.v152-page .scenario-page-v69 .service-grid-v69 > * {
  flex: 0 0 var(--v156-tile-basis);
  min-inline-size: 0;
}

@media (max-width: 1099px) {
  .v152-page .scenario-page-v69 .service-grid-v69 { --v156-tile-basis: calc((100% - 36px) / 3); }
}

@media (max-width: 680px) {
  .v152-page .scenario-page-v69 .service-grid-v69,
  .v152-page .scenario-page-v69 .service-grid-v69:has(> :nth-child(5):last-child) {
    --v156-tile-basis: calc((100% - 12px) / 2);
  }
}
