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

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

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Minimal top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: var(--pk345-text-main);
  margin-bottom: 20px;
}

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--pk345-button-gradient);
  color: var(--pk345-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--pk345-background);
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--pk345-primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  color: var(--pk345-text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

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

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-privacy-policy a {
  color: var(--pk345-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--pk345-deep-green);
  color: var(--pk345-text-main);
  user-select: none;
}

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

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

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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 25px;
  font-size: 1em;
  color: var(--pk345-text-secondary);
  line-height: 1.7;
  /* For details tag, browser handles visibility */
}

/* Ensure images are not smaller than 200px in content area */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 10px 0 40px 0;
  }

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

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

  .page-privacy-policy__sub-title {
    font-size: 1.5em;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__description {
    font-size: 1em;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* Mobile containers with images */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile buttons */
  .page-privacy-policy__btn-primary {
    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__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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