.page-privacy-policy {
  color: #ffffff; /* Text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body via shared.css */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

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

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a1a2e); /* Brand color gradient */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-privacy-policy__content-area {
  padding: 60px 0;
  background-color: #1a1a2e; /* Match body background */
  color: #ffffff;
}

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

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #26A9E0; /* Brand color for main titles */
  margin-bottom: 25px;
  border-bottom: 2px solid #26A9E0;
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-privacy-policy ul {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-privacy-policy ul li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-privacy-policy a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-privacy-policy__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);
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-privacy-policy__cta-buttons {
  text-align: center;
  margin-top: 40px;
}

.page-privacy-policy__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1a8cc7;
  transform: translateY(-2px);
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  color: #FFFFFF;
  font-size: 1em; /* Adjust font size to fit within question area */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px;
}

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

  .page-privacy-policy__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-privacy-policy__content-area {
    padding: 30px 0;
  }

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

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

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

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

  .page-privacy-policy__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  /* Ensure all content containers are responsive */
  .page-privacy-policy__section,
  .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;
  }

  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

  .page-privacy-policy__faq-question h3 {
    font-size: 0.9em;
  }

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

/* Ensure content images are at least 200x200px */
.page-privacy-policy img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures images fill their space without distortion */
}

/* Contrast fixes for specific elements if needed */
.page-privacy-policy__dark-bg {
  color: #ffffff;
  /* background: #26A9E0; - This is for hero, already handled */
}

.page-privacy-policy__text-block {
  color: #f0f0f0; /* Light text on dark background */
}

.page-privacy-policy__faq-question {
  color: #ffffff;
}

.page-privacy-policy__faq-answer {
  color: #f0f0f0;
}

/* Ensure no filter on images */
.page-privacy-policy img {
  filter: none; /* Explicitly remove any potential filter */
}