.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--background);
}

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

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(8, 22, 15, 0.7); /* Deep Green background with transparency */
  border-radius: 8px;
  margin-top: 150px; /* Adjust as needed to place content below the image top */
}

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

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--background);
  color: var(--text-secondary);
}

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

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
  border-bottom: 2px solid var(--divider);
  padding-bottom: 10px;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

.page-privacy-policy__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.page-privacy-policy__card-title {
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-privacy-policy__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: auto; /* Pushes image to the bottom if content is short */
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

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

.page-privacy-policy__list-item strong {
  color: var(--text-main);
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__contact-link {
  color: var(--gold);
  text-decoration: underline;
  font-weight: bold;
}

.page-privacy-policy__contact-link:hover {
  color: var(--glow);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    margin-top: 120px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-privacy-policy__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
  }

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

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

  .page-privacy-policy__hero-description,
  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__card-text {
    font-size: 1rem;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__card-grid {
    grid-template-columns: 1fr;
  }

  .page-privacy-policy__card {
    padding: 25px;
  }

  /* Mobile content overflow prevention */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__card-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-privacy-policy__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-privacy-policy__hero-image {
    position: relative;
    height: 300px;
    max-height: 300px;
  }

  .page-privacy-policy__hero-content {
    margin-top: 0; /* Adjust for relative image */
    background: rgba(8, 22, 15, 0.8);
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-privacy-policy__section-title {
    font-size: 1.6rem;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__card-text {
    font-size: 0.9rem;
  }

  .page-privacy-policy__card-title {
    font-size: 1.4rem;
  }
}