
.region.region-hero > div:not(.block-views-blockcarousel-carousel-hp):not(.block-views-blockevents-block-2) .field-content {
  padding: 0;
  /* max-height: 20vh; */
  /* height: 55vh; */
  height: fit-content;
  position: relative;
  /* overflow: hidden; */
}

.region.region-hero > div:not(.block-views-blockcarousel-carousel-hp) .field-content:empty {
  /* display: none; */
  margin-bottom: 0rem;
  max-height: 0 !important;
  overflow: hidden;
  margin-top: 80px;
}

.region.region-hero > div:not(.block-views-blockcarousel-carousel-hp) .field-content img {
  /* position: absolute; */
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-fit: contain;
}



.front-page .region.region-hero #block-views-block-custom-title-term-block-1 {
  display: none;
}

/* HOMEPAGE HERO LAYOUT FOR CAROUSEL AND EVENTS WIDGET */
.front-page .region.region-hero {
  display: flex;
  flex-direction: column;
  background-color: #39434E;
}


@media (min-width: 1200px) {

  .front-page .region.region-hero {
    flex-direction: row;
    justify-content: space-between;
    height: 100vh;
  }

  .region.region-hero > div:not(.block-views-blockcarousel-carousel-hp) .field-content:after {
    background-color: rgb(255, 255, 255);
    content: "";
    width: 100%;
    height: 4rem;
    bottom: 0;
    left: calc( 20% - 3rem);
    display: block;
    z-index: 0;
    position: absolute;
  }

  .region.region-hero > div:not(.block-views-blockcarousel-carousel-hp) .field-content {
    margin-bottom: -4rem;
  }

}

@media (min-width: 1300px) {
  .region.region-hero > div:not(.block-views-blockcarousel-carousel-hp) .field-content:after {
    left: 5rem;
  }

  .region.region-hero > div:not(.block-views-blockcarousel-carousel-hp) .field-content {
    width: calc(80% + 8rem);
    margin-right: 0;
    margin-left: auto;
  }
}
