.page-gdpr {
  background-color: #0d2a1b; /* Darker variant of #017439 for main background */
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for the first section */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  overflow: hidden;
  max-width: 100%;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px; /* Constrain max width of the image */
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Using clamp for responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-gdpr__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-gdpr__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 150px;
  text-align: center;
}

.page-gdpr__button--register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-gdpr__button--register:hover {
  background-color: #a00707;
  transform: translateY(-2px);
}

.page-gdpr__button--login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-gdpr__button--login:hover {
  background-color: #a00707;
  transform: translateY(-2px);
}

.page-gdpr__button--learn-more,
.page-gdpr__button--contact {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-gdpr__button--learn-more:hover,
.page-gdpr__button--contact:hover {
  background-color: #005a2d;
  transform: translateY(-2px);
}

.page-gdpr__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em); /* Responsive H2 font size */
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-gdpr__content-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

.page-gdpr__content-block--reversed {
  flex-direction: row-reverse;
}

.page-gdpr__content-block p,
.page-gdpr__list {
  flex: 1;
  min-width: 300px;
  color: #E0E0E0;
}

.page-gdpr__image {
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
  max-width: 500px;
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__list {
  list-style: disc inside;
  padding-left: 20px;
  margin: 20px 0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: #E0E0E0;
}

.page-gdpr__list-item strong {
  color: #FFFFFF;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 20px 10px;
  }

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

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__button {
    width: 100%;
    max-width: 300px;
  }

  .page-gdpr__section {
    padding: 40px 15px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-gdpr__content-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__content-block--reversed {
    flex-direction: column;
  }

  .page-gdpr__content-block p, .page-gdpr__list {
    min-width: unset;
  }

  .page-gdpr__image {
    max-width: 100%;
    height: auto;
    max-height: auto; /* Ensure no fixed height causes overflow */
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }
  
  /* Critical: Ensure all images in content area are responsive and don't overflow */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
}