#case #news {
  width: 100%;
}

.case__header {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  color: #2f2f2f;
  font-size: 40px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  text-align: start;
  margin-bottom: 28px;
  margin-top: 70px;
}

.swiper-navigation {
  /* width: 100%; */
  /* position: relative; */
  position: static;
  z-index: 2;
  display: flex;
  justify-content: end;
  & > div {
    margin-top: 0;
    position: static;
    &:first-child {
      order: 0;
    }
    &:last-child {
      margin-left: 20px;
      order: 1;
    }
  }
}

.flex {
  display: flex;
  justify-content: end;
}

.white-nowrap {
  white-space: nowrap;
}

.w-44 {
  width: 44px !important;
}

.swiper-button-next,
.swiper-button-next.swiper-button-disabled {
  left: 0px !important;
  right: unset !important;
}

.swiper-button-prev,
.swiper-button-prev.swiper-button-disabled {
  right: 20px !important; /* 오른쪽에서 200px 떨어진 위치에 배치 */
  left: unset !important; /* left 속성 해제 */
}

.swiper-button-prev {
  order: 2;
  background: url("../images/prev-active-icon.svg");
  background-size: cover;
}
.swiper-button-next {
  order: 1;
  background: url("../images/next-active-icon.svg");
  background-size: cover;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.swiper-button-prev.swiper-button-disabled {
  background: url("../images/prev-disabled-icon.svg");
  background-size: cover;
}
.swiper-button-next.swiper-button-disabled {
  background: url("../images/next-disabled-icon.svg");
  background-size: cover;
}

.swiper__container {
  width: 100%;
  padding: 80px 0px;
  background-color: #fff;
}

.swiper {
  max-height: 473px;
  overflow: clip;
  /* width: 100%; */
  width: calc(100% - 200px); /*컨테이너의 패딩을 제외한 너비*/
  margin: 0 auto;
}

.swiper-slide {
  flex: 0 0 auto; /* flex-basis를 auto로 설정하여 실제 이미지 크기에 맞춤 */
  width: calc(
          (100% - 50px) / 3
  ); /* 슬라이드 3개의 너비 계산 (spaceBetween 포함) */
  height: auto;
  display: flex;
  flex-direction: column;
}

.swiper-slide img {
  object-fit: cover;
  display: block;
  width: 100%;
  height: 260px;
  border-radius: 4px;
}

.slide__caption {
  display: flex;
  flex-direction: column;
  text-align: start;
  gap: 20px;
}

.caption {
  text-align: start;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: #2f2f2f;
}

/* @media (max-width: 1350px) {
  #case,
  #news {
    padding: 0px;
  }
  .case__header {
    margin-left: 28px;
    font-size: 28px;
    margin-top: 76px;
  }

  .caption {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
  }

  .swiper-wrapper {
    width: 1000svw;
    padding: 80px 0px;
  }
  .swiper-slide img {
    height: 195px;
  }
}

@media (min-width: 1351px) {
  #case,
  #news {
    padding: 100px 0px 0px 0px;
    grid-column: 1/-1;
    height: auto;
  }

  .swiper-wrapper {
    width: 100%;
    // width: 200dvw;
    padding: 80px 0px 80px 0px;
  }
} */

@media (max-width: 1350px) and (min-width: 1025px) {
  #case,
  #news {
    padding: 50px 0px;
  }
  .swiper-wrapper {
    width: 100%;
  // width: 200dvw;
    padding: 80px 0px 80px 0px;
  }
  .newsSwiper .swiper-slide {
    min-width: 475px;
  }

  .news__date {
    font-size: 20px;
  }
}

/* 태블릿 (768px ~ 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  #case,
  #news {
    padding: 20px 0px;
  }
  .swiper-wrapper {
    width: 100%;
  // width: 200dvw;
    padding: 80px 0px 80px 0px;
  }
  .newsSwiper .swiper-slide img {
    width: 100%;
    max-height: 700px;
  }
}

/* 모바일 (768px 이하) */
@media (max-width: 768px) {
  #case,
  #news {
    padding: 0px;
    margin-top: 28px;
  }
  .case__header {
    font-size: 28px;
    margin-top: 76px;
  }
  #news .case__header {
    font-size: 28px;
    margin-top: 0px;
  }
  .swiper__container {
    width: 100%;
    padding: 0px;
  }
  .swiper {
    max-height: 400px;
  }

  .swiper-wrapper {
    width: 1000svw;
    padding: 40px 0px;
  }
  .caption {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
  }
  .swiper-slide img {
    height: auto;
  }
}

/* 모바일 (360px 이하) */
@media (max-width: 360px) {

  .swiper-navigation {
    & > div {
      &:first-child {
        display: none;
      }
      &:last-child {
        display: none;
      }
    }
  }

}