


.horiztonal-scroller--heading{
  color: white;
  margin: 0;
}

.space-holder{
  min-height: max-content;
}

.scroller-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(28, minmax(auto, 50px));
  max-width: 100%;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 24px;
  gap: 9px;
  background-color: var(--il-blue);
}

.scroller-grid {
  margin: 0;
  padding: 80px 24px;
  grid-template-rows: 1fr repeat(5, 100px);
}

.scroller-grid img{
  object-fit: cover;
  border-radius: 4px;
  width: 100%;
  height: 100%;
}

.horizontal-scroller__stat-wrapper{
   position: relative;
}

.horizontal-scroller__stat{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--il-blue); 
  text-align: center;
  text-transform: uppercase;
  font-family: var(--il-font-sans);
  font-size: 18px;
  font-weight: 700;
}

.horizontal-scroller__stat span{
  color: white;
  font-family: var(--il-font-heading);
  font-size: 55px;
  padding: 0px 60px;
  font-weight: 700;
  line-height: 90px;
  letter-spacing: 4px;
}

.horizontal-scroller__stat.horizontal-scroller__stat-blue-bg{
  color:white;
}

.horizontal-scroller__stat.horizontal-scroller__stat-blue-bg span{
  color: var(--il-orange);
}

.horizontal-scroller__img:first-child{
  grid-row: 2 / 5;
  grid-column: 1 / 7;
}

.horizontal-scroller__img:nth-child(2){
  grid-row: 3 / 5;
  grid-column: 1 / 7;
}

.horizontal-scroller__img:nth-child(3){
  grid-row: 5 / 9;
  grid-column: 1 / 4;
}

.horizontal-scroller__img:nth-child(4){
  grid-row: 5 / 9;
  grid-column: 4 / 7;
}

.horizontal-scroller__img:nth-child(5){
  grid-row: 9 / 21;
  grid-column: 1 / 3;
}

.horizontal-scroller__img:nth-child(6){
  grid-row: 9 / 13;
  grid-column: 3 / 5;
}

.horizontal-scroller__img:nth-child(7){
  grid-row: 9 / 13;
  grid-column: 5 / 7;
}

.horizontal-scroller__img:nth-child(8){
  grid-row: 13 / 21;
  grid-column: 3 / 7;
} 

.horizontal-scroller__img:nth-child(9){
  grid-row: 21 / 24;
  grid-column: 1 / 5;
}

.horizontal-scroller__img:nth-child(10){
  grid-row: 21 / 24;
  grid-column: 5 / 7;
}

.horizontal-scroller__img:nth-child(11){
  grid-row: 24 / 28;
  grid-column: 1 / 4;
  object-position: center 60%;
}
  
.horizontal-scroller__img:nth-child(12) {
  grid-row: 24 / 28;
  grid-column: 4 / 7;
}

@media screen and (max-width: 550px) {
  .scroller-grid {
    grid-template-rows: 1fr repeat(5, 60px);
  }
  
  .horizontal-scroller__stat span{
    font-size: 40px;
     padding: 0px 34px;
     line-height: normal;
  }
  .horizontal-scroller__stat{
    font-size: 12px;
  }
}

@media screen and (min-width: 1200px) {

  .gradient-overlay{
    position: relative;
  }

  .gradient-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* So clicks go through */
    background: linear-gradient(90deg,rgba(244, 244, 244, 0) 87%, rgba(19, 41, 75, 1) 99%);
    z-index: 1; 
  }

  .container {
    position: relative;
    width: 100%;
    min-height: 100vh;
  }

  .space-holder {
    position: relative;
    width: 100%;
    background-color: var(--il-blue);
    height: var(--dynamic-height, 100vh);
  }

  .sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-x: hidden;
  }

  .horizontal {
    position: absolute;
    height: 100vh;
    will-change: transform;
    width: max-content;
    z-index: -1;
    transform: translateX(var(--scroll-offset-x, 0px));
  }

  .scroller-container {
    position: relative;
    height: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
  }

  .scroller-grid {
    padding: 40px calc(50cqw - 35rem) 0 calc(50cqw - 32rem);
    margin: calc(50cqh - 20rem) 0;
    display: grid;
    grid-template-columns: repeat(38, 50px);
    grid-template-rows: repeat(6, 100px);
    gap: 9px;
    width: max-content;
  }

  .horizontal-scroller__stat span{
    padding: 0px ;
    font-size: 85px;
  }

  .horizontal-scroller__stat{
    max-width: 200px;
    white-space: normal;
  }

  .horizontal-scroller__stat--six-digits{
    max-width: none;
  }

   .horizontal-scroller__img:first-child{
    grid-row: 1 / 2;
    grid-column: 1 / 38;
    align-self: end;
    padding: 0 0 20px;
  }

  .horizontal-scroller__img:nth-child(2){
    grid-row: 2 / 4;
    grid-column: 1 / 13;
  }

  .horizontal-scroller__img:nth-child(3){
    grid-row: 4 / 7;
    grid-column: 1 / 8;
  }

  .horizontal-scroller__img:nth-child(4){
    grid-row: 4 / 7;
    grid-column: 8 / 13;
    object-position: 70% center;    
  }

  .horizontal-scroller__img:nth-child(5){
    grid-row: 2 / 7;
    grid-column: 13 /17;
  }

  .horizontal-scroller__img:nth-child(6){
    grid-row: 5 / 7;
    grid-column: 17 / 21;
  }

  .horizontal-scroller__img:nth-child(7){
    grid-row: 5 / 7;
    grid-column: 21 / 25;
  }

  .horizontal-scroller__img:nth-child(8){
    grid-row: 2/ 5;
    grid-column: 17 / 25;
  } 

  .horizontal-scroller__img:nth-child(9){
    grid-row: 2 / 4;
    grid-column: 25 / 34;
  }

  .horizontal-scroller__img:nth-child(10){
    grid-row: 2 / 4;
    grid-column: 34 / 38;
  }

  .horizontal-scroller__img:nth-child(11){
    grid-row: 4 / 7;
    grid-column: 25 / 31;
    object-position: center 60%;
  }
    
  .horizontal-scroller__img:nth-child(12) {
    grid-row: 4 / 7;
    grid-column: 31 / 38;
  }




}
@media screen and (min-width: 2200px) {
  .scroller-grid {
    margin: 0 50%;
  }
}

