/* apiary inner intro */
.inner-hero-section .inner-hero-container {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-flow: wrap;
  padding: 0;
}

.inner-hero-section .inner-hero-img {
  width: 100%;
  position: relative;
  max-height: 585px;
      height: 30vw;
    min-height: 320px;
}

.inner-hero-section .inner-hero-img .image-wrap {
  height: 100%;
}

.inner-hero-section .inner-hero-img .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-hero-section .inner-hero-content {
  position: relative;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.inner-hero-section .inner-hero-content .text-wrap {
  width: 100%;
  text-align: center;
  padding: 24px;
  position: relative;
}

.inner-hero-section .inner-hero-content h1.inner-hero-title {
  margin-bottom: 0;
  z-index: 1;
  position: relative;
  color: #494949;
}

.inner-hero-section .text-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.inner-hero-section.no-hero-img .inner-hero-container {
  height: auto;
  min-height: auto;
  padding-top: 70px;
  padding-left: 0;
  padding-right: 0;
}

.inner-hero-section.no-hero-img .inner-hero-content {
  position: relative;
  transform: none;
  left: auto;
}

/* Large screens (1440px and below) */
@media screen and (max-width: 1440px) {
  .inner-hero-section .inner-hero-img {
    max-height: 460px;
 
  }

  .inner-hero-section .inner-hero-content .text-wrap {
    padding: 20px;
  }

}

/* Tablet */
@media screen and (max-width: 1024px) {
  .inner-hero-section .inner-hero-img {
    max-height: 360px;

  }

  .inner-hero-section .inner-hero-content .text-wrap {
    padding: 18px;
  }

}

/* Mobile */
@media screen and (max-width: 767px) {
  .inner-hero-section .inner-hero-img {
     height: 100vh
  }

  .inner-hero-section .inner-hero-content {
    position: absolute;
    bottom: 6px;
    padding: 0 12px;
  }

  .inner-hero-section .inner-hero-content .text-wrap {
    padding: 12px;
  }

  .inner-hero-section.no-hero-img .inner-hero-container {
    padding-top: 74px;
  }
}