/* style/privacy-policy.css */
:root {
  --fp88-primary-color: #11A84E;
  --fp88-secondary-color: #22C768;
  --fp88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --fp88-card-bg: #11271B;
  --fp88-background: #08160F;
  --fp88-text-main: #F2FFF6;
  --fp88-text-secondary: #A7D9B8;
  --fp88-border-color: #2E7A4E;
  --fp88-glow-color: #57E38D;
  --fp88-gold-color: #F2C14E;
  --fp88-divider-color: #1E3A2A;
  --fp88-deep-green: #0A4B2C;
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--fp88-text-secondary);
  background-color: var(--fp88-background);
  padding-bottom: 50px; /* Ensure space above footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--fp88-deep-green);
  overflow: hidden;
  text-align: center;
}

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

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  z-index: 1;
  color: var(--fp88-text-main);
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--fp88-text-main);
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--fp88-text-secondary);
}

/* General Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--fp88-background);
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 25px;
  color: var(--fp88-text-main);
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 15px;
  color: var(--fp88-text-main);
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--fp88-text-secondary);
}

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

.page-privacy-policy__list li {
  margin-bottom: 8px;
  color: var(--fp88-text-secondary);
}

.page-privacy-policy__list li strong {
  color: var(--fp88-text-main);
}

.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.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Call to Action Block */
.page-privacy-policy__cta-block {
  background: var(--fp88-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--fp88-border-color);
}

.page-privacy-policy__cta-title {
  font-size: 1.8em;
  color: var(--fp88-text-main);
  margin-bottom: 15px;
}

.page-privacy-policy__cta-description {
  font-size: 1.1em;
  color: var(--fp88-text-secondary);
  margin-bottom: 25px;
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--fp88-button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Links */
.page-privacy-policy__link {
  color: var(--fp88-primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--fp88-secondary-color);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: var(--fp88-deep-green);
  padding: 60px 20px;
}

.page-privacy-policy__faq-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-privacy-policy__faq-item {
  background: var(--fp88-card-bg);
  border: 1px solid var(--fp88-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--fp88-card-bg);
  color: var(--fp88-text-main);
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-item summary:hover {
  background-color: var(--fp88-deep-green);
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: var(--fp88-text-main);
}

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−';
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  color: var(--fp88-text-secondary);
  border-top: 1px solid var(--fp88-divider-color);
}

/* --- Color Contrast Classes (Smart Selection) --- */
.page-privacy-policy__dark-bg {
  background-color: var(--fp88-background);
  color: var(--fp88-text-secondary);
}

.page-privacy-policy__light-text {
  color: var(--fp88-text-main);
}

.page-privacy-policy__text-main {
  color: var(--fp88-text-main);
}

.page-privacy-policy__text-secondary {
  color: var(--fp88-text-secondary);
}

/* --- Responsive Styles --- */

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

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 30px 0;
  }

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

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

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

  /* Images responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px; /* Maintain minimum size for content images */
    min-height: 200px;
  }
  
  .page-privacy-policy__hero-image {
    min-width: unset !important; /* Hero image can scale down more */
    min-height: unset !important;
  }

  /* Containers and cards responsiveness */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__cta-block,
  .page-privacy-policy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button responsiveness */
  .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: 12px 15px; /* Adjust padding for mobile buttons */
  }

  .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;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px; /* Spacing between wrapped buttons */
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

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

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