.page-privacy-policy {
  background-color: var(--background-color, #B71C1C); /* Fallback to a dark red if not defined */
  color: var(--Text-Main, #FFF5E1); /* Default text color for the page */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-privacy-policy__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 40px;
  background-color: #7A0E0E; /* Deep Red background for hero section */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area */
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--Text-Main, #FFF5E1);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--Text-Main, #FFF5E1);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for text on gold button for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--Background, #B71C1C); /* Main content background */
  color: var(--Text-Main, #FFF5E1);
}

.page-privacy-policy__article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  background-color: var(--Card-BG, #D32F2F); /* Card background for content */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  color: var(--Text-Main, #FFF5E1);
}

.page-privacy-policy__section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--Gold, #F4D34D); /* Gold color for main headings */
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.page-privacy-policy__section-heading:first-of-type {
  margin-top: 0;
}

.page-privacy-policy__sub-heading {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--Glow, #FFCC66); /* Glow color for subheadings */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--Text-Main, #FFF5E1);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: var(--Text-Main, #FFF5E1);
}

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  color: var(--Text-Main, #FFF5E1);
}

.page-privacy-policy__list-item strong {
  color: var(--Gold, #F4D34D);
}

.page-privacy-policy a {
  color: var(--Gold, #F4D34D); /* Gold for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: var(--Glow, #FFCC66);
}

.page-privacy-policy__image-block {
  margin: 30px auto;
  text-align: center;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* FAQ Styles */
.page-privacy-policy__faq-list {
  margin-top: 40px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--Border, #F2B544); /* Gold border for FAQ items */
  overflow: hidden;
  background: var(--Background, #B71C1C);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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 0.3s ease;
  color: var(--Text-Main, #FFF5E1);
}

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: var(--Deep-Red, #7A0E0E); /* Darker red on hover */
  color: var(--Gold, #F4D34D);
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: inherit;
}

.page-privacy-policy__faq-toggle {
  font-size: 28px; /* Larger toggle for better visibility */
  font-weight: bold;
  color: var(--Gold, #F4D34D); /* Gold toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: var(--Card-BG, #D32F2F); /* Card background for answer */
  border-radius: 0 0 8px 8px;
  color: var(--Text-Main, #FFF5E1);
}

.page-privacy-policy__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

  .page-privacy-policy__description {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  }

  .page-privacy-policy__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-privacy-policy__content-section {
    padding: 40px 0;
  }

  .page-privacy-policy__article-body {
    padding: 25px;
  }

  .page-privacy-policy__section-heading {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  }

  .page-privacy-policy__sub-heading {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
  }

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px 18px;
  }

  .page-privacy-policy__faq-qtext {
    font-size: 16px;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 26px;
    width: 28px;
  }

  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 18px 18px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-privacy-policy__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding for header offset */
    padding-bottom: 30px;
  }

  .page-privacy-policy__hero-image {
    object-fit: contain !important; /* Mobile hero image: contain, not cover */
    aspect-ratio: unset !important; /* Allow aspect ratio to adjust */
    filter: brightness(0.6); /* Slightly less dark for mobile */
  }

  .page-privacy-policy__hero-content {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust font size for mobile */
    margin-bottom: 15px;
  }

  .page-privacy-policy__description {
    font-size: clamp(0.9rem, 3.5vw, 1rem); /* Adjust font size for mobile */
    margin-bottom: 25px;
    padding: 0 10px; /* Add some horizontal padding */
  }

  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 16px;
    margin: 0 auto; /* Center button if it takes full width */
  }

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

  .page-privacy-policy__container,
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__article-body {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__content-section {
    padding: 30px 0;
  }

  .page-privacy-policy__article-body {
    padding: 20px;
  }

  .page-privacy-policy__section-heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-heading {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy p {
    font-size: 15px;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__image-block {
    margin: 20px auto;
  }

  /* FAQ Styles Mobile */
  details.page-privacy-policy__faq-item {
    margin-bottom: 10px;
  }

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 12px 15px;
    flex-wrap: wrap;
  }

  .page-privacy-policy__faq-qtext {
    font-size: 15px;
    width: calc(100% - 45px); /* Adjust width to make space for toggle */
  }

  .page-privacy-policy__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }
}