/* style/gdpr.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-gdpr {
  color: #FFF1E8; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #140C0C; /* Background color */
}

.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, body handles header offset */
  background-color: #140C0C; /* Ensure consistency */
}

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

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

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  /* No fixed font-size to avoid mobile issues, rely on font-weight and color for hierarchy */
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF1E8;
}

.page-gdpr__section {
  padding: 40px 20px;
  background-color: #140C0C;
  border-bottom: 1px solid #6A1E1E; /* Border color */
}

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

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

.page-gdpr__section-title {
  color: #E53030; /* Auxiliary color */
  font-size: 2em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  color: #FFF1E8;
}

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

.page-gdpr__card {
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
  color: #F3C54D; /* Gold */\  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-gdpr__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-gdpr__list li {
  margin-bottom: 10px;
}

.page-gdpr__list li strong {
  color: #F3C54D; /* Gold */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold border */
}

.page-gdpr__btn-secondary:hover {
  background: #F3C54D; /* Gold */
  color: #2A1212; /* Card BG */
  transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__principles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-gdpr__main-title {
    font-size: 2.2em;
  }

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

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

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image,
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .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-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    overflow: hidden !important;
  }

  .page-gdpr p,
  .page-gdpr li {
    font-size: 16px;
    line-height: 1.6;
  }

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

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }

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