/* style/privacy-policy.css */
:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --body-bg: #F4F7FB;
  --text-main: #1F2D3D;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Body background is light, so use dark text */
  background-color: var(--body-bg);
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__hero-description {
  font-size: 18px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-privacy-policy__container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.page-privacy-policy__section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-privacy-policy__section-title:first-of-type {
  margin-top: 0;
}

.page-privacy-policy p {
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--text-main);
}

.page-privacy-policy a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-privacy-policy a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding-left: 0;
}

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

.page-privacy-policy__contact-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-main);
}

.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  max-width: 1200px;
  margin: 40px auto 60px auto;
  padding: 0 20px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
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: #f0f4ff; /* Lighter hover for FAQ question */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.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: #f9fbfc; /* Slightly different background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(24px, 5vw, 40px);
  }
  .page-privacy-policy__hero-description {
    font-size: 16px;
  }
  .page-privacy-policy__container {
    padding: 30px;
  }
  .page-privacy-policy__section-title {
    font-size: 26px;
  }
  .page-privacy-policy p, .page-privacy-policy__list-item {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 0 0 10px 10px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(22px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-privacy-policy__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__content-area, .page-privacy-policy__faq-section {
    margin: 20px auto 40px auto;
    padding: 0 15px;
  }
  .page-privacy-policy__container {
    padding: 25px;
    border-radius: 8px;
  }
  .page-privacy-policy__section-title {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-privacy-policy p, .page-privacy-policy__list-item {
    font-size: 14px;
  }
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 6px;
    margin: 20px auto;
  }
  .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; }
  .page-privacy-policy__faq-item .page-privacy-policy__faq-answer { padding: 0 15px 15px; }

  /* General content containers for mobile overflow prevention */
  .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;
  }
}

/* Ensure no image filters are used */
.page-privacy-policy img {
  filter: none; /* Explicitly disable any potential filter */
}