/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --page-privacy-policy-primary: #11A84E;
  --page-privacy-policy-secondary: #22C768;
  --page-privacy-policy-card-bg: #11271B;
  --page-privacy-policy-background: #08160F;
  --page-privacy-policy-text-main: #F2FFF6;
  --page-privacy-policy-text-secondary: #A7D9B8;
  --page-privacy-policy-border: #2E7A4E;
  --page-privacy-policy-glow: #57E38D;
  --page-privacy-policy-gold: #F2C14E;
  --page-privacy-policy-divider: #1E3A2A;
  --page-privacy-policy-deep-green: #0A4B2C;
  --page-privacy-policy-btn-gradient-start: #2AD16F;
  --page-privacy-policy-btn-gradient-end: #13994A;
}

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

/* 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: 10px 0 40px; /* Small top padding, more bottom padding */
  background-color: var(--page-privacy-policy-deep-green); /* Or a gradient related to brand colors */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

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

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
  color: var(--page-privacy-policy-text-main);
}

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

.page-privacy-policy__description {
  font-size: 1.1em;
  color: var(--page-privacy-policy-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
  background-color: var(--page-privacy-policy-background); /* Ensure consistent background */
  color: var(--page-privacy-policy-text-main);
}

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

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

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: var(--page-privacy-policy-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__text-block {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  font-size: 1em;
  color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 60px;
  border-top: 1px solid var(--page-privacy-policy-divider);
  padding-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: var(--page-privacy-policy-card-bg);
  border: 1px solid var(--page-privacy-policy-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-privacy-policy-text-main);
}

.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.15em;
  color: var(--page-privacy-policy-text-main);
  background-color: var(--page-privacy-policy-deep-green);
  border-bottom: 1px solid var(--page-privacy-policy-border);
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  background-color: var(--page-privacy-policy-primary);
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-privacy-policy-gold);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--page-privacy-policy-text-secondary);
  border-top: 1px solid transparent; /* For visual separation */
}

.page-privacy-policy__faq-item:not([open]) .page-privacy-policy__faq-answer {
  display: none; /* Hide answer when not open for details tag */
}

/* Media Queries for Responsiveness */
@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 {
    padding: 10px 0 30px;
  }

  .page-privacy-policy__hero-content {
    padding: 0 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-privacy-policy__description {
    font-size: 1em;
  }

  .page-privacy-policy__content-area {
    padding: 40px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }

  .page-privacy-policy__text-block {
    font-size: 0.95em;
  }

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

  .page-privacy-policy__list-item {
    font-size: 0.9em;
  }

  /* Image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure minimum size is maintained */
    min-height: 200px !important; /* Ensure minimum size is maintained */
  }

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__image-wrapper,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific override for hero-section padding, to not double up */
  .page-privacy-policy__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-privacy-policy__hero-content {
      padding-left: 15px !important;
      padding-right: 15px !important;
  }

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

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

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