/* style/gdpr.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */

/* Base styles for the page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

/* Section spacing */
.page-gdpr__section-spacing {
  padding: 60px 0;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom for content */
  background-color: #08160F; /* Ensure background color */
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1920px; /* Match hero image request size */
  height: auto;
  display: block;
  margin-bottom: 30px;
  object-fit: cover;
  border-radius: 8px;
}

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

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* CTA Button */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Ensure padding is included in width */
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main for buttons */
  border: none;
}

.page-gdpr__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4); /* Glow effect */
}

/* Content Area */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F; /* Background */
}

.page-gdpr__container {
  max-width: 100%;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  text-align: center;
}

.page-gdpr__section-title--light {
  color: #F2FFF6; /* Ensure light color on dark sections */
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #57E38D; /* Glow color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block p {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-gdpr__text-block img {
  width: 100%;
  height: auto;
  max-width: 600px; /* Example max-width for content images */
  margin: 20px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}

.page-gdpr__text-block::after {
  content: "";
  display: table;
  clear: both;
}

/* Dark section for contrast */
.page-gdpr__dark-section {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

/* Grid for principles */
.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(87, 227, 141, 0.3); /* Glow on hover */
}

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #57E38D; /* Glow color for card titles */
  margin-bottom: 15px;
}

.page-gdpr__card p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

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

.page-gdpr__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green when open */
  border-color: #57E38D; /* Glow border when open */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* Remove default marker for details summary */
  -webkit-touch-callout: none; /* Disable callout on long press on iOS */
  -webkit-user-select: none;   /* Disable text selection on iOS */
  -khtml-user-select: none;    /* Disable text selection on Konqueror */
  -moz-user-select: none;      /* Disable text selection on Firefox */
  -ms-user-select: none;       /* Disable text selection on IE/Edge */
  user-select: none;           /* Standard property */
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
  color: #F2FFF6;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #57E38D; /* Glow color */
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to cross */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

/* CTA Section at bottom */
.page-gdpr__cta-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 20px;
  text-align: center;
}

.page-gdpr__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
}

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

.page-gdpr__cta-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #F2C14E; /* Gold for emphasis */
  margin-bottom: 20px;
}

.page-gdpr__cta-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-gdpr__cta-container {
    flex-direction: row;
    text-align: left;
  }
  .page-gdpr__cta-content {
    text-align: left;
    flex: 1;
  }
  .page-gdpr__cta-image {
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  /* All images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure images take full width of container */
    height: auto !important;
    display: block !important;
  }
  
  /* All containers containing images, videos, buttons responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__cta-container,
  .page-gdpr__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-gdpr__content-area,
  .page-gdpr__dark-section,
  .page-gdpr__cta-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

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

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

  .page-gdpr__cta-section {
    padding: 60px 15px;
  }

  .page-gdpr__cta-title {
    font-size: 1.8em;
  }

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

  /* Buttons responsive */
  .page-gdpr__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__image--left,
  .page-gdpr__image--right {
    float: none;
    margin: 20px auto;
  }
}