.related-cases {
  padding-top: 120px;
  padding-bottom: 120px;
}

.related-cases .swiper-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 6%;
  margin-bottom: 40px;
}

.related-cases .related-cases-section-title {
  padding: 0;
  margin: 0;
  font-family: Satoshi, sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 112%;
  color: var(--e-global-brand-white);
  text-transform: capitalize;
}

.related-cases .swiper-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.related-cases .btn-wrap {
  margin-right: 16px;
}

.related-cases .btn {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 16px 24px;
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  color: var(--e-global-color-brand);
  text-decoration: none;
  white-space: nowrap;
  background-color: var(--e-global-opacity-black-080);
  border-radius: 40px;
  transition-duration: 0.3s;
}

.related-cases .btn path {
  stroke: currentcolor;
}

@media (hover: hover) {
  .related-cases .btn:hover {
    background-color: rgb(240 243 250 / 8%);
  }
}

.related-cases-swiper-button-next,
.related-cases-swiper-button-prev {
  position: static;
  top: initial;
  right: initial;
  bottom: initial;
  left: initial;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0;
  background-color: #070b12;
  border-radius: 50%;
  transition-duration: 0.5s;
}

.related-cases-swiper-button-next:hover,
.related-cases-swiper-button-prev:hover {
  background-color: var(--e-global-color-text-secondary);
}

.related-cases-swiper-button-next::after,
.related-cases-swiper-button-prev::after {
  content: none;
}

.related-cases .swiper-slide {
  max-height: 992px;
  aspect-ratio: 159 / 155;
  overflow: hidden;
  border-radius: 12px;
}

.related-cases .case-card {
  width: 100%;
  height: 100%;
}

.related-cases .case-card-image-link {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.related-cases .case-card-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.related-cases .case-card-content {
  display: block;
  flex: 1 1 auto;
  padding: 32px;
  margin-top: auto;
  background: linear-gradient(180deg, rgb(1 4 10 / 0%) 0%, rgb(1 4 10 / 88%) 100%);
}

.related-cases .case-card-content-title {
  margin: 0 0 12px;
  font-family: Satoshi, sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 125%;
  color: var(--e-global-brand-white);
}

.related-cases .case-card-content-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.related-cases .case-card-content-tag {
  padding: 8px 12px;
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  color: var(--e-global-brand-white);
  background: rgb(240 243 250 / 8%);
  backdrop-filter: blur(80px);
  border-radius: 72px;
}

@media screen and (min-width:1560px) {
  .related-cases .swiper-slide {
    aspect-ratio: 219 / 248;
  }
}

@media screen and (max-width: 1360px) {
  .related-cases {
    padding-top: var(--fluid-40-120);
    padding-bottom: var(--fluid-40-120);
  }

  .related-cases .related-cases-section-title {
    font-size: var(--fluid-40-64);
  }

  .related-cases .case-card-content-title {
    font-size: var(--fluid-28-32);
  }

  .related-cases .case-card-content-tag {
    font-size: var(--fluid-14-16);
  }
}

@media screen and (max-width: 768px) {
  .swiper-buttons {
    margin-top: 24px;
  }

  .related-cases-swiper-button-prev {
    order: 1;
  }

  .related-cases .btn-wrap {
    flex: 1 1 auto;
    order: 2;
    margin-right: initial;
  }

  .related-cases-swiper-button-next {
    order: 3;
  }
}

@media screen and (max-width: 560px) {
  .related-cases {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .related-cases .related-cases-section-title {
    font-size: 40px;
  }

  .related-cases .case-card-content {
    padding: 52px 24px 24px;
  }

  .related-cases .case-card-content-title {
    font-size: 28px;
  }

  .related-cases .case-card-content-tag {
    font-size: 14px;
  }
}
