.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background: var(--background-color, #FFFFFF); /* Body background from shared.css */
}

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #1a7bb5); /* Primary brand color gradient */
  color: #ffffff;
}

.page-privacy-policy__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Login color for CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  background: #d46c05;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background: #ffffff; /* Explicitly set for content area */
  color: #333333; /* Dark text for light background */
}

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

.page-privacy-policy__section-intro {
  margin-bottom: 50px;
  text-align: center;
}

.page-privacy-policy__image-full-width {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin-bottom: 30px;
  object-fit: cover;
}

.page-privacy-policy__article {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-privacy-policy__article-heading {
  font-size: 2em;
  color: #26A9E0; /* Primary brand color for main headings */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-privacy-policy__sub-heading {
  font-size: 1.5em;
  color: #333333;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

.page-privacy-policy__contact-info p {
  margin-bottom: 5px;
}

.page-privacy-policy__link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  text-decoration: underline;
  color: #1a7bb5;
}

.page-privacy-policy__call-to-action {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-privacy-policy__call-to-action p {
  font-size: 1.3em;
  margin-bottom: 25px;
  font-weight: 500;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1.1em;
  }
  .page-privacy-policy__article-heading {
    font-size: 1.8em;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-privacy-policy__content-area {
    padding: 40px 15px;
  }
  .page-privacy-policy__container {
    padding: 0;
  }
  .page-privacy-policy__article-heading {
    font-size: 1.5em;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.2em;
  }
  .page-privacy-policy p {
    font-size: 0.95em;
  }
  .page-privacy-policy__image-full-width,
  .page-privacy-policy__image-content {
    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,
  .page-privacy-policy__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__call-to-action p {
    font-size: 1.1em;
  }
}

/* Ensure all img elements are responsive and do not overflow */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Button specific responsive styles */
.page-privacy-policy__cta-button,
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary,
.page-privacy-policy a[class*="button"],
.page-privacy-policy a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-buttons,
.page-privacy-policy__button-group,
.page-privacy-policy__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .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__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}