/* style/privacy-policy.css */

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

.page-privacy-policy {
  color: var(--kp88-text-main); /* Body background is dark, so text is light */
  background-color: var(--kp88-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;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  height: 400px; /* Adjust height as needed */
  overflow: hidden;
  position: relative;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
  text-align: center;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  color: var(--kp88-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-privacy-policy__section-padding {
  padding: 60px 20px;
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: var(--kp88-primary-color);
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
}

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

.page-privacy-policy__paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  color: var(--kp88-text-main);
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--kp88-text-main);
}

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

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

.page-privacy-policy__link {
  color: var(--kp88-secondary-color);
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: var(--kp88-gold-color);
}

.page-privacy-policy__image-text-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 30px;
  background-color: var(--kp88-card-bg);
  border-radius: 10px;
  border: 1px solid var(--kp88-border-color);
}

.page-privacy-policy__image-left .page-privacy-policy__image-left {
  order: 1;
}

.page-privacy-policy__image-right .page-privacy-policy__image-right {
  order: 2;
}

.page-privacy-policy__image-left .page-privacy-policy__text-content {
  order: 2;
}

.page-privacy-policy__image-right .page-privacy-policy__text-content {
  order: 1;
}

.page-privacy-policy__image-left,
.page-privacy-policy__image-right {
  flex-shrink: 0;
  width: 40%;
  min-width: 200px;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
}

.page-privacy-policy__image-left img,
.page-privacy-policy__image-right img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-privacy-policy__text-content {
  flex-grow: 1;
}

.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--kp88-button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--kp88-glow-color);
}

.page-privacy-policy__faq-section {
  background-color: var(--kp88-deep-green);
  padding: 60px 20px;
  text-align: center;
}

.page-privacy-policy__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

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

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

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

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: var(--kp88-text-secondary);
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-image-wrapper {
    height: 300px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__image-text-block {
    flex-direction: column;
    text-align: center;
  }
  .page-privacy-policy__image-left,
  .page-privacy-policy__image-right {
    width: 80%;
    order: initial; /* Reset order for column layout */
  }
  .page-privacy-policy__image-left .page-privacy-policy__text-content,
  .page-privacy-policy__image-right .page-privacy-policy__text-content {
    order: initial;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-image-wrapper {
    height: 250px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.5em, 5vw, 2.2em);
  }
  .page-privacy-policy__intro-text {
    font-size: 0.95em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.3em;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer p {
    font-size: 0.9em;
  }
  .page-privacy-policy__faq-question {
    font-size: 1em;
  }

  /* Mobile responsive image adaptation */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__section-padding,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__image-text-block,
  .page-privacy-policy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .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__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-image-wrapper {
    height: 200px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.2em, 6vw, 1.8em);
  }
  .page-privacy-policy__image-left,
  .page-privacy-policy__image-right {
    width: 100%;
  }
  .page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }
}