/* style/privacy-policy.css */

/* --- Base Styles & Color Contrast --- */
/* Body background is #0a0a0a (dark), so main text color should be light */
.page-privacy-policy {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on body background from shared.css */
}

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

.page-privacy-policy__dark-bg {
  background-color: #26A9E0; /* Brand primary color background */
  color: #ffffff; /* White text for brand color background */
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and text */
  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: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff; /* White text on dark/brand background */
}

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for contrast */
}

/* --- CTA Buttons in Hero --- */
.page-privacy-policy__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  justify-content: center;
  gap: 15px;
  width: 100%;
  max-width: 600px; /* Limit button group width */
  margin: 0 auto;
}

.page-privacy-policy__cta-buttons--center {
  justify-content: center;
  margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
  box-sizing: border-box;
  flex-grow: 1; /* Allow buttons to grow */
  max-width: 250px; /* Max width for individual buttons */
}

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

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

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

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

/* --- Content Area --- */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-privacy-policy__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 25px;
  color: #26A9E0; /* Brand primary color for titles on light background */
}

.page-privacy-policy__section-title--white {
  color: #ffffff; /* White title on dark background */
}

.page-privacy-policy__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #333333; /* Dark text for subtitles on light background */
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  color: #333333; /* Dark text for paragraphs on light background */
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333; /* Dark text for lists on light background */
}

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

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

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

/* Image with text block */
.page-privacy-policy__image-with-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.page-privacy-policy__content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  text-align: center;
}

.page-privacy-policy__faq-illustration-wrapper {
  margin: 30px auto 40px;
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
}

.page-privacy-policy__faq-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-privacy-policy__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

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

.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;
  position: relative;
  user-select: none;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 25px;
  text-align: center;
}

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

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.5;
}

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

  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

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

  .page-privacy-policy__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    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,
  .page-privacy-policy__faq-section {
    padding: 30px 0;
  }

  .page-privacy-policy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer p {
    font-size: 0.95rem;
  }

  .page-privacy-policy__image-with-text {
    flex-direction: column;
    gap: 15px;
  }

  .page-privacy-policy__content-image,
  .page-privacy-policy__faq-illustration,
  .page-privacy-policy__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

/* Content area images CSS size lower bound */
.page-privacy-policy__content-area img,
.page-privacy-policy__image-with-text img,
.page-privacy-policy__faq-illustration {
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  width: 100%; /* Ensure it scales */
  height: auto;
}

/* Specific override for hero image if needed to ensure min size if it's too small by default */
.page-privacy-policy__hero-image {
  min-width: 300px; /* Example, adjust as needed */
  min-height: 200px;
}