/* style/privacy-policy.css */

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

/* Base styles for the privacy policy page */
.page-privacy-policy {
  background-color: var(--background-dark);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px; /* Adjust as needed, no padding-top due to body offset */
  overflow: hidden;
  background-color: var(--card-bg);
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

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

.page-privacy-policy__hero-content {
  max-width: 1200px;
  width: 100%;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  margin-top: 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: bold;
  color: var(--glow-color);
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-privacy-policy__intro-text {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto;
}

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

.page-privacy-policy__dark-section {
  background-color: var(--card-bg);
}

.page-privacy-policy__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--glow-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-privacy-policy__text-block h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block p {
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-privacy-policy__text-block a {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-privacy-policy__text-block a:hover {
  color: var(--glow-color);
  text-decoration: none;
}

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

.page-privacy-policy__contact-section {
  padding-bottom: 60px;
}

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

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

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

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

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

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

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

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  outline: none;
  color: var(--text-main);
  position: relative;
  list-style: none; /* Hide default marker */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-privacy-policy__faq-qtext {
  color: var(--glow-color);
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--gold-color);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−';
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px; /* Small top padding for mobile hero */
    padding-bottom: 20px;
  }

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

  .page-privacy-policy__main-title {
    font-size: 28px;
  }

  .page-privacy-policy__intro-text {
    font-size: 16px;
  }

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

  .page-privacy-policy__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__text-block h3 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__text-block p {
    font-size: 15px;
  }

  .page-privacy-policy__image-inline {
    margin: 20px auto;
  }

  .page-privacy-policy__contact-item {
    font-size: 16px;
  }

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

  .page-privacy-policy__faq-item summary {
    padding: 15px;
    font-size: 16px;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 14px;
  }

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

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__content-area,
  .page-privacy-policy__text-block,
  .page-privacy-policy__contact-section,
  .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;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-privacy-policy__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-privacy-policy__hero-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-privacy-policy__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Buttons responsive adaptation */
  .page-privacy-policy__cta-button,
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}