.freelancer__wrapper .block-navigation {
  justify-content: center;
  margin-top: 40px;
}

.freelancer__title {
  color: var(--black-color);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
}

.freelancer__button {
  height: 48px;
  background-color: #fefefe;
  color: #1629d6;
  border: 0.5px solid #1629d6;
  box-shadow:
    inset 0 2px 16px 0 rgba(22, 41, 214, 0.06),
    inset 0 -2px 20px 0 rgba(22, 41, 214, 0.08);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  border-radius: 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  gap: 0;
  box-sizing: border-box;
}

.freelancer__item:hover .freelancer__button {
  gap: 8px;
}

.freelancer__item:hover .freelancer__button svg {
  width: 24px;
  height: 24px;
  opacity: 1;
  transform: translateX(0);
}

.freelancer__button svg {
  width: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    width 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  flex-shrink: 0;
  stroke: currentColor;
}

.swiper-wrapper {
  align-items: stretch;
}

.freelancer__item-body {
  text-decoration: none !important;
  color: inherit;
}

.swiper-slide {
  height: auto;
}

.freelancer__list {
  margin-top: 40px;
}

.swiper__btn {
  display: flex;
}

.freelancer-pagination-wrapper {
  margin-top: 40px;
  position: relative;
  display: flex;
  justify-content: center;
}

.freelancer-pagination {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  position: relative !important;
  top: unset !important;
  left: unset !important;
  bottom: unset !important;
  right: unset !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 100 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  max-width: 72px;
  justify-content: flex-start;
}

.freelancer-pagination::-webkit-scrollbar {
  display: none;
}

.freelancer-pagination {
  scrollbar-width: none;
}

.freelancer-pagination .swiper-pagination-bullet {
  min-width: 8px !important;
  min-height: 8px !important;
  max-width: 8px !important;
  max-height: 8px !important;
  opacity: 1 !important;
  background: #cfcfcf !important;
  margin: 0 4px !important;
  outline: none !important;
  flex-shrink: 0;
}

.freelancer-pagination .swiper-pagination-bullet:first-child {
  margin-left: auto !important;
}

.freelancer-pagination .swiper-pagination-bullet:last-child {
  margin-right: auto !important;
}

.freelancer-pagination .swiper-pagination-bullet-active {
  background: #1629d6 !important;
  opacity: 1 !important;
}

@media screen and (max-width: 1500px) {
  .freelancer__list {
    overflow: visible !important;
  }
}

@media screen and (min-width: 769px) {
  .freelancer-pagination-wrapper {
    display: none !important;
  }

  #primary section.freelancer {
    padding-top: 60px;
    padding-bottom: 52px;
  }

  .freelancer__list {
    padding-bottom: 8px;
  }
}

@media screen and (max-width: 768px) {
  .freelancer__btn {
    display: none;
  }

  .freelancer__title {
    font-size: 32px;
    line-height: 1.3;
  }

  #primary section.freelancer {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .freelancer__paragraph-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .freelancer__navigation {
    display: none;
  }
}
