:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --section-bg-light: #F5F7FA;
  --border-color: #E0E0E0;
}

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color for light backgrounds */
  background-color: var(--section-bg-light); /* Default light background for the page content */
}

/* Ensure body padding-top is handled by shared.css, this page only adds a small top margin */
.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff; /* Light text for dark gradient background */
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px; /* Padding below content */
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop */
  opacity: 0.2; /* Subtle overlay */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3em); /* Using clamp for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__section--light-bg {
  background-color: var(--section-bg-light);
  color: var(--text-main-color);
}

.page-gdpr__section--dark-bg {
  background-color: var(--primary-color);
  color: #ffffff; /* Light text for dark background */
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}
.page-gdpr__section--dark-bg .page-gdpr__section-title {
  color: #ffffff;
}
.page-gdpr__section--light-bg .page-gdpr__section-title {
  color: var(--primary-color);
}

.page-gdpr__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-gdpr__article-body p {
  margin-bottom: 1em;
}

.page-gdpr__article-body h3 {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.8em;
  line-height: 1.4;
}
.page-gdpr__section--dark-bg .page-gdpr__article-body h3 {
  color: var(--secondary-color); /* Highlight sub-titles */
}
.page-gdpr__section--light-bg .page-gdpr__article-body h3 {
  color: var(--primary-color);
}

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

.page-gdpr__last-updated {
  font-style: italic;
  text-align: right;
  margin-top: 30px;
  font-size: 0.9em;
  color: #999;
}
.page-gdpr__section--dark-bg .page-gdpr__last-updated {
  color: #ccc;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__contact-link {
  color: var(--secondary-color);
  text-decoration: underline;
}
.page-gdpr__section--dark-bg .page-gdpr__contact-link {
  color: #ffffff;
}

.page-gdpr__contact-link:hover {
  text-decoration: none;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: var(--card-bg-color); /* FAQ section has white background */
  padding: 60px 0;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
details.page-gdpr__faq-item summary.page-gdpr__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;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #f5f5f5;
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Use primary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #555;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer p {
  margin-bottom: 0;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__article-body {
    font-size: 1em;
  }
  .page-gdpr__article-body h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    padding-bottom: 30px;
  }
  .page-gdpr__hero-image {
    object-fit: contain !important; /* Force contain for mobile */
    aspect-ratio: unset !important; /* Remove aspect ratio if set */
    max-height: 250px; /* Limit height for mobile hero image */
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__hero-content {
    padding: 20px 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-gdpr__intro-text {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
  .page-gdpr__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 通用图片与容器 */
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__article-body {
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__article-body h3 {
    font-size: 1.2em;
    margin-top: 1.5em;
  }
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* FAQ Section */
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 1em; }
  .page-gdpr__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
    margin-left: 10px;
  }
  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }

  /* 按钮容器移动端适配 */
  .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;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Ensure buttons wrap if in a flex container */
    gap: 10px; /* Spacing between buttons if they wrap */
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}