/* style/gdpr.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-gdpr {
  color: #ffffff; /* Body background is dark, so text must be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #1a1a2e; /* Dark background to match body */
  color: #ffffff;
  text-align: center;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #26A9E0;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-gdpr__content-section {
  padding: 60px 20px;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #26A9E0;
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: #26A9E0;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-gdpr__dark-bg .page-gdpr__sub-title {
  color: #FFFFFF;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-gdpr__text-block--small {
  font-size: 0.9em;
  opacity: 0.8;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

.page-gdpr__image-text-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-gdpr__image-text-grid--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__image-text-grid .page-gdpr__text-block {
  flex: 1;
}

.page-gdpr__image-wrapper {
  flex: 1;
  min-width: 200px; /* Ensure min size */
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__faq-section {
  padding: 60px 20px;
}

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

.page-gdpr__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-item[open] {
  background-color: #f0f0f0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  color: #26A9E0;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
}

.page-gdpr__contact-section {
  text-align: center;
  padding: 60px 20px;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__image-text-grid {
    flex-direction: column;
  }
  .page-gdpr__image-text-grid--reverse {
    flex-direction: column;
  }
  .page-gdpr__hero-image-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

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

  .page-gdpr__btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-section {
    padding: 40px 15px;
  }

  .page-gdpr__container {
    padding: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-gdpr__sub-title {
    font-size: 1.5em;
  }

  .page-gdpr__image-wrapper,
  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__image-text-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__image-text-grid--reverse {
    flex-direction: column;
  }

  .page-gdpr__faq-item {
    margin: 0 15px 15px;
  }

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

  .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }

  .page-gdpr__contact-section {
    padding: 40px 15px;
  }

  .page-gdpr__list {
    margin-left: 20px;
  }

  /* Ensure all containers with images/videos/buttons are constrained */
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__hero-content,
  .page-gdpr__image-text-grid,
  .page-gdpr__faq-list,
  .page-gdpr__contact-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific override for .page-gdpr__container if it's already padding 0 */
  .page-gdpr__container.page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}