.top-slides-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 0 20px;
}

.main-banner-container {
  display: flex;
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* 메인 배너 슬라이더 */
.main-banner-slider {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  width: 800px;
  height: 450px;
}

.main-banner-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 슬라이드 콘텐츠 */
.slide-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide-content .content-top {
  width: 100%;
}

.slide-content .content-top img {
  object-fit: cover;
  width: 800px;
  height: 450px;
}

.slide-content .content-bottom {
  display: none;
  flex-direction: column;
  align-items: center;
  margin: 24px 0 32px;
}

.slide-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--Color-Red);
  margin-bottom: 8px;
}

.slide-title {
  font-size: 34px;
  word-break: keep-all;
  margin-bottom: 20px;
  color: var(--Color-Black);
}

.transition-tit-link, .transition-tit-link:visited {
  color: var(--Color-Black);
}

.slide-link, .slide-link:visited {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  color: var(--Color-Grey-80);
  font-weight: 500;
}

.slide-link::after {
  content: '';
  width: 10px;
  height: 10px;
  margin-left: 6px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='10' viewBox='0 0 7 10' fill='none'%3E%3Cpath d='M0.324219 8.78216L1.38497 9.84272L6.09266 5.13419L1.38497 0.425659L0.324219 1.48622L3.971 5.13412L0.324219 8.78216Z' fill='%23707070'/%3E%3C/svg%3E");
}

/* 커스텀 네비게이션 */
.banner-pagination .swiper-button-prev,
.banner-pagination .swiper-button-next {
  width: 24px;
  height: 24px;
  position: static;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-top: unset;
}

.swiper-button-prev {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='25' viewBox='0 0 24 25' fill='none'%3E%3Cpath d='M16.124 7.23166L14.7097 5.81757L8.43277 12.0956L14.7097 18.3737L16.124 16.9596L11.2617 12.0957L16.124 7.23166Z' fill='%23707070'/%3E%3C/svg%3E");
  margin-right: 10px;
}

.swiper-button-next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='25' viewBox='0 0 24 25' fill='none'%3E%3Cpath d='M8.43262 16.9596L9.84696 18.3737L16.1239 12.0956L9.84696 5.81757L8.43262 7.23165L13.295 12.0955L8.43262 16.9596Z' fill='%23707070'/%3E%3C/svg%3E");
  margin-left: 10px;
}

.swiper-button-prev svg,
.swiper-button-next svg {
  display: none;
}

.banner-pagination {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 100;
}

.swiper-pagination {
  position: static !important;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: unset !important;
  align-items: center;
}

.swiper-pagination-bullet {
  width: 6px !important;
  height: 6px !important;
  border-radius: 6px !important;
  background: var(--Color-Grey-40) !important;
  cursor: pointer !important;
  opacity: unset !important;
  margin: unset !important;
}

.swiper-pagination-bullet-active {
  background: var(--Color-Grey-80) !important;
  width: 8px !important;
  height: 8px !important;
}

#pauseBtn {
  display: flex;
  width: 24px;
  height: 24px;
  justify-content: center;
  align-items: center;
  background: var(--Color-Grey-20);
  border-radius: 2px;
  margin-left: 12px;
}

#pauseBtn .pause-btn {
  display: inline-block;
  width: 10px;
  height: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='12' viewBox='0 0 10 12' fill='none'%3E%3Cpath d='M0 11.8333H3.33333V0.166626H0V11.8333ZM6.66667 0.166626V11.8333H10V0.166626H6.66667Z' fill='%23707070'/%3E%3C/svg%3E");
}

#pauseBtn.pause .pause-btn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='12' viewBox='0 0 10 12' fill='none'%3E%3Cpath d='M0 0.166626V11.8333L9.16667 5.99996L0 0.166626Z' fill='%23707070'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  .swiper-button-prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M16.1235 6.98153L14.7092 5.56745L8.43228 11.8455L14.7092 18.1235L16.1235 16.7094L11.2612 11.8456L16.1235 6.98153Z' fill='%23D7D7D7'/%3E%3C/svg%3E");
  }

  .swiper-button-next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8.43262 16.7094L9.84696 18.1235L16.1239 11.8454L9.84696 5.56738L8.43262 6.98147L13.295 11.8453L8.43262 16.7094Z' fill='%23D7D7D7'/%3E%3C/svg%3E");
  }

  #pauseBtn .pause-btn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='12' viewBox='0 0 10 12' fill='none'%3E%3Cpath d='M0 11.8332H3.33333V0.166504H0V11.8332ZM6.66667 0.166504V11.8332H10V0.166504H6.66667Z' fill='%23D7D7D7'/%3E%3C/svg%3E");
  }

  #pauseBtn.pause .pause-btn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='12' viewBox='0 0 10 12' fill='none'%3E%3Cpath d='M0 0.166626V11.8333L9.16667 5.99996L0 0.166626Z' fill='%23D7D7D7'/%3E%3C/svg%3E ");
  }

  .slide-link::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='10' viewBox='0 0 7 10' fill='none'%3E%3Cpath d='M0.324219 8.53228L1.38497 9.59285L6.09266 4.88431L1.38497 0.175781L0.324219 1.23635L3.971 4.88424L0.324219 8.53228Z' fill='%23D7D7D7'/%3E%3C/svg%3E");
  }

  .card-slider .swiper-slide:hover img {
    box-shadow: unset !important;
  }
}

.card-slider-container {
  display: none;
}

.card-slider-container .swiper-container {
  width: 100%;
  position: relative;
  /* overflow: visible !important; */
  cursor: pointer;
}

.card-slider-container .swiper-wrapper {
  align-items: center;
}

.card-slider-container .swiper-slide img {
  border-radius: 16px;
  width: 240px;
  transition: box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid transparent;
}

.card-slider .swiper-slide {
  width: 240px;
  width: auto;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {

  .card-slider .swiper-slide:hover {
    transform: translateY(-5px);
  }

  .card-slider .swiper-slide:hover img {
    box-shadow: 0 6px 12px 0 rgba(34, 34, 34, 0.16);
    border: 1px solid var(--Color-Grey-20);
  }
}

.card-slider .swiper-slide:before {
  content: '';
  display: block;
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M0 1.85004C0 0.828293 0.828294 0 1.85005 0H11.1003C12.122 0 12.9503 0.828293 12.9503 1.85005V11.1003C12.9503 12.122 12.122 12.9503 11.1003 12.9503H1.85005C0.828293 12.9503 0 12.122 0 11.1003V1.85004Z' fill='white'/%3E%3Cpath d='M14.5899 3.31993C15.4256 3.73686 16 4.59942 16 5.5968V13.4595C15.9999 14.8643 14.8611 16.0033 13.4562 16.0033H5.5935C4.59829 16.0033 3.73729 15.4313 3.31933 14.5986C3.55961 14.6832 3.8175 14.7309 4.08672 14.7309H12.4119C13.689 14.7309 14.7243 13.6955 14.7245 12.4184V4.09319C14.7245 3.8218 14.6758 3.56189 14.5899 3.31993Z' fill='white'/%3E%3C/svg%3E");
  width: 16px;
  height: 16px;
  right: 16px;
  top: 16px;
}

.transition-slider-wrapper {
  position: relative;
  margin-left: 32px;
}

.transition-slider .slide-subtitle,
.transition-slider .slide-title {
  transition: opacity 0.2s ease-in-out;
  opacity: 1;
}

.card-news-modal-content {
    position: relative;
}

.card-news-modal-close {
    position: absolute;
    top: -36px;
    right: 0;
    width: 24px;
    height: 24px;
    background-image: url("//image.chosun.com/cds/icon/close-white.svg");
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 10;
}

/* 모달 슬라이더 스타일 */
.card-news-modal-swiper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    width: 420px;
    height: 525px;
}

.card-news-modal-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
}

.card-news-modal-swiper .swiper-button-next,
.card-news-modal-swiper .swiper-button-prev,
.card-news-modal-swiper .swiper-pagination {
    display: none;
}

.card-news-modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.card-news-modal-slide-content {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
}

.card-news-modal-slide-title {
    font-weight: 700;
    font-size: 24px;
}

.card-news-modal-slide-subtitle {
    display: none;
    font-size: 14px;
}

.card-news-modal-link-btn {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 100px;
  background: #222;
  color: #fff;
  width: calc(100% - 60px);
  height: 52px;
  font-size: 16px;
}

.card-news-modal-link-btn:visited {
  color: #fff;
}

/* 클릭 영역 */
.card-news-click-area-left,
.card-news-click-area-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}

.card-news-click-area-left {
    left: 0;
}

.card-news-click-area-right {
    right: 0;
}

/* 모달 하단 컨트롤 */
.card-news-modal-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 10;
}

.card-news-page-counter {
    color: #fff;
    font-size: 14px;
    border-radius: 100px;
    background: rgba(34, 34, 34, 0.60);
    padding: 4px 16px;
    margin: 0 12px;
    white-space: nowrap;
}

.card-news-nav-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    background: #fff;
    border: 1px solid #d7d7d7;
    position: relative;
}

.card-news-nav-button:after {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-position: center;
    background-repeat: no-repeat;
}

#card-news-prev-btn:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none'%3E%3Cpath d='M6.43555 1.81803L5.25693 0.639622L0.026166 5.87132L5.25693 11.103L6.43555 9.92462L2.38357 5.87141L6.43555 1.81803Z' fill='%23222222'/%3E%3C/svg%3E");

}

#card-news-next-btn:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none'%3E%3Cpath d='M0.0273437 9.92465L1.20596 11.1031L6.43672 5.87135L1.20596 0.639648L0.0273437 1.81805L4.07932 5.87127L0.0273437 9.92465Z' fill='%23222222'/%3E%3C/svg%3E");

}

@media (max-width: 1280px) {
  .top-slides-container {
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }
  
  .main-banner-slider {
    width: 591px;
    height: 332px;
  }
  
  .slide-title {
    font-size: 30px;
  }

  .slide-content .content-top img {
    width: 591px;
    height: 332px;
  }
}

@media (max-width: 985px) {

  .top-slides-container {
      overflow: hidden;
      padding-top: 24px;
      padding-bottom: 20px;
  }

  .transition-slider-wrapper {
      position: static;
  }


  .transition-slider {
      display: none;
  }

  .main-banner-container {
      display: block;
      max-width: 628px;
      padding-bottom: 84px;
  }

  .slide-content .content-bottom {
      display: flex;
  }

  .main-banner-slider {
      width: 100%;
      height: auto;
      border: 1px solid var(--Color-Grey-20);
      background: var(--Surface-Surface-30);
      box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  }

  .slide-content .content-top img {
      width: 100%;
      aspect-ratio: 6 / 3;
      height: auto;
  }

  .slide-subtitle {
    font-size: 14px;
  }

  .slide-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 24px;
  }

  .slide-link {
    font-size: 14px;
  }

  .banner-pagination {
      left: 50%;
      transform: translateX(-50%);
      bottom: 36px;
  }

  @media screen and (max-width: 689px) {
    #card-news-modal {
      padding: 0 16px;
    }
    .card-news-modal-content {
      max-width: 420px;
      width: 100%;
    }
    .card-news-modal-swiper {
      width: 100%;
      /* max-width: 420px; */
      height: auto;
    }

    .card-news-modal-link-btn {
      bottom: 70px;
    }
  }
}

@media (min-width: 986px) {
  .transition-slider .slide-title {
    min-height: 93px;
  }

  .transition-slider .slide-subtitle {
    min-height: 24px;
  }
}

@media (min-width: 1281px) {
  .transition-slider .slide-title {
    min-height: 106px;
  }
}