.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity */
}

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

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

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

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

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-privacy-policy__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-privacy-policy__cta-buttons--centered {
  margin-top: 30px;
  margin-bottom: 30px;
}

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

.page-privacy-policy__btn-primary {
  background-color: #C30808; /* Custom color for register/login type buttons */
  color: #ffffff; /* Ensured white for contrast on dark red */
  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; /* Brand primary color for text */
  border: 2px solid #017439;
}

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

.page-privacy-policy__content-area {
  padding: 40px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  font-size: 1.0em;
}

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

.page-privacy-policy__link:hover {
  color: #005a2d;
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-privacy-policy__last-updated {
  text-align: right;
  font-style: italic;
  color: #666666;
  margin-top: 40px;
  font-size: 0.9em;
}

/* Ensure all images are responsive by default */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }

  .page-privacy-policy__description {
    font-size: 1em;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-privacy-policy__content-area {
    padding: 20px 0;
  }

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

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

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

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }

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

  /* General image and container rules for mobile */
  .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,
  .page-privacy-policy__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Placeholder for other home page modules not present on this page */
  /* .page-privacy-policy__home-content { height: auto; overflow-y: visible; } */
  /* .page-privacy-policy__slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; } */
  /* .page-privacy-policy__game-slide { flex: 0 0 calc(50% - 8px); max-width: calc(50% - 8px); } */
  /* .page-privacy-policy__banners-top-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); } */
  /* .page-privacy-policy__banner-item img {   } */
  /* .page-privacy-policy__blog-masonry { grid-template-columns: 1fr; } */
  /* .page-privacy-policy__blog-slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; } */
  /* .page-privacy-policy__blog-slide { flex: 0 0 calc(80% - 10px); max-width: calc(80% - 10px); } */
}

/* Tablet responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px;
  }

  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }

  .page-privacy-policy__description {
    font-size: 1.05em;
  }

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

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

  .page-privacy-policy__sub-title {
    font-size: 1.5em;
  }

  .page-privacy-policy__content-image {
    min-width: 250px;
    min-height: 250px;
  }
}

/* Placeholder for shared.css body padding-top, if not present */
/* If shared.css does NOT have body { padding-top: var(--header-offset); } */
/* .page-privacy-policy { padding-top: var(--header-offset, 122px); } */
/* The current implementation assumes shared.css handles body padding-top and this page uses a small top padding */