.destinations__inner {
  position: relative;
  padding-bottom: 5.6rem;
}

.destinations__title {
  max-width: 67.2rem;
}

.destinations__slider {
  position: relative;
  overflow: hidden;
  width: calc(100% + 3.2rem);
  margin: 1.6rem 0 0 -1.6rem;
  padding: 0 1.6rem;
}

.destinations__item {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 36.1rem;
  max-height: 40.5rem;
  border-radius: 2.7rem;
  overflow: hidden;
  position: relative;
}

.destinations__item .btn.btn--primary {
  width: fit-content;
  margin-top: 1.6rem;
}

.destinations__item-image {
  width: 100%;
}

.destinations__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destinations__item-content {
  display: flex;
  flex-direction: column;
  background-color: rgba(13, 37, 63, 0.2);
  color: #ffffff;
  border-radius: 1.8rem;
  padding: 1.6rem;
  position: absolute;
  inset: auto 1.6rem 1.6rem;
  backdrop-filter: blur(10px);
  max-height: calc(100% - 3.2rem);
}

.destinations__item-content-inner {
  display: none;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ffffff rgba(13, 37, 63, 0.2);
}

.destinations__item-content-inner::-webkit-scrollbar {
  width: 2px;
  background-color: rgba(13, 37, 63, 0.2);
  border-radius: 6px;
}

.destinations__item-content-inner::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  border-radius: 6px;
  border: 3px solid rgba(13, 37, 63, 0.2);
}

.destinations__item-content-inner::-webkit-scrollbar-thumb:hover {
  background-color: #0D253F;
}

.destinations__item-content-inner .btn.btn--primary {
  width: 100%;
}

.destinations__item-title {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  padding-right: 2.4rem;
}

.destinations__item-title::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 2rem;
  height: 2rem;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.84253 15L5 14.1575L12.9396 6.21024H5.7215V5H15V14.2785H13.7898V7.06043L5.84253 15Z" fill="white"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.destinations__item-title.is-active::after {
  transform: translateY(-50%) rotate(90deg);
}

.destinations__item-text {
  font-size: 1.6rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 0.8rem;
  flex: 1;
}

.destinations__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.destinations__nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.destinations__nav-btn {
  cursor: pointer;
  border-radius: 100%;
  width: 4.4rem;
  height: 4.4rem;
  background-color: #F5F5F5;
  color: #080E15;
}

.destinations__nav-btn svg {
  width: 2rem;
  height: 2rem;
}

.destinations__nav-btn:hover {
  background-color: #0D253F;
  color: #ffffff;
}

@media only screen and (min-width: 768px) {
  .destinations__inner {
    padding-bottom: 0;
  }

  .destinations__slider {
    width: 100%;
    margin: 3.2rem 0 0 0;
    padding: 0;
  }

  .destinations__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1rem;
    column-gap: 1.6rem;
  }

  .destinations__item {
    max-width: 100%;
    border-radius: 2.4rem;
  }

  .destinations__item-title::after {
    display: none;
  }

  .destinations__item-title {
    font-size: 2.4rem;
  }

  .destinations__nav {
    display: none;
  }

  .destinations__nav {
    display: none;
  }

  .destinations__nav-btn {
    width: 5.2rem;
    height: 5.2rem;
  }
}

@media only screen and (min-width: 1024px) {
  .destinations__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (min-width: 1280px) {
  .destinations__list {
    grid-template-columns: repeat(4, 1fr);
  }
}