.documents {
  width: 100%;
  overflow: hidden;
}

.documents .container {
  display: flex;
  align-items: center;
  gap: 160px;
}

.documents_wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 60px 0 60px 60px;
  position: relative;
}

.documents_wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 158%;
  border-radius: 30px;
  height: 100%;
  background-color: var(--Cultured);
  z-index: -1;
}

.documents_wrap h2 {
  margin-bottom: 36px;
}

.documents_links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 500px;
}

.documents_link {
  max-width: 410px;
  width: 100%;
  border-radius: 20px;
  padding: 24px;
  background: var(--White);
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  cursor: pointer;
  transition: var(--TransitionStatic);
  position: relative;
}

.documents_link::before {
  content: "";
  position: absolute;
  right: 50px;
  opacity: 0;
  top: 40%;
  transform: translateY(-50%);
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 6px 0 4px 8px;
  border-color: transparent transparent transparent var(--Orange);
  transform: rotate(0deg);
  transition: var(--TransitionStatic);
}

.documents_link.active::before {
  opacity: 1;
  right: 20px;
}

.documents_link:hover {
  opacity: 0.8;
}

.documents_link.active {
  max-width: 100%;
  font-size: 18px;
  font-weight: 600;
  line-height: 140%;
  opacity: 1;
  padding-right: 48px;
  background: var(--Platinum);
}

.documents_swiper {
  width: 100%;
  max-width: 516px;
  height: 100%;
  aspect-ratio: 516 / 525;
  border-radius: 30px;
  border: 1px solid var(--Light-Silver);
  background: var(--White);
  position: relative;
}

.documents_swiper .swiper-wrapper {
  flex-direction: column;
}

.documents_swiper_slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 35px 25px 15px;
}

.media_slide_img {
  object-fit: contain;
  object-position: center center;
}

.documents_swiper_pagination {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  flex-direction: column;
}

.documents_swiper_pagination span {
  width: 5px;
  height: 10px;
}

.documents_swiper_pagination .swiper-pagination-bullet-active {
  height: 30px;
  width: 5px;
  background: var(--Blue);
}

@media (max-width: 1200px) {
  .documents .container {
    gap: 24px 15px;
  }

  .documents_wrap {
    padding: 40px 15px;
  }

  .documents_wrap::before {
    width: 158%;
  }

  .documents_wrap h2 {
    margin-bottom: 0;
  }

  .documents_links {
    position: relative;
  }

  .documents_link,
  .documents_link.active {
    border-radius: 10px;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
  }

  .documents_link::before {
    display: none;
  }

  .documents_swiper {
    width: 100%;
    max-width: 516px;
    height: 100%;
    aspect-ratio: 516 / 525;
    border-radius: 30px;
    border: 1px solid var(--Light-Silver);
    background: var(--White);
    position: relative;
  }
}

@media (max-width: 768px) {
  .documents {
    padding: 0 15px;
  }

  .documents .container {
    padding: 40px 15px;
    flex-direction: column;
    border-radius: 20px;
    background-color: var(--Cultured);
  }

  .documents_wrap {
    padding: 0;
  }

  .documents_wrap::before {
    display: none;
  }

  .documents_link {
    display: none;
  }

  .documents_link.active {
    display: block;
  }

  .documents_swiper {
    aspect-ratio: 311 / 409;
    border-radius: 20px;
  }

  .documents_swiper .swiper-wrapper {
    flex-direction: row;
  }

  .documents_swiper_slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 24px 80px 24px;
  }

  .documents_swiper_pagination {
    right: auto;
    top: auto;
    bottom: 40px;
    left: 50%;
    transform: translate(-50%, 0);
    flex-direction: row;
  }

  .documents_swiper_pagination span {
    width: 10px;
    height: 5px;
  }

  .documents_swiper_pagination .swiper-pagination-bullet-active {
    width: 30px;
    height: 5px;
  }
}
