.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Background from custom colors */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 40px;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-privacy-policy__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-privacy-policy__introduction-section,
.page-privacy-policy__data-collection-section,
.page-privacy-policy__data-usage-section,
.page-privacy-policy__data-sharing-section,
.page-privacy-policy__your-rights-section,
.page-privacy-policy__cookies-section,
.page-privacy-policy__security-section,
.page-privacy-policy__retention-section,
.page-privacy-policy__third-party-links-section,
.page-privacy-policy__changes-section,
.page-privacy-policy__contact-section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-privacy-policy__sub-title {
  font-size: 1.5rem;
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333333;
}

.page-privacy-policy__text-block strong {
  color: #E53935;
}

.page-privacy-policy__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-privacy-policy__card {
  background: #FFFFFF; /* Card BG from custom colors */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333333;
  border: 1px solid #E0E0E0; /* Border from custom colors */
}

.page-privacy-policy__card-title {
  font-size: 1.3rem;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

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

.page-privacy-policy__last-updated {
  text-align: center;
  font-size: 0.9rem;
  color: #666666;
  margin-top: 30px;
}

.page-privacy-policy__contact-button {
  display: block;
  width: fit-content;
  margin: 30px auto 20px auto;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__contact-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

.page-privacy-policy a {
  color: #E53935;
  text-decoration: none;
  font-weight: bold;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding: 60px 20px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-privacy-policy__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }
  .page-privacy-policy__section-title {
    font-size: 2rem;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-content {
    padding: 40px 15px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-privacy-policy__hero-description {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }
  .page-privacy-policy__cta-button,
  .page-privacy-policy__contact-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__introduction-section,
  .page-privacy-policy__data-collection-section,
  .page-privacy-policy__data-usage-section,
  .page-privacy-policy__data-sharing-section,
  .page-privacy-policy__your-rights-section,
  .page-privacy-policy__cookies-section,
  .page-privacy-policy__security-section,
  .page-privacy-policy__retention-section,
  .page-privacy-policy__third-party-links-section,
  .page-privacy-policy__changes-section,
  .page-privacy-policy__contact-section {
    padding: 20px 0;
  }
  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.2rem;
  }
  .page-privacy-policy__text-block,
  .page-privacy-policy__list li {
    font-size: 1rem;
  }
  .page-privacy-policy__content-grid {
    grid-template-columns: 1fr;
  }
  .page-privacy-policy__card {
    padding: 20px;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__card-image,
  .page-privacy-policy__image-full-width {
    width: 100% !important;
  }
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
  }
}

/* Ensure images within content areas do not get too small */
.page-privacy-policy__content-area img,
.page-privacy-policy__card img,
.page-privacy-policy__security-section img {
  min-width: 200px;
  min-height: 200px;
}

/* Color Contrast Fixes (as per instructions) */
.page-privacy-policy__dark-section {
  background: #E53935;
  color: #ffffff; /* Forced white text */
}

.page-privacy-policy p,
.page-privacy-policy li {
  color: #333333; /* Ensure readability on light background */
}

.page-privacy-policy__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #E0E0E0;
}

.page-privacy-policy__cta-button,
.page-privacy-policy__contact-button {
  color: #ffffff; /* Button text always white */
}

.page-privacy-policy a {
  color: #E53935;
}