/* =============================================
   개인정보처리방침 / 정책 페이지 스타일
   policy.css
   ============================================= */

/* ── 페이지 래퍼 ── */
.policy-page {
  background: #f7f8fc;
  min-height: 60vh;
  padding-bottom: 80px;
}

/* ── 히어로 배너 ── */
.policy-hero {
  background: linear-gradient(135deg, #1a3a6b 0%, #0d2148 100%);
  padding: 100px 0 50px;
  text-align: center;
  color: #fff;
}

.policy-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.policy-hero p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ── 카드 컨테이너 ── */
.policy-wrap {
  max-width: 900px;
  margin: -30px auto 0;
  padding: 0 20px;
}

.policy-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  padding: 48px 52px;
}

/* ── 정책 본문 내용 (summernote 출력) ── */
.policy-content {
  font-size: 14px;
  line-height: 1.85;
  color: #333;
  word-break: keep-all;
}

.policy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a3a6b;
  border-bottom: 2px solid #1a3a6b;
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.policy-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a6b;
  background: #f0f4fb;
  border-left: 4px solid #1a3a6b;
  padding: 8px 14px;
  margin: 28px 0 10px;
}

.policy-content p {
  margin: 0 0 12px;
}

.policy-content ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}

.policy-content ul li {
  margin-bottom: 4px;
}

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 16px;
  font-size: 13px;
}

.policy-content table th,
.policy-content table td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.policy-content table th {
  background: #1a3a6b;
  color: #fff;
  font-weight: 600;
}

.policy-content a {
  color: #1a3a6b;
  text-decoration: underline;
}

/* ── 뒤로가기 버튼 ── */
.policy-back {
  display: block;
  width: fit-content;
  margin: 32px auto 0;
  padding: 10px 32px;
  background: #1a3a6b;
  color: #fff;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.policy-back:hover {
  background: #0d2148;
  color: #fff;
  text-decoration: none;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
  .policy-hero {
    padding: 100px 16px 40px;
  }

  .policy-wrap {
    margin-top: -20px;
    padding: 0 12px;
  }

  .policy-card {
    padding: 28px 20px;
    border-radius: 8px;
  }

  .policy-content {
    font-size: 13px;
  }

  .policy-content h3 {
    font-size: 0.92rem;
    padding: 7px 12px;
  }
}
