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

.page-gdpr__hero-section {
  background-color: #FFD700; /* Primary brand color */
  color: #333333;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
  z-index: 0;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #8B0000; /* Secondary brand color for emphasis */
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.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;
  position: relative;
  z-index: 1;
  min-width: 200px;
  text-align: center;
}

.page-gdpr__button--primary {
  background-color: #8B0000; /* Secondary brand color */
  color: #FFFFFF;
}

.page-gdpr__button--primary:hover {
  background-color: #6a0000;
}

.page-gdpr__button--secondary {
  background-color: #FFD700; /* Primary brand color */
  color: #333333;
  border: 2px solid #FFD700;
}

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

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

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #8B0000; /* Secondary brand color */
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__text {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.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: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__card-image {
  width: 100%; /* Ensure images are responsive within cards */
  height: auto;
  max-width: 400px; /* Example max-width for card images */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  display: block; /* Ensure image behaves as block for margin auto */
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 15px;
}

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

.page-gdpr__grid--rights {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-gdpr__card--right .page-gdpr__card-image {
  max-width: 300px; /* Smaller images for rights cards */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__contact-us {
  text-align: center;
  background-color: #f9f9f9;
}

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

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

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

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

  .page-gdpr__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Content area images must be responsive and not cause horizontal scroll */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }
}

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

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

  .page-gdpr__section {
    padding: 40px 15px;
  }
}