/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #1a1a2e, so text should be light */
  background-color: #1a1a2e; /* Inherited from shared.css, explicitly set for context */
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #017439; /* Brand color */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__hero-content {
  order: 2; /* Text below image */
  max-width: 800px;
  margin-top: 20px;
  padding: 0 20px;
}

.page-gdpr__hero-image {
  order: 1; /* Image above text */
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
}

.page-gdpr__subsection-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-gdpr__info-section,
.page-gdpr__commitment-section,
.page-gdpr__data-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__cookies-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section,
.page-gdpr__cta-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__dark-section {
  background-color: #0d0d1e;
}

.page-gdpr__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.page-gdpr__text-block {
  font-size: 1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__commitment-list,
.page-gdpr__data-list,
.page-gdpr__legal-basis-list,
.page-gdpr__rights-list,
.page-gdpr__security-list,
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 1.05em;
}

.page-gdpr__list-item strong {
  color: #01e675; /* A lighter green for emphasis */
}

.page-gdpr__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
  background-color: #e00b0b;
  color: #ffffff;
}

.page-gdpr__link {
  color: #01e675;
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #01a35d;
}

.page-gdpr__cta-content {
  text-align: center;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question::-webkit-details-marker,
.page-gdpr__faq-question::marker {
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 15px 25px;
  font-size: 0.95em;
  color: #f0f0f0;
}

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

/* General responsive for images and containers */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__section,
.page-gdpr__card,
.page-gdpr__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
    line-height: 1.5;
  }

  /* 1. HERO主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }
  
  .page-gdpr__hero-content {
    margin-top: 15px;
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* 2. 产品展示图区域 - N/A for GDPR page, general image/container rules apply */

  /* 3. 通用图片与容器 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-gdpr__content-image {
    margin: 20px auto !important;
  }

  /* 4. 按钮与按钮容器 */
  .page-gdpr__button,
  .page-gdpr__btn-primary,
  .page-gdpr a[class*="button"],
  .page-gdpr 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 !important;
    padding-right: 15px !important;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  /* 5. 其他内容模块 */
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-gdpr__subsection-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__list-item {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-gdpr__info-section,
  .page-gdpr__commitment-section,
  .page-gdpr__data-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__cookies-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section {
    padding: 40px 0;
  }

  .page-gdpr__content-wrapper {
    flex-direction: column;
  }
}