.works-section {
  overflow: hidden;
  background: #081f34;
}

.works-heading {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 42px;
  padding: 0;
  text-align: left;
}

.works-heading h2 {
  max-width: 820px;
  margin: 0 0 18px;
  text-align: left;
}

.works-heading > p {
  max-width: 720px;
  margin: 0;
  color: #a9bac7;
  text-align: left;
}

.works-instagram {
  display: inline-block;
  margin-top: 16px;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}

.works-instagram span {
  margin-left: 6px;
  color: #f28a12;
}

.works-carousel {
  position: relative;
  width: min(100%, 865px);
  margin: 0 auto;
  padding: 0 44px;
}

.works-row {
  display: flex;
  flex-flow: row nowrap;
  gap: 16px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.works-row::-webkit-scrollbar {
  display: none;
}

.works-card {
  position: relative;
  flex: 0 0 245px;
  width: 245px;
  height: 436px;
  overflow: hidden;
  border: 1px solid rgba(242, 138, 18, .7);
  border-radius: 10px;
  background: #03111e;
  scroll-snap-align: start;
}

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

.works-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 36px;
  height: 58px;
  transform: translateY(-50%);
  border: 1px solid #f28a12;
  border-radius: 7px;
  background: #061a2d;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.works-arrow:hover {
  background: #f28a12;
  color: #061a2d;
}

.works-arrow-left { left: 0; }
.works-arrow-right { right: 0; }

@media (max-width: 620px) {
  .works-heading {
    margin-bottom: 30px;
  }

  .works-carousel {
    width: calc(100% + 16px);
    margin: 0;
    padding: 0 42px 0 0;
  }

  .works-card {
    flex-basis: 215px;
    width: 215px;
    height: 382px;
  }

  .works-arrow-left { display: none; }
  .works-arrow-right { right: 0; }
}
