/* gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Default background */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  margin-bottom: 40px;
  background-color: #F5F7FA;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-gdpr__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

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

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

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  margin-bottom: 0;
}

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

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

.page-gdpr__sub-title {
  font-size: 1.5em;
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  line-height: 1.8;
}

.page-gdpr__text-block p {
  margin-bottom: 20px;
}

.page-gdpr__text-block ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

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

.page-gdpr__text-block strong {
  color: #E53935;
}

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

.page-gdpr__link:hover {
  color: #FF5A4F;
}

/* Background and text color for sections */
.page-gdpr__light-bg {
  background-color: #F5F7FA;
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #E53935;
  color: #ffffff;
}

.page-gdpr__text-block--white-text p,
.page-gdpr__text-block--white-text ul,
.page-gdpr__text-block--white-text li {
  color: #ffffff;
}

.page-gdpr__text-block--white-text .page-gdpr__sub-title {
  color: #FF5A4F;
}

.page-gdpr__text-block--white-text strong {
  color: #FF5A4F;
}

.page-gdpr__text-block--white-text .page-gdpr__link {
  color: #ffffff;
}

.page-gdpr__text-block--white-text .page-gdpr__link:hover {
  color: #FF5A4F;
}

/* Image styling */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__image-full-width {
  width: 100%;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-gdpr__image-centered {
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
  }

  /* HERO 主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    margin-bottom: 30px;
  }

  .page-gdpr__hero-content {
    padding: 30px 15px;
  }

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

  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
  }

  .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 !important;
    padding-right: 15px !important;
  }

  .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 !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 长文区 */
  .page-gdpr__content-section {
    padding: 40px 0;
  }

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

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

  .page-gdpr__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__text-block {
    font-size: 1em;
  }

  .page-gdpr__text-block ul {
    margin-left: 20px;
  }

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

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

  /* Blog Section - Not applicable for GDPR page, but included for completeness as per requirement */
  /* If blog section were present, rules like below would apply: */
  /* .page-gdpr__blog-slider-track { display: flex; flex-wrap: wrap; } */
  /* .page-gdpr__blog-slide { flex: 0 0 100%; max-width: 100%; } */
}