/* --- Base Styles --- */
.page-gdpr {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from body */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
}

.page-gdpr__text-block {
  font-size: 17px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__text-block p {
  margin-bottom: 1em;
}

.page-gdpr__text-block ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1em;
}

.page-gdpr__text-block li {
  margin-bottom: 0.5em;
}

.page-gdpr__link {
  color: #1D5FD1; /* Auxiliary color */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #2B73F6;
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
  padding-top: 10px; /* Minimal top padding, rely on body padding for header offset */
  background-color: #08162B;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  padding-top: 40px;
  padding-bottom: 60px;
}

.page-gdpr__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

.page-gdpr__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border */
}

.page-gdpr__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(36, 77, 132, 0.4);
}

/* --- Introduction Section --- */
.page-gdpr__introduction-section {
  background-color: #08162B;
  border-bottom: 1px solid #1B3357; /* Divider */
}

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

/* --- Principles Section --- */
.page-gdpr__principles-section {
  background-color: #08162B;
  border-bottom: 1px solid #1B3357; /* Divider */
}

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

.page-gdpr__card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F3F8FF;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

/* --- Rights Section --- */
.page-gdpr__rights-section {
  background-color: #08162B;
  border-bottom: 1px solid #1B3357; /* Divider */
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
}

.page-gdpr__rights-list li {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #F2C14E; /* Gold */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 18px;
  color: #AFC4E8;
}

.page-gdpr__rights-list li strong {
  color: #F3F8FF;
}

.page-gdpr__cta-center {
  text-align: center;
  margin-top: 30px;
}

/* --- Measures Section --- */
.page-gdpr__measures-section {
  background-color: #08162B;
  border-bottom: 1px solid #1B3357; /* Divider */
}

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

.page-gdpr__feature-card {
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F3F8FF;
}

.page-gdpr__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__feature-icon {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-gdpr__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E;
}

/* --- Contact Section --- */
.page-gdpr__contact-section {
  background-color: #08162B;
  border-bottom: 1px solid #1B3357; /* Divider */
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
}

.page-gdpr__contact-list li {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #1D5FD1;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 18px;
  color: #AFC4E8;
}

/* --- FAQ Section (Details/Summary) --- */
.page-gdpr__faq-section {
  background-color: #08162B;
  padding-bottom: 80px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84;
  overflow: hidden;
  background: #10233F; /* Card BG */
  color: #F3F8FF;
}

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;
  color: #F2C14E; /* Gold */
}

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(26, 60, 118, 0.6); /* Slightly lighter version of Card BG */
}

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: rgba(16, 35, 63, 0.8); /* Slightly transparent Card BG */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 16px;
}

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

/* For screens smaller than 1024px (tablet) */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    max-height: 500px;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: 400px;
  }
  .page-gdpr__main-title {
    font-size: 40px;
  }
  .page-gdpr__description {
    font-size: 18px;
  }
  .page-gdpr__section-title {
    font-size: 32px;
  }
  .page-gdpr__text-block {
    font-size: 16px;
  }
  .page-gdpr__card-title {
    font-size: 22px;
  }
  .page-gdpr__feature-title {
    font-size: 20px;
  }
  .page-gdpr__faq-qtext {
    font-size: 18px;
  }
}

/* For screens smaller than 768px (mobile) */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* HERO 主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px; /* Minimal top padding */
    max-height: unset;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: unset;
  }
  .page-gdpr__hero-image {
    object-fit: contain !important; /* 禁止 cover 裁切两侧 */
    aspect-ratio: unset !important; /* 避免固定比例 */
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__hero-content {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  .page-gdpr__main-title {
    font-size: clamp(28px, 8vw, 36px); /* Use clamp for responsive font size */
    margin-bottom: 15px;
  }
  .page-gdpr__description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-gdpr__cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Section Titles */
  .page-gdpr__section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* Content Area */
  .page-gdpr__text-block {
    font-size: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__content-image {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Grids */
  .page-gdpr__grid, .page-gdpr__grid--2-col {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-gdpr__card,
  .page-gdpr__feature-card {
    padding: 25px;
  }
  .page-gdpr__card-title {
    font-size: 20px;
  }
  .page-gdpr__feature-title {
    font-size: 18px;
  }

  /* Lists */
  .page-gdpr__rights-list,
  .page-gdpr__contact-list {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__rights-list li,
  .page-gdpr__contact-list li {
    font-size: 16px;
    padding: 12px 15px;
  }

  /* FAQ */
  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px;
  }
  .page-gdpr__faq-qtext {
    font-size: 16px;
  }
  .page-gdpr__faq-toggle {
    font-size: 24px;
    width: 28px;
  }
  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }
  .page-gdpr__faq-list {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 通用图片与容器 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Already handled by page-gdpr__container */
    /* padding-right: 15px; */
  }
}

/* For screens smaller than 480px (extra small mobile) */
@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(24px, 10vw, 32px);
  }
  .page-gdpr__section-title {
    font-size: 24px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    font-size: 15px;
    padding: 10px 15px;
  }
  .page-gdpr__faq-qtext {
    font-size: 15px;
  }
  .page-gdpr__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
}