/* style/privacy-policy.css */

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

.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #08160F 0%, #11271B 100%);
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image for better flow */
  background: linear-gradient(0deg, var(--bg-main) 0%, rgba(8, 22, 15, 0.8) 100%);
  border-radius: 10px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3em);
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-privacy-policy__subtitle {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-privacy-policy__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--bg-main);
  color: var(--text-secondary);
}

.page-privacy-policy__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 2px solid var(--divider);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__text-block {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--text-secondary);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-privacy-policy__list-item strong {
  color: var(--text-main);
}

.page-privacy-policy__list-item a,
.page-privacy-policy__text-block a {
  color: var(--glow);
  text-decoration: underline;
}

.page-privacy-policy__list-item a:hover,
.page-privacy-policy__text-block a:hover {
  color: var(--gold);
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-privacy-policy__image--inline {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__text-block--last-updated {
  font-style: italic;
  text-align: right;
  margin-top: 40px;
  color: var(--text-secondary);
}

.page-privacy-policy__cta-section {
  background: var(--deep-green);
  padding: 60px 20px;
  text-align: center;
  color: var(--text-main);
}

.page-privacy-policy__cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__cta-title {
  font-size: 2.5em;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__cta-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--glow);
  border: 2px solid var(--glow);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--glow);
  color: var(--deep-green);
}

/* Ensure all buttons are responsive */
.page-privacy-policy__cta-button,
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary,
.page-privacy-policy a[class*="button"],
.page-privacy-policy a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* General image sizing to prevent overflow */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 3.8vw, 2.8em);
  }

  .page-privacy-policy__subtitle {
    font-size: clamp(0.9em, 1.4vw, 1.1em);
  }

  .page-privacy-policy__section-title {
    font-size: 2em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }

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

  .page-privacy-policy__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    flex-direction: column;
    text-align: center;
  }

  .page-privacy-policy__hero-image-wrapper {
    max-height: 300px;
  }

  .page-privacy-policy__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.6em, 6vw, 2.2em) !important;
  }

  .page-privacy-policy__subtitle {
    font-size: clamp(0.9em, 3.5vw, 1em) !important;
  }

  /* 其他内容模块 */
  .page-privacy-policy__content-area {
    padding: 40px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em !important;
    margin-top: 30px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.3em !important;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item {
    font-size: 0.95em !important;
  }

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

  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy 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-privacy-policy__cta-title {
    font-size: 1.8em !important;
  }

  .page-privacy-policy__cta-description {
    font-size: 0.95em !important;
  }

  /* No specific product display section in Privacy Policy, but including for completeness */
  /* .page-privacy-policy__products-section, .page-privacy-policy__products-grid etc. would go here if present */
}