/* style/privacy-policy.css */

/* --- General Styles --- */
.page-privacy-policy {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Custom main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-privacy-policy__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
}

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

.page-privacy-policy__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #A7D9B8; /* Custom secondary text color */
  margin-bottom: 30px;
}

/* --- Content Sections --- */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Custom main text color */
}

.page-privacy-policy__dark-bg {
  background-color: #08160F; /* Ensure dark background for text contrast */
  color: #F2FFF6;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #F2C14E; /* Gold for titles */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
  border-bottom: 2px solid #2E7A4E; /* Custom border color */
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: #22C768; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  color: #F2FFF6; /* Custom main text color */
  font-size: 1rem;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #F2FFF6; /* Custom main text color */
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: #F2FFF6; /* Custom main text color */
}

.page-privacy-policy__list-item strong {
  color: #A7D9B8; /* Secondary text color for emphasis */
}

.page-privacy-policy__link {
  color: #2AD16F; /* A lighter green for links */
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: #57E38D; /* Glow color on hover */
}

.page-privacy-policy__image-margin {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: #11271B; /* Custom card background color */
  color: #F2FFF6;
}

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

.page-privacy-policy__faq-item {
  background-color: #08160F; /* Darker background for FAQ items */
  border: 1px solid #2E7A4E; /* Custom 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: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6; /* Custom main text color */
  cursor: pointer;
  background-color: #11271B; /* Custom card background color */
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #1a3a2d; /* Slightly lighter on hover */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color for toggle */
}

.page-privacy-policy__faq-answer {
  padding: 0 25px;
  max-height: 0; /* Hidden by default */
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #A7D9B8; /* Custom secondary text color */
  background-color: #08160F; /* Main background color for answer */
}

.page-privacy-policy__faq-answer p {
  padding: 15px 0;
  margin: 0;
  color: #A7D9B8; /* Custom secondary text color */
}

/* For <details> tag native support */
.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  padding-bottom: 15px;
  padding-top: 5px;
}

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

/* --- Image specific styles --- */
.page-privacy-policy__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

  .page-privacy-policy__container {
    padding: 0 15px; /* Smaller padding on mobile */
  }

  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-privacy-policy__description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 20px;
  }

  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    padding: 40px 0;
  }

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

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

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer p {
    font-size: 0.95rem;
  }

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

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

  .page-privacy-policy__faq-toggle {
    font-size: 1.3rem;
  }

  /* Responsive image rules */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}