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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  background: linear-gradient(135deg, #e0f2f7, #ffffff);
  color: #333333;
}

.page-gdpr__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
}

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

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

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

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

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

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

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

.page-gdpr__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
}

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

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

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

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

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a8cc4;
  transform: translateY(-2px);
}

.page-gdpr__btn-login {
  background-color: #EA7C07;
}

.page-gdpr__btn-login:hover {
  background-color: #d46c06;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  color: #333333;
}

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

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: inherit;
}

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

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-gdpr__faq-answer p {
  margin: 0;
}

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text for contrast */
}

.page-gdpr__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__text-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .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: 1.8em;
  }

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

  .page-gdpr__content-section {
    padding: 40px 15px;
  }

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__text-block h3 {
    font-size: 1.3em;
  }

  .page-gdpr__list {
    margin-left: 15px;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Buttons responsive */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-login {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-section {
    padding: 40px 15px;
  }

  .page-gdpr__cta-title {
    font-size: 1.8em;
  }

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

  .page-gdpr__faq-section {
    padding: 40px 15px;
  }

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

  .page-gdpr__faq-question h3 {
    font-size: 1em;
  }

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

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

/* Color Contrast Safeguards */
.page-gdpr__content-area,
.page-gdpr__text-block {
  color: #333333; /* Ensure readability on light backgrounds */
}

.page-gdpr p,
.page-gdpr li {
  color: #333333; /* Ensure readability on light backgrounds */
}

.page-gdpr__card { /* Placeholder if cards are added */
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-gdpr__dark-section {
  background: #26A9E0;
  color: #ffffff;
}
.page-gdpr__container.page-gdpr__dark-bg {
    color: #ffffff;
}
.page-gdpr__container.page-gdpr__dark-bg .page-gdpr__list-item {
    color: #ffffff;
}
.page-gdpr__container.page-gdpr__dark-bg a {
    color: #ffffff; /* Link color on dark background */
}
.page-gdpr__container.page-gdpr__dark-bg a:hover {
    color: #e0f2f7; /* Lighter hover color on dark background */
}

.page-gdpr a {
  color: #26A9E0; /* Default link color on light background */
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #1a8cc4;
}

/* No CSS filters for images */
.page-gdpr img {
  filter: none;
}