/* style/privacy-policy.css */

/* Base styles for the privacy policy page content */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Default body background is white */
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  /* Fixed Header Spacing: apply padding-top to the main content wrapper */
  padding-top: var(--header-offset, 120px);
}

.page-privacy-policy__hero-banner {
  text-align: center;
  margin-bottom: 60px;
  padding: 20px 0; /* No extra padding-top here to avoid double spacing */
}

.page-privacy-policy__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-privacy-policy__hero-banner img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  padding: 0 15px;
}

.page-privacy-policy__main-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-privacy-policy__section {
  margin-bottom: 50px;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #017439; /* Brand primary color for section titles */
  margin-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #333333;
}

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

.page-privacy-policy__list li {
  margin-bottom: 8px;
  color: #333333;
}

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

.page-privacy-policy a:hover {
  color: #005f2c; /* Slightly darker primary color on hover */
  text-decoration: none;
}

.page-privacy-policy__content-grid {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-privacy-policy__content-grid .page-privacy-policy__text-block {
  flex: 1;
}

.page-privacy-policy__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-privacy-policy__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__image-wrapper--small {
  flex: 0 0 400px; /* Specific width for smaller images, will adjust on mobile */
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.page-privacy-policy__contact-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #017439; /* Brand primary color */
  color: #FFFFFF; /* White text for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__contact-button:hover {
  background-color: #005f2c; /* Slightly darker primary color on hover */
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .page-privacy-policy__main-title {
    font-size: 2em;
  }

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

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

@media (max-width: 768px) {
  .page-privacy-policy {
    padding: 20px 15px;
    /* Mobile Fixed Header Spacing: apply padding-top to the main content wrapper */
    padding-top: var(--header-offset, 120px) !important;
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-banner {
    margin-bottom: 40px;
  }

  .page-privacy-policy__hero-content {
    margin-top: 20px;
    padding: 0 10px;
  }

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

  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-privacy-policy__section {
    padding: 20px;
    margin-bottom: 30px;
  }

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

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

  .page-privacy-policy__content-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-privacy-policy__image-wrapper--small {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  /* Mobile image and button responsiveness */
  .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-banner,
  .page-privacy-policy__hero-container,
  .page-privacy-policy__content-grid,
  .page-privacy-policy__image-wrapper,
  .page-privacy-policy__image-wrapper--small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__contact-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure no filter is used for images */
.page-privacy-policy img {
  filter: none;
}