/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from shared.css, but specified for clarity */
}

.page-privacy-policy__hero-section {
  position: relative;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Blend brand colors */
  color: #ffffff;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 2px solid #8B0000;
  padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
  font-size: 1.7em;
  color: #FFD700;
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block {
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-bottom: 1.5em;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-privacy-policy__list-item {
  margin-bottom: 0.5em;
  color: #e0e0e0;
}

.page-privacy-policy__text-link {
  color: #FFD700; /* Brand primary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__text-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  background: #FFD700;
  color: #121212;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #ffffff;
  color: #8B0000;
}

.page-privacy-policy__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #8B0000;
  border-radius: 8px;
  color: #ffffff;
}

.page-privacy-policy__cta-text {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-privacy-policy__cta-button {
  font-size: 1.1em;
  padding: 15px 30px;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #333333;
  color: #FFD700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #444444;
}

.page-privacy-policy__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #FFD700;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(0deg); /* Explicitly set for '+' to '-' transition */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  background-color: #2a2a2a;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }

  .page-privacy-policy__hero-title {
    font-size: 2em;
  }

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

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

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

  .page-privacy-policy__sub-section-title {
    font-size: 1.4em;
    margin-top: 25px;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__cta-button {
    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;
  }

  .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;
  }

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

  .page-privacy-policy__faq-title {
    font-size: 1.1em;
  }

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

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