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

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background-dark); /* Inherited from body via shared.css */
}

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

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size for H1 */
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-privacy-policy__description {
  font-size: 1.1em;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-privacy-policy__content-area {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--card-background); /* Lighter dark background for content */
  color: var(--text-main);
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 10px;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  color: var(--text-main);
  font-size: 1em;
}

.page-privacy-policy__image-block {
  margin: 30px 0;
  text-align: center;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

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

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

.page-privacy-policy__contact-link:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background-color: var(--background-dark);
  color: var(--text-main);
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-background);
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question,
.page-privacy-policy__faq-question:hover {
  background-color: var(--deep-green);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

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

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

/* Details/Summary specific styling to remove default marker */
.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: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
}

@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.5em, 5vw, 2em);
  }

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

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

  .page-privacy-policy__container {
    padding: 0;
  }

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

  .page-privacy-policy__text-block, .page-privacy-policy__contact-item, .page-privacy-policy__faq-answer p {
    font-size: 0.95em;
  }

  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-privacy-policy__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-privacy-policy__faq-section {
    padding: 40px 15px;
  }

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

  .page-privacy-policy__faq-answer {
    padding: 0 20px 15px;
  }
  
  /* Ensure all containers are responsive */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}