  .hero {
  position: relative;
  overflow: hidden;
  background: var(--extra-heavy-blue);
}

.hero.hero--landing .hero__content {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-end;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-box-pack: end;
  margin: 0 auto;
  max-width: 62.5rem;
  padding: 0 1.25rem;
  width: 100%;
}

.hero.hero--landing.hero--img {
  max-height: 80vh;
}

.hero.hero--landing.hero--img .hero__overlay {
  top: 30vw;
  bottom: calc(100% - 66.67vw - 3px);
  background: linear-gradient(rgb(0 52 85 / 0%), #003455);
}

@media print, screen and (width >= 48.0625em) {
  .hero.hero--landing.hero--img .hero__overlay {
    bottom: 0;
    background: linear-gradient(
      rgb(0 73 118 / 0%),
      rgb(0 73 118 / 62%),
      rgb(0 73 118 / 91%)
    );
  }

  .hero.hero--landing.hero--img .hero__overlay::before {
    position: absolute;
    inset: -30vw 0 0;
    display: block;
    background: linear-gradient(rgb(0 52 85 / 0%), rgb(0 52 85 / 90%));
    content: '';
  }

  .hero.hero--landing.hero--img .hero__overlay::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: linear-gradient(rgb(0 52 85 / 0%), rgb(0 52 85 / 50%));
    content: '';
    height: 7.5rem;
  }
}

.hero.hero--landing.hero--img .hero__content {
  position: relative;
  top: -1.5rem;
}

@media print, screen and (width >= 48.0625em) {
  .hero.hero--landing.hero--img .hero__content {
    position: absolute;
    top: auto;
    bottom: 1.5rem;
  }
}

.hero.hero--landing.hero--no-img {
  max-height: 55vh;
}

.hero.hero--landing.hero--no-img .hero__media {
  height: 25vw;
}

.hero.hero--landing.hero--no-img .hero__overlay {
  top: 0;
  bottom: 0;
  background: linear-gradient(#004976, rgb(0 73 118 / 0%));
}

.hero img,
.hero video,
.hero .video-feature {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: cover;
  object-position: center;
}

@media print, screen and (width >= 48.0625em) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: var(--pattern--blue);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-pack: end;
    height: 66.67vw;
    max-height: auto;
  }
}

.hero__media {
  display: block;
  height: 100%;
  width: 100%;
}

.hero__media img {
  height: 100%;
}

.hero__overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(
    rgb(0 73 118 / 0%),
    rgb(0 73 118 / 62%),
    rgb(0 73 118 / 91%)
  );
}

.hero__content {
  z-index: 3;
}

.hero__content h1,
.hero__content p {
  color: var(--white);
  margin-right: 0;
  margin-left: 0;
  max-width: 41.25rem;
}

.hero__content h1 {
  font-family: var(--serif);
}

.hero__content p {
  font-family: var(--sans-serif);
}

.hero__content .btn {
  margin: auto;
}

.hero__content .intro-text * {
  font-family: var(--sans-serif);
  font-size: 1.125rem;
  font-weight: 200;
  line-height: 1.7;
}

@media print, screen and (width >= 48.0625em) {
  .hero__content .intro-text * {
    font-size: 1.25rem;
    line-height: 1.6;
  }
}

@media print, screen and (width >= 64.0625em) {
  .hero__content .intro-text * {
    font-size: 1.4375rem;
  }
}

.autoplay-video-container {
  position: relative;
}

.hero--video .video-feature,
.hero--video video {
  position: relative;
  z-index: 2;
}

@media print, screen and (width >= 48.0625em) {
  .hero--video img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
}

.hero--no-img {
  background-color: var(--pattern--blue);
  background-image: url('/themes/custom/holyoke/components/hero/hero-landing/assets/cube-pattern.png');
  background-attachment: fixed;
  background-size: 100px;
  max-height: 31.25rem;
}

.hero--no-img .hero__overlay {
  top: 0;
  bottom: 0;
  background: linear-gradient(#004976, rgb(0 73 118 / 0%));
}

.hero--no-img .hero__content {
  padding: 2.5rem 1.25rem;
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 100%;
}

@media print, screen and (width >= 48.0625em) {
  .hero--no-img .hero__content {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}

@media print, screen and (width >= 48.0625em) {
  .hero--no-img .hero__content {
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
  }
}

@media print, screen and (width >= 48.0625em) {
  .hero.hero--parallax {
    min-height: 85vh;
    overflow: hidden;
  }

  .hero.hero--parallax img,
  .hero.hero--parallax video {
    transform: translateY(calc(var(--scroll-tracker) * 35%));
    height: 135%;
    will-change: transform;
  }

  .hero.hero--parallax .hero__media,
  .hero.hero--parallax .video-feature,
  .hero.hero--parallax .autoplay-video-container {
    height: 100%;
  }

  .hero.hero--parallax img,
  .hero.hero--parallax video,
  .hero.hero--parallax .hero__media,
  .hero.hero--parallax .video-feature,
  .hero.hero--parallax .autoplay-video-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
  }
}

.hero--iframe .video-feature {
  position: relative;
  z-index: 3;
  overflow: hidden;
  height: 0;
  padding-top: 30px;
  padding-bottom: 56.25%;
}

@media print, screen and (width >= 48.0625em) {
  .hero--iframe img {
    position: absolute;
  }
}

@media print, screen and (width >= 48.0625em) {
  .hero--iframe iframe {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 1165px;
    height: 100%;
    min-height: 700px;
  }
}

.hero--iframe .video-feature {
  display: none;
}

@media print, screen and (width >= 48.0625em) {
  .hero--iframe .video-feature {
    display: block;
    margin-top: -3.125rem;
  }
}

.hero--parallax-iframe .video-feature {
  display: none;
}

@media print, screen and (width >= 48.0625em) {
  .hero--parallax-iframe .video-feature {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100vh;
  }
}
