.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-color, #333333);
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  background-color: #017439;
  color: #ffffff;
  overflow: hidden;
  padding-bottom: 40px;
}

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

.page-privacy-policy__hero-content {
  position: relative; /* Ensure content is above the image if any layering issue */
  z-index: 1;
  padding: 20px 15px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but not text on image */
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
  border-radius: 10px;
  padding-top: 120px; /* Push content down to avoid overlapping the image area */
}

.page-privacy-policy__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFF00; /* Register and Login font color for emphasis */
}

.page-privacy-policy__description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-privacy-policy__content-area {
  background-color: #FFFFFF;
  padding: 40px 0;
  color: #333333; /* Dark text for light background */
}

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

.page-privacy-policy__section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  font-size: 1rem;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-privacy-policy__list-item strong {
  color: #017439;
}

.page-privacy-policy__keyword {
  font-weight: bold;
  color: #017439;
}

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

.page-privacy-policy__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #017439;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
}

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

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

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
}

.page-privacy-policy__faq-answer {
  padding: 20px;
  background-color: #ffffff;
  color: #333333;
  border-top: 1px solid #e0e0e0;
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

.page-privacy-policy__cta-block {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #f0f8ff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

.page-privacy-policy__cta-text {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 600;
  color: #017439;
  margin-bottom: 25px;
}

.page-privacy-policy__btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
}

.page-privacy-policy a {
  color: #017439;
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #00562e;
}

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

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

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
    padding-bottom: 20px;
  }

  .page-privacy-policy__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    max-height: 300px !important;
    margin-bottom: 20px; /* Space between image and text */
  }

  .page-privacy-policy__hero-content {
    margin-top: 0; /* Remove negative margin for mobile */
    padding-top: 20px; /* Adjust padding for mobile */
    background-color: transparent !important; /* Remove semi-transparent background on mobile hero content */
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    color: #017439; /* Use brand color for title on mobile for better contrast against potentially lighter background */
  }

  .page-privacy-policy__description {
    font-size: 1rem;
    color: #333333; /* Darker text for readability on mobile */
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-large,
  .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 !important;
    padding-right: 15px !important;
    margin-bottom: 10px;
  }

  .page-privacy-policy__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-privacy-policy__sub-section-title {
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

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

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

  .page-privacy-policy__cta-block {
    margin-top: 40px;
    padding: 30px 15px;
  }

  .page-privacy-policy__cta-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }
}