/* style/privacy-policy.css */

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF); /* Ensure consistency with body background */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff; /* White text for dark background */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7; /* Slightly dim the image to make text pop */
}

.page-privacy-policy__hero-content {
  position: relative; /* Ensure content is above the image layer */
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for prominence */
}

.page-privacy-policy__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container fills width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%; /* Ensure button itself adapts */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background-color: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login yellow text */
  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 green */
  border: 2px solid #017439;
}

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

.page-privacy-policy__section {
  padding: 40px 0;
  background-color: var(--background-color, #FFFFFF);
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand primary green */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

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

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.6;
}

.page-privacy-policy__list-item strong {
  color: #017439; /* Highlight important terms */
}

.page-privacy-policy__image-block {
  margin: 30px auto;
  text-align: center;
  max-width: 800px; /* Constrain image width */
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-privacy-policy__contact-list {
  list-style-type: none;
  padding: 0;
  margin-left: 0;
  margin-top: 20px;
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-privacy-policy a {
  color: #017439; /* Brand primary green for links */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #005a2e;
  text-decoration: none;
}

/* --- Responsive Styles --- */

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

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

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

  .page-privacy-policy__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px; /* Add padding to container */
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !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__container,
  .page-privacy-policy__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em; /* Smaller section titles */
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__list,
  .page-privacy-policy__contact-list {
    margin-left: 15px; /* Adjust list indentation */
  }

  .page-privacy-policy__list-item,
  .page-privacy-policy__contact-item,
  .page-privacy-policy__text-block {
    font-size: 0.95em;
  }
}

/* Tablet specific styles (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding: 20px 30px;
  }

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

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

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

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