.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 not hidden by fixed header */
}

.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero section */
  color: #ffffff;
  padding: 0;
  text-align: center;
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image for text readability */
}

.page-gdpr__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  padding: 20px;
  max-width: 90%;
}

.page-gdpr__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

.page-gdpr__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
  font-size: 1.1em;
}

.page-gdpr__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-gdpr__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-gdpr__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-gdpr__content-section:nth-of-type(odd) {
  background-color: #f8f8f8;
}

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

.page-gdpr__heading {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
}

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

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

.page-gdpr__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card-image {
  width: 100%; /* Card image takes full width of card */
  max-width: 300px; /* Limit max width to keep it proportional */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.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.1em;
}

.page-gdpr__list-item strong {
  color: #000000;
}

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

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

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-gdpr__image--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 768px) {
  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__hero-actions {
    flex-direction: column;
  }
  .page-gdpr__button {
    width: 100%;
    min-width: unset;
  }
  .page-gdpr__heading {
    font-size: 1.8em;
  }
  .page-gdpr__text, .page-gdpr__list-item {
    font-size: 1em;
  }
  .page-gdpr__grid {
    grid-template-columns: 1fr;
  }
  /* Ensure all content images are responsive and do not overflow */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content images are not too small */
  .page-gdpr__card-image, .page-gdpr__image {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
    width: auto; /* Allow auto width to scale with max-width */
    height: auto; /* Allow auto height to scale with max-width */
  }
  .page-gdpr__hero-image {
    min-width: unset;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__heading {
    font-size: 1.5em;
  }
  .page-gdpr__button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-gdpr__hero-content {
    padding: 15px;
  }
}