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

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

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  text-align: center;
  background-color: #017439; /* Primary brand color for hero */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for emphasis */
  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__content-section {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
}

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

.page-gdpr__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__paragraph--white {
  color: #ffffff;
}

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

.page-gdpr__rights-list,
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__list-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-gdpr__dark-section .page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-gdpr__list-item:hover {
  transform: translateY(-5px);
}

.page-gdpr__list-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-gdpr__list-item--white .page-gdpr__list-title {
  color: #FFFF00;
}

.page-gdpr__list-item p {
  font-size: 0.95em;
  color: #555555;
}

.page-gdpr__list-item--white p {
  color: #f0f0f0;
}

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

.page-gdpr__faq-section {
  background-color: #017439; /* Primary brand color */
  padding: 60px 0;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-gdpr__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

.page-gdpr__faq-item details[open] {
  background-color: #f9f9f9;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  list-style: none; /* For details summary */
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #017439;
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95em;
  color: #555555;
}

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

.page-gdpr__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Custom color for Register */
  color: #FFFF00; /* Custom font color for Register */
  border-color: #C30808;
}

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

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

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

.page-gdpr__contact-section {
  text-align: center;
  padding: 60px 0;
}

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

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

  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    padding: 60px 20px;
    min-height: 300px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

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

  .page-gdpr__rights-list,
  .page-gdpr__security-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-bottom: 10px; /* For stacked buttons */
  }

  /* Ensure all images are responsive and do not overflow */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
    overflow-x: hidden !important;
  }
}

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