/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
  padding-bottom: 40px; /* Ensure space above footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 20px 20px 40px; /* Small top padding, more bottom padding */
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  text-align: center;
  overflow: hidden; /* Prevent content overflow */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px; /* Space between image and text */
}

.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;
  margin: 0 auto;
  padding: 0 15px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  color: #26A9E0; /* Brand primary color for title */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

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

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 40px 0;
  border-bottom: 1px solid #eeeeee;
}

.page-privacy-policy__content-section:last-of-type {
  border-bottom: none;
}

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

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #26A9E0; /* Brand primary color for section titles */
  margin-bottom: 25px;
  font-weight: bold;
  text-align: left;
}

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

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 800px; /* Example max-width for content images */
  object-fit: cover;
}

/* Color Contrast Specifics */
.page-privacy-policy__light-bg {
  background-color: #FFFFFF; /* Explicit white for light sections */
  color: #333333;
}

.page-privacy-policy__dark-bg {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #FFFFFF; /* White text for contrast */
}

.page-privacy-policy__dark-bg .page-privacy-policy__section-title,
.page-privacy-policy__dark-bg p,
.page-privacy-policy__dark-bg li {
  color: #FFFFFF; /* Ensure all text inside dark section is white */
}

/* Contact CTA */
.page-privacy-policy__contact-cta {
  text-align: center;
  margin-top: 40px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1a7bb7; /* Slightly darker shade on hover */
}

.page-privacy-policy__last-updated {
  text-align: right;
  font-style: italic;
  color: #777777;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 10px 15px 30px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for mobile */
    text-align: center;
  }

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

  .page-privacy-policy__section-title {
    font-size: 1.6em;
    text-align: center;
    margin-bottom: 20px;
  }

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

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

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

  /* Video responsiveness (if any) */
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-privacy-policy__video-section {
    padding-top: 10px !important; /* Small top padding, not --header-offset */
  }

  /* Button responsiveness */
  .page-privacy-policy__btn-primary,
  .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;
    padding-right: 15px;
  }

  .page-privacy-policy__contact-list {
    margin-left: 15px;
  }
}