@charset "utf-8";

/* 관공서 스타일 벤토 라벨/소개 (좌측) */
.gov-bento-left {
  background: #fff;
  border: 1px solid #e1e7ec;
  border-radius: 12px;
  padding: 30px 25px;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.gov-bento-left .label {
  display: inline-block;
  padding: 6px 15px;
  background: #f0f4f8;
  color: #005a96;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  width: max-content;
}

.gov-bento-left h3 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.4;
  word-break: keep-all;
}

.gov-bento-left p {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin: 0;
  word-break: keep-all;
  font-weight: 400;
}

/* Swiper 래퍼 구조 */
.gov-notice-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

/* 공지사항 슬라이더 부모 높이 일치 */
.gov-notice-slider {
  width: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.gov-notice-slider .swiper-wrapper {
  align-items: stretch !important;
}

.gov-notice-slider .swiper-slide {
  height: auto;
  display: flex !important;
  flex-direction: column;
}

/* 공지사항 슬라이더 박스 디자인 */
.notice-slide-item {
  width: 100%;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.notice-slide-box {
  width: 100%;
  flex: 1 1 auto;
  background: #fff;
  border: 1px solid #e1e7ec;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.3s ease;
  text-decoration: none !important;
  box-sizing: border-box;
}

.notice-slide-box:hover {
  border-color: #005a96;
  background: #f8fbff;
  box-shadow: 0 10px 20px rgba(0, 90, 150, 0.08);
}

.notice-slide-date-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.notice-slide-date {
  font-size: 13px;
  color: #005a96;
  font-weight: 600;
}

.notice-slide-badge {
  display: inline-block;
  padding: 3px 10px;
  background: #f0f4f8;
  color: #005a96;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.notice-slide-title {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: keep-all;
}

.notice-slide-desc {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  margin-bottom: 0;
  word-break: keep-all;
}

/* 정부/공지사항 슬라이드 좌우 네비게이션 버튼 */
.gov-btn-prev,
.gov-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #005a96;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e1e7ec;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gov-btn-prev {
  left: -22px;
}

.gov-btn-next {
  right: -22px;
}

.gov-btn-prev:hover,
.gov-btn-next:hover {
  background: #005a96;
  color: #fff;
  border-color: #005a96;
}

.gov-notice-wrap .material-symbols-outlined {
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: normal;
}

/* 모바일 대응 */
@media (max-width: 991px) {
  .gov-bento-left {
    padding: 30px 20px;
  }
  .gov-btn-prev {
    left: 0px;
  }
  .gov-btn-next {
    right: 0px;
  }
}

/* PC 환경에서 좌우 컨테이너 높이 고정 (동일하게 맞춤) */
@media (min-width: 992px) {
  .gov-bento-left {
    height: 300px !important;
  }
  .gov-notice-wrap {
    height: 300px !important;
    max-height: 300px !important;
  }
  .gov-notice-slider {
    height: 100% !important;
  }
  .notice-slide-item {
    height: 300px !important;
  }
}