/* style/gdpr.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* Root variables for consistent spacing and colors */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-on-dark: #FFFFFF;
  --text-on-light: #333333;
  --background-light: #FFFFFF;
  --background-dark: #0d0d0d; /* Assuming body background from shared.css */
  --login-color: #EA7C07;
  --black-color: #000000;
  --header-offset: 120px; /* Fallback, actual value from shared.css */
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark); /* Default text color for the page, assuming dark body background */
  background-color: var(--background-dark); /* Ensure consistency, though body is set by shared.css */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: var(--primary-color);
  color: var(--text-on-dark);
  padding: 80px 0; /* Adjusted to remove header offset, assuming shared.css handles body padding */
  overflow: hidden; /* For image positioning */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-on-dark);
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-on-dark);
}

.page-gdpr__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-on-dark);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-primary:hover {
  background-color: #1e87b7; /* Darker shade of primary-color */
  border-color: #1e87b7;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--text-on-dark);
  border: 2px solid var(--text-on-dark);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--text-on-dark);
  color: var(--primary-color);
}

.page-gdpr__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay effect */
}

/* General Section Styling */
.page-gdpr__content-section {
  padding: 60px 0;
  background-color: var(--background-light); /* Default light background for content sections */
  color: var(--text-on-light); /* Default dark text for light background sections */
}

.page-gdpr__dark-section {
  background-color: var(--primary-color); /* Dark section with brand color */
  color: var(--text-on-dark); /* Light text for dark sections */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
  color: inherit; /* Inherit color from parent section */
}

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

.page-gdpr__text-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-gdpr__dark-section .page-gdpr__text-link {
  color: var(--text-on-dark); /* Ensure links are visible on dark background */
}

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

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

/* Image with text block */
.page-gdpr__image-text-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

.page-gdpr__image-text-block .page-gdpr__content-image {
  flex: 1;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
}

.page-gdpr__text-content {
  flex: 2;
}


/* Principles Section */
.page-gdpr__principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-gdpr__principle-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on brand color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-on-dark);
}

.page-gdpr__principle-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: var(--text-on-dark);
}

.page-gdpr__principle-text {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-on-dark);
}

.page-gdpr__principles-image {
  margin-top: 50px;
  border-radius: 10px;
  display: block;
  width: 100%;
  height: auto;
}

/* Rights Section */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-gdpr__right-item {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  color: var(--text-on-light);
}

.page-gdpr__right-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-gdpr__right-text {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-on-light);
}