/* 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 background */
  background-color: #ffffff; /* Explicitly setting for clarity with body's var(--background-color) */
}

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as per instruction, body handles --header-offset */
  background-color: #f8f8f8; /* Light background for hero section */
  overflow: hidden; /* Ensure no overflow */
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: clamp(1em, 1.5vw, 1.1em);
  margin-bottom: 30px;
  color: #555555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__text-block {
  margin-bottom: 15px;
  color: #333333;
}

.page-privacy-policy__text-block a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-privacy-policy__text-block a:hover {
  text-decoration: underline;
}

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

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

.page-privacy-policy__list-item strong {
  color: #26A9E0;
}

.page-privacy-policy__highlight {
  font-weight: bold;
  color: #26A9E0;
}

.page-privacy-policy__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Color contrast sections */
.page-privacy-policy__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 40px 20px;
}

.page-privacy-policy__dark-bg {
  background-color: #26A9E0; /* Primary brand color as background */
  color: #ffffff; /* White text for contrast */
  padding: 40px 20px;
}

.page-privacy-policy__dark-bg .page-privacy-policy__section-title,
.page-privacy-policy__dark-bg .page-privacy-policy__sub-title,
.page-privacy-policy__dark-bg .page-privacy-policy__list-item strong,
.page-privacy-policy__dark-bg .page-privacy-policy__highlight {
  color: #ffffff;
}

.page-privacy-policy__dark-bg .page-privacy-policy__text-block a {
  color: #EA7C07; /* Login color for links on dark background */
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1a8ccb;
}

.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add horizontal padding for content */
  box-sizing: border-box;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for hero */
  }

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

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

  .page-privacy-policy__description {
    font-size: clamp(0.9em, 3.5vw, 1em);
    margin-bottom: 20px;
  }

  .page-privacy-policy__light-bg,
  .page-privacy-policy__dark-bg {
    padding: 30px 0;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.2em, 5vw, 1.5em);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item {
    font-size: 15px;
  }

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

  /* Ensure all content containers are responsive and prevent overflow */
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }

  /* Mobile 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;
    text-align: center; /* Center button text if it wraps */
  }

  .page-privacy-policy__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between buttons if multiple */
    padding-left: 15px;
    padding-right: 15px;
  }
}