/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, body handles main header offset */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7a9e 100%); /* Brand color gradient */
  position: relative;
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

.page-gdpr__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 3.5vw, 2.8em); /* Responsive font size for H1 */
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #000000; /* Ensure section background is dark */
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

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

.page-gdpr__sub-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-gdpr__content-text {
  font-size: 1.05em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.page-gdpr__highlight {
  color: #26A9E0;
  font-weight: 600;
}

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

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.page-gdpr__list li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary,
.page-gdpr a[class*="btn"] {
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-gdpr__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}

.page-gdpr__btn-login {
  background: #EA7C07;
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-login:hover {
  background: #c76706;
}

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

.page-gdpr__cta-group--center .page-gdpr__btn-primary,
.page-gdpr__cta-group--center .page-gdpr__btn-secondary {
  margin: 10px;
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

details.page-gdpr__faq-item summary {
  list-style: none;
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

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

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

.page-gdpr__faq-answer {
  padding: 0 25px 18px;
  color: rgba(255, 255, 255, 0.7);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 500px; /* Adjust as needed */
}

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

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #1e87b7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

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

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

  .page-gdpr__content-text {
    font-size: 1em;
  }

  .page-gdpr__list li {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-gdpr__hero-title {
    font-size: 1.8em !important;
  }

  .page-gdpr__hero-description {
    font-size: 0.95em !important;
  }

  .page-gdpr__hero-cta-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  /* 其他内容模块 */
  .page-gdpr__section {
    padding: 30px 0;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    font-size: 1.2em !important;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__content-text,
  .page-gdpr__list li {
    font-size: 0.95em !important;
    line-height: 1.6;
  }

  /* 通用图片与容器 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* 按钮与按钮容器 */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .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: 5px 0 !important; /* Adjust margins for vertical stacking */
  }

  .page-gdpr__hero-cta-group,
  .page-gdpr__cta-group--center {
    flex-direction: column;
    gap: 10px;
  }

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

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