.grants-list .carousel {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.grants-list .carousel__track {
  display: flex;
  gap: 16px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.grants-list .carousel__track.no-dots {
  justify-content: center;
}

.grants-list .carousel__slide {
  position: relative;
  flex: 0 0 auto;
  width: 287px;
  height: 399px;
  background: var(--tether-black);
  color: var(--tether-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-sizing: border-box;
  padding: 47px 31px;
  text-decoration: none;
  cursor: pointer;
}

.grants-list .carousel__slide:hover a.btn-white {
  opacity: 0.5;
}

.grants-list .carousel__slide:first-child {
  margin-left: 16px;
}

.grants-list .carousel__slide::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 36px 36px 0;
  border-color: transparent var(--tether-white) transparent transparent;
  content: '';
}

.grants-list .carousel__arrow {
  position: absolute;
  top: 0;
  border: none;
  padding: 30px;
  cursor: pointer;
  z-index: 1;
  height: 399px;
  background-color: transparent;
}

.grants-list .carousel__arrow--prev {
  left: 0;
}

.grants-list .carousel__arrow--prev::after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 160px;
  background: linear-gradient(90deg, #171717 0%, rgba(23, 23, 23, 0) 100%);
  content: '';
  z-index: -1;
}

.grants-list .carousel__arrow--next {
  right: 0;
}

.grants-list .carousel__arrow--next::after {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 160px;
  background: linear-gradient(270deg, #171717 0%, rgba(23, 23, 23, 0) 100%);
  content: '';
  z-index: -1;
}

.grants-list .carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.grants-list .carousel__dots button {
  width: 27.88px;
  height: 22.57px;
  padding: 0;
  background-color: transparent;
  background-image: url('../assets/images/dot.svg');
  background-size: cover;
  background-repeat: no-repeat;
  border: none;
  border-radius: 0;
  cursor: pointer;
}

.grants-list .carousel__dots button.active {
  background-image: url('../assets/images/dot-active.svg');
}

.grants-list .carousel__arrow img {
  width: 28px;
}

.slide__content {
  width: 100%;
}

.slide__title {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0.36px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  margin-bottom: 30px;
}

.slide__amount {
  border-top: 1px solid var(--tether-white);
  border-bottom: 1px solid var(--tether-white);
  padding: 18px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0.36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.slide__button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 24px;
}

.slide__button a.btn-white {
  transition: opacity 0.4s cubic-bezier(.215, .61, .355, 1);
}

.slide__button a.btn-white:hover {
  opacity: 0.5;
}

.slide__date {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.32px;
  color: var(--tether-white);
  opacity: 0.65;
  text-align: center;
}

@media (max-width: 991.98px) {
  .grants-list .carousel__slide {
    width: 259px;
  }

  .grants-list .carousel__arrow {
    padding: 15px;
  }

  .grants-list .carousel__arrow::after {
    width: 45px !important;
  }

  .grants-list .carousel__arrow img {
    width: 15px;
  }

  .slide__title {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.42px;
    -webkit-line-clamp: 3;
  }
}