.page-gdpr {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-gdpr__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding: 80px 0;
  overflow: hidden;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability, not changing color */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-gdpr__btn {
  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, transform 0.2s ease;
  white-space: nowrap;
}

.page-gdpr__btn--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000; /* Dark text for contrast */
}

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

.page-gdpr__btn--secondary {
  background-color: #FFFFFF; /* Register color for secondary action */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #000000;
  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: #FCBC45;
  border-radius: 2px;
}

.page-gdpr__intro-section,
.page-gdpr__principles-section,
.page-gdpr__your-rights-section,
.page-gdpr__cta-section,
.page-gdpr__related-links-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Ensures light background for dark text */
}

.page-gdpr__text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-gdpr__card {
  background-color: #F8F8F8;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-gdpr__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-gdpr__card-text {
  font-size: 1em;
  color: #555555;
  text-align: left;
}

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

.page-gdpr__rights-list li {
  background-color: #F8F8F8;
  padding: 15px 20px;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  font-size: 1.05em;
  color: #333333;
}

.page-gdpr__rights-list li strong {
  color: #000000;
}

.page-gdpr__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #e0a53a;
  text-decoration: underline;
}

.page-gdpr__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-gdpr__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F0F0F0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn--cta {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-gdpr__btn--cta:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

.page-gdpr__related-links-section {
  background-color: #F5F5F5;
  padding: 60px 0;
}

.page-gdpr__links-list {
  list-style: none;
  padding: 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 30px;
}

.page-gdpr__links-list li a {
  font-size: 1.1em;
  color: #000000;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-gdpr__links-list li a:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }

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

  .page-gdpr__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn {
    width: 100%;
    max-width: 300px;
  }

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

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

  .page-gdpr__card-image {
    height: auto;
    max-width: 100%;
    min-height: 200px; /* Explicitly ensure min height for display */
    object-fit: cover;
  }

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

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

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

  .page-gdpr__links-list {
    flex-direction: column;
    gap: 10px;
  }

  /* Ensure all content area images are responsive and meet min display size */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Global minimum width for content images */
    min-height: 200px; /* Global minimum height for content images */
  }
}