.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;
  overflow: hidden;
  background-color: #000000; /* Primary color for hero background */
  color: #FFFFFF; /* White text for dark background */
  padding: 0;
  text-align: center;
}

.page-gdpr__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3; /* Slightly dim the image to make text stand out */
  z-index: 0;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 60px 20px;
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

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

.page-gdpr__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

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

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

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

.page-gdpr__button--login:hover {
  background-color: #E6A83E;
  color: #000000;
}

.page-gdpr__introduction-section,
.page-gdpr__principles-section,
.page-gdpr__user-rights-section,
.page-gdpr__data-processing-section,
.page-gdpr__security-measures-section,
.page-gdpr__cookies-section,
.page-gdpr__contact-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-gdpr__introduction-section {
  background-color: #F8F8F8;
}

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

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

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

.page-gdpr__paragraph a:hover {
  text-decoration: underline;
}

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

.page-gdpr__principle-card,
.page-gdpr__processing-card {
  background-color: #FDFDFD;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  min-width: 200px; /* Ensure cards are large enough */
  min-height: 200px; /* Ensure cards are large enough */
}

.page-gdpr__principle-card:hover,
.page-gdpr__processing-card:hover {
  transform: translateY(-10px);
}

.page-gdpr__principle-image,
.page-gdpr__processing-image {
  width: 100%;
  max-width: 400px; /* Max width for content images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-gdpr__rights-list,
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__rights-item,
.page-gdpr__security-item {
  background-color: #F8F8F8;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-gdpr__rights-heading,
.page-gdpr__security-item strong {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-gdpr__rights-description {
  font-size: 1.05em;
  color: #555555;
}

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

.page-gdpr__rights-description a:hover {
  text-decoration: underline;
}

.page-gdpr__button--contact {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 3em;
  }

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

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

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

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

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

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

  .page-gdpr__principles-grid,
  .page-gdpr__processing-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__principles-section,
  .page-gdpr__user-rights-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__security-measures-section,
  .page-gdpr__cookies-section,
  .page-gdpr__contact-section {
    padding: 60px 0;
  }

  .page-gdpr__hero-image,
  .page-gdpr__principle-image,
  .page-gdpr__processing-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min image size for mobile */
    min-height: 200px; /* Enforce min image size for mobile */
  }

  /* Ensure all content images are responsive and do not overflow */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

  .page-gdpr__rights-item,
  .page-gdpr__security-item {
    padding: 20px;
  }

  .page-gdpr__rights-heading,
  .page-gdpr__security-item strong {
    font-size: 1.2em;
  }
}