/* style/privacy-policy.css */

/* General page styling based on dark body background from shared.css */
.page-privacy-policy {
  color: #ffffff; /* Light text for dark body background #0a0a0a */
  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;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: rgba(38, 169, 224, 0.1); /* Subtle brand color tint */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

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

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login/promo color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content area */
  border-radius: 8px;
  margin-bottom: 40px;
}

.page-privacy-policy__section-title {
  font-size: 2rem;
  color: #26A9E0; /* Brand color for section titles */
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__content-area p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

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

.page-privacy-policy__list strong {
  color: #ffffff;
}

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

.page-privacy-policy__content-area a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
}

.page-privacy-policy__content-area a:hover {
  color: #1e87b7;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Consistent background */
  border-radius: 8px;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Card background for FAQ items */
  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;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
  background-color: rgba(38, 169, 224, 0.2); /* Slightly darker brand tint for summary */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom: 1px solid #26A9E0;
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-question::marker {
  display: none;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  color: #ffffff;
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

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

  .page-privacy-policy__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-privacy-policy__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

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

  .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: 10px 15px;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

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

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