/* style/privacy-policy.css */

:root {
  --j188-primary-color: #11A84E;
  --j188-secondary-color: #22C768;
  --j188-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --j188-card-bg: #11271B;
  --j188-background: #08160F;
  --j188-text-main: #F2FFF6;
  --j188-text-secondary: #A7D9B8;
  --j188-border-color: #2E7A4E;
  --j188-glow-color: #57E38D;
  --j188-gold-color: #F2C14E;
  --j188-divider-color: #1E3A2A;
  --j188-deep-green: #0A4B2C;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--j188-text-main); /* Light text on dark body background */
  background-color: var(--j188-background); /* Ensure consistency with body background */
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image slightly for text readability, not color change */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text clarity */
  border-radius: 8px;
}

.page-privacy-policy__main-title {
  color: var(--j188-gold-color);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  /* No fixed font-size, rely on responsive scaling and other properties */
}

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--j188-background);
}

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

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

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

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

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  color: var(--j188-text-main);
}

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

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-privacy-policy__link {
  color: var(--j188-primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--j188-gold-color);
}

.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: var(--j188-card-bg);
  border: 1px solid var(--j188-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-item details > summary {
  list-style: none;
}

.page-privacy-policy__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--j188-deep-green);
  color: var(--j188-text-main);
  font-weight: 600;
  font-size: 1.15em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: var(--j188-primary-color);
}

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

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

.page-privacy-policy__faq-answer {
  padding: 15px 25px;
  color: var(--j188-text-secondary);
  border-top: 1px solid var(--j188-divider-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2.5em; /* Adjust for tablet */
  }

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

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

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

  .page-privacy-policy__main-title {
    font-size: 2em; /* Adjust for mobile */
  }

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

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

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

  .page-privacy-policy__list {
    margin-left: 15px;
  }

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

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

  /* Containers with images */
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-area,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }

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

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

  .page-privacy-policy__faq-toggle {
    font-size: 1.2em;
  }
}