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

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

.page-gdpr__hero-section {
  background-color: #F0F8FF; /* Light blue background for hero */
  color: #333333;
  padding: 80px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

.page-gdpr__main-title {
  font-size: 2.8em;
  color: #26A9E0; /* Primary brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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: #EA7C07; /* Login/Register color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Primary brand color */
  border: 2px solid #26A9E0;
}

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

.page-gdpr__content-area {
  padding: 60px 0;
}

.page-gdpr__dark-bg {
  background-color: #26A9E0; /* Primary brand color for dark sections */
  color: #FFFFFF;
}

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

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

.page-gdpr__sub-title {
  font-size: 1.6em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-gdpr a {
  color: #26A9E0;
  text-decoration: none;
}

.page-gdpr a:hover {
  text-decoration: underline;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr__list-item {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.page-gdpr__list-item::before {
  content: '✓';
  color: #26A9E0;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-gdpr__list-item .page-gdpr__list-title {
  font-size: 1.2em;
  margin-bottom: 5px;
  color: inherit;
}

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

.page-gdpr__contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
}

.page-gdpr__contact-link {
  color: #EA7C07; /* Highlight contact link */
  font-weight: bold;
}

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

.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-item.active {
  border-color: #26A9E0;
}

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

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

.page-gdpr__faq-title {
  margin: 0;
  font-size: 1.1em;
  flex-grow: 1;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* For '-' symbol, rotate to form 'x' or use '-' directly */
  content: '−'; /* Change to minus sign */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  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 for content */
  padding: 15px 20px;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-gdpr__intro-text {
    font-size: 1em;
  }

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

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding: 12px 15px;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

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

  .page-gdpr p,
  .page-gdpr li {
    font-size: 0.95em;
  }

  .page-gdpr__list-item {
    padding-left: 20px;
  }

  .page-gdpr__list-item::before {
    left: 0;
  }

  /* Ensure all content containers are responsive */
  .page-gdpr__content-area,
  .page-gdpr__about-gdpr,
  .page-gdpr__principles,
  .page-gdpr__data-handling,
  .page-gdpr__user-rights,
  .page-gdpr__security-measures,
  .page-gdpr__contact-dpo,
  .page-gdpr__faq,
  .page-gdpr__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__faq-item {
    width: 100%;
    box-sizing: border-box;
  }

  .page-gdpr__faq-question {
    padding: 12px 15px;
  }

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

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