.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--site-bg, #ffffff); /* Fallback to white if --site-bg is not set */
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* HERO 主图区域 */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
  padding-bottom: 40px;
  color: #ffffff;
  background-color: #017439;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-privacy-policy__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* 通用内容区域 */
.page-privacy-policy__content-area {
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #017439;
  margin-bottom: 25px;
  text-align: left;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #017439;
  margin-top: 35px;
  margin-bottom: 15px;
  text-align: left;
}

.page-privacy-policy__text-block {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-privacy-policy__list-item {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-privacy-policy__image-block {
  margin: 30px 0;
  text-align: center;
}

.page-privacy-policy__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 按钮样式 */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-privacy-policy__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d;
  border-color: #005a2d;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 0 15px !important;
  }

  /* HERO 主图区域 */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    padding-bottom: 30px !important;
  }

  .page-privacy-policy__hero-image-wrapper {
    max-height: 300px;
  }

  .page-privacy-policy__hero-content {
    padding: 15px !important;
  }

  .page-privacy-policy__main-title {
    font-size: 2.2rem !important;
    margin-bottom: 10px !important;
  }

  .page-privacy-policy__hero-description {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
  }

  /* 通用内容区域 */
  .page-privacy-policy__content-area {
    padding: 40px 15px !important;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 20px !important;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.4rem !important;
    margin-top: 30px !important;
    margin-bottom: 10px !important;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  /* 通用图片与容器 */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__image-block {
    margin: 20px 0 !important;
  }

  /* 按钮与按钮容器 */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important; /* Adjust padding for mobile */
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically on mobile */
    gap: 15px !important;
    margin-top: 30px !important;
  }

  .page-privacy-policy__cta-buttons a {
    margin: 0 !important; /* Remove any horizontal margin */
  }

  /* 其他内容模块（通用容器）*/
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Already handled by .page-privacy-policy__container */
    /* padding-right: 15px; */ /* Already handled by .page-privacy-policy__container */
  }
}

/* 颜色对比度保障 */
.page-privacy-policy__dark-section {
  background: #017439;
  color: #ffffff; /* 深色背景配浅色文字 */
}

.page-privacy-policy__light-bg {
  background: #ffffff;
  color: #333333; /* 浅色背景配深色文字 */
}