/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main from custom palette */
  background-color: #140C0C; /* Background from custom palette */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as per instruction */
  padding-bottom: 50px;
  overflow: hidden;
  background: linear-gradient(180deg, #7E0D0D 0%, #140C0C 100%); /* Deep Red to Background */
  color: #FFF1E8;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height to prevent excessive size */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  opacity: 0.3; /* Slightly dim the image for text readability */
}

.page-privacy-policy__hero-content-area {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: -200px; /* Pull content up over the image, but not *on* it */
  background: rgba(20, 12, 12, 0.7); /* Background color with transparency */
  border-radius: 10px;
  padding-top: 50px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold color for main title */
  line-height: 1.2;
}

.page-privacy-policy__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF1E8;
}

/* General Content Sections */
.page-privacy-policy__content-section {
  padding: 50px 0;
}

.page-privacy-policy__content-section.page-privacy-policy__light-bg {
  background-color: #2A1212; /* Card BG from custom palette */
  color: #FFF1E8;
}

.page-privacy-policy__content-section.page-privacy-policy__dark-bg {
  background-color: #140C0C; /* Background from custom palette */
  color: #FFF1E8;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #F3C54D; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-privacy-policy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #E53030; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__text-block {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #FFF1E8;
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #FFF1E8;
}

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #FFF1E8;
}

.page-privacy-policy a {
  color: #F3C54D; /* Gold for links */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #FFB04A; /* Lighter gold on hover */
}

/* Image with text block */
.page-privacy-policy__image-text-block {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.page-privacy-policy__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-privacy-policy__image-text-block .page-privacy-policy__image-in-content {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  border: 1px solid #6A1E1E; /* Border from custom palette */
}

.page-privacy-policy__image-text-block .page-privacy-policy__text-content {
  flex: 1;
  max-width: 50%;
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 50px 0;
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border from custom palette */
  overflow: hidden;
  background: #2A1212; /* Card BG from custom palette */
}

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: #FFF1E8;
}

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: #3A1A1A; /* Slightly lighter Card BG on hover */
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold for FAQ question text */
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04A; /* Gold 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: #140C0C; /* Background from custom palette */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

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

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-privacy-policy__container {
    padding: 15px;
  }

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

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

  .page-privacy-policy__hero-content-area {
    margin-top: -150px;
  }

  .page-privacy-policy__image-text-block {
    flex-direction: column;
    align-items: center;
  }

  .page-privacy-policy__image-text-block .page-privacy-policy__image-in-content,
  .page-privacy-policy__image-text-block .page-privacy-policy__text-content {
    max-width: 100%;
    width: 100%;
  }
}

/* Mobile specific styles */
@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-privacy-policy__hero-section {
    padding-top: 10px; /* Ensure small top padding */
    padding-bottom: 30px;
  }
  .page-privacy-policy__hero-image-wrapper {
    max-height: 400px; /* Adjust hero image height for mobile */
  }
  .page-privacy-policy__hero-image {
    object-fit: contain !important; /* Mobile: contain, not cover */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__hero-content-area {
    margin-top: -100px; /* Further adjust content position */
    padding: 15px;
    padding-top: 40px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    text-align: center;
  }
  .page-privacy-policy__subtitle {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    text-align: center;
  }

  /* 产品展示图区域 - Not applicable for Privacy Policy, so this block is technically empty but acknowledges the requirement */
  /* No products-grid for privacy-policy, so this block is technically empty but acknowledges the requirement */

  /* 装饰主标题 + 长文 SEO 区 */
  .page-privacy-policy__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
    padding-bottom: 10px;
  }
  .page-privacy-policy__section-title::after {
    width: 60px;
  }
  .page-privacy-policy__sub-title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-privacy-policy__text-block, .page-privacy-policy__list-item {
    font-size: 0.95rem;
  }
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 通用图片与容器 */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__image-in-content {
    min-width: 200px !important; /* Ensure min size as per global rule */
    min-height: 150px !important; /* Ensure min size as per global rule */
  }
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    padding: 30px 0;
  }

  /* 按钮与按钮容器 */
  .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-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
  .page-privacy-policy__hero-content-area .page-privacy-policy__btn-primary {
    margin-top: 20px;
  }
}