/* style/privacy-policy.css */

/* --- Base Styles --- */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main for dark background */
  background-color: #08160F; /* Custom Background color */
}

/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
/* 首屏区块（hero-section）仅用小顶距 */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Enforce image above text */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #08160F; /* Ensure consistency */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and text */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-privacy-policy__content-area {
  padding: 40px 20px;
  background-color: #08160F; /* Custom Background color */
}

.page-privacy-policy__container {
  width: 100%; /* Ensure width: 100% is present */
  max-width: 1000px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #F2FFF6; /* Text Main */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #2E7A4E; /* Border color */
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block {
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-privacy-policy__text-block strong {
  color: #F2FFF6; /* Highlight strong text */
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

.page-privacy-policy__text-link {
  color: #57E38D; /* Glow color for links */
  text-decoration: underline;
}

.page-privacy-policy__text-link:hover {
  color: #2AD16F; /* Lighter shade on hover */
}

.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%; /* Ensure width: 100% is present */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
  padding: 40px 20px;
  background-color: #11271B; /* Card BG for FAQ section */
  border-top: 1px solid #1E3A2A; /* Divider color */
}

.page-privacy-policy__faq-item {
  background-color: #0A4B2C; /* Deep Green for FAQ item background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11A84E; /* Primary color for question background */
  border-radius: 8px; /* Apply border-radius here too */
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #22C768; /* Auxiliary color on hover */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05em;
  line-height: 1.7;
  background-color: #0A4B2C; /* Deep Green for answer background */
  border-top: 1px solid #1E3A2A; /* Divider color */
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for mobile */
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 25px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__text-block {
    font-size: 0.95em;
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Image containers responsive */
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__container,
  .page-privacy-policy__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Videos responsive (if any) */
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-privacy-policy__video-section {
    padding-top: 10px !important;
  }
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons responsive */
  .page-privacy-policy__btn-primary,
  .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: 12px 20px !important; /* Adjust padding for mobile */
    font-size: 1em !important;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

  .page-privacy-policy__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-privacy-policy__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9em;
  }
}