/* style/privacy-policy.css */

/* --- Base Styles & Typography --- */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Assuming body background is light, will be overridden by shared.css var(--background-color) */
  line-height: 1.6;
  font-size: 16px;
}

.page-privacy-policy__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0; /* Brand color for main title */
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: center;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-privacy-policy__sub-section-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

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

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

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

.page-privacy-policy a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #1a7bb7; /* Slightly darker blue for hover */
  text-decoration: none;
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #f8f8f8; /* Light background for hero section */
}

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

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

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

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

/* --- Content Area --- */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: #ffffff; /* White background for main content for readability */
}

.page-privacy-policy__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Ensure content area images are at least 200px */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
  background-color: #f0f7ff; /* Light blue background */
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
  text-align: center;
  margin-bottom: 40px;
}

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

.page-privacy-policy__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0;
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-privacy-policy__faq-question:hover {
  background-color: #eaf6ff;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to a cross */
}

.page-privacy-policy__faq-answer {
  padding: 20px;
  color: #555555;
  font-size: 0.95em;
}

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

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 5vw, 2.2em); /* Using clamp for H1 */
    text-align: center;
    padding: 0 15px;
    margin-bottom: 15px;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* Image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__container,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-privacy-policy__hero-section {
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
  }

  .page-privacy-policy__image-content {
    margin: 20px auto;
    padding-left: 0;
    padding-right: 0;
  }

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

/* Contrast adjustments for brand colors if needed */
.page-privacy-policy__dark-bg {
  background: #26A9E0;
  color: #ffffff;
}