/* style/privacy-policy.css */

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

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

.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 */
  background-color: var(--wstar77-background);
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  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;
  text-align: center;
  color: var(--wstar77-text-main);
  z-index: 1;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  color: var(--wstar77-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: var(--wstar77-button-gradient);
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Invert gradient on hover */
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--wstar77-background);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: var(--wstar77-text-secondary);
}

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

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 60px;
  background-color: var(--wstar77-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__faq-item {
  background-color: var(--wstar77-background);
  border: 1px solid var(--wstar77-border);
  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;
  cursor: pointer;
  font-weight: bold;
  color: var(--wstar77-text-main);
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-privacy-policy__faq-question:hover {
  background-color: var(--wstar77-deep-green);
}

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

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

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

/* Ensure details element's summary doesn't have default marker */
.page-privacy-policy__faq-item summary {
  list-style: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding: 0 15px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
  }
  .page-privacy-policy__hero-content {
    max-width: 100%;
    padding: 0 10px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-privacy-policy__description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-privacy-policy__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    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-area,
  .page-privacy-policy__faq-section {
    padding: 20px 15px;
  }
  .page-privacy-policy__container {
    max-width: 100%;
    padding: 0 10px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer {
    font-size: 0.95em;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-privacy-policy__image-content,
  .page-privacy-policy__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-area,
  .page-privacy-policy__container,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@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.4em, 7vw, 2em);
  }
  .page-privacy-policy__btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.4em;
  }
  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer {
    font-size: 0.9em;
  }
  .page-privacy-policy__faq-question {
    padding: 12px 15px;
    font-size: 0.9em;
  }
}