/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text for dark background */
  background-color: var(--background-color); /* Deep Green/Dark */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--deep-green); /* Darker green for hero background */
  overflow: hidden;
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtly blend with the dark background */
  display: block;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main); /* Light text */
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--text-main); /* Light text */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: var(--text-main); /* Light text */
}

.page-privacy-policy__section-wrapper {
  background-color: var(--card-bg); /* Dark green for content blocks */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  border: 1px solid var(--border);
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--gold); /* Gold color for main section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: var(--glow); /* Glow color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy__paragraph {
  font-size: 1em;
  color: var(--text-secondary); /* Secondary text color for paragraphs */
  margin-bottom: 15px;
  text-align: justify;
}

.page-privacy-policy__paragraph a {
  color: var(--glow); /* Link color */
  text-decoration: underline;
}

.page-privacy-policy__paragraph a:hover {
  color: var(--gold);
  text-decoration: none;
}

.page-privacy-policy__image-block {
  text-align: center;
  margin: 30px 0;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto; /* Center image */
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: var(--text-main); /* Light text */
  font-weight: 600;
  font-size: 1.1em;
  background-color: var(--divider); /* Slightly lighter dark green for summary */
  border-bottom: 1px solid transparent; /* No border by default */
  transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  background-color: var(--card-bg); /* Darker on open */
  border-bottom-color: var(--border);
}

.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(--glow);
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate + to become X */
  color: var(--gold);
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary); /* Secondary text color */
  font-size: 0.95em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  padding-top: 15px;
}

/* Details element specific styling to hide default marker */
.page-privacy-policy__faq-item summary::-webkit-details-marker,
.page-privacy-policy__faq-item summary::marker {
  display: none;
}

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

@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, small top padding for section */
  }

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

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

  .page-privacy-policy__content-area {
    padding: 20px 15px;
  }

  .page-privacy-policy__section-wrapper,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.2em, 5vw, 1.5em);
    margin-top: 20px;
    margin-bottom: 10px;
  }

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

  /* FAQ specific mobile styles */
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  .page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
    padding-top: 10px;
  }
}