.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F3F8FF); /* Default text color for the page, assuming dark body background */
  background-color: var(--deep-navy, #08162B); /* Ensure consistency with shared body background */
}

/* Container for general content centering and max-width */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__container--narrow {
  max-width: 900px;
}

/* Sections */
.page-gdpr__section {
  padding: 60px 0;
  background-color: var(--deep-navy, #08162B); /* Consistent dark background */
}

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main, #F3F8FF);
  line-height: 1.2;
}

.page-gdpr__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main, #F3F8FF);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  font-size: 17px;
  color: var(--text-secondary, #AFC4E8);
  margin-bottom: 20px;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--deep-navy, #08162B);
  overflow: hidden;
}

.page-gdpr__hero-section .page-gdpr__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-gdpr__hero-content {
  max-width: 800px;
  z-index: 1;
  text-align: center;
}

.page-gdpr__main-title {
  font-size: clamp(32px, 4.5vw, 48px); /* H1 font size with clamp */
  font-weight: 800;
  color: var(--text-main, #F3F8FF);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-gdpr__description {
  font-size: 19px;
  color: var(--text-secondary, #AFC4E8);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-gdpr__cta-buttons--center {
  margin-top: 40px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--text-main, #F3F8FF);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--gold, #F2C14E);
  border: 2px solid var(--gold, #F2C14E);
}

.page-gdpr__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: var(--text-main, #F3F8FF);
  transform: translateY(-2px);
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1200px; /* Display width */
  height: auto;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.page-gdpr__hero-image img {
  width: 100%;
  height: 675px; /* Display height for 16:9 aspect ratio if width is 1200 */
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Grid for principles and data processing */
.page-gdpr__grid {
  display: grid;
  gap: 30px;
}

.page-gdpr__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-gdpr__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-gdpr__card {
  background-color: var(--card-bg, #10233F);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid var(--border, #244D84);
  color: var(--text-main, #F3F8FF); /* Card text color */
}

.page-gdpr__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main, #F3F8FF);
}

.page-gdpr__card-text {
  font-size: 16px;
  color: var(--text-secondary, #AFC4E8);
}

/* Lists */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-gdpr__list li {
  font-size: 17px;
  color: var(--text-secondary, #AFC4E8);
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.page-gdpr__list li:last-child {
  margin-bottom: 0;
}

.page-gdpr__list li::before {
  content: '✓';
  color: var(--gold, #F2C14E);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-gdpr__list--security li::before {
  content: '🛡️'; /* Shield icon for security list */
  font-size: 18px;
  line-height: 1;
}

/* Images within content */
.page-gdpr__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* FAQ Section */
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border, #244D84);
  overflow: hidden;
  background: var(--card-bg, #10233F);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main, #F3F8FF);
}
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: rgba(36, 77, 132, 0.5); /* Lighter shade of border color for hover */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F3F8FF);
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 25px;
  background: rgba(16, 35, 63, 0.8); /* Slightly lighter than card-bg */
  border-radius: 0 0 12px 12px;
  color: var(--text-secondary, #AFC4E8);
  font-size: 16px;
}
.page-gdpr__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--text-secondary, #AFC4E8);
}


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

/* For smaller desktops/tablets, if needed, but primarily 768px for mobile */
@media (max-width: 1024px) {
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__section-title {
    font-size: 32px;
  }
  .page-gdpr__main-title {
    font-size: clamp(28px, 5vw, 42px);
  }
  .page-gdpr__description {
    font-size: 18px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 25px;
    font-size: 17px;
    min-width: 160px;
  }
  .page-gdpr__grid--2-cols {
    grid-template-columns: 1fr; /* Stack on smaller screens */
  }
  .page-gdpr__hero-image img {
    height: auto; /* Allow auto height */
    object-fit: contain !important; /* Ensure image is not cropped for smaller screens */
    aspect-ratio: 16/9; /* Maintain aspect ratio */
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 22px;
  }
  .page-gdpr__text-block {
    font-size: 16px;
  }
  .page-gdpr__container,
  .page-gdpr__container--narrow,
  .page-gdpr__section,
  .page-gdpr__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* HERO 主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px; /* Specific small top padding for mobile */
    padding-bottom: 40px;
  }
  .page-gdpr__hero-section .page-gdpr__container {
    gap: 20px;
  }
  .page-gdpr__main-title {
    font-size: clamp(24px, 7vw, 36px); /* More constrained H1 for mobile */
    margin-bottom: 15px;
  }
  .page-gdpr__description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    width: 100%;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-gdpr__hero-image {
    margin-top: 20px;
  }
  .page-gdpr__hero-image img {
    height: auto !important; /* Allow auto height for mobile */
    object-fit: contain !important; /* Ensure image is not cropped for mobile */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio for mobile */
  }

  /* 通用图片与容器 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__image-content {
    margin-left: auto;
    margin-right: auto;
  }

  /* Grid for principles */
  .page-gdpr__grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }
  .page-gdpr__card-title {
    font-size: 20px;
  }
  .page-gdpr__card-text {
    font-size: 15px;
  }

  /* Lists */
  .page-gdpr__list li {
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 20px;
  }
  .page-gdpr__list li::before {
    font-size: 16px;
  }

  /* FAQ */
  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px 18px;
  }
  .page-gdpr__faq-qtext {
    font-size: 16px;
  }
  .page-gdpr__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 18px 18px;
    font-size: 15px;
  }
}