/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #121212, so use light text */
  background-color: transparent; /* Rely on body background from shared.css */
}

.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;
  background-color: #1a1a1a; /* Dark background for hero section */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  max-width: 100%;
  text-align: center;
  /* No fixed font-size, rely on clamp if needed, otherwise just weight/line-height */
}

.page-privacy-policy__description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__section {
  padding: 40px 20px;
  margin-bottom: 20px;
  background-color: #1a1a1a; /* Dark background for sections */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  color: #ffffff; /* Light text on dark section background */
}

.page-privacy-policy__heading {
  color: #26A9E0; /* Brand primary color */
  font-size: 2.2em;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: center;
}

.page-privacy-policy__sub-heading {
  color: #FFFFFF;
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

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

.page-privacy-policy__list {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

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

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

.page-privacy-policy__link:hover {
  color: #EA7C07; /* Login color for hover for some contrast */
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-privacy-policy__image--inline {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__faq-item {
  background-color: #222222;
  border: 1px solid #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #FFFFFF; /* Question text in light color */
  background-color: #2a2a2a;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
  background-color: #3a3a3a;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  color: #e0e0e0;
  background-color: #222222;
}

/* Ensure summary marker is hidden for details tag */
details.page-privacy-policy__faq-item > summary {
  list-style: none;
}
details.page-privacy-policy__faq-item > summary::-webkit-details-marker {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

  .page-privacy-policy__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__section,
  .page-privacy-policy__content-area {
    padding: 30px 15px;
    margin-left: 0;
    margin-right: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-privacy-policy__paragraph {
    font-size: 0.95em;
  }

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

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important; /* Remove min-width on mobile */
    min-height: unset !important; /* Remove min-height on mobile */
  }
  
  .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__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-privacy-policy__faq-answer {
    padding: 10px 20px 20px;
  }
}