/**
 * 用户协议 / 隐私协议页共享样式（参照 WH5 UserPolicyPage / PrivacyPolicyPage scoped styles）
 * 两个页面共用同一套排版规则，仅外层 class 不同
 */

/* 页面容器：有顶部导航时占满剩余高度并可滚动 */
.page-user-policy,
.page-privacy-policy {
  padding: 0;
  height: 100%;
  min-height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  background-color: #fff;
  font-size: 14px;
  color: #333;
}

/* 日期栏 */
.policy-date-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  background-color: #fafafa;
  border-bottom: 1px solid #f5f5f5;
}

.policy-date-item {
  font-size: 12px;
  color: #666;
}

/* 正文区域 */
.policy-body {
  padding: 15px;
  padding-bottom: 30px;
}

/* 章节 */
.policy-section {
  margin-bottom: 20px;
}

/* 章节标题 */
.policy-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

/* 子标题 */
.policy-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  margin: 12px 0 8px;
}

/* 段落 */
.policy-p {
  line-height: 24px;
  margin-bottom: 12px;
  color: #555;
  font-size: 14px;
}

/* 强调文本（红色加粗） */
.policy-p.highlight,
.policy-li.highlight {
  color: #f00;
  font-weight: bold;
}

/* 行内强调 */
.policy-hl {
  color: #f00;
}

/* 列表容器 */
.policy-list {
  padding-left: 15px;
  margin-bottom: 12px;
}

/* 列表条目 */
.policy-li {
  line-height: 24px;
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
}

/* 小屏适配 */
@media (max-width: 375px) {
  .policy-body {
    padding: 12px;
  }

  .policy-title {
    font-size: 15px;
  }

  .policy-subtitle {
    font-size: 14px;
  }

  .policy-p,
  .policy-li {
    font-size: 13px;
    line-height: 22px;
  }
}