/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--site-bg);
  line-height: 1.6;
  font-size: 16px;
}

.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, body handles --header-offset */
  background: var(--card-bg);
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-privacy-policy__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-privacy-policy__hero-content h1 {
  font-size: clamp(2em, 5vw, 3em);
  color: var(--glow);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-privacy-policy__hero-content p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 20px auto;
  color: var(--text-main);
}

.page-privacy-policy__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--site-bg);
  color: var(--text-main);
}

.page-privacy-policy__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-privacy-policy__title {
  font-size: 2.2em;
  color: var(--glow);
  margin-bottom: 25px;
  font-weight: bold;
  text-align: center;
}

.page-privacy-policy__subtitle {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.page-privacy-policy__heading3 {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

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

.page-privacy-policy__list strong {
  color: var(--glow);
}

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

.page-privacy-policy a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: var(--glow);
}

/* Color Contrast Adjustments for dark background */
.page-privacy-policy__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-privacy-policy__light-bg {
  background-color: var(--site-bg);
  color: var(--text-main);
}

/* Ensure text contrast for links and general text */
.page-privacy-policy h1, .page-privacy-policy h2, .page-privacy-policy h3, .page-privacy-policy p, .page-privacy-policy li {
  color: var(--text-main);
}

.page-privacy-policy a {
  color: var(--primary-color);
}

.page-privacy-policy a:hover {
  color: var(--glow);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 15px;
  }

  .page-privacy-policy__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__hero-content h1 {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-privacy-policy__hero-content p {
    font-size: 1em;
  }

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

  .page-privacy-policy__title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__subtitle {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  /* Mobile image and container responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
}