/* Sangai Express — Comment Policy page
   Page-scoped implementation of the legal-page styles from the prototype. */

.comment-policy-page {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 8px;
  box-sizing: border-box;
  color: var(--text-primary, #222);
}

.comment-policy-page .comment-policy-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 18px;
  color: var(--text-muted, #888);
  font: 400 13px/1.4 var(--font-ui, Inter, Arial, sans-serif);
}

.comment-policy-page .comment-policy-breadcrumb a {
  color: var(--text-primary, #222);
  text-decoration: none;
}

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

.comment-policy-page .comment-policy-header {
  border-bottom: 2px solid var(--primary, #222);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.comment-policy-page .comment-policy-header h1 {
  margin: 0 0 8px;
  color: var(--text-primary, #222);
  font: 700 36px/1.15 var(--font-serif, Georgia, serif);
}

.comment-policy-page .comment-policy-updated {
  margin: 0;
  color: var(--text-muted, #888);
  font: 400 13px/1.4 var(--font-ui, Inter, Arial, sans-serif);
}

.comment-policy-page .comment-policy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 0 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light, #eee);
}

.comment-policy-page .comment-policy-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--bg-alt, #f4f4f4);
  color: var(--text-secondary, #555);
  font: 500 12px/1 var(--font-ui, Inter, Arial, sans-serif);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.comment-policy-page .comment-policy-tab:hover {
  background: var(--border-light, #e8e8e8);
}

.comment-policy-page .comment-policy-tab.active {
  background: var(--primary, #222);
  color: #fff;
}

.comment-policy-page .comment-policy-body {
  color: var(--text-primary, #222);
  font: 400 16px/1.7 var(--font-body, Georgia, serif);
}

.comment-policy-page .comment-policy-note {
  margin: 24px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold, #d4a017);
  border-radius: 0 4px 4px 0;
  background: var(--gold-tint, #fffdf5);
  color: var(--text-primary, #222);
  font: 400 14px/1.6 var(--font-ui, Inter, Arial, sans-serif);
}

.comment-policy-page .comment-policy-section {
  margin: 0;
}

.comment-policy-page .comment-policy-section h2 {
  margin: 32px 0 12px;
  color: var(--text-primary, #222);
  font: 700 22px/1.3 var(--font-serif, Georgia, serif);
}

.comment-policy-page .comment-policy-section p {
  margin: 0 0 14px;
  color: var(--text-primary, #222);
  font: inherit;
}

.comment-policy-page .comment-policy-section ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-primary, #222);
}

.comment-policy-page .comment-policy-section li {
  margin-bottom: 6px;
  padding-left: 0;
  font: inherit;
}

.comment-policy-page .comment-policy-section li:last-child {
  margin-bottom: 0;
}

.comment-policy-page .comment-policy-section a {
  color: var(--primary, #222);
}

@media (max-width: 720px) {
  .comment-policy-page .comment-policy-header h1 {
    font-size: 28px;
  }

  .comment-policy-page .comment-policy-body {
    font-size: 15px;
  }

  .comment-policy-page .comment-policy-tabs {
    gap: 6px;
  }

  .comment-policy-page .comment-policy-tab {
    padding: 7px 10px;
  }
}
