/* style/privacy-policy.css */

/* Base Styles for the Privacy Policy Page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Main text color for dark background */
  background-color: var(--background, #08160F); /* Page background color */
}

/* 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 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the 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;
  filter: none !important; /* Ensure no filter on images */
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Button responsive rule */
  box-sizing: border-box; /* Button responsive rule */
  white-space: normal; /* Button responsive rule */
  word-wrap: break-word; /* Button responsive rule */
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Slightly different gradient on hover */
}

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-privacy-policy__dark-section {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px; /* Ensure content has side padding */
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--text-main, #F2FFF6);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--divider, #1E3A2A);
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  color: var(--glow, #57E38D); /* Using Glow for sub-titles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-privacy-policy__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-privacy-policy__contact-link {
  color: var(--glow, #57E38D);
  text-decoration: underline;
}

.page-privacy-policy__contact-link:hover {
  color: var(--gold, #F2C14E);
}

.page-privacy-policy__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
  filter: none !important; /* Ensure no filter on images */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background-color: var(--card-bg, #11271B); /* Card background color for FAQ section */
  color: var(--text-main, #F2FFF6);
  box-sizing: border-box;
}

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

.page-privacy-policy__faq-item {
  background-color: var(--background, #08160F); /* Darker background for individual FAQ items */
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--background, #08160F);
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: var(--deep-green, #0A4B2C); /* Slightly lighter green on hover */
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  margin-left: 20px;
  color: var(--glow, #57E38D);
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95rem;
  color: var(--text-secondary, #A7D9B8);
}

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

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-privacy-policy__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy__btn-primary {
    width: 100% !important;
    max-width: 300px !important; /* Limit button width on mobile if it gets too wide */
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    padding: 40px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

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

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

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile container padding to prevent overflow */
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ specific mobile adjustments */
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

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

  /* General button responsive rules for all buttons */
  .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;
  }
  .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; /* Space between buttons if they wrap */
    display: flex; /* Ensure flex context for wrapping */
    flex-direction: column; /* Often better for single column on mobile */
  }
}