.works-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  padding: 16px;
  gap: 6px;
}

.works-section .section-title {
  font-family: "Taviraj", serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  color: var(--dark-400);
  margin-top: 70px;
}

.container {
  width: 100%;
}

.card-wrapper {
  max-width: 1600px;
  margin: 0 10px 25px;
  padding: 20px 10px;
  overflow: hidden;
}

.card-list .card-item {
  list-style: none;
}

.card-list .card-item .card-link {
  user-select: none;
  display: block;
  background-color: var(--primary-50);
  padding: 18px;
  border-radius: 18px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.card-list .card-item .card-link:active {
  cursor: grabbing;
}

.card-list .card-item .card-link:hover {
  border-color: var(--primary-100);
}

.card-list .card-link .card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: fill;
  border-radius: 10px;
}

.card-list .card-link .badge {
  background: none;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  margin: 16px 0 8px;
  color: var(--primary-300);
  width: fit-content;
  border-radius: 8px;
  border: 2px solid var(--primary-300);
}

.card-list .card-link .card-title {
  font-size: 14px;
  color: var(--dark-400);
  font-weight: 600;
  margin-bottom: 20px;
}

.card-list .card-link .card-button {
  background-color: var(--primary-300);
  padding: 8px 16px;
  width: fit-content;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary-50);
  border-radius: 8px;
  margin: 16px 0 4px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.card-list .card-link:hover .card-button {
  background-color: var(--primary-200);
}

.card-wrapper .swiper-pagination-bullet {
  opacity: 0.5;
  background: var(--primary-200);
}

.card-wrapper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-300);
}

.card-wrapper .swiper-slide-button {
  display: none;
  color: var(--primary-300);
  margin-top: -35px;
}

/* <- screens above 481px (BIGGER CELLPHONES) -> */

@media screen and (min-width: 481px) {
}

/* <- screens above 768px (TABLETS) -> */

@media screen and (min-width: 768px) {
  .works-section {
    padding: 32px;
    gap: 32px;
  }

  .works-section .section-title {
    font-size: 32px;
  }

  .card-wrapper {
    margin: 0 60px 35px;
    padding: 20px 10px;
  }

  .card-wrapper .swiper-slide-button {
    display: block;
  }

  .card-list .card-link .card-button {
    font-size: 13px;
  }

  .card-list .card-link .card-title {
    font-size: 16px;
  }
}

/* <- screens above 1024px (SMALL DESKTOP) -> */

@media screen and (min-width: 1024px) {
  .works-section {
    padding-right: 138px;
    padding-left: 138px;
    padding-top: 32px;
    padding-bottom: 32px;
    gap: 32px;
  }
}

/* <- screens above 12001px (BIGGER DESKTOP) -> */

@media screen and (min-width: 1201px) {
}

/* <- screens above 1600px (ULTRA-WIDE) -> */

@media screen and (min-width: 1600px) {
}
