.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px;
  overflow: hidden;
  min-height: 500px;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-gdpr__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-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 */
  color: #FFFF00; /* Custom font color for Register */
  border: 2px solid #C30808;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-gdpr__introduction p,
.page-gdpr__principles p,
.page-gdpr__user-rights p,
.page-gdpr__data-protection p,
.page-gdpr__data-processing p,
.page-gdpr__contact p {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-gdpr__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-gdpr__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__image--left {
  float: left;
  width: 45%;
  margin-right: 30px;
  margin-bottom: 20px;
}

.page-gdpr__image--right {
  float: right;
  width: 45%;
  margin-left: 30px;
  margin-bottom: 20px;
}

.page-gdpr__section::after {
  content: '';
  display: table;
  clear: both;
}

.page-gdpr__link {
  color: #FFFF00;
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #e0e0e0;
}

/* FAQ Styles */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  list-style: none; /* For details tag */
}

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.8); /* Darker shade of primary color */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #017439;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
  color: #f0f0f0;
}

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

  .page-gdpr__hero-section {
    padding: 10px 15px 40px;
    min-height: 400px;
  }

  .page-gdpr__hero-content {
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding: 10px 15px;
    font-size: 0.9em;
  }

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

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-gdpr__introduction p,
  .page-gdpr__principles p,
  .page-gdpr__user-rights p,
  .page-gdpr__data-protection p,
  .page-gdpr__data-processing p,
  .page-gdpr__contact p {
    font-size: 1em;
  }

  .page-gdpr__image {
    float: none;
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .page-gdpr__image--left,
  .page-gdpr__image--right {
    float: none;
    width: 100% !important;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    padding: 15px 20px;
    font-size: 0.9em;
  }

  /* Ensure all images are responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-content,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-gdpr__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
  }
}

/* Content area image CSS size lower limit */
.page-gdpr img:not(.page-gdpr__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Custom colors based on body background */
.page-gdpr p,
.page-gdpr li,
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-gdpr h4,
.page-gdpr h5,
.page-gdpr h6 {
  color: #f0f0f0; /* Light text for dark body background */
}

.page-gdpr__introduction .page-gdpr__section-title,
.page-gdpr__user-rights .page-gdpr__section-title,
.page-gdpr__data-processing .page-gdpr__section-title,
.page-gdpr__contact .page-gdpr__section-title,
.page-gdpr__faq .page-gdpr__section-title {
  color: #017439; /* Brand primary color for titles on light sections */
}

.page-gdpr__dark-bg p,
.page-gdpr__dark-bg li {
  color: #FFFFFF;
}

.page-gdpr__faq-answer p {
  color: #f0f0f0; /* Ensure FAQ answer text is light */
}