.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
}

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

.page-gdpr__hero-section {
  padding-top: 10px; /* Aligns with common rule for small top padding */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  overflow: hidden;
  background: var(--background-color, #B71C1C);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-gdpr__dark-section {
  background: var(--background-color, #B71C1C);
  color: var(--text-main, #FFF5E1);
}

.page-gdpr__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim the image for text contrast, not changing color */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  background: var(--card-bg, rgba(211, 47, 47, 0.7)); /* Semi-transparent background for text on hero */
  margin-top: -100px; /* Pull content up slightly over the image */
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main, #FFF5E1);
  line-height: 1.2;
}

.page-gdpr__subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-main, #FFF5E1);
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #333333; /* Dark text for light button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-gdpr__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

.page-gdpr__sub-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: inherit;
}

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

.page-gdpr__card {
  background: var(--card-bg, #D32F2F);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--text-main, #FFF5E1);
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold, #F4D34D);
}

.page-gdpr__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main, #FFF5E1);
}

.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.page-gdpr__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-gdpr__image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__text-column {
  color: inherit;
}

.page-gdpr__link {
  color: var(--gold, #F4D34D);
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__link:hover {
  text-decoration: underline;
}

.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--gold, #F4D34D);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--gold, #F4D34D);
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-secondary:hover {
  background: var(--gold, #F4D34D);
  color: var(--deep-red, #7A0E0E);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-gdpr__grid-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-gdpr__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-gdpr__content-grid--reverse {
    grid-template-columns: 1fr;
  }
}

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

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

  .page-gdpr__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
    width: calc(100% - 30px); /* Adjust width for padding */
  }

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

  .page-gdpr__subtitle {
    font-size: 1rem;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-gdpr__container {
    padding: 30px 15px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__card-text {
    font-size: 0.95rem;
  }

  .page-gdpr__sub-title {
    font-size: 1.3rem;
  }

  /* 通用图片与容器 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__image-wrapper,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__grid-container,
  .page-gdpr__content-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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__hero-content .page-gdpr__btn-primary {
    margin-left: auto;
    margin-right: auto;
  }

  .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;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* Other content modules - grid layouts */
  .page-gdpr__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-gdpr__content-grid--reverse {
    grid-template-columns: 1fr;
  }

  .page-gdpr__card {
    padding: 20px;
  }
}