.page-gdpr {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is pushed down by fixed header */
}

.page-gdpr__hero-section {
  background-color: #f0f0f0; /* Light background for hero section */
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr__hero-container {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
  background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white background for text overlay */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-gdpr__hero-actions {
  display: flex;
  gap: 20px;
  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, color 0.3s ease;
  white-space: nowrap;
}

.page-gdpr__button--primary {
  background-color: #000000;
  color: #FFFFFF; /* Register button color */
  border: 2px solid #000000;
}

.page-gdpr__button--primary:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-gdpr__button--secondary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-gdpr__button--secondary:hover {
  background-color: #e0a53a;
  color: #000000;
}

.page-gdpr__content-section {
  padding: 50px 20px;
  background-color: #FFFFFF;
}

.page-gdpr__what-is-gdpr {
  background-color: #f9f9f9;
}

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

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

.page-gdpr__section-description {
  font-size: 1.05em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-gdpr__grid-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-gdpr__item-text {
  color: #444444;
  font-size: 0.95em;
}

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

.page-gdpr__rights-item {
  background-color: #f0f0f0;
  border-left: 5px solid #000000;
  padding: 20px;
  border-radius: 5px;
}

.page-gdpr__rights-item .page-gdpr__item-title {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  text-align: left;
}

.page-gdpr__rights-item .page-gdpr__item-text {
  color: #444444;
  font-size: 0.9em;
  text-align: left;
}

.page-gdpr__dpo-contact {
  background-color: #f9f9f9;
}

.page-gdpr__contact-info {
  text-align: center;
  margin-top: 30px;
}

.page-gdpr__contact-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  color: #FCBC45;
}

/* Responsive adjustments */
@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;
    gap: 15px;
  }

  .page-gdpr__button {
    width: 100%;
  }

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

  .page-gdpr__section-description {
    font-size: 0.95em;
  }

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

  .page-gdpr__image {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
  }
  
  /* Ensure content area images do not cause overflow */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
  }

  .page-gdpr__hero-title {
    font-size: 1.6em;
  }

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

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

  .page-gdpr__content-section {
    padding: 30px 15px;
  }

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

  .page-gdpr__item-title {
    font-size: 1.2em;
  }
}