.page-privacy-policy {
  color: #F2FFF6; /* Text Main */
  background-color: var(--background-color, #08160F); /* Fallback to custom dark background */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F; /* Ensure hero section has a background */
  color: #F2FFF6; /* Main text color */
}

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

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px; /* Slightly rounded corners */
    min-width: 200px;
    min-height: 200px;
}

.page-privacy-policy__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Main text color */
}

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsiveness */
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* A lighter shade of primary for contrast */
  border: 2px solid #2AD16F;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__content-section {
  padding: 80px 0;
}

.page-privacy-policy__dark-bg {
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Text Main */
}

.page-privacy-policy__light-bg {
  background-color: #11271B; /* Card BG color, acts as light background in this dark theme */
  color: #F2FFF6; /* Text Main */
}

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

.page-privacy-policy__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold color for section titles */
  margin-bottom: 40px;
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #2AD16F; /* Primary brand color for sub titles */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__text-block {
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-privacy-policy__text-block p {
  margin-bottom: 15px;
  color: #A7D9B8; /* Secondary text color */
}

.page-privacy-policy__text-block code {
  background-color: rgba(42, 209, 111, 0.1);
  color: #2AD16F;
  padding: 2px 5px;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: #1E3A2A; /* Divider color for FAQ item background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #F2FFF6; /* Main text color */
  user-select: none;
  background-color: #1E3A2A;
  border-bottom: 1px solid #2E7A4E; /* Border color */
  list-style: none; /* For <details> summary */
}

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

.page-privacy-policy__faq-question:hover {
  background-color: #22C768; /* Auxiliary color for hover */
  color: #08160F; /* Dark text for light background */
}

.page-privacy-policy__faq-question:hover .page-privacy-policy__faq-toggle {
    color: #08160F;
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Primary brand color */
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
  color: #F2C14E; /* Gold color when open */
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
  /* max-height: 0; */ /* Removed for native details element */
  /* overflow: hidden; */ /* Removed for native details element */
  transition: max-height 0.3s ease-out;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
  /* max-height: 500px; */ /* Removed for native details element */
  /* transition: max-height 0.5s ease-in; */ /* Removed for native details element */
}

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

/* Links within content */
.page-privacy-policy__text-block a {
    color: #2AD16F; /* Primary brand color for links */
    text-decoration: underline;
}

.page-privacy-policy__text-block a:hover {
    color: #F2C14E; /* Gold color on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .page-privacy-policy__hero-description {
    font-size: 1rem;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 15px 20px;
    font-size: 1.05rem;
  }

  .page-privacy-policy__content-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__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.3rem, 4.5vw, 1.7rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-privacy-policy__faq-answer {
    font-size: 0.9rem;
    padding: 0 15px 15px;
  }
}