.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default background for the page content */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background-color: #017439; /* Primary brand color for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-privacy-policy__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(50%); /* Subtle effect, not color changing */
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #017439; /* Primary brand color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-privacy-policy__content-area h3 {
  font-size: 1.5em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__content-area p {
  margin-bottom: 1em;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-bottom: 1.5em;
  padding-left: 20px;
}

.page-privacy-policy__list li {
  margin-bottom: 0.5em;
  font-size: 1em;
}

.page-privacy-policy__list li strong {
  color: #017439;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Login/Register color */
  color: #FFFF00; /* Login/Register font color */
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #a30606;
}

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

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-privacy-policy__faq-container {
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.page-privacy-policy__faq-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  color: #017439;
  padding: 10px 0;
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #017439;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-privacy-policy__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

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

.page-privacy-policy a:hover {
  color: #005f2b;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-privacy-policy__content-area h3 {
    font-size: 1.3em;
  }

  .page-privacy-policy p,
  .page-privacy-policy li {
    font-size: 0.95em;
  }

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

  .page-privacy-policy__image-block,
  .page-privacy-policy__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Button responsive */
  .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-left: 15px;
    padding-right: 15px;
    text-align: center;
  }

  .page-privacy-policy__faq-question {
    padding-right: 10px;
  }

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

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px;
  }
}

/* Color contrast adjustments */
.page-privacy-policy__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-privacy-policy__light-bg {
  background-color: #ffffff;
  color: #333333;
}