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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
  max-width: 100%;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -80px; /* Adjust to slightly overlap the image, but text is below */
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-gdpr__btn-primary {
  background: #C30808; /* Custom color for registration/login */
  color: #FFFF00; /* Custom font color for registration/login */
  border: 2px solid #C30808;
}

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

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

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

.page-gdpr__content-section {
  padding: 40px 0;
  margin-bottom: 30px;
}

.page-gdpr__dark-section {
  background-color: #f5f5f5;
  color: #333333; /* Dark text for light background */
}

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

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

.page-gdpr__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__article-body {
  font-size: 17px;
  line-height: 1.7;
  color: #444444;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__article-body p {
  margin-bottom: 1em;
}

.page-gdpr__article-body ul,
.page-gdpr__article-body ol {
  margin-bottom: 1em;
  padding-left: 25px;
}

.page-gdpr__article-body li {
  margin-bottom: 0.5em;
}

.page-gdpr__article-body a {
  color: #017439;
  text-decoration: underline;
}

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

/* FAQ Styles */
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 Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(26px, 3.5vw, 40px);
  }
  .page-gdpr__hero-description {
    font-size: 17px;
  }
  .page-gdpr__section-title {
    font-size: clamp(22px, 2.8vw, 34px);
  }
  .page-gdpr__sub-title {
    font-size: clamp(18px, 2.2vw, 26px);
  }
  .page-gdpr__article-body {
    font-size: 16px;
  }
  .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    font-size: 16px;
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px; /* Ensure small top padding for mobile */
  }
  .page-gdpr__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
    height: auto !important;
  }
  .page-gdpr__hero-content {
    margin-top: -40px;
    padding: 20px 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .page-gdpr__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 10px;
  }
  .page-gdpr__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .page-gdpr__section-title {
    font-size: clamp(20px, 6vw, 30px);
    margin-bottom: 20px;
  }
  .page-gdpr__sub-title {
    font-size: clamp(18px, 5vw, 24px);
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-gdpr__article-body {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
    text-align: left;
  }
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }
  .page-gdpr__content-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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;
    font-size: 16px;
  }
  /* FAQ specific mobile styles */
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 15px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }
}