/* style/privacy-policy.css */
/*
  Body background color: #121212 (dark)
  Recommended text color for main content: #ffffff
*/

.page-privacy-policy {
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Ensure consistency, though body handles main bg */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__hero-section {
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for H1 to make it pop */
}

.page-privacy-policy__intro-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: #121212; /* Dark background from body */
  color: #ffffff;
}

.page-privacy-policy__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: #017439; /* Primary brand color for section titles */
  padding-top: 20px;
}

.page-privacy-policy__text-block {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for text blocks */
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFFF00; /* Yellow for sub-titles */
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #e0e0e0; /* Slightly off-white for paragraphs */
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

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

.page-privacy-policy a {
  color: #017439; /* Primary brand color for links */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #FFFF00; /* Yellow on hover */
  text-decoration: none;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly different dark background */
  color: #ffffff;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Darker card for FAQ */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.03); /* Lighter background for question */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #017439; /* Primary brand color for toggle */
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #e0e0e0;
  /* For JS-based toggle if details/summary is not used or for styling */
  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; /* Sufficient height for content */
  transition: max-height 0.5s ease-in;
}

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

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

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

  .page-privacy-policy__main-title {
    font-size: 2rem;
  }

  .page-privacy-policy__intro-description {
    font-size: 1rem;
  }

  .page-privacy-policy__content-section {
    padding: 40px 0;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-privacy-policy__text-block {
    padding: 20px;
    margin-bottom: 30px;
  }

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

  .page-privacy-policy__faq-section {
    padding: 40px 0;
  }

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

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

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

  /* No videos expected, but including the rule for safety */
  .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;
  }

  /* No specific buttons defined, but including general rules for safety */
  .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-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 {
    display: flex;
    flex-direction: column;
  }
}

/* Ensure no filter on images */
.page-privacy-policy img {
  filter: none !important;
}