.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Align content to top */
  text-align: center;
  background-color: #017439;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px; /* Limit image height */
  object-fit: cover;
  display: block;
}

.page-gdpr__hero-content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.page-gdpr__hero-text-container {
  padding: 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.4); /* Slightly transparent background for readability */
  border-radius: 8px;
  margin-top: -100px; /* Overlap slightly with image for better visual flow, but not on top of image */
  position: relative;
  z-index: 2;
}

.page-gdpr__main-title {
  font-weight: bold;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto 15px auto;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__dark-section .page-gdpr__text-block {
  color: #f0f0f0;
}

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

.page-gdpr__dark-section {
  background-color: #121212; /* Body background color */
  color: #ffffff;
  padding: 60px 0;
}

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

.page-gdpr__card {
  background: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-gdpr__dark-bg-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-gdpr__dark-bg-card .page-gdpr__card-title {
  color: #ffffff;
}

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.7;
}

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

.page-gdpr__commitment-item {
  text-align: center;
}

.page-gdpr__commitment-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__cookie-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-gdpr__cookie-image {
  flex: 1 1 400px;
  max-width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.page-gdpr__cookie-text {
  flex: 1 1 400px;
  max-width: 50%;
}

.page-gdpr__cookie-text .page-gdpr__card-title {
  color: #017439;
  text-align: left;
}

.page-gdpr__text-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

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

.page-gdpr__faq-item {
  background: #f9f9f9;
  color: #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #017439;
  background-color: #e6f7ed;
  border-bottom: 1px solid #d9d9d9;
  list-style: none;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid #d9d9d9;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.7;
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  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: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom color for register/login font */
  border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-gdpr__contact-info-section {
  text-align: center;
  padding: 60px 20px;
}

/* General image responsiveness */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-gdpr__hero-text-container {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    min-height: auto;
  }

  .page-gdpr__hero-image {
    max-height: 300px;
  }

  .page-gdpr__hero-text-container {
    margin-top: -30px;
    padding: 15px;
  }

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

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

  .page-gdpr__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 其他内容模块 */
  .page-gdpr__light-bg, .page-gdpr__dark-section {
    padding: 40px 0;
  }

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

  .page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

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

  .page-gdpr__cookie-info {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__cookie-image,
  .page-gdpr__cookie-text {
    max-width: 100%;
    flex: 1 1 100%;
  }

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

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 通用图片与容器 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}