/* 공지사항 페이지 스타일 */

/* 페이지 헤더 스타일 */
.page-header {
  display: flex;
  align-items: center;
  padding: 20px 0 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.page-header .back-link {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.page-header .back-link i {
  margin-right: 10px;
  font-size: 18px;
}

/* 공지사항 목록 컨테이너 */
.notice-list-items {
  margin-top: 20px;
}

.notice-list-con {
  margin: 0 auto;
  padding: 32px 0px;
}

/* 공지사항 아이템 스타일 */
.notice-item {
  display: flex;
  justify-content: space-between;
  padding: 20px 15px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

.notice-item:hover {
  background-color: #f8f8f8;
}

.notice-item a {
  display: flex;
  width: 100%;
  justify-content: space-between;
  text-decoration: none;
  color: #333;
}

/* 공지사항 제목 스타일 */
.notice-title {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}

.notice-title i {
  color: #6947cf;
  margin-right: 12px;
  font-size: 16px;
}

/* 공지사항 날짜 스타일 */
.notice-date {
  color: #999;
  font-size: 14px;
  white-space: nowrap;
  margin-left: 15px;
}

/* 공지사항 상세 페이지 스타일 */
.notice-detail-content {
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  line-height: 1.6;
}

.notice-info {
  margin-bottom: 25px;
}

/* 공지사항 내용 스타일 개선 */
.terms-section {
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 15px 30px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 15px;
  color: #4d3dbf;
  border-left: 4px solid #4d3dbf;
  padding-left: 12px;
}

.terms-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 25px 0 12px;
  color: #333;
  position: relative;
  padding-left: 18px;
}

.terms-section h4::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #4d3dbf;
  font-size: 14px;
}

.terms-section p {
  margin-bottom: 16px;
  font-size: 16px;
  word-break: keep-all;
  line-height: 1.7;
}

.terms-section strong {
  font-weight: 600;
  color: #333;
}

.terms-list {
  margin: 15px 0 25px;
  padding-left: 25px;
}

.terms-list li {
  margin-bottom: 10px;
  position: relative;
  line-height: 1.6;
  font-size: 15px;
}

/* 번호가 있는 리스트 */
.numbered-list {
  counter-reset: item;
  list-style-type: none;
  margin: 15px 0 25px;
  padding-left: 25px;
}

.numbered-list li {
  counter-increment: item;
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px;
  line-height: 1.6;
  font-size: 15px;
}

.numbered-list li::before {
  content: counter(item) '.';
  position: absolute;
  left: 0;
  font-weight: 600;
  color: #4d3dbf;
}

/* 공지사항 이미지 컨테이너 스타일 */
.notice-image-container {
  width: 100%;
  margin: 20px 0;
  text-align: center;
}

.notice-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 다운로드 버튼 컨테이너 스타일 */
.download-btn-container {
  margin: 30px 0;
  text-align: center;
  display: flex;
  justify-content: center;
}

/* 다운로드 버튼 스타일 */
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(103deg, #f6c 12.08%, #4d3dbf 83.91%), #fff;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  width: 280px;
  height: 45px;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.download-button i {
  margin-right: 8px;
}

.download-button .fa-arrow-down {
  margin-left: 5px;
  font-size: 14px;
}

/* 페이지 타이틀 스타일 개선 */
.page-title {
  position: relative;
  font-size: 24px;
  font-weight: 700;
  padding: 0 0 15px 25px;
  margin: 20px 0 30px;
  color: #333;
  border-bottom: 2px solid #eee;
}

.page-title .back-btn {
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 18px;
  color: #666;
}

/* 강조 텍스트 스타일 */
.highlight-text {
  background-color: #f1eeff;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 15px 0;
  border-left: 3px solid #4d3dbf;
}

/* 반응형 스타일 */
@media (min-width: 768px) {
  .notice-list-con {
    margin: 0 auto;
  }

  .notice-title {
    font-size: 17px;
  }

  .page-header .back-link {
    font-size: 22px;
  }

  .page-header .back-link i {
    font-size: 20px;
  }

  /* 공지사항 상세 컨테이너 스타일 - 태블릿 이상 */
  .notice-detail-content {
    max-width: 90%;
    padding: 0 20px;
  }

  .notice-image-container {
    margin: 30px 0;
  }

  .notice-image-container img {
    max-width: 100%;
  }

  .download-button {
    width: 320px;
    height: 50px;
    font-size: 17px;
    padding: 14px 28px;
  }

  .page-title {
    font-size: 28px;
    padding-left: 30px;
  }

  .page-title .back-btn {
    font-size: 20px;
  }

  .section-title {
    font-size: 22px;
  }

  .terms-section h4 {
    font-size: 19px;
  }
}

@media (min-width: 992px) {
  /* 공지사항 상세 컨테이너 스타일 - PC */
  .notice-detail-content {
    max-width: 100%;
  }

  .notice-image-container img {
    max-width: 80%;
  }

  .terms-section {
    padding: 10px 25px 40px;
  }
}

@media (max-width: 480px) {
  .notice-item {
    padding: 15px 10px;
  }

  .notice-title {
    font-size: 15px;
  }

  .notice-title i {
    margin-right: 8px;
    font-size: 14px;
  }

  .notice-date {
    font-size: 13px;
  }

  .page-header {
    padding: 15px 0 12px;
    margin-bottom: 15px;
  }

  /* 공지사항 상세 컨테이너 스타일 - 모바일 */
  .notice-detail-content {
    padding: 0 5px;
  }

  .notice-image-container {
    margin: 15px 0;
  }

  .notice-image-container img {
    max-width: 100%;
  }

  .download-btn-container {
    margin: 20px 0;
  }

  .download-button {
    width: 240px;
    height: 40px;
    font-size: 14px;
    padding: 10px 20px;
  }

  .page-title {
    font-size: 20px;
    padding-left: 25px;
    margin: 15px 0 20px;
  }

  .section-title {
    font-size: 18px;
    margin: 25px 0 12px;
  }

  .terms-section h4 {
    font-size: 16px;
    margin: 20px 0 10px;
  }

  .terms-section p,
  .terms-list li {
    font-size: 14px;
  }
}
