.page-gdpr {
  color: #ffffff; /* Body background is dark, so text should be light */
  background-color: #000000; /* Ensure consistency with 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;
  min-height: 600px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  overflow: hidden;
  background-color: #017439; /* Brand primary color for hero */
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
}

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

.page-gdpr__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

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

.page-gdpr__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__link {
  color: #FFFF00; /* Highlight links with yellow */
  text-decoration: underline;
}

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

/* Color contrast management */
.page-gdpr__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

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

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

.page-gdpr__light-bg .page-gdpr__section-title {
  color: #017439;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-gdpr__btn-primary:hover {
  background-color: #9b0606;
  color: #ffffff;
}

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

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
}

.page-gdpr__faq-item.active {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #017439; /* Brand primary color for question background */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(0deg); /* '-' is default, '+' is rotated */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
  background-color: #000000; /* Dark background for answer content */
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

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

  .page-gdpr__hero-section {
    flex-direction: column;
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-gdpr__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-gdpr__content-area {
    padding: 30px 15px;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item {
    font-size: 1em;
  }

  .page-gdpr__image {
    margin: 20px auto;
  }

  /* Responsive images, videos, buttons */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-content,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-gdpr__faq-answer {
    padding: 0 20px;
  }

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
}