.gallery-highlight {
  background: #e3e3e3;
  padding: 52px 16px 64px;
}

.gallery-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.gallery-heading {
  margin: 0;
  text-align: center;
  color: #111111;
  font: italic 500 52px/1.1 "Times New Roman", Georgia, serif;
}

.gallery-heading::after {
  content: "";
  display: block;
  width: 130px;
  max-width: 90%;
  margin: 10px auto 0;
  border-bottom: 2px solid #232323;
}

.gallery-slider {
  margin-top: 26px;
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  column-gap: 12px;
}

.gallery-viewport {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.gallery-card {
  flex: 0 0 25%;
  padding: 0 2px;
}

.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.gallery-nav {
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  background: transparent;
  color: #02501f;
  font: 500 46px/0.7 "Times New Roman", Georgia, serif;
  cursor: pointer;
  justify-self: center;
}

.gallery-nav:hover {
  border-color: #02501f;
}

.gallery-dots {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.gallery-dot {
  width: 14px;
  height: 3px;
  border: 0;
  background: #b8d2ea;
  cursor: pointer;
  padding: 0;
}

.gallery-dot.is-active {
  background: #111111;
}

.gallery-cta {
  margin: 34px auto 0;
  width: max-content;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #013f18;
  text-decoration: none;
  border: 1px solid #205e3a;
  padding: 14px 24px;
  font: 600 13px/1 "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width: 1100px) {
  .gallery-card {
    flex-basis: 33.3333%;
  }
}

@media (max-width: 820px) {
  .gallery-heading {
    font-size: 42px;
  }

  .gallery-slider {
    grid-template-columns: 44px 1fr 44px;
  }

  .gallery-card {
    flex-basis: 50%;
  }

  .gallery-card img {
    height: 260px;
  }
}

@media (max-width: 560px) {
  .gallery-highlight {
    padding: 38px 10px 44px;
  }

  .gallery-heading {
    font-size: 34px;
  }

  .gallery-slider {
    grid-template-columns: 34px 1fr 34px;
    column-gap: 6px;
  }

  .gallery-card {
    flex-basis: 100%;
  }

  .gallery-card img {
    height: 220px;
  }

  .gallery-nav {
    width: 30px;
    height: 30px;
    font-size: 34px;
  }
}