/* 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; /* Body background is dark #0a0a0a, so text should be light */
  background-color: transparent; /* Rely on body background */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0a0a0a; /* Match body background for consistency */
  overflow: hidden;
}

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

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 30px; /* Space between image and text */
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive H1 font size */
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Custom color for login/primary action */
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box; /* Button responsiveness */
  white-space: normal; /* Button responsiveness */
  word-wrap: break-word; /* Button responsiveness */
}

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: #0a0a0a; /* Dark background for content area */
  color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__section-intro {
  margin-bottom: 50px;
  text-align: center;
}

.page-privacy-policy__section {
  margin-bottom: 60px;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #26A9E0; /* Brand color for section titles */
  margin-bottom: 25px;
  text-align: left;
  font-weight: bold;
}

.page-privacy-policy__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for body text */
}

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

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

.page-privacy-policy__sub-list {
  list-style-type: circle;
  margin-left: 20px;
  margin-top: 10px;
  color: #f0f0f0;
}

.page-privacy-policy__image-text-block {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.page-privacy-policy__image-text-block--reversed {
  flex-direction: row-reverse;
}

.page-privacy-policy__image-left,
.page-privacy-policy__image-right {
  flex: 0 0 40%; /* Fixed width for image */
  max-width: 40%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Min size for images */
  min-height: 200px; /* Min size for images */
}

.page-privacy-policy__text-content {
  flex: 1;
}

.page-privacy-policy__contact-link {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: #1a7bb0;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 60px;
}

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-privacy-policy__faq-item summary {
  list-style: none; /* Hide default marker for details tag */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0; /* Question text in brand color */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: #26A9E0; /* Ensure question text is visible */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #ffffff; /* Toggle icon in white */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'minus' effect */
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #f0f0f0; /* Answer text color */
}

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

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

  .page-privacy-policy__hero-content {
    margin-top: 20px;
    padding: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-privacy-policy__btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
    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__content-area {
    padding: 20px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.5em;
    text-align: center;
  }

  .page-privacy-policy__image-text-block,
  .page-privacy-policy__image-text-block--reversed {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .page-privacy-policy__image-left,
  .page-privacy-policy__image-right {
    flex: 0 0 100%;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }

  /* Ensure all images and their containers are responsive */
  .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__image-text-block,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

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

/* Specific color contrast rules for dark background */
.page-privacy-policy p,
.page-privacy-policy li {
  color: #f0f0f0; /* Light text for dark body background */
}

.page-privacy-policy__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-privacy-policy__btn-primary {
  background: #EA7C07;
  color: #ffffff;
  border: 2px solid transparent;
}

.page-privacy-policy__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}