/* style/privacy-policy.css */
.page-privacy-policy {
  color: #ffffff; /* Light text for dark body background #121212 */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Some spacing before footer */
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

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

.page-privacy-policy__hero-section {
  text-align: center;
  padding: 80px 20px 60px;
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent primary color */
  border-bottom: 1px solid rgba(38, 169, 224, 0.3);
}

.page-privacy-policy__main-title {
  font-size: 3em;
  color: #26A9E0; /* Primary brand color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-privacy-policy__intro-text {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-privacy-policy__hero-image {
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.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__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 35px;
  text-align: center;
  font-weight: 600;
}

.page-privacy-policy__subsection-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

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

.page-privacy-policy__text-block p {
  margin-bottom: 15px;
}

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

.page-privacy-policy__list li {
  margin-bottom: 8px;
}

.page-privacy-policy__list li strong {
  color: #26A9E0;
}

.page-privacy-policy__content-image {
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: rgba(38, 169, 224, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__cta-text {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1a7fb0;
  transform: translateY(-2px);
}

/* FAQ styles */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: rgba(38, 169, 224, 0.15);
  color: #ffffff;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.25);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

/* Details element specific styling */
.page-privacy-policy__faq-item details > summary {
  list-style: none; /* Remove default marker */
}

.page-privacy-policy__faq-item details > summary::-webkit-details-marker {
  display: none; /* For Webkit browsers */
}

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

.page-privacy-policy__faq-answer {
  padding: 0 25px;
  color: #f0f0f0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 500px; /* Adjust as needed, ensure it's large enough */
  padding: 15px 25px 25px;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
  max-height: none; /* Let content dictate height for <details> */
  padding: 15px 25px 25px;
}

/* Image responsiveness */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not covered by fixed header */
  }

  .page-privacy-policy__hero-section {
    padding: 60px 15px 40px;
  }

  .page-privacy-policy__main-title {
    font-size: 2.2em;
  }

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

  .page-privacy-policy__section {
    padding: 30px 0;
  }

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

  .page-privacy-policy__subsection-title {
    font-size: 1.5em;
  }

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

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .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: 12px 20px;
  }

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

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

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
    padding: 10px 20px 20px;
  }
}