/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light background for contrast */
  background-color: #FFFFFF; /* Default body background */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #017439;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
}

.page-privacy-policy__main-title {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-privacy-policy__description {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-privacy-policy__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

/* Content Area */
.page-privacy-policy__content-area {
  padding: 40px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-privacy-policy__section-title {
  font-weight: 700;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-privacy-policy__sub-title {
  font-weight: 600;
  color: #017439;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-privacy-policy__list li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 40px 0;
  background-color: #f9f9f9;
  color: #333333;
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #f5f5f5;
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* General image responsiveness */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__container {
    padding: 15px;
  }

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

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

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

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px; /* Ensures small top padding */
  }

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

  .page-privacy-policy__main-title {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-size: 28px; /* Clamp not used, use reasonable fixed size for mobile */
  }

  .page-privacy-policy__description {
    font-size: 15px;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

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

  .page-privacy-policy__list li {
    font-size: 15px;
  }

  /* General image responsiveness for content area */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Containers for images and buttons */
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons 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;
    padding: 12px 15px; /* Adjust padding for smaller screens */
  }

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
  .page-privacy-policy__faq-qtext { font-size: 15px; }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer { padding: 0 15px 15px; }
}

/* Specific mobile rules for modules that *could* be present, as per instructions, even if not directly on this page */
/* Banner / Hero Section (already covered above with .page-privacy-policy__hero-section) */
/* Three-Link Buttons (__access-links) - Not present on this page, but if it were: */
/* @media (max-width: 768px) {
  .page-privacy-policy__access-links {
    flex-direction: column;
    gap: 10px;
  }
  .page-privacy-policy__access-link-item {
    width: 100%;
  }
} */
/* Five-Entry (__category-lobby) - Not present on this page, but if it were: */
/* @media (max-width: 768px) {
  .page-privacy-policy__category-lobby__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-privacy-policy__category-card-link img {
    aspect-ratio: 1/1;
    width: 100%;
    object-fit: contain;
    border: none;
    box-shadow: none;
  }
} */
/* Blog Slider (__blog-slider) - Not present on this page, but if it were: */
/* @media (max-width: 768px) {
  .page-privacy-policy__blog-slider-wrapper {
    padding: 0 15px;
  }
  .page-privacy-policy__blog-slider-track {
    scroll-snap-type: x mandatory;
  }
  .page-privacy-policy__post-item {
    flex: 0 0 90%;
    scroll-snap-align: start;
  }
} */