.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); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
}

.page-gdpr__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF; /* Light text for hero content over dark image */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-gdpr__hero-container {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.page-gdpr__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.page-gdpr__button--register {
  background-color: #FCBC45;
  color: #000000;
}

.page-gdpr__button--register:hover {
  background-color: #e0a030;
}

.page-gdpr__button--learn, .page-gdpr__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #FCBC45;
}

.page-gdpr__button--learn:hover, .page-gdpr__button--secondary:hover {
  background-color: #333333;
  border-color: #e0a030;
}

.page-gdpr__section {
  padding: 60px 20px;
  border-bottom: 1px solid #eee;
}

.page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
}

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

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

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

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-gdpr__right-card {
  background-color: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__right-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card-image {
  width: 100%;
  height: auto;
  max-width: 300px; /* Constrain card image size */
  margin: 0 auto 15px auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

.page-gdpr__card-text {
  font-size: 0.95em;
  color: #555555;
}

.page-gdpr__section--cta {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-gdpr__section--cta .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__section--cta .page-gdpr__text {
  color: #f0f0f0;
}

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

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

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

  .page-gdpr__button {
    width: 100%;
    padding: 10px 20px;
  }

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

  .page-gdpr__image,
  .page-gdpr__card-image {
    max-width: 100%;
    height: auto;
    width: 100%; /* Ensure images don't overflow */
    max-height: none; /* Remove any max-height that might cause issues */
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }
  
  .page-gdpr__hero-section .page-gdpr__hero-image {
    max-width: 100%;
    height: auto;
    width: 100%;
  }
}

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

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

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

/* Ensure content area images do not cause horizontal scrolling */
@media (max-width: 768px) {
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
}