/* Canonical native service hero, sourced from the IDP service page. */

body.bpo-innovature-theme .bpo-idp-hero {
  --bpo-idp-blue: #0035a2;
  --bpo-idp-blue-2: #1768d1;
  --bpo-idp-sky: #4a9dff;
  --bpo-idp-copy: #586b87;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 53, 162, 0.08);
  background:
    radial-gradient(circle at 7% 14%, rgba(74, 157, 255, 0.13), transparent 29%),
    radial-gradient(circle at 92% 82%, rgba(0, 53, 162, 0.08), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7faff 56%, #edf5ff 100%);
}

body.bpo-innovature-theme .bpo-idp-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(0, 53, 162, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 53, 162, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 58%, #000);
  pointer-events: none;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-shell {
  width: min(calc(100% - 40px), 1200px);
  margin-inline: auto;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 82px);
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  align-content: center;
  min-width: 0;
}

body.bpo-innovature-theme .bpo-idp-hero h1 {
  max-width: none;
  margin: 0;
  color: #404041;
  font-family: var(--bpo-font-title), Poppins, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__content > p,
body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__content > .bpo-industry-hero__description,
body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__content > .bpo-industry-hero__description p {
  max-width: 65ch;
  margin: 0;
  color: var(--bpo-idp-copy);
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  text-wrap: pretty;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  padding: 10px 12px 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 260ms ease, background 260ms ease, box-shadow 260ms ease, color 260ms ease, transform 260ms ease;
}

body.bpo-innovature-theme .bpo-idp-hero button.bpo-idp-button.bpo-idp-button--primary,
body.bpo-innovature-theme .bpo-idp-hero a.bpo-idp-button.bpo-idp-button--primary {
  border-color: rgba(0, 53, 162, 0.08) !important;
  background: linear-gradient(135deg, #0035a2 0%, #155dcc 100%) !important;
  box-shadow: 0 14px 30px rgba(0, 53, 162, 0.18) !important;
  color: #ffffff !important;
}

body.bpo-innovature-theme .bpo-idp-hero button.bpo-idp-button.bpo-idp-button--secondary,
body.bpo-innovature-theme .bpo-idp-hero a.bpo-idp-button.bpo-idp-button--secondary {
  border-color: rgba(0, 53, 162, 0.22) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 12px 26px rgba(0, 53, 162, 0.09) !important;
  color: var(--bpo-idp-blue) !important;
}

body.bpo-innovature-theme .bpo-idp-hero button.bpo-idp-button.bpo-idp-button--primary:hover,
body.bpo-innovature-theme .bpo-idp-hero button.bpo-idp-button.bpo-idp-button--primary:focus-visible,
body.bpo-innovature-theme .bpo-idp-hero a.bpo-idp-button.bpo-idp-button--primary:hover,
body.bpo-innovature-theme .bpo-idp-hero a.bpo-idp-button.bpo-idp-button--primary:focus-visible {
  border-color: rgba(74, 157, 255, 0.42) !important;
  background: linear-gradient(135deg, #0a49b7 0%, #176edc 100%) !important;
  box-shadow: 0 17px 36px rgba(0, 53, 162, 0.23) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

body.bpo-innovature-theme .bpo-idp-hero button.bpo-idp-button.bpo-idp-button--secondary:hover,
body.bpo-innovature-theme .bpo-idp-hero button.bpo-idp-button.bpo-idp-button--secondary:focus-visible,
body.bpo-innovature-theme .bpo-idp-hero a.bpo-idp-button.bpo-idp-button--secondary:hover,
body.bpo-innovature-theme .bpo-idp-hero a.bpo-idp-button.bpo-idp-button--secondary:focus-visible {
  border-color: rgba(0, 53, 162, 0.42) !important;
  background: #ffffff !important;
  box-shadow: 0 16px 32px rgba(0, 53, 162, 0.14) !important;
  color: var(--bpo-idp-blue) !important;
  transform: translateY(-2px);
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button:active {
  transform: translateY(0) scale(0.98);
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button:focus-visible {
  outline: 3px solid rgba(74, 157, 255, 0.32);
  outline-offset: 3px;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button .bpo-button__icon-wrapper {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button--primary .bpo-button__icon-wrapper {
  background: #ffffff !important;
  color: var(--bpo-idp-blue) !important;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button--secondary .bpo-button__icon-wrapper {
  background: var(--bpo-idp-blue) !important;
  color: #ffffff !important;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button:hover .bpo-button__icon-svg:first-child,
body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button:focus-visible .bpo-button__icon-svg:first-child {
  transform: translate(150%, -150%);
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button:hover .bpo-button__icon-svg--copy,
body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button:focus-visible .bpo-button__icon-svg--copy {
  transform: translate(0);
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__visual,
body.bpo-innovature-theme.bpo-native-industry .bpo-industry-hero__media.bpo-idp-hero__visual {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 10px;
  overflow: visible;
  border: 1px solid rgba(0, 53, 162, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 28px 72px rgba(0, 53, 162, 0.14);
  aspect-ratio: auto;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__visual::before,
body.bpo-innovature-theme.bpo-native-industry .bpo-industry-hero__media.bpo-idp-hero__visual::before {
  position: absolute;
  z-index: -1;
  inset: 12% -18px -18px 10%;
  border: 1px solid rgba(74, 157, 255, 0.16);
  border-radius: 26px;
  background: rgba(222, 237, 255, 0.58);
  content: "";
}

body.bpo-innovature-theme.bpo-native-industry .bpo-industry-hero__media.bpo-idp-hero__visual::after {
  display: none;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__image-wrap,
body.bpo-innovature-theme.bpo-native-industry .bpo-industry-hero__media .bpo-idp-hero__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #eff6ff;
  aspect-ratio: auto;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__image-wrap:has(iframe) {
  aspect-ratio: 3 / 2;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__image-wrap img,
body.bpo-innovature-theme.bpo-native-industry .bpo-industry-hero__media .bpo-idp-hero__image-wrap img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__image-wrap iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

body.bpo-innovature-theme.bpo-native-industry .bpo-industry-hero__visual {
  padding: 0;
}

body.bpo-innovature-theme.bpo-native-industry .bpo-industry-hero__visual-grid {
  display: none;
}

@media (max-width: 1080px) {
  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.95fr);
    gap: 38px;
  }
}

@media (max-width: 820px) {
  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__inner {
    grid-template-columns: 1fr;
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__content {
    max-width: 720px;
    justify-items: center;
    margin-inline: auto;
    text-align: center;
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__content > p {
    margin-inline: auto;
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__actions {
    justify-content: center;
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__visual,
  body.bpo-innovature-theme.bpo-native-industry .bpo-industry-hero__media.bpo-idp-hero__visual {
    width: min(100%, 720px);
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-shell {
    width: min(calc(100% - 28px), 560px);
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__inner {
    gap: 30px;
    padding-block: 32px 40px;
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__content {
    gap: 17px;
  }

  body.bpo-innovature-theme .bpo-idp-hero h1 {
    font-size: 32px;
    line-height: 1.06;
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__content > p,
  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__content > .bpo-industry-hero__description,
  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__content > .bpo-industry-hero__description p {
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.65;
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button {
    width: fit-content;
    max-width: 100%;
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__visual,
  body.bpo-innovature-theme.bpo-native-industry .bpo-industry-hero__media.bpo-idp-hero__visual {
    padding: 7px;
    border-radius: 20px;
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__visual::before,
  body.bpo-innovature-theme.bpo-native-industry .bpo-industry-hero__media.bpo-idp-hero__visual::before {
    border-radius: 20px;
  }

  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-hero__image-wrap,
  body.bpo-innovature-theme.bpo-native-industry .bpo-industry-hero__media .bpo-idp-hero__image-wrap {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bpo-innovature-theme .bpo-idp-hero .bpo-idp-button {
    transition: none !important;
  }
}
