.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Assuming body background is white from shared.css */
}

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

.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 40px;
  background-color: #f8f8f8;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  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: #C30808; /* Custom color for Register/Login */
  border: 2px solid #C30808;
}

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

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

.page-privacy-policy__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-privacy-policy__dark-section .page-privacy-policy__section-title {
  color: #ffffff;
}

.page-privacy-policy__dark-section p,
.page-privacy-policy__dark-section li {
  color: #f0f0f0;
}

.page-privacy-policy__light-bg {
  background-color: #f9f9f9;
  color: #333333;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
}

.page-privacy-policy__text-block h3 {
  font-size: 1.5em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-privacy-policy__text-block ul {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-privacy-policy__text-block li {
  margin-bottom: 8px;
  font-size: 1em;
}

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

.page-privacy-policy__text-block a:hover {
  color: #005a2e;
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 800px;
  min-width: 200px; /* Enforce minimum size */
}

.page-privacy-policy__faq-section {
  padding: 40px 0;
  background-color: #f0f0f0;
}

.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;
}

/* --- Responsive Styles (Desktop) --- */
@media (min-width: 769px) {
  .page-privacy-policy__hero-section {
    padding-bottom: 60px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(2.5em, 4vw, 3.5em);
  }

  .page-privacy-policy__section-title {
    font-size: clamp(2em, 3vw, 2.5em);
  }
}

/* --- Responsive Styles (Tablet and Mobile) --- */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }

  .page-privacy-policy__section-title {
    font-size: 2em;
  }
}

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

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

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

  .page-privacy-policy__hero-image-wrapper {
    margin-bottom: 15px;
  }

  .page-privacy-policy__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Banner specific rule for mobile */
  }

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

  .page-privacy-policy__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-privacy-policy__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__content-section {
    padding: 30px 0;
  }

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

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

  .page-privacy-policy__text-block p,
  .page-privacy-policy__text-block li {
    font-size: 0.95em;
  }

  .page-privacy-policy__image {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min size for content images */
  }

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

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

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px;
  }

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

  /* Mandatory mobile rules for elements that might not be on this page, as per instructions */
  .page-privacy-policy__access-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__category-lobby__grid {
    grid-template-columns: repeat(2, 1fr) !important; /* Example for 5-entry grid */
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__category-card-link img {
    aspect-ratio: 1/1 !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-privacy-policy__blog-slider-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__blog-slider-track {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 16px;
  }
  .page-privacy-policy__post-item {
    flex: 0 0 calc(100% - 30px); /* Show one card with some margin */
    scroll-snap-align: start;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__blog-slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  .page-privacy-policy__blog-slider-prev,
  .page-privacy-policy__blog-slider-next {
    background-color: #017439;
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    cursor: pointer;
    user-select: none;
  }
}