.page-gdpr {
  color: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure text color contrasts with body background */
}

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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background: linear-gradient(135deg, #017439, #0a0a0a);
  color: #ffffff;
  text-align: center;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-gdpr__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

.page-gdpr__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808;
  border-radius: 2px;
}

.page-gdpr__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  max-width: 100%;
}

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

.page-gdpr__principle-card,
.page-gdpr__security-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

.page-gdpr__principle-title,
.page-gdpr__security-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__rights-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-gdpr__rights-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__contact-item {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr__link-inline {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__link-inline:hover {
  color: #C30808;
}

.page-gdpr__contact-cta,
.page-gdpr__conclusion-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__conclusion .page-gdpr__btn-secondary {
  color: #ffffff;
  border-color: #ffffff;
}

.page-gdpr__conclusion .page-gdpr__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

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

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

  .page-gdpr__container {
    padding: 15px;
  }

  /* HERO 主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }

  .page-gdpr__hero-image-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__main-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .page-gdpr__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  /* 按钮与按钮容器 */
  .page-gdpr__hero-cta-buttons,
  .page-gdpr__contact-cta,
  .page-gdpr__conclusion-cta {
    flex-direction: column !important;
    gap: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  /* 其他内容模块 */
  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-gdpr__text-block {
    font-size: 1rem;
    padding: 0 15px;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-gdpr__principle-card,
  .page-gdpr__security-card,
  .page-gdpr__rights-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-gdpr__principle-title,
  .page-gdpr__security-title {
    font-size: 1.3rem;
  }

  .page-gdpr__rights-title {
    font-size: 1.2rem;
  }

  .page-gdpr__contact-list {
    padding: 0 15px;
  }

  .page-gdpr__contact-item {
    font-size: 1rem;
  }

  /* 通用图片与容器 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 15px;
    box-sizing: border-box !important;
  }

  .page-gdpr__image-content {
    margin: 20px auto;
  }

  .page-gdpr__introduction .page-gdpr__text-block,
  .page-gdpr__rights .page-gdpr__text-block,
  .page-gdpr__security-measures .page-gdpr__text-block,
  .page-gdpr__contact .page-gdpr__text-block,
  .page-gdpr__conclusion .page-gdpr__text-block {
    padding: 0 15px;
  }
}