/* style/privacy-policy.css */

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

.page-privacy-policy {
  background-color: var(--page-privacy-policy-background);
  color: var(--page-privacy-policy-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding to the bottom of the main content */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

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

.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;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above image if any layering occurs (though layout is image-above-text) */
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--page-privacy-policy-glow);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-privacy-policy__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background: var(--page-privacy-policy-btn-gradient);
  color: var(--page-privacy-policy-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-section {
  padding: 40px 20px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.page-privacy-policy__dark-section {
  background-color: var(--page-privacy-policy-card-bg);
  color: var(--page-privacy-policy-text-main);
}

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

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--page-privacy-policy-glow);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-privacy-policy__sub-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--page-privacy-policy-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

.page-privacy-policy__text-block a {
  color: var(--page-privacy-policy-secondary-color);
  text-decoration: none;
  font-weight: bold;
}

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

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

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

.page-privacy-policy__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px; /* Constrain max width for content images */
}

.page-privacy-policy__faq-section {
  padding: 40px 20px;
  background-color: var(--page-privacy-policy-background);
  box-sizing: border-box;
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--page-privacy-policy-text-main);
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

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

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

/* Details tag specific styling */
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-privacy-policy__faq-item summary {
  list-style: none;
}

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

/* --- Responsive Design --- */

@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.8rem, 7vw, 2.5rem);
  }

  .page-privacy-policy__description {
    font-size: 1rem;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-privacy-policy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

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

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

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

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__image-inline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* FAQ responsiveness */
  .page-privacy-policy__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

  /* Ensure no horizontal scroll for any content */
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }

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

  .page-privacy-policy__cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .page-privacy-policy__section-title {
    font-size: 1.6rem;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.2rem;
  }

  .page-privacy-policy__faq-question {
    font-size: 0.95rem;
    padding: 12px;
  }
}