/* Transparent header when this hero is the first flex section */
body.first-section-hero-about header#main-header {
  position: absolute;
  top: var(--pre-header-height);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  border-bottom: solid 1px hsl(0deg 0% 100% / 5%);
  border-top: solid 1px hsl(0deg 0% 100% / 5%);
}

body.first-section-hero-about header#main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  z-index: -1;
}

body.first-section-hero-about header#main-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--alphacore_dark_blue);
}

body.first-section-hero-about.has-sticky-header {
  padding-top: 0;
}

body.first-section-hero-about #main-content > .hero-about-pages {
  /* Keep content clear of absolute header when aligned to top */
  --hero-about-header-offset: calc(var(--pre-header-height, 36px) + 76px);
}

@media (max-width: 991.98px) {
  body.first-section-hero-about #main-content > .hero-about-pages {
    --hero-about-header-offset: calc(
      var(--pre-header-height-mobile, 58px) + var(--header-height-mobile, 120px)
    );
  }
}

.hero-about-pages {
  --hero-about-header-offset: 0px;
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  color: var(--white, #fff);
  background-color: var(--alphacore_dark_blue, #0b1c2c);
}

.hero-about-pages--height-medium {
  min-height: clamp(28rem, 55vh, 36rem);
}

.hero-about-pages--height-large {
  min-height: clamp(34rem, 72vh, 48rem);
}

.hero-about-pages--height-full_page {
  min-height: 100vh;
  min-height: 100svh;
}

.hero-about-pages--align-top {
  align-items: flex-start;
}

.hero-about-pages--align-center {
  align-items: center;
}

.hero-about-pages--align-bottom {
  align-items: flex-end;
}

.hero-about-pages__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-about-pages__image {
  position: absolute;
  inset: 0;
  background-image: var(--hero-about-bg-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-about-pages__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-about-pages__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 20, 36, 0.35) 0%,
      rgba(8, 20, 36, 0.45) 45%,
      rgba(8, 20, 36, 0.88) 100%
    );
}

.hero-about-pages__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-about-pages--align-top .hero-about-pages__inner {
  padding-top: calc(var(--hero-about-header-offset) + 2.5rem);
}

.hero-about-pages--align-bottom .hero-about-pages__inner {
  padding-bottom: 5rem;
}

.hero-about-pages__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 52rem;
  width: 100%;
  margin: 0 auto;
}

.hero-about-pages__pre-title {
  margin: 0;
  font-family: "RedHatDisplay", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--white, #fff);
}

.hero-about-pages__divider {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.hero-about-pages__divider img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 1.5rem;
  object-fit: contain;
}

.hero-about-pages__divider--line {
  width: 2.5rem;
  height: 1px;
  margin-top: 1.125rem;
  margin-bottom: 0.35rem;
  background-color: rgba(255, 255, 255, 0.85);
}

.hero-about-pages__title {
  margin: 0.75rem 0 0;
  font-family: "Taviraj", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--white, #fff);
}

.hero-about-pages__button {
  margin-top: 1.75rem;
}

.hero-about-pages__arrow {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: transparent;
  color: var(--white, #fff);
  cursor: pointer;
  transform: translateX(-50%);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hero-about-pages__arrow:hover,
.hero-about-pages__arrow:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  outline: none;
}

.hero-about-pages__arrow:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
  .hero-about-pages__inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-about-pages--align-top .hero-about-pages__inner {
    padding-top: calc(var(--hero-about-header-offset) + 3.5rem);
  }

  .hero-about-pages--align-bottom .hero-about-pages__inner {
    padding-bottom: 6rem;
  }

  .hero-about-pages__pre-title {
    font-size: 0.875rem;
  }

  .hero-about-pages__arrow {
    bottom: 2.25rem;
  }
}

@media (max-width: 575.98px) {
  .hero-about-pages--height-medium {
    min-height: 24rem;
  }

  .hero-about-pages--height-large {
    min-height: 28rem;
  }

  .hero-about-pages__title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }
}
