/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-dark); /* Assuming --bg-dark is dark, text-main should be light */
}

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

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-privacy-policy__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  border-bottom: 2px solid var(--divider);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
}

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

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

.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--border);
  color: #ffffff;
}

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

.page-privacy-policy__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-secondary);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom-color: var(--divider);
}

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

.page-privacy-policy__faq-question:hover {
  background-color: #1a3627; /* Slightly lighter card bg for hover */
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  line-height: 1;
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
}

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

/* Link styles */
.page-privacy-policy a {
  color: var(--main-color, #22C768);
  text-decoration: none;
}

.page-privacy-policy a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
  }

  .page-privacy-policy__hero-content {
    padding: 15px;
    width: calc(100% - 30px); /* Adjust width for padding */
    transform: translate(-50%, -50%); /* Re-center after width change */
  }

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

  .page-privacy-policy__subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .page-privacy-policy__sub-section-title {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  }

  .page-privacy-policy p,
  .page-privacy-policy li,
  .page-privacy-policy__faq-answer p {
    font-size: 0.95rem;
  }

  /* Images, Videos, Buttons Responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__image-inline {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .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-left: 15px;
    padding-right: 15px;
    text-align: center;
  }

  .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;
    flex-direction: column; /* Ensure vertical stacking on mobile */
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-content {
    width: calc(100% - 20px);
    padding: 10px;
  }

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

  .page-privacy-policy__subtitle {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }

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

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