.page-gdpr {
  color: #ffffff; /* Dark body background #0d0d0d, so light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #0d0d0d;
  color: #ffffff;
  overflow: hidden;
}

.page-gdpr__hero-content {
  z-index: 10;
  max-width: 900px;
  margin-bottom: 40px;
}

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

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

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.2;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Subtle filter to make text stand out, not changing color */
}

.page-gdpr__section {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__image-with-text {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-gdpr__image-with-text--reversed {
  flex-direction: row-reverse;
}

.page-gdpr__image-inline {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__text-content {
  flex: 1;
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #017439;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 4px;
  color: #ffffff;
}

.page-gdpr__contact-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  margin-top: 40px;
}

.page-gdpr__contact-image {
  flex: 1;
  max-width: 40%;
  height: auto;
  border-radius: 8px;
}

.page-gdpr__contact-details {
  flex: 1.5;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__contact-list .page-gdpr__list-item {
  background: none;
  border-left: none;
  padding: 5px 0;
  margin-bottom: 8px;
  border-radius: 0;
}

.page-gdpr__contact-link {
  color: #017439; /* Brand color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
  color: #00a040; /* Slightly lighter green on hover */
}

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

.page-gdpr__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-title {
  margin: 0;
  color: #FFFFFF;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
  color: #FFFFFF;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

.page-gdpr__btn-secondary {
  display: inline-block;
  background: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  font-size: 1.1em;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-secondary:hover {
  background: #00a040;
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.5em;
  }

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

  .page-gdpr__image-with-text {
    flex-direction: column;
    text-align: center;
  }

  .page-gdpr__image-with-text--reversed {
    flex-direction: column;
  }

  .page-gdpr__image-inline {
    max-width: 80%;
    margin-bottom: 20px;
  }

  .page-gdpr__contact-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-gdpr__contact-image {
    max-width: 80%;
    margin-bottom: 20px;
  }
}

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

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

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

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

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

  .page-gdpr__subsection-title {
    font-size: 1.5em;
    margin-top: 30px;
  }

  .page-gdpr__text-block, .page-gdpr__list-item {
    font-size: 0.95em;
  }

  .page-gdpr__image-inline,
  .page-gdpr__contact-image {
    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__image-with-text,
  .page-gdpr__contact-card,
  .page-gdpr__faq-list,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .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: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

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