/* Page Hero — shared inner-page hero (Views/Partials/pageHero), scoped to .page-hero / .page-hero-navi.
   Values follow the reference theme (main.css: .hero-100, .hero-video, .big-line, .hero h1.entry-title, .navi). */

.page-hero {
  position: relative;
  height: 85vh;
  background-color: var(--eve-color-text);
  overflow: hidden;
}

.page-hero__video,
.page-hero__image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  object-fit: cover;
}

.page-hero__video {
  height: 100vh;
}

.page-hero__image {
  height: 100%;
  object-position: center;
}

/* Decorative line; colour comes from the page accent mask (site.css, img[data-accent-line]). */
.page-hero__line {
  position: absolute;
  max-width: inherit;
  right: -350px;
  top: 110px;
  width: 200%;
  z-index: 10;
  pointer-events: none;
}

.page-hero__title-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 11;
}

.page-hero__title {
  margin: 150px 50px 0;
  font-family: var(--eve-font-display-regular);
  font-weight: 400;
  font-size: 40px;
  line-height: 52px;
  color: var(--eve-color-white);
}

/* Scroll arrow below the hero. */
.page-hero-navi {
  margin-top: 20px;
  line-height: 30px;
  text-align: center;
}

.page-hero-navi__link {
  display: inline-block;
}

.page-hero-navi__arrow {
  display: inline-block;
  width: 23px;
  height: 26px;
  background: no-repeat 0 0 / 23px;
}

.page-hero-navi__arrow--neutral {
  background-image: url("/img/arrow-gray.svg");
}

.page-hero-navi__arrow--accent {
  background-image: var(--eve-page-accent-arrow, url("/img/arrow-purple.svg"));
}

@media (max-width: 850px) {
  .page-hero,
  .page-hero__video {
    height: 400px;
  }

  .page-hero__title {
    margin: 100px 20px 0;
    font-size: 30px;
  }
}

@media (max-width: 700px) {
  .page-hero__video {
    height: 100%;
  }

  .page-hero__line {
    right: -400px;
    width: 400%;
  }
}

@media (max-width: 639px) {
  .page-hero__title {
    line-height: 38px;
  }

  /* Only the vertical position changes here. In the reference theme this rule comes before the
     max-width: 700px rule, so the 400% width and -400px offset from that rule still apply. */
  .page-hero__line {
    top: 87px;
  }
}
