/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

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

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

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #ffffff;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login type buttons */
  color: #FFFFFF; /* Forced to white for WCAG AA contrast, original #FFFF00 fails */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

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

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand primary color for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  text-align: left;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: #017439; /* Brand primary color for sub titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  line-height: 1.7;
  color: #333333;
}

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

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

.page-privacy-policy__list-item strong {
  color: #017439; /* Highlight strong text with brand primary */
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy a {
  color: #017439; /* Links in content use brand primary */
  text-decoration: underline;
}

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

.page-privacy-policy__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439; /* Brand primary for text */
  border: 2px solid #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  font-size: 1em;
  margin-top: 20px;
}

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

/* FAQ Section */
.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;
  box-sizing: border-box;
}

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

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

.page-privacy-policy__faq-title {
  margin: 0;
  color: #017439;
  font-size: 1.1em;
}

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

.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: #333333;
}

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

.page-privacy-policy__faq-answer .page-privacy-policy__paragraph {
  margin-bottom: 0;
  color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-privacy-policy__container {
    padding: 0 15px; /* Add padding for mobile content */
  }
  .page-privacy-policy__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
  }
  .page-privacy-policy__hero-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__hero-description {
    font-size: 0.95em;
  }
  .page-privacy-policy__content-area {
    padding: 40px 0;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-privacy-policy__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-privacy-policy__faq-title {
    font-size: 1em;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 20px;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px 20px;
  }
  /* Buttons responsive */
  .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-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;
    display: flex;
    flex-direction: column;
  }
  /* No video, so no video specific responsive styles needed */
}

/* Ensure no image filters are used */
.page-privacy-policy img {
  filter: none; /* Explicitly prevent any filter effects */
}

/* Contrast fix for specific elements if needed - applying general light background/dark text strategy */
.page-privacy-policy__dark-bg {
  color: #ffffff;
  background-color: #017439;
}
.page-privacy-policy__light-bg {
  color: #333333;
  background-color: #ffffff;
}