.page-gdpr {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  position: relative;
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
  overflow: hidden;
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  z-index: 1;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

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

.page-gdpr__hero-description {
  font-size: 1.3em;
  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;
  white-space: nowrap;
}

.page-gdpr__button--register {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
}

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

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

.page-gdpr__button--learn-more:hover,
.page-gdpr__button--contact:hover {
  background-color: #f0f0f0;
}

.page-gdpr__section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-gdpr__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

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

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

.page-gdpr__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-gdpr__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__text-content {
  flex: 1;
  font-size: 1.1em;
}

.page-gdpr__text-content p {
  margin-bottom: 20px;
}

.page-gdpr__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-gdpr__image-wrapper--center {
  margin-top: 40px;
}

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

.page-gdpr__right-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

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

.page-gdpr__contact-container {
  text-align: center;
}

.page-gdpr__contact-info {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

.page-gdpr__contact-info p {
  margin-bottom: 25px;
}

.page-gdpr__contact-info .page-gdpr__button {
  margin: 0 10px;
}

.page-gdpr__image-wrapper--contact {
  margin-top: 40px;
}

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

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

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

  .page-gdpr__content-grid {
    flex-direction: column;
  }

  .page-gdpr__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    padding: 60px 15px;
  }

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

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

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

  .page-gdpr__button {
    padding: 12px 25px;
    width: 100%;
  }

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

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

  .page-gdpr__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-gdpr__text-content {
    font-size: 1em;
  }

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

  .page-gdpr__right-card {
    padding: 25px;
  }

  .page-gdpr__card-title {
    font-size: 1.3em;
  }

  .page-gdpr__image-wrapper img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
  }

  /* Critical: prevent horizontal overflow for images in mobile */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }

  .page-gdpr__contact-info .page-gdpr__button {
    margin: 10px 0;
  }
}

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

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