/* style/privacy-policy.css */

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

.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-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability if text is overlaid */
}

.page-privacy-policy__hero-content {
  position: relative; /* Ensure content is above image if needed, but not overlaying */
  z-index: 2;
  max-width: 900px;
  margin-top: 20px; /* Spacing between image and text */
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-privacy-policy__intro-text {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-privacy-policy__section-container {
  padding: 20px;
}

.page-privacy-policy__dark-bg {
  background: #0a0a0a; /* Body background color */
  color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__light-bg {
  background: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 600;
  margin-bottom: 25px;
  color: inherit;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

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

.page-privacy-policy a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #1e87b7;
  text-decoration: underline;
}

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

.page-privacy-policy__security-list,
.page-privacy-policy__cookie-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-privacy-policy__security-list li,
.page-privacy-policy__cookie-list li {
  margin-bottom: 10px;
}

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

.page-privacy-policy__faq-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__faq-item.active {
  background: rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__light-bg .page-privacy-policy__faq-item {
  background: #f8f8f8; /* Light background for light section */
  color: #333333; /* Dark text */
}

.page-privacy-policy__light-bg .page-privacy-policy__faq-item.active {
  background: #e9e9e9;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__light-bg .page-privacy-policy__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
  border-bottom: 1px solid transparent; /* Remove border when open to prevent double border */
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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: 0 25px 18px;
  font-size: 0.95em;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

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

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

  .page-privacy-policy__intro-text {
    font-size: clamp(0.9em, 3vw, 1.1em);
  }

  .page-privacy-policy__btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__section-container {
    padding: 20px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.2em, 4vw, 1.6em);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy p,
  .page-privacy-policy li {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Buttons responsive */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    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__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

@media (max-width: 480px) {
  .page-privacy-policy__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }

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

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

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