.horizontal-start { 
  /* padding: 150px 0;*/
  position: relative;
}
.horizontal-start::before {
  content: "";
  position: absolute;
  top: 0;
  right: -25vw;
  width: 50vw;
  height: 100%;
  background-color: #ccc;
  z-index: -1;
}

.horizontal-wrapper h2 {
  font-size: 28px;
  color: var(--colPrime);
  margin-bottom: 20px;
}

.horizontal-wrapper {
  position: sticky;
  top: 0;
  height: 75vh;
  overflow: hidden;
}

.horizontal-scroll {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  gap: 4vw;
  padding-left: 0;
  padding-right: 10vw;
  height: 100%;
  width: max-content;
}

.horizontalScrollSpacer {
  flex: 0 0 auto;
  pointer-events: none;
  background: transparent;
}

.horizontal-scroll > div {
  flex: 0 0 25vw;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  box-sizing: border-box;
}

.horizontalScrollElement {
  background-size: cover;
  width: 100%;
  background-repeat: no-repeat;
  height: 100%;
  background-position: center;
}

.horizontalScrollElement {
  position: relative;
  overflow: hidden;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 5rem;
  color: white;
}

.horizontalScrollElement .row {
  width: 100%;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.horizontalScrollElement h2 {
  margin: 0;
  transform: translateY(0);
  transition: transform 0.8s ease;
  z-index: 2;
}
.horizontalScrollElement h2:after { content: ''; width: 25%; height: 4px; background: #fff; position: absolute; bottom: -1.5rem; left: 0  }

.horizontalScrollElement .row p,
.horizontalScrollElement .row a,
.horizontalScrollElement .row .readMoreText {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: max-height 0.4s ease, opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
  margin: 0;
}

.horizontalScrollElement:hover h2 {
  transform: translateY(-1rem);
}

.horizontalScrollElement:hover .row p,
.horizontalScrollElement:hover .row a,
.horizontalScrollElement:hover .row .readMoreText {
  max-height: 500px;
  opacity: 1;
  transform: translateY(10);
  pointer-events: auto;
  margin-top: 0rem;
}

.horizontalScrollElement > div { z-index: 10; }

.horizontalScrollElement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 104, 183, 0.2);
  transition: .5s;
  z-index: 0;
}
.horizontalScrollElement:hover::after {
  transition: .5s;
  background: rgba(0, 104, 183, 0.5);
}



@media (max-width: 998px) {
  .horizontal-scroll > div {
    flex: 0 0 80vw;
  }
}






