/* style/privacy-policy.css */

/* Variables from custom color scheme */
:root {
  --page-privacy-policy-primary-color: #11A84E;
  --page-privacy-policy-secondary-color: #22C768;
  --page-privacy-policy-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --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 {
  background-color: var(--page-privacy-policy-background);
  color: var(--page-privacy-policy-text-main);
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

.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; /* body handles header offset, small top padding */
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

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

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3em);
  color: var(--page-privacy-policy-text-main);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-privacy-policy__subtitle {
  font-size: clamp(1em, 2vw, 1.2em);
  color: var(--page-privacy-policy-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--page-privacy-policy-background);
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--page-privacy-policy-primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: var(--page-privacy-policy-secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

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

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

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

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-privacy-policy__btn-primary {
  background: var(--page-privacy-policy-button-gradient);
  color: #ffffff; /* Always white text for primary button */
  border: 2px solid transparent;
  margin: 10px;
}

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background: none;
  color: var(--page-privacy-policy-primary-color);
  border: 2px solid var(--page-privacy-policy-primary-color);
  margin: 10px;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--page-privacy-policy-primary-color);
  color: #ffffff;
}

.page-privacy-policy__image-content-block {
  text-align: center;
  margin: 40px 0;
  background-color: var(--page-privacy-policy-card-bg);
  padding: 20px;
  border-radius: 10px;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 15px auto;
  border-radius: 8px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy__image-caption {
  font-size: 0.95em;
  color: var(--page-privacy-policy-text-secondary);
  font-style: italic;
}

.page-privacy-policy__last-updated {
  font-size: 0.9em;
  color: var(--page-privacy-policy-text-secondary);
  text-align: right;
  margin-top: 30px;
}

.page-privacy-policy__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.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: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-privacy-policy-text-main);
  background-color: var(--page-privacy-policy-deep-green);
  border-bottom: 1px solid var(--page-privacy-policy-border);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom: 1px solid var(--page-privacy-policy-border);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-privacy-policy-gold);
  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: 15px 20px;
  font-size: 1em;
  color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--page-privacy-policy-deep-green);
  border-radius: 10px;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-privacy-policy__cta-section .page-privacy-policy__text-block {
  max-width: 800px;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
  }

  .page-privacy-policy__hero-content {
    padding: 0 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-privacy-policy__subtitle {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }

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

  .page-privacy-policy__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.2em, 5vw, 1.6em);
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  /* Mobile 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-content-block,
  .page-privacy-policy__content-area,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-privacy-policy__cta-section {
    flex-direction: column;
    gap: 15px;
    padding: 30px 15px;
  }

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

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