.page-gdpr {
  color: #333333; /* Dark text for default light body background */
}

.page-gdpr__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-gdpr__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(26, 26, 26, 0.85); /* Semi-transparent dark background */
  border-radius: 10px;
  color: #ffffff; /* Light text for dark container */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

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

.page-gdpr__hero-button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #1A1A1A;
}

.page-gdpr__hero-button--primary:hover {
  background-color: #e6c200;
}

.page-gdpr__hero-button--secondary {
  background-color: #1A1A1A; /* Dark secondary button */
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-gdpr__hero-button--secondary:hover {
  background-color: #333333;
  color: #ffffff;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.8;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #1A1A1A; /* Dark title */
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold subsection title */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__article p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 40px;
  margin-bottom: 30px;
}

.page-gdpr__list-item {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 40px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 30px;
  width: 600px; /* Enforce minimum size for image */
  height: 400px; /* Enforce minimum size for image */
  object-fit: cover;
}

.page-gdpr__image--full-width {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.page-gdpr__actions-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-gdpr__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-gdpr__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
}

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

.page-gdpr__button--secondary {
  background-color: #1A1A1A;
  color: #FFD700;
  border: 2px solid #FFD700;
}

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

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

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

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

  .page-gdpr__image--right {
    float: none;
    margin: 30px auto;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .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__hero-button {
    min-width: unset;
    width: 100%;
  }

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

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

  .page-gdpr__subsection-title {
    font-size: 1.4em;
  }

  .page-gdpr__list {
    margin-left: 20px;
  }

  .page-gdpr__list-item,
  .page-gdpr__article p {
    font-size: 0.95em;
  }

  .page-gdpr__actions-bottom {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all content images are responsive and do not overflow */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce minimum size even on mobile */
    min-height: 200px !important; /* Enforce minimum size even on mobile */
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-container {
    padding: 20px;
  }

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

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

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