/* style/privacy-policy.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --dark-bg: #0d0d0d; /* Assuming shared.css defines --dark-bg as a dark color */
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: transparent; /* Body handles background */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: var(--primary-color); /* Fallback if image fails */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 500px; /* Limit height for hero image */
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  padding-top: 30px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-privacy-policy__intro-description {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 20px auto;
}

.page-privacy-policy__last-updated {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

/* Content Section */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--secondary-color); /* Light background for main content */
  color: var(--text-dark); /* Dark text for light background */
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-privacy-policy ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-privacy-policy li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.page-privacy-policy a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.page-privacy-policy a:hover {
  text-decoration: underline;
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-privacy-policy__contact-list {
  list-style-type: none;
  padding-left: 0;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
}

/* Call to Action Block */
.page-privacy-policy__cta-block {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(38, 169, 224, 0.1); /* Light transparent blue */
  border-radius: 8px;
  border: 1px solid var(--primary-color);
}

.page-privacy-policy__cta-block p {
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--login-color); /* Use login color for CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: var(--dark-bg); /* Dark background */
  color: var(--text-light);
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.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);
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 1.0em;
  color: rgba(255, 255, 255, 0.8);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
}

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

  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    padding: 40px 0;
  }

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

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

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

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

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__cta-block {
    padding: 20px;
  }

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

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