/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Text color for dark body background */
  background-color: #000; /* Ensure consistency with body background */
}

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

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

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

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

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  width: 100%; /* Ensure image fills its container */
  object-fit: cover;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: 20px;
}

.page-privacy-policy__main-title {
  color: #26A9E0;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  /* No fixed large font-size, rely on responsive scaling */
}

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  color: #333333;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__section-title {
  color: #26A9E0;
  font-size: 2.2em;
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

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

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #333333;
}

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

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

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

.page-privacy-policy__link:hover {
  color: #1a7bb5;
}

.page-privacy-policy__cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f8f8;
  border-top: 1px solid #eee;
  margin-top: 40px;
  border-radius: 0 0 8px 8px;
}

.page-privacy-policy__cta-text {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #333333;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

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

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 40px;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 5px 5px 0 0;
  list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom: 1px solid transparent;
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: #333333;
}

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

.page-privacy-policy__faq-answer {
  padding: 15px 20px;
  color: #333333;
  background-color: #ffffff;
  border-radius: 0 0 5px 5px;
}

/* Ensure content area images are at least 200x200 */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow natural width if larger */
  height: auto;
}

/* All content containers for mobile */
.page-privacy-policy__section,
.page-privacy-policy__card,
.page-privacy-policy__container,
.page-privacy-policy__hero-image-wrapper {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding-left: 15px;
  padding-right: 15px;
  overflow: hidden !important;
}

/* Mobile button responsiveness */
.page-privacy-policy__cta-button,
.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;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
  }

  .page-privacy-policy__main-title {
    font-size: 2em; /* Adjust H1 for mobile, but avoid fixed large size */
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
  }

  .page-privacy-policy__content-area {
    padding: 20px 15px;
    margin: 0 10px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__list {
    margin-left: 15px;
  }

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

  .page-privacy-policy__cta-section {
    padding: 30px 15px;
  }

  .page-privacy-policy__cta-text {
    font-size: 1.1em;
  }

  .page-privacy-policy__faq-question {
    padding: 12px 15px;
    font-size: 0.95em;
  }

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

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }

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

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