/* style/gdpr.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Light text for dark background */
  background-color: var(--background-color, #08160F); /* Ensure dark background */
  font-size: 16px;
}

.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 as per instruction */
  text-align: center;
  background-color: #0A4B2C; /* Deep Green for hero section background */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for hero image */
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__hero-title {
  font-size: clamp(1.8em, 2.5vw + 1em, 2.5em); /* Responsive font size */
  font-weight: 700;
  color: #F2FFF6; /* Light text */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary light text */
  margin-bottom: 30px;
}

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

.page-gdpr__section-title {
  font-size: 2em;
  color: #F2FFF6; /* Light text */
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr__section-subtitle {
  font-size: 1.5em;
  color: #22C768; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  color: #F2FFF6; /* Light text */
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
}

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

.page-gdpr__text-block li {
  margin-bottom: 8px;
}

.page-gdpr__image-container {
  margin: 30px 0;
  text-align: center;
}

.page-gdpr__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Light text for dark button */
  border: none;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Brand color text */
  border: 2px solid #2AD16F; /* Brand color border */
}

.page-gdpr__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Dark background color for hover */
}

.page-gdpr__faq-section {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-gdpr__faq-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  color: #F2FFF6; /* Main text color */
  font-weight: bold;
  font-size: 1.1em;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2AD16F; /* Brand color for toggle */
  margin-left: 10px;
}

.page-gdpr__faq-answer {
  padding: 0 20px 15px;
  color: #A7D9B8; /* Secondary text color */
}

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

/* Responsive styles */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
    line-height: 1.5;
  }
  
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

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

  .page-gdpr__section-subtitle {
    font-size: 1.2em;
  }

  .page-gdpr__btn-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Mobile image and video responsiveness */
  .page-gdpr img,
  .page-gdpr video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-container,
  .page-gdpr__video-container,
  .page-gdpr__section,
  .page-gdpr__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-gdpr__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px !important; /* Small top padding for mobile hero */
  }

  .page-gdpr__faq-item summary {
    font-size: 1em;
  }

  /* Content area image CSS size lower bound */
  .page-gdpr__content-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

/* Desktop width for video container (if present) */
.page-gdpr__video-container {
  width: 100%; /* Ensure desktop width is 100% before max-width */
  max-width: 1200px;
}