.main-news {
  display: flex;
  align-items: center;
  flex-wrap: wrap-reverse;
}

.main-news__container {
  /* width: clamp(1048px, 68.3vw, 1572px); */
  width: clamp(917px, 68.3vw, 1703px);
  height: clamp(560px, 36.5vw, 840px);
  border-radius: 0 60px 0 0;
  background-color: #F6F6F6;
  align-content: center;
  position: relative;
}

/* LEFT */
.main-news__swiper {
  width: 780px;
  height: 520px;
  overflow: hidden;
}

.main-news__swiper .swiper-wrapper {
  display: flex;
  align-items: center;
}

.main-news__slide {
  width: 600px;
  height: 370px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
  transform: scale(0.9);
  filter: brightness(0.5) blur(1px);
  opacity: 0.6;
  display: flex;
  flex-direction: column;
}

.main-news__slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  flex-shrink: 0;
}

/* 슬라이드 정보 영역 */
.slide-info {
  padding: 20px 24px;
  background: white;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-title {
  margin: 0 0 8px 0;
  color: #212121;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.slide-date {
  margin: 0;
  color: #666;
  font-weight: 400;
}

/* CENTER 강조 */
.swiper-slide-active {
  height: 470px;
  transform: scale(1);
  filter: brightness(1) blur(0);
  opacity: 1;
  z-index: 10;
}

.swiper-slide-active .slide-info {
  padding: 24px 28px;
}

.news-section__btn {
  position: absolute;
  right: clamp(62px, 4vw, 92px);
  bottom: clamp(38px, 2.5vw, 58px);
  text-decoration: none;
}

.news-section__btn-text {
  position: relative;
  z-index: 2;
  color: #555;
  text-align: right;
  font-style: normal;
  font-weight: 500;
  line-height: 145%;
}

.news-section__btn-arrow {
  position: absolute;
  right: clamp(-42px, -2vw, -34px);
  bottom: clamp(-7px, -0.3vw, -5px);
  z-index: 1;
  pointer-events: none;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-weight: bold;
}

/* RIGHT */
.main-news__info {
  flex: 1;
  padding: 30px;
}

.news-message__label {
  width: clamp(134px, 10vw, 250px);
  height: clamp(30px, 1.8vw, 40px);
  margin: 0 auto;
  border-radius: clamp(65px, 3.9vw, 80px);
  background: linear-gradient(white, white) padding-box, linear-gradient(to right, #196FB7 0%, #262261 100%) border-box;
  border: 1.5px solid transparent;
  color: #303030;
  text-align: center;
  font-style: normal;
  font-weight: 300;
  align-content: center;
}

.news-message__title {
  margin: clamp(35px, 2vw, 45px) 0 clamp(15px, 1vw, 23px);
  color: #212121;
  text-align: center;
  font-style: normal;
  font-weight: 600;
  align-content: center;
}

.news-message__label,
.news-message__title,
.main-news__container {
  opacity: 0;
}


/* 모바일 환경 최적화 */
body.mobile .main-news,
body[data-mobile="true"] .main-news {
  margin: 0 auto;
  width: 88vw;
  flex-direction: column-reverse;
}

body.mobile .main-news__info,
body[data-mobile="true"] .main-news__info {
  padding: 0;
  margin-bottom: 40px;
}

/* 모바일 컨테이너 */
body.mobile .main-news__container,
body[data-mobile="true"] .main-news__container {
  width: 100%;
  height: auto;
  min-height: 500px;
  border-radius: 20px;
  padding: 40px 0;
}

/* 모바일 스와이퍼 */
body.mobile .main-news__swiper,
body[data-mobile="true"] .main-news__swiper {
  width: 100%;
  height: auto;
  padding: 0 20px;
}

/* 모바일 슬라이드 - 한 개만 보이기 */
body.mobile .main-news__slide,
body[data-mobile="true"] .main-news__slide {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  transform: scale(1) !important;
  filter: brightness(1) blur(0) !important;
  opacity: 1 !important;
}

body.mobile .main-news__slide img,
body[data-mobile="true"] .main-news__slide img {
  height: 280px;
}

body.mobile .slide-info,
body[data-mobile="true"] .slide-info {
  padding: 20px;
}

/* 모바일 활성 슬라이드 */
body.mobile .swiper-slide-active,
body[data-mobile="true"] .swiper-slide-active {
  height: auto;
}

/* 모바일 버튼 위치 조정 */
body.mobile .swiper-button-next,
body.mobile .swiper-button-prev,
body[data-mobile="true"] .swiper-button-next,
body[data-mobile="true"] .swiper-button-prev {
  width: 40px;
  height: 40px;
  color: #000;
}

body.mobile .swiper-button-next::after,
body.mobile .swiper-button-prev::after,
body[data-mobile="true"] .swiper-button-next::after,
body[data-mobile="true"] .swiper-button-prev::after {
  font-size: 20px;
}

body.mobile .news-section__btn,
body[data-mobile="true"] .news-section__btn {
  bottom: 15px;
}