.page-privacy-policy {
  color: #333333; /* Default text color for light background */
  background: var(--background-color, #ffffff); /* Use shared background variable, fallback to white */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* Fixed header padding handled by body in shared.css, only small top padding here */
  padding-top: 10px;
  background: #f5f5f5; /* Light background for hero section */
}

.page-privacy-policy__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure width is 100% for flex child */
}

.page-privacy-policy__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  /* No filter property */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Constrain content width */
}

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

.page-privacy-policy__description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #26A9E0; /* Primary brand color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-sizing: border-box; /* For button responsiveness */
  max-width: 100%; /* For button responsiveness */
  white-space: normal; /* For button text responsiveness */
  word-wrap: break-word; /* For button text responsiveness */
}

.page-privacy-policy__cta-button:hover {
  background: #1e87b7; /* Darker shade of primary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 15px; /* Spacing between buttons */
}

.page-privacy-policy__btn-secondary:hover {
  background: #e0f2f7; /* Lighter shade for hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Content Section */
.page-privacy-policy__content-section {
  padding: 40px 20px;
  background: #ffffff; /* Explicitly white background for content for contrast */
  color: #333333;
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box; /* For responsiveness */
  width: 100%; /* For responsiveness */
}

.page-privacy-policy__section-title {
  font-size: 28px;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.page-privacy-policy__sub-title {
  font-size: 22px;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

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

.page-privacy-policy ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #444444;
}

.page-privacy-policy li {
  margin-bottom: 8px;
  color: #444444;
}

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

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

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  /* Ensure min size for content images */
  min-width: 200px;
  min-height: 200px;
}

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

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 17px;
  color: #333333;
}

.page-privacy-policy__contact-list strong {
  color: #26A9E0;
}

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

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

.page-privacy-policy__cta-block {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: #f0f8ff; /* Light blue background for CTA block */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__cta-block p {
  font-size: 20px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 25px;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 40px 20px;
  background: #f9f9f9; /* Light grey background for FAQ */
  color: #333333;
}

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

/* FAQ details/summary styles (preferred method) */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #f5f5f5;
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #26A9E0; /* Use brand color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: #fcfcfc; /* Slightly different background for answer */
  border-radius: 0 0 5px 5px;
  color: #555555;
}
details.page-privacy-policy__faq-item[open] summary.page-privacy-policy__faq-question {
  background: #eaf6fc; /* Light blue when open */
  border-bottom: 1px solid #d0e8f2;
}

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

  /* Hero Section */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__hero-image {
    margin-bottom: 20px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(24px, 6vw, 36px); /* Adjust clamp for smaller screens */
    margin-bottom: 15px;
  }
  .page-privacy-policy__description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important; /* Mobile button full width */
    margin-left: 0;
    margin-right: 0;
    margin-top: 15px;
  }
  .page-privacy-policy__btn-secondary {
    margin-left: 0 !important; /* Remove spacing between buttons when stacked */
  }

  /* Content Sections */
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    padding: 30px 15px;
  }
  .page-privacy-policy__container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__section-title {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-privacy-policy__content-image {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ Section */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
  .page-privacy-policy__faq-qtext { font-size: 16px; }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer { padding: 0 15px 15px; }

  /* Ensure all images and buttons are responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__cta-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__cta-block .page-privacy-policy__cta-button {
    margin-top: 10px;
  }
  .page-privacy-policy__cta-block .page-privacy-policy__btn-secondary {
    margin-left: 0;
  }

  /* Ensure all buttons are responsive */
  .page-privacy-policy__cta-button,
  .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;
  }
  
  /* Button containers mobile adaptation */
  .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;
  }
  
  .page-privacy-policy__cta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}