.hero {
  position: relative;
  padding: 4rem 2rem;
  width: 100%;
}
.hero .container {
  position: relative;
  z-index: 1;
  max-width: 1720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero .container > div {
  width: calc(50% - 42px);
  padding: 0 1rem;
}
.hero.navy *,
.hero.dark-blue * {
  color: white;
}
.hero.navy h2:not(.preheader),
.hero.dark-blue h2:not(.preheader),
.hero.navy h3.h2,
.hero.dark-blue h3.h2 {
  color: var(--pale-blue);
}
.hero h2.subtitle {
  font-size: 85px;
}
.hero .button-row {
  margin-top: 2rem;
}
.hero .animated-text-container {
  position: relative;
  margin-bottom: 2rem;
}
.hero .animated-text-container::after {
  /* Just a placeholder for the absolute positioned text */
  content: '*';
  position: relative;
  display: block;
  font-size: 60px;
  line-height: 1.2;
  text-align: right;
  opacity: 0;
}
.hero .animated-text {
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
}
.hero .container:not(.has-image) {
  max-width: 1024px;
  text-align: center;
}
.hero .container:not(.has-image) .button-row {
  justify-content: center;
}
.hero .container:not(.has-image) > div {
  width: 100%;
}
.hero .content strong {
  font-weight: 500;
  color: var(--navy);
}
.hero .content .icons {
  display: flex;
  justify-content: space-around;
  padding-bottom: 1rem;
}
.hero .content .icons .hero-icon {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 0;
}
.hero .content .icons .hero-icon .icon {
  font-size: 75px;
  color: var(--dark-blue);
}
.hero .content .icons .hero-icon .text {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 24px;
  margin-top: 0.5rem;
}
.hero img {
  width: 100%;
}
.page-id-2 .hero img {
  transform: scale(1.2);
}
@media (max-width: 1650px) {
  .hero .animated-text-container {
    margin-bottom: 4rem;
  }
  .hero .animated-text {
    white-space: normal;
  }
}
@media (max-width: 1400px) {
  .hero h2.subtitle {
    font-size: 60px;
  }
  .hero .container > div {
    width: calc(50% - 1rem);
  }
  .hero .animated-text-container::after {
    font-size: 40px;
  }
  .hero .content .icons .hero-icon .icon {
    font-size: 60px;
  }
}
@media (max-width: 1200px) {
  .hero {
    padding: 2rem;
  }
}
@media (max-width: 992px) {
  .page-id-2 .hero img {
    transform: scale(1);
  }
  .hero h2.subtitle {
    font-size: 40px;
  }
  .hero .container {
    flex-direction: column;
    padding: 0;
  }
  .hero .container > div {
    width: 100%;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .hero .container:not(.has-image) > div {
    text-align: left;
  }
  .hero .button-row {
    margin-top: 1rem;
  }
  .hero .content .icons {
    flex-wrap: wrap;
    padding-bottom: 0;
  }
  .hero .content .icons .hero-icon {
    flex-grow: unset;
    flex-basis: unset;
    width: 50%;
    margin-bottom: 1rem;
    align-items: center;
    text-align: center;
  }
  .hero .content .icons .hero-icon .text {
    font-size: 18px;
  }
}
