/* style/privacy-policy.css */

/* --- General Styles --- */
.page-privacy-policy {
  /* Assuming body has a dark background (var(--black-color)), content should be light text */
  color: #ffffff; /* Default text color for the page content */
  background-color: transparent; /* Main content area will have specific backgrounds */
}

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

.page-privacy-policy__section-title {
  font-size: clamp(28px, 4vw, 38px); /* H1 font size rule applied to H2s here, clamped */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  text-align: center;
  color: #26A9E0; /* Brand color for titles */
}

.page-privacy-policy__section-title--white {
  color: #ffffff; /* For sections with dark backgrounds */
}

.page-privacy-policy p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: inherit; /* Inherit from parent, which is #ffffff for dark sections, #333333 for light */
}

.page-privacy-policy__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: inherit;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  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: #000000; /* Dark background for hero */
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  z-index: 1; /* Ensure content is above any potential background elements, not image */
  color: #ffffff;
}

.page-privacy-policy__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #26A9E0; /* Primary brand color */
  max-width: 60ch; /* Limit line length for readability */
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 80ch; /* Limit line length for readability */
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
}

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

.page-privacy-policy__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-2px);
}

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

.page-privacy-policy__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-2px);
}

/* --- Content Area Sections (Light Background) --- */
.page-privacy-policy__content-area {
  padding: 60px 20px;
  background-color: #f8f9fa; /* Light background for readability */
  color: #333333; /* Dark text for light background */
}

.page-privacy-policy__content-area .page-privacy-policy__section-title {
  color: #26A9E0;
}

.page-privacy-policy__content-area p,
.page-privacy-policy__content-area li,
.page-privacy-policy__content-area a {
  color: #333333;
}

.page-privacy-policy__content-area a {
  text-decoration: underline;
  font-weight: 500;
}

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

/* --- FAQ Section (Dark Background) --- */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background-color: #26A9E0; /* Brand color as dark background */
  color: #ffffff; /* Light text for dark background */
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.2); /* Slightly darker for question background */
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0; /* Slightly off-white for body text */
}

/* For JS-driven FAQ (if details is not used) */
.page-privacy-policy__faq-item:not(details) .page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-bottom: 0;
}

.page-privacy-policy__faq-item.active:not(details) .page-privacy-policy__faq-answer {
  max-height: 2000px; /* Arbitrarily large value for smooth expansion */
  padding-bottom: 20px;
}

.page-privacy-policy__faq-item.active:not(details) .page-privacy-policy__faq-toggle {
  content: '−';
}

/* --- Call to Action Section --- */
.page-privacy-policy__call-to-action {
  padding: 60px 20px;
  text-align: center;
  background-color: #ffffff; /* White background for contrast */
  color: #333333; /* Dark text for white background */
}

.page-privacy-policy__call-to-action .page-privacy-policy__section-title {
  color: #26A9E0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__call-to-action {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important; /* Allow images to shrink on mobile */
    min-height: unset !important;
  }

  /* Videos (if any, though not explicitly in current HTML) */
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-privacy-policy__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }

  /* Buttons */
  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .page-privacy-policy__description,
  .page-privacy-policy p,
  .page-privacy-policy li,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer p {
    font-size: 15px;
  }

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