.page-privacy-policy {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-privacy-policy__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

.page-privacy-policy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for important titles */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-privacy-policy__hero-button {
  display: inline-block;
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__hero-button:hover {
  background-color: #a00606;
}

.page-privacy-policy__section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Ensure consistency with body background */
  color: #ffffff;
}

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

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: #017439; /* Primary brand color for section titles */
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #017439;
  padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
  font-size: 1.8em;
  color: #FFFF00; /* Custom color for sub-titles */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

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

.page-privacy-policy__link {
  color: #FFFF00; /* Custom color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  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.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #1a1a1a;
  margin-top: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-title {
  font-size: 2em;
  color: #FFFF00;
  margin-bottom: 25px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

/* FAQ Section - using details/summary for accessibility */
.page-privacy-policy__faq-item {
  background-color: #1a1a1a;
  border: 1px solid #333;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: block;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  cursor: pointer;
  position: relative;
  background-color: #2a2a2a;
}

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

.page-privacy-policy__faq-toggle {
  position: absolute;
  right: 20px;
  font-size: 1.5em;
  line-height: 1;
}

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

/* Ensure images within content area are not smaller than 200px */
.page-privacy-policy__content-area img,
.page-privacy-policy__text-block img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 3em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-privacy-policy__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-privacy-policy__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-privacy-policy__section {
    padding: 40px 0;
  }
  .page-privacy-policy__container {
    padding: 0 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }
  .page-privacy-policy__cta-section {
    padding: 30px 15px;
  }
  .page-privacy-policy__cta-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__cta-button {
    padding: 15px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Mobile image responsiveness */
  .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,
  .page-privacy-policy__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Button container mobile adaptation */
  .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; /* Allow multiple buttons to wrap */
    gap: 10px;
  }

  /* If buttons use flex layout, ensure vertical stacking or wrapping */
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
  }
}