.resource-hero {
  position: relative;
  height: 620px;
  padding-top: 120px;
  overflow: hidden;
  color: #fff;
  background: #061828;
}

.resource-hero > img {
  position: absolute;
  inset: 120px 0 0;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.resource-hero-shade {
  position: absolute;
  inset: 120px 0 0;
  background: rgba(0, 0, 0, .3);
}

.resource-hero-content {
  position: relative;
  z-index: 1;
  padding: 156px 0 0 100px;
}

.resource-hero-content h1 {
  margin: 0 0 13px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}

.resource-hero-content p {
  width: 482px;
  max-width: 100%;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
}

.resource-subnav {
  height: 63px;
  color: rgba(255, 255, 255, .7);
  background: var(--green);
}

.resource-subnav-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  align-items: center;
  text-align: center;
}

.resource-subnav a {
  font-size: 16px;
  transition: color .2s ease;
}

.resource-subnav a:hover,
.resource-subnav a.active {
  color: #fff;
}

.resource-subnav a.active {
  font-weight: 700;
}

@media (max-width: 1500px) {
  .resource-hero {
    height: 592px;
    padding-top: 92px;
  }

  .resource-hero > img,
  .resource-hero-shade {
    top: 92px;
  }

  .resource-hero-content {
    padding-top: 156px;
  }
}

@media (max-width: 991.98px) {
  .resource-hero-content {
    padding-left: 5vw;
  }
}

@media (max-width: 760px) {
  .resource-hero {
    height: 472px;
    padding-top: 72px;
  }

  .resource-hero > img,
  .resource-hero-shade {
    top: 72px;
    height: 400px;
  }

  .resource-hero > img {
    object-position: 58% center;
  }

  .resource-hero-content {
    padding: 124px 0 0;
  }

  .resource-hero-content h1 {
    font-size: 28px;
  }

  .resource-hero-content p {
    width: min(90%, 440px);
    font-size: 17px;
  }

  .resource-subnav a {
    font-size: 15px;
  }
}
