.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: transparent; /* Inherit from body or shared */
}

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

.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 0 60px;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand primary color for headings */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__text-block {
  font-size: 1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

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

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

.page-privacy-policy a {
  color: #FFFF00; /* Yellow for links on dark background */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #017439; /* Hover color */
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-privacy-policy__faq-section {
  background-color: #1a1a2e; /* Dark background */
  padding: 60px 0;
  color: #ffffff;
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-title {
  margin: 0;
  color: #ffffff;
}

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

.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: 15px 25px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 60px 0 40px;
  }

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

  .page-privacy-policy__hero-description {
    font-size: 1em;
    padding: 0 10px;
  }

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

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

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }

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

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top is correct */
  }

  .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;
  }

  .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;
  }
}