:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --body-bg: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page, ensuring contrast with --body-bg */
  background-color: var(--body-bg); /* Ensure page content area has the correct background */
}

/* Ensure the main content area has the correct background and text color if not explicitly set on sections */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--body-bg);
  color: var(--text-main);
}

.page-privacy-policy__content-section.page-privacy-policy__dark-bg {
  background-color: var(--card-bg); /* Use card-bg for alternate dark sections */
  color: var(--text-main);
}

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

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* body already has padding-top from shared.css, so only a small top padding here */
  padding-top: 10px;
  background-color: var(--body-bg);
  color: var(--text-main);
}

.page-privacy-policy__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.page-privacy-policy__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  /* No filter property to change color */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color); /* Use primary color for title */
  max-width: 600px; /* Limit width to adhere to character limits */
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  color: var(--text-main);
  max-width: 800px; /* Limit width to adhere to character limits */
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* For button responsiveness */
  box-sizing: border-box; /* For button responsiveness */
  white-space: normal; /* For button responsiveness */
  word-wrap: break-word; /* For button responsiveness */
}

.page-privacy-policy__cta-button:hover {
  background: linear-gradient(180deg, var(--glow-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-privacy-policy__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

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

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Example content image size */
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  /* No filter property to change color */
}

.page-privacy-policy__contact-link {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: var(--primary-color);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg); /* Using card-bg for FAQ section */
  color: var(--text-main);
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--body-bg); /* Inner FAQ item background */
  color: var(--text-main);
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: var(--card-bg); /* Slightly lighter dark for hover */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: var(--body-bg); /* Answer background */
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
    color: var(--text-main);
}


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

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__hero-image img {
    border-radius: 4px;
  }
  
  .page-privacy-policy__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-privacy-policy__hero-description {
    font-size: clamp(15px, 3vw, 18px);
  }

  .page-privacy-policy__section-title {
    font-size: clamp(22px, 5vw, 32px);
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(18px, 4vw, 24px);
  }

  /* All images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset; /* Allow smaller than 200px on mobile if needed for layout, but content images are still large */
    min-height: unset;
  }
  
  /* All containers with images responsive */
  .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;
  }

  /* FAQ Responsive */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
  .page-privacy-policy__faq-qtext { font-size: 15px; }
  .page-privacy-policy__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }
}

/* Ensure no filter property is used on images */
.page-privacy-policy img {
  filter: none; /* Explicitly set to none to ensure no accidental filters */
}