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

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

/* Title Section */
.page-gdpr__title-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--primary-color); /* Brand primary color */
  color: #ffffff;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 900px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px); /* Responsive font-size for H1 */
}

.page-gdpr__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-gdpr__title-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin-top: 30px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-gdpr__content-section p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
}

.page-gdpr__content-section h2 {
  margin-top: 40px;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto 0 auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* List Styles */
.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
}

.page-gdpr__list li strong {
  color: var(--primary-color);
}

/* Dark Background Sections */
.page-gdpr__dark-section {
  background-color: var(--primary-color);
  color: #ffffff;
}

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

.page-gdpr__dark-section .page-gdpr__list li strong {
  color: var(--secondary-color); /* Use white for strong on dark background */
}

.page-gdpr__dark-section .page-gdpr__link {
  color: #FFFF00; /* Register/Login font color for contrast on dark bg */
  text-decoration: underline;
}

/* Links */
.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #00562b;
  text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  box-sizing: border-box;
}

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

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #f5f5f5;
}

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__title-section,
  .page-gdpr__content-section,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }
  
  .page-gdpr__title-section {
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }

  .page-gdpr__main-title {
    font-size: 28px;
  }

  .page-gdpr__intro-text {
    font-size: 16px;
  }

  .page-gdpr__section-title {
    font-size: 24px;
  }

  .page-gdpr p,
  .page-gdpr__list li,
  .page-gdpr__faq-qtext {
    font-size: 15px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 15px; }

  /* Ensure no horizontal scroll for buttons, though none are here */
  .page-gdpr__cta-button,
  .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;
  }
}