:root {
  --hero-height: 100vh
}

.hero-img {
  position: relative;
  display: inline-block;
  height: calc(var(--hero-height) - var(--wp-admin--admin-bar--height, 0px));
  min-height: 500px;
  width: 100%;
  border-bottom: 5px solid #677461;
  z-index: 1;
}

.hero-img.compact {
  height: calc(50vh - var(--wp-admin--admin-bar--height, 0px));
}

.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-img>img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-img .hero-content {
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 30px
}

.name-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.name-container span {
  font-size: 50px;
  margin-bottom: 0;
  font-weight: 400;
}

.name-container>img {
  width: 175px;
}

.name-container .header-icons {
  height: 27px !important;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  padding: 20%;
}

.header-icons .icon-small {
  height: 20px;
}

.name-container .name-section {
  width: 100%;
  min-width: 25vw;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  display: none;
}

.name-section .divider {
  border-bottom: 1px solid #fff;
  height: 0px;
  width: 100%;
  color: transparent;
}

.name-section>div {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tagline {
  font-size: 18px;
  text-align: center;
  margin: 0;
}

.hero-content {
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.nav-menu-container {
  position: relative;
  z-index: 10;
}

.nav-menu .sub-menu {
  position: absolute;
  z-index: 100;
}

@media (min-width: 992px) {
  :root {
    --hero-height: 75vh
  }
}

@media (min-width: 992px) {
  .name-container .name-section {
    display: flex;
  }
}
