.gallery-splide {
  padding: 80px 0 64px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.gallery-splide .splide__track {
  order: 1;
}

.gallery-block { position: relative; }

.gallery-slide {
  border-radius: 20px;
  padding: 18px;
  height: 100%;
  box-sizing: border-box;
}

.gallery-slide--orange {
  background: linear-gradient(0deg, #F7931D 0%, #A04D0B 30%, #A04D0B 60%, #A04D0B 100%);
}

.gallery-slide--teal { background: #005E81; }
.gallery-slide--lightblue { background: #00AEEF; }
.gallery-slide--dark { background: #2E2E2E; }

.gallery-slide img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.gallery-splide .splide__arrows {
  order: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-left: 40px;
}

.gallery-splide .splide__arrow {
  position: static;
  transform: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #003346;
  opacity: 1;
}

.gallery-splide .splide__arrow svg {
  fill: #fff;
}

.gallery-splide .splide__arrow--next {
  background: #00AEEF;
}

.gallery-splide .splide__counter {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  min-width: 36px;
  text-align: center;
  color: #2E2E2E;
}

.gallery-splide .splide__pagination {
  order: 2;
  position: static;
  margin-top: -22px;
  justify-content: center;
}

.gallery-splide .splide__pagination__page {
  background: #c8c8c8;
}

.gallery-splide .splide__pagination__page.is-active {
  background: #6b6b6b;
  transform: none;
}

@media (max-width: 767px) {
  .gallery-splide .splide__arrows {
    justify-content: center;
    padding-left: 0;
  }

    .gallery-splide .splide__pagination {
      order: 2;
      margin-top: 20px;
    }

    .gallery-splide .splide__arrows {
      order: 3;
      justify-content: center;
      padding-left: 0;
      margin-top: 16px;
    }


}
