.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Assuming shared.css defines --black-color as a dark color */
}

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

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

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

.page-privacy-policy__description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-privacy-policy__content-area {
  background: #ffffff; /* Light background for main content */
  color: #333333; /* Dark text for light background */
  padding: 60px 20px;
}

.page-privacy-policy__article {
  margin-bottom: 40px;
}

.page-privacy-policy__article-heading {
  font-size: 2em;
  color: #26A9E0; /* Brand color for headings */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

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

.page-privacy-policy p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #333333; /* Ensure readability */
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
  color: #333333; /* Ensure readability */
}

.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.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-privacy-policy__contact-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-privacy-policy__contact-link:hover {
  color: #1a7bbd;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

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

.page-privacy-policy__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  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;
  font-weight: bold;
  color: #333333;
  background-color: #eaf6fd; /* Lighter brand color */
  border-bottom: 1px solid #e0e0e0;
  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: #dbeeff;
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px 20px;
  color: #555555;
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
}

/* Responsive adjustments */
@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; /* Ensure mobile header offset */
  }

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

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

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

  .page-privacy-policy__article-heading {
    font-size: 1.6em;
  }

  .page-privacy-policy__sub-heading {
    font-size: 1.3em;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }
  
  .page-privacy-policy__container,
  .page-privacy-policy__article,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
  }

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