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

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

.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
  position: relative;
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-privacy-policy__hero-content {
  position: relative; /* Ensure content is above any potential background layering */
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__section:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-privacy-policy__heading {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.page-privacy-policy__sub-heading {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 500;
}

.page-privacy-policy__paragraph {
  font-size: 1.05em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

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

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

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

.page-privacy-policy__link:hover {
  color: #02a04e;
}

.page-privacy-policy__image-wrapper {
  margin: 40px auto;
  max-width: 1000px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-privacy-policy__contact-list {
  list-style-type: none;
  padding: 0;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-privacy-policy__contact-item {
  color: #ffffff;
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 30px;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #ffffff;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  color: #ffffff;
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px 20px;
  color: #f0f0f0;
  font-size: 1em;
  line-height: 1.6;
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__heading {
    font-size: 2em;
  }

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

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

@media (max-width: 768px) {
  /* HERO Section */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-privacy-policy__hero-image-wrapper {
    max-height: 400px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-privacy-policy__lead-paragraph {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* General Image and Container Rules */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__image-wrapper,
  .page-privacy-policy__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-privacy-policy__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Other Content Modules */
  .page-privacy-policy__section {
    padding: 40px 0;
  }

  .page-privacy-policy__heading {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__contact-item,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer {
    font-size: 0.95em;
  }

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

  .page-privacy-policy__faq-toggle {
    font-size: 1.3em;
  }

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