/* style/privacy-policy.css */

/* --- CSS Variables (if not already in shared.css) --- */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --site-bg: #08160F; /* Assuming this is set in shared.css and inherited */
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* --- Base Styles & Typography --- */
.page-privacy-policy {
  font-family: 'Arial', sans-serif; /* Example font */
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--site-bg); /* #08160F from shared.css */
  line-height: 1.6;
  font-size: 1rem;
}

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

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content before image */
  background-color: var(--site-bg); /* Ensure consistent background */
  padding-top: 10px; /* Small top padding for visual balance, body handles main offset */
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 100%; /* Ensure responsiveness */
  filter: none !important; /* Ensure no filter is applied */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-bottom: 30px; /* Space between text and image */
}

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

.page-privacy-policy__intro-text {
  font-size: 1.15rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--text-main); /* #F2FFF6 */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- Content Area --- */
.page-privacy-policy__content-area {
  padding: 60px 0;
  background-color: var(--card-bg); /* #11271B */
  color: var(--text-main); /* #F2FFF6 */
}

.page-privacy-policy__content-area p {
  margin-bottom: 20px;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-privacy-policy__content-area a {
  color: var(--gold-color); /* #F2C14E */
  text-decoration: underline;
}

.page-privacy-policy__content-area a:hover {
  color: var(--glow-color); /* #57E38D */
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text-main); /* #F2FFF6 */
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
}

.page-privacy-policy__list strong {
  color: var(--text-main); /* #F2FFF6 */
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum display width */
  min-height: 200px; /* Enforce minimum display height */
  filter: none !important; /* Ensure no filter is applied */
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: var(--deep-green); /* #0A4B2C */
  color: var(--text-main); /* #F2FFF6 */
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
  color: var(--gold-color); /* #F2C14E */
  text-align: center;
  margin-bottom: 40px;
}

.page-privacy-policy__faq-item {
  background-color: var(--card-bg); /* #11271B */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--card-bg); /* #11271B */
  border-bottom: 1px solid var(--divider-color); /* #1E3A2A */
  list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-privacy-policy__faq-question::marker {
  display: none; /* Hide default marker for Firefox */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold-color); /* #F2C14E */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to cross */
}

.page-privacy-policy__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  background-color: var(--deep-green); /* #0A4B2C */
}

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

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

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

  .page-privacy-policy__intro-text {
    font-size: 1rem;
  }

  .page-privacy-policy__cta-button {
    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__content-area,
  .page-privacy-policy__faq-section {
    padding: 30px 0;
  }

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

  .page-privacy-policy__section-title {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

/* Images and video responsiveness - crucial overrides for mobile */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy video,
.page-privacy-policy__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__video-section,
.page-privacy-policy__video-container,
.page-privacy-policy__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy video,
  .page-privacy-policy__video {
    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__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles main offset */
  }

  .page-privacy-policy__video-section {
    padding-top: 10px !important; /* As per instructions, small top padding */
  }

  /* Button responsiveness */
  .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;
  }
}

/* Content area image size check */
/* This rule ensures content images don't go below 200px in display size */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no filter is applied to images */
.page-privacy-policy img {
  filter: none !important;
}