/* style/privacy-policy.css */

/* CSS Variables for 12net Green Gold Theme */
:root {
  --primary-color: #11A84E; /* Main color */
  --secondary-color: #22C768; /* Auxiliary color */
  --btn-gradient-start: #2AD16F;
  --btn-gradient-end: #13994A;
  --bg-color: #08160F; /* Background */
  --card-bg: #11271B; /* Card Background */
  --text-main: #F2FFF6; /* Main Text */
  --text-secondary: #A7D9B8; /* Secondary Text */
  --border-color: #2E7A4E; /* Border */
  --glow-color: #57E38D; /* Glow */
  --gold-color: #F2C14E; /* Gold */
  --divider-color: #1E3A2A; /* Divider */
  --deep-green: #0A4B2C; /* Deep Green */
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Ensure text is light on dark background */
  background-color: var(--bg-color); /* Body background from shared.css, but this ensures fallback and consistency */
}

/* Hero Section - Image above text */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 20px 40px; /* Adjusted padding */
  padding-top: 10px; /* Small top padding as body handles header offset */
  box-sizing: border-box;
  background-color: var(--bg-color);
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px; /* Space between image and content */
}

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Subtle glow from --glow-color */
  /* No fixed large font-size, rely on natural scaling and responsive adjustments */
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: var(--bg-color);
}

.page-privacy-policy__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-privacy-policy__text-block {
  background-color: var(--card-bg); /* Darker green card background */
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__section-title {
  color: var(--gold-color); /* Gold for section titles */
  font-size: 2em;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 10px;
  font-weight: bold;
}

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

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--text-main);
}

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

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

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 25px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 20px;
}

.page-privacy-policy__faq-item {
  background-color: var(--deep-green); /* Slightly different background for FAQ items */
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  outline: none;
  list-style: none; /* Hide default marker */
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.1em;
}

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

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  margin-left: 15px;
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold-color);
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary);
  font-size: 0.95em;
}

/* Contact CTA */
.page-privacy-policy__contact-cta {
  text-align: center;
  padding: 40px;
}

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

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
}

.page-privacy-policy__contact-link {
  color: var(--secondary-color); /* Link color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: var(--glow-color); /* Hover effect */
  text-decoration: underline;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
  color: var(--text-main); /* White text on button */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}


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

  .page-privacy-policy__hero-section {
    padding: 40px 15px 30px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-privacy-policy__hero-content {
    padding: 0 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 1.8em; /* Adjusted for mobile */
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
  }

  .page-privacy-policy__content-area {
    padding: 20px 0; /* Remove horizontal padding from content area for full width */
  }

  .page-privacy-policy__text-block {
    padding: 20px 15px; /* Add horizontal padding to text blocks */
    margin: 0 15px 20px; /* Add margin for spacing between blocks */
  }

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

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

  /* Image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsiveness (if any, though not in this specific page) */
  .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; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
  }
  
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Button responsiveness */
  .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;
    margin-bottom: 10px; /* Add some space between stacked buttons */
  }

  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically on mobile */
  }

  .page-privacy-policy__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 20px 15px;
  }

  .page-privacy-policy__contact-cta {
    padding: 30px 15px;
  }
}