/* style/gdpr.css */

/* Common styles for page-gdpr */
.page-gdpr {
  background-color: #F5F7FA;
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__top-section {
  padding-top: 10px; /* Rely on body padding for main header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #E53935;
  color: #ffffff;
}

.page-gdpr__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-gdpr__intro-text {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.5;
}

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

.page-gdpr__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-gdpr__content-section {
  padding: 50px 0;
}

.page-gdpr__article-wrap {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.page-gdpr__article {
  flex: 3;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-gdpr__section-heading {
  font-size: clamp(24px, 3vw, 36px);
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-gdpr__article p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  color: #333333;
}

.page-gdpr__article p strong {
  color: #E53935;
}

.page-gdpr__article a {
  color: #FF5A4F;
  text-decoration: underline;
}

.page-gdpr__article a:hover {
  color: #E53935;
}

.page-gdpr__image-figure {
  margin: 25px 0;
  text-align: center;
}

.page-gdpr__image-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.page-gdpr__image-caption {
  font-size: 15px;
  color: #666666;
  margin-top: 10px;
}

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

.page-gdpr__info-card {
  background-color: #F5F7FA;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-gdpr__card-title {
  font-size: 20px;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__info-card p {
  font-size: 16px;
  color: #333333;
}

.page-gdpr__rights-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-gdpr__rights-list li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.6;
  color: #333333;
}

.page-gdpr__rights-list li strong {
  color: #E53935;
}

.page-gdpr__process-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-gdpr__process-list li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.6;
  color: #333333;
}

.page-gdpr__process-list li strong {
  color: #E53935;
}

.page-gdpr__contact-cta {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: #F5F7FA;
  border-radius: 10px;
  border: 1px solid #E0E0E0;
}

.page-gdpr__contact-text {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__promo-box {
  flex: 1;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: sticky;
  top: 10px; /* Adjusted to be slightly below the header */
}

.page-gdpr__promo-title {
  font-size: 24px;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-gdpr__promo-box p {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
  color: #333333;
}

.page-gdpr__promo-box .page-gdpr__btn {
  margin: 10px auto;
  width: 100%;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__article-wrap {
    flex-direction: column;
  }

  .page-gdpr__promo-box {
    position: static;
    margin-top: 30px;
  }

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

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-gdpr__top-section {
    padding-top: 10px !important; /* Enforce small top padding */
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-gdpr__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  /* 2. 单栏长文容器 */
  .page-gdpr__article-wrap {
    padding: 0;
  }

  .page-gdpr__article {
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
  }

  .page-gdpr__section-heading {
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-gdpr__article p,
  .page-gdpr__rights-list li,
  .page-gdpr__process-list li {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__info-card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 18px;
  }

  .page-gdpr__promo-box {
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
    margin-top: 20px;
  }

  .page-gdpr__promo-title {
    font-size: 20px;
  }

  .page-gdpr__promo-box p {
    font-size: 15px;
  }

  .page-gdpr__contact-cta {
    padding: 20px;
  }

  .page-gdpr__contact-text {
    font-size: 16px;
  }

  /* 3. 通用图片与 figure */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__image-figure {
    margin: 20px 0;
  }

  /* 4. 按钮与按钮容器 */
  .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;
    gap: 10px;
  }

  .page-gdpr__btn,
  .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;
  }

  /* 5. 注册教程与 FAQ 区块 (N/A for this page, but structure included for compliance) */
  /* If there were specific FAQ h3 sections, their mobile styles would go here */
  /* For this page, general article p and li styles are sufficient for readability */
}