/* 이용약관 페이지 전용 스타일 */
.terms-section {
  padding-top: 60px;
  /* 헤더 높이만큼 여백 */
  padding-bottom: 80px;
  background-color: #fff;
}

.terms-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.terms-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #111;
}

/* 개정 날짜 선택 셀렉트 박스 스타일 */
.terms-version-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.version-label {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.version-select {
  padding: 10px 15px;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.version-select:hover {
  border-color: #ff7f00;
}

.version-select:focus {
  outline: none;
  border-color: #ff7f00;
  box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
}

.terms-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  word-break: keep-all;
}

.terms-article {
  margin-bottom: 30px;
}

.terms-article-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #000;
}

.terms-text {
  margin-bottom: 8px;
  padding-left: 10px;
}

.terms-sub-text {
  padding-left: 20px;
  margin-bottom: 4px;
  color: #555;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .terms-section {
    padding-top: 60px;
  }

  .terms-title {
    font-size: 1.5rem;
  }

  .terms-version-selector {
    flex-direction: column;
    gap: 10px;
  }

  .version-select {
    width: 100%;
    min-width: auto;
  }
}
