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

.page-gdpr__hero-section {
  background-color: #017439; /* Brand primary color for hero */
  padding: 80px 20px;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-gdpr__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Custom font color for Login/Register */
  border: 2px solid #C30808; /* Use custom color for border */
}

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

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Explicitly set light background for content */
  color: #333333; /* Dark text for light background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-40px);
  position: relative;
  z-index: 1;
}

.page-gdpr__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: 2em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-gdpr__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
}

.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-gdpr__card {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333; /* Dark text for light card background */
  border: 1px solid #e0e0e0;
}

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

.page-gdpr__card-text {
  font-size: 0.95em;
  line-height: 1.6;
}

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

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__list li {
  background-color: #f8f8f8;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #333333;
}

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

.page-gdpr__list-text {
  font-size: 0.95em;
  line-height: 1.6;
}

.page-gdpr__faq-section {
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-gdpr__faq-heading {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
}

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

.page-gdpr__faq-item summary {
  display: block;
  padding: 20px 25px;
  cursor: pointer;
  outline: none;
  position: relative;
  list-style: none;
  color: #017439;
  font-weight: bold;
  font-size: 1.1em;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

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

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

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__section-title {
    font-size: 1.6em;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__card {
    padding: 20px;
  }

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

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

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__hero-section,
  .page-gdpr__content-area,
  .page-gdpr__container,
  .page-gdpr__grid,
  .page-gdpr__faq-section,
  .page-gdpr__list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}