.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Ensure body background is respected */
}

.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 as body handles header offset */
  text-align: center;
  overflow: hidden;
  color: #ffffff; /* Text color for dark background */
  background: linear-gradient(135deg, #26A9E0, #1a7bb0); /* Gradient background with primary color */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 675px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin-top: 20px;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above any background effects */
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Explicitly white background for content */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Primary color for main titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.page-privacy-policy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #EA7C07; /* Accent color */
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: #333333;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: #333333;
}

.page-privacy-policy__list-item strong {
  color: #26A9E0;
}

.page-privacy-policy__link-in-text {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link-in-text:hover {
  color: #1a7bb0;
}

.page-privacy-policy__image-content {
  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 min size */
  min-height: 200px; /* Enforce min size */
}

/* FAQ Styles */
.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.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;
  font-size: 1.15em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf7fc; /* Lighter primary shade */
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-privacy-policy__faq-question:hover {
  background-color: #d8edf7;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07; /* Login color for toggle */
}

.page-privacy-policy__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s 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;
  padding-bottom: 25px;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom: 1px solid #26A9E0;
}

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

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

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

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

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

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

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

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

  .page-privacy-policy__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body already has offset */
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.6em, 6vw, 2em);
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

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

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

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

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

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

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

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

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

@media (max-width: 480px) {
  .page-privacy-policy__hero-section {
    padding: 20px 10px;
  }

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

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

  .page-privacy-policy__btn-primary {
    padding: 10px 15px;
    font-size: 0.85em;
  }

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

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

  .page-privacy-policy__sub-title {
    font-size: 1.1em;
  }

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

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