.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background is white */
}

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 40px;
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1200px; /* Max width for hero image container */
  margin-bottom: 20px;
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%; /* Ensure responsiveness */
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__hero-content {
  max-width: 800px;
  padding: 0 15px;
}

.page-gdpr__main-title {
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 15px;
  max-width: 100%; /* Ensure responsiveness */
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 100%;
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
}

.page-gdpr__content-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__measures-section,
.page-gdpr__process-section,
.page-gdpr__updates-section,
.page-gdpr__cta-section {
  padding: 60px 0;
}

.page-gdpr__dark-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-gdpr__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-gdpr__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
}

.page-gdpr__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__principles-list,
.page-gdpr__rights-list,
.page-gdpr__measures-list,
.page-gdpr__process-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  font-size: 1.05em;
}

.page-gdpr__list-item::before {
  content: '✓';
  color: #C30808; /* Accent color for list bullet */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-gdpr__dark-section .page-gdpr__list-item::before {
  color: #FFFF00;
}

.page-gdpr a {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__dark-section a {
  color: #FFFF00;
}

.page-gdpr a:hover {
  text-decoration: none;
}

/* General image responsiveness */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box; /* Ensure padding/border is included in width */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
  }

  .page-gdpr__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: 1.8em;
    line-height: 1.3;
  }

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

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__measures-section,
  .page-gdpr__process-section,
  .page-gdpr__updates-section,
  .page-gdpr__cta-section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-gdpr__container {
    padding: 0 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers with images also adapt */
  .page-gdpr__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-gdpr__principles-list,
  .page-gdpr__rights-list,
  .page-gdpr__measures-list,
  .page-gdpr__process-list {
    padding-left: 0;
  }

  .page-gdpr__list-item {
    padding-left: 20px;
  }
}