/* style/gdpr.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-gdpr {
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--deep-navy); /* Ensure consistency with 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 {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--deep-navy);
  text-align: center;
}

.page-gdpr__hero-image {
  width: 100%;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
  color: var(--text-main);
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  transition: background 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-gdpr__dark-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
  padding: 60px 0;
}

.page-gdpr__light-bg {
  background-color: #f8f9fa; /* A light background for contrast */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from section */
}

.page-gdpr__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: inherit;
  text-align: justify;
}

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

.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1em;
  color: inherit;
}

.page-gdpr__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--gold); /* Use gold color for checkmark */
  font-weight: bold;
}

.page-gdpr__contact-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  text-align: center;
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-main);
}

.page-gdpr__link {
  color: var(--auxiliary-color); /* Use auxiliary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--glow);
  text-decoration: underline;
}

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

.page-gdpr__faq-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1em;
  color: var(--text-main);
  list-style: none;
}

.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;
  color: var(--gold);
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: var(--text-secondary);
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

/* Custom colors from prompt */
:root {
  --primary-color: #113B7A;
  --auxiliary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow: #4FA8FF;
  --gold: #F2C14E;
  --divider: #1B3357;
  --deep-navy: #08162B;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    max-height: 500px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
}

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

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__hero-image {
    max-height: 400px;
    margin-bottom: 20px;
  }

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

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

  .page-gdpr__btn-primary {
    padding: 12px 25px;
    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__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__dark-section, .page-gdpr__light-bg {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 20px;
  }

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

  .page-gdpr__list-item {
    font-size: 0.95em;
  }

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

  /* Ensure all image containers are responsive */
  .page-gdpr__hero-section, .page-gdpr__introduction, .page-gdpr__principles, .page-gdpr__user-rights, .page-gdpr__data-security, .page-gdpr__contact, .page-gdpr__faq {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-gdpr__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }
}