/* Academy workshop hero, scoped to the Italian and English training pages. */
html body.page-formazione main .page-hero.nx-academy-hero {
  position: relative !important;
  display: flex !important;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(680px, 44vw, 820px);
  padding: 104px 0 92px !important;
  box-sizing: border-box;
  background: #123aac !important;
}
html body.page-formazione main .nx-academy-hero::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(18,58,172,.99) 0%, rgba(18,58,172,.96) 28%, rgba(18,58,172,.85) 43%, rgba(10,41,123,.38) 59%, rgba(5,25,72,.1) 76%, rgba(5,25,72,.06) 100%) !important;
  pointer-events: none;
}
html body.page-formazione main .nx-academy-hero::after {
  content: none !important;
  display: none !important;
}
html body.page-formazione main .nx-academy-hero > .nx-academy-hero__image {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
html body.page-formazione main .nx-academy-hero__image > img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  border: 0 !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  pointer-events: none;
}
html body.page-formazione main .nx-academy-hero__layout {
  position: relative;
  z-index: 2;
  display: block !important;
  max-width: 1320px;
  margin-inline: auto;
  padding-block: 0 !important;
}
html body.page-formazione main .nx-academy-hero__copy {
  width: 50%;
  max-width: 600px;
  min-width: 0;
}
html body.page-formazione main .nx-academy-hero .breadcrumbs {
  margin: 0 0 38px;
}
html body.page-formazione main .nx-academy-hero h1 {
  max-width: 10.5em !important;
  margin: 20px 0 32px !important;
  font-size: clamp(2.15rem, 3.6vw, 3.6rem) !important;
  line-height: 1.08 !important;
  overflow-wrap: normal;
  text-shadow: 0 2px 18px rgba(0,20,70,.14);
}
html body.page-formazione main .nx-academy-hero .lead {
  max-width: none !important;
  margin: 0 !important;
  line-height: 1.7;
}
@media (min-width: 901px) and (max-width: 1199px) {
  html body.page-formazione main .nx-academy-hero__copy { width: 56%; }
  html body.page-formazione main .nx-academy-hero__image > img { object-position: 56% 50% !important; }
}
@media (max-width: 900px) {
  html body.page-formazione main .page-hero.nx-academy-hero {
    --workshop-height: clamp(300px, 56.25vw, 450px);
    min-height: 0;
    padding: 96px 0 calc(var(--workshop-height) + 24px) !important;
  }
  html body.page-formazione main .nx-academy-hero::before {
    inset: 0;
    height: auto;
    background: linear-gradient(180deg, #123aac 0%, #123aac calc(100% - var(--workshop-height) + 2px), rgba(18,58,172,.78) calc(100% - var(--workshop-height) * .9), rgba(18,58,172,.26) calc(100% - var(--workshop-height) * .72), rgba(8,32,89,.1) calc(100% - var(--workshop-height) * .4), rgba(8,32,89,.12) 100%) !important;
  }
  html body.page-formazione main .nx-academy-hero__image > img {
    inset: auto 0 0 !important;
    height: var(--workshop-height) !important;
    object-position: 55% 50% !important;
  }
  html body.page-formazione main .nx-academy-hero__layout {
    width: calc(100% - 40px) !important;
    padding: 0 !important;
  }
  html body.page-formazione main .nx-academy-hero__copy {
    width: 100%;
    max-width: 640px;
  }
  html body.page-formazione main .nx-academy-hero .breadcrumbs {
    margin-bottom: 28px;
    line-height: 1.6;
  }
  html body.page-formazione main .nx-academy-hero h1 {
    max-width: 100% !important;
    margin: 18px 0 24px !important;
    font-size: clamp(1.9rem, 6vw, 2.8rem) !important;
    line-height: 1.1 !important;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  html body.page-formazione main .page-hero.nx-academy-hero {
    padding-top: 104px !important;
  }
}
