:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --background-light: #F4F7FB;
  --text-main: #1F2D3D;
  --text-black: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Assuming body background is light, use dark text */
  background-color: var(--background-light); /* Use custom background color for main content */
  line-height: 1.6;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  padding-top: 10px; /* Small fixed top padding, not var(--header-offset) */
  background-color: var(--primary-color);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  text-align: center;
  min-height: 500px;
}

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

.page-privacy-policy__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default cover, will be contain on mobile */
  max-height: 600px; /* Max height for desktop */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 15px 40px;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-privacy-policy__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Content Area */
.page-privacy-policy__section-padding {
  padding: 40px 0;
}

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

.page-privacy-policy__section-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--text-main);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-privacy-policy__list li {
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--text-main);
}

.page-privacy-policy__list li strong {
  color: var(--text-black);
}

.page-privacy-policy a {
  color: var(--primary-color);
  text-decoration: none;
}

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

/* Images in Content */
.page-privacy-policy__image-figure {
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  background-color: var(--card-bg);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.page-privacy-policy__image-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin: 0 auto;
}

.page-privacy-policy__image-caption {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--button-gradient);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--card-bg);
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-privacy-policy__button-group {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Contact List */
.page-privacy-policy__contact-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-main);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: var(--card-bg); /* Use white background for FAQ */
  border-top: 1px solid var(--border-color);
}

.page-privacy-policy__faq-list {
  margin-top: 30px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: 600;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #f5f5f5;
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Use primary color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: var(--background-light); /* Lighter background for answer */
  border-radius: 0 0 8px 8px;
  color: var(--text-main);
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

/* Copyright Section */
.page-privacy-policy__copyright-section {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

.page-privacy-policy__copyright-text {
  margin: 0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-image img {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-privacy-policy__hero-section {
    padding-top: 10px; /* Ensure small top padding */
    min-height: auto;
  }
  .page-privacy-policy__hero-image {
    max-height: 400px; /* Adjust max height for mobile */
  }
  .page-privacy-policy__hero-image img {
    object-fit: contain !important; /* Force contain for mobile */
    aspect-ratio: unset !important; /* Reset aspect ratio */
    max-height: 400px; /* Ensure image fits */
  }
  .page-privacy-policy__main-title {
    font-size: clamp(24px, 7vw, 36px); /* Adjust clamp for smaller screens */
  }
  .page-privacy-policy__description {
    font-size: 16px;
  }

  /* 通用图片与容器 */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__container,
  .page-privacy-policy__image-figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__image-figure {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0; /* Remove border-radius on full width mobile */
    box-shadow: none; /* Remove shadow on full width mobile */
  }

  /* 按钮与按钮容器 */
  .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-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
  .page-privacy-policy__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-privacy-policy__section-heading {
    font-size: 24px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy p,
  .page-privacy-policy__list li,
  .page-privacy-policy__faq-qtext {
    font-size: 15px;
  }
  .page-privacy-policy__section-padding {
    padding: 30px 0;
  }
  .page-privacy-policy__hero-content {
    padding: 15px 15px 30px;
  }

  /* FAQ */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }
}