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

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

.page-gdpr__section-spacing {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-gdpr__card-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 10px;
}

.page-gdpr__text-center {
  text-align: center;
}

.page-gdpr__text-link {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__text-link:hover {
  color: #005a2e;
}

.page-gdpr__list-style {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__list-style li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for desktop hero */
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px 0;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

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

.page-gdpr__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #005a2e;
  border-color: #005a2e;
}

/* Intro Section */
.page-gdpr__intro-section p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #444444;
}

/* Dark Section */
.page-gdpr__dark-section {
  background-color: #017439;
  color: #ffffff;
}

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

.page-gdpr__dark-section .page-gdpr__text-link {
  color: #FFFF00;
}

.page-gdpr__dark-section .page-gdpr__text-link:hover {
  color: #ffffff;
}

/* Data Collection Grid */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__data-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-gdpr__data-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-gdpr__data-card li {
  margin-bottom: 8px;
  font-size: 0.95em;
}

/* Data Usage Grid */
.page-gdpr__usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__usage-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-gdpr__usage-item p {
  font-size: 0.95em;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
}

/* User Rights Grid */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__right-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-gdpr__right-card p {
  font-size: 0.95em;
}

/* Contact Section */
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: center;
}

.page-gdpr__contact-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #ffffff;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

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

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: "−";
}

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

/* Call to Action Section */
.page-gdpr__call-to-action .page-gdpr__section-title {
  margin-bottom: 20px;
}

.page-gdpr__call-to-action p {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 30px;
}

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

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-gdpr__grid-container,
  .page-gdpr__usage-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px !important;
  }

  .page-gdpr__section-spacing {
    padding: 40px 0 !important;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px !important;
  }

  .page-gdpr__hero-content {
    padding: 20px 15px 0 !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5em, 6vw, 2.2em) !important;
    margin-bottom: 15px !important;
  }

  .page-gdpr__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.3em !important;
  }

  .page-gdpr__card-title {
    font-size: 1.1em !important;
  }

  .page-gdpr p {
    font-size: 0.95em !important;
  }

  /* Universal Image Adaption */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Image Containers */
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-content,
  .page-gdpr__data-card,
  .page-gdpr__usage-item,
  .page-gdpr__right-card,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0 !important; /* Resetting padding if any from parent */
    padding-right: 0 !important;
  }

  /* Button Adaption */
  .page-gdpr__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .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: 12px 20px !important;
  }

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

  .page-gdpr__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.9em !important;
  }

  .page-gdpr__data-card,
  .page-gdpr__usage-item,
  .page-gdpr__right-card {
    padding: 20px !important;
  }
}