*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  background-color: #f5f5f5;
  color: #222;
  line-height: 1.6;
}

.breadcrumb {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 12px;
  color: #999;
  display: flex;             
  justify-content: space-between; 
  align-items: center; 
}

.breadcrumb a {
  color: #999;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.policy-wrapper {
  max-width: 1040px;
  margin: 16px auto 40px;
  padding: 0 24px 40px;
}

.policy-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 32px 32px 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.policy-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.policy-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}

.policy-subtitle {
  font-size: 14px;
  color: #888;
  margin: 0 0 4px;
}

.policy-meta {
  font-size: 12px;
  color: #aaa;
}

.policy-content {
  font-size: 14px;
  color: #333;
}

.policy-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
}

.policy-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 8px;
}

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

.policy-content ul,
.policy-content ol {
  margin: 4px 0 16px 20px;
  padding-left: 0;
}

.policy-content li {
  margin: 2px 0;
}

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

.policy-content th,
.policy-content td {
  border: 1px solid #e0e0e0;
  padding: 8px 10px;
  text-align: left;
}

.policy-content th {
  background-color: #fafafa;
  font-weight: 600;
}

.policy-note {
  background-color: #fffedd;
  border: 1px solid #fffedd;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  color: #555;
  margin: 16px 0;
}

@media (max-width: 768px) {

  .policy-wrapper {
    padding: 0 16px 32px;
  }

  .policy-card {
    padding: 24px 18px 32px;
  }

  .policy-title {
    font-size: 20px;
  }

}

body.dark-mode {
  background-color: #121212;
  color: #ddd;
}

body.dark-mode .breadcrumb {
  color: #888;
}

body.dark-mode .breadcrumb a {
  color: #aaa;
}

body.dark-mode .policy-card {
  background-color: #1d1d1d;
  border-color: #333;
  box-shadow: none;
}

body.dark-mode .policy-header {
  border-bottom-color: #444;
}

body.dark-mode .policy-title {
  color: #fff;
}

body.dark-mode .policy-subtitle {
  color: #bbb;
}

body.dark-mode .policy-meta {
  color: #999;
}

body.dark-mode .policy-content {
  color: #ddd;
}

body.dark-mode .policy-content th {
  background-color: #2a2a2a;
  color: #eee;
  border-color: #444;
}

body.dark-mode .policy-content td {
  background-color: #1f1f1f;
  color: #ddd;
  border-color: #333;
}

body.dark-mode .policy-note {
  background-color: #e2aa5b;
  border-color: #e2aa5b;
  color: #ddd;
}
