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

.page-gdpr__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__top-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #f8f8f8;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
  color: #017439;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-gdpr__lead-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__top-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-gdpr__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: #C30808; /* Use custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

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

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

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

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

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

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__sub-title {
  color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__list-item strong {
  color: #ffffff;
}

.page-gdpr__dark-section a {
  color: #FFFF00; /* Link color on dark background */
  text-decoration: underline;
}

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

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

.page-gdpr__figure {
  margin: 40px auto;
  text-align: center;
  max-width: 680px;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
}

.page-gdpr__figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.page-gdpr__dark-section .page-gdpr__figcaption {
  color: #f0f0f0;
}

.page-gdpr__contact-info {
  margin-top: 30px;
  padding: 20px;
  background-color: #f0f0f0;
  border-left: 5px solid #017439;
  border-radius: 5px;
}

.page-gdpr__dark-section .page-gdpr__contact-info {
  background-color: rgba(255, 255, 255, 0.1);
  border-left-color: #FFFF00;
}

.page-gdpr__dark-section .page-gdpr__contact-info p,
.page-gdpr__dark-section .page-gdpr__contact-info .page-gdpr__list-item {
  color: #ffffff;
}

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

.page-gdpr__faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-gdpr__faq-question::after {
  content: '+';
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  padding: 0 20px;
  color: #f0f0f0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 20px;
}

.page-gdpr__promo-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f8f8f8;
}

.page-gdpr__promo-section .page-gdpr__section-title {
  color: #017439;
}

.page-gdpr__promo-section p {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  /* 1. Top section title + CTA */
  .page-gdpr__top-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: 2em; /* Adjusted for mobile */
    line-height: 1.3;
  }

  .page-gdpr__lead-text {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-gdpr__top-cta {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* 4. Buttons and button containers */
  .page-gdpr__btn,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    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-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for buttons */
  }

  /* 2. Single column long text containers */
  .page-gdpr__article-wrap {
    padding: 0 15px;
  }

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

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

  .page-gdpr__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  /* 3. General images and figure */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__figure {
    margin: 30px auto;
  }

  .page-gdpr__figcaption {
    font-size: 0.85em;
  }

  /* 5. Registration tutorial and FAQ blocks (FAQ specific to this page) */
  .page-gdpr__faq-question {
    padding: 12px 15px;
    font-size: 0.95em;
  }

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

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

  .page-gdpr__promo-section {
    padding: 50px 0;
  }

  .page-gdpr__promo-section p {
    font-size: 1em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-gdpr__contact-info {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }

  .page-gdpr__section-title {
    font-size: 1.6em;
  }

  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
}