/* style/privacy-policy.css */

/* --- Base Styles --- */
.page-privacy-policy {
  color: #ffffff; /* Body background is dark #1a1a2e, so text is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #1a1a2e; /* Match body background for seamless look */
}

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

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

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

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

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

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

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

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: normal;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  max-width: 800px; /* Adjust max-width for content images */
}

.page-privacy-policy__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-privacy-policy__contact-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-privacy-policy__contact-link:hover {
  text-decoration: underline;
}

.page-privacy-policy__contact-cta {
  margin-top: 30px;
  background-color: #EA7C07; /* Consistent login/CTA color */
}

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

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

.page-privacy-policy__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #26A9E0;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or '-' */
}

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

/* --- 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; /* body handles header offset */
  }

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-privacy-policy__hero-image,
  .page-privacy-policy__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size */
    min-height: 200px !important; /* Ensure min size */
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .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;
    text-align: center;
    font-size: 1em !important;
  }

  /* If multiple buttons are in a container */
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust H1 for smaller screens */
  }

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

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

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

/* Ensure no filter on images */
.page-privacy-policy img {
  filter: none !important;
}

/* Content area images must be at least 200x200 */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}