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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #26A9E0;
  color: #ffffff; /* White text on brand blue background */
  padding-top: calc(var(--header-offset, 120px) + 60px); /* Adjust for header offset */
}

.page-gdpr__hero-container {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__content-section {
  padding: 60px 20px;
}

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

.page-gdpr__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

.page-gdpr__text-block p {
  margin-bottom: 1em;
  color: inherit;
}

.page-gdpr__text-block h3 {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__rights-list,
.page-gdpr__purpose-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__rights-item,
.page-gdpr__purpose-item {
  margin-bottom: 10px;
  color: inherit;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__contact-link {
  color: #EA7C07; /* Highlight contact links */
  text-decoration: underline;
}

.page-gdpr__contact-link:hover {
  color: #d86a00;
}

.page-gdpr__faq-section {
  padding: 60px 20px;
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for question area */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #ffffff;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0; /* Slightly off-white for answer text */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.4em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding-top: calc(var(--header-offset, 120px) + 30px) !important; /* Adjust for mobile header offset */
    padding-bottom: 30px;
  }
  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__content-section {
    padding: 30px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .page-gdpr__text-block h3 {
    font-size: 1.3em;
  }
  .page-gdpr__rights-list,
  .page-gdpr__purpose-list {
    margin-left: 10px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__container,
  .page-gdpr__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-gdpr__faq-question {
    padding: 15px;
  }
  .page-gdpr__faq-title {
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
}