swiper {
  position: relative;
  padding-bottom: 4rem;
  min-height: 300px; /* swiper-slide의 높이보다 작지 않게 */
}


.swiper-slide {
  margin-bottom: 1rem; /* 하단에 여유 */
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  padding: 1.5rem;
  height: 100%;
  margin-bottom: 1rem;
}

.swiper-slide:hover {
  transform: translateY(-5px);
}

.swiper-slide img {
  border-radius: 0.75rem;
  max-height: 180px;
  object-fit: cover;
  width: 100%;
  margin-bottom: 1rem;
}

.swiper-slide h3 {

  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.swiper-slide .lt_date {
  font-size: 0.85rem;
  color: #888;
}

/* 스와이프버튼 */
.swiper-button-next,
.swiper-button-prev {
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
  display: flex;
  background-color: #999; /* 검정 배경 */
  align-items: center;   /* 세로 가운데 정렬 */
  justify-content: center; /* 가로 가운데 정렬 */
  color: #fff !important; /* 흰색 화살표 */
  width: 44px;
  height: 44px;
  border-radius: 50%; /* 원형 */
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* 약간의 그림자 */
  transition: opacity 0.4s ease, visibility 0.4s ease;
  position: absolute;   /* 명시적으로 지정 */
  z-index: 10;
}

/* 위치 조정 */
.swiper-button-next {
  right: 10px;
}

.swiper-button-prev {
  left: 10px;
}

.swiper:hover .swiper-button-next,
.swiper:hover .swiper-button-prev {
  opacity: 1;
visibility: visible;
pointer-events: auto;

  background-color: #000; /* 호버 시 살짝 밝은 회색 */
}

/* 화살표 아이콘 */
.swiper-button-next i,
.swiper-button-prev i {
  font-size: 20px;
  line-height: 1;
  color: #fff;
}

.swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  margin-top: 20px !important;
  text-align: center;
  z-index: 10000 !important;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background-color: #999 !important;
  display: inline-block !important;
  border-radius: 50% !important;
  margin: 0 4px !important;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: tomato !important;
  opacity: 1 !important;
}