:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #0A2463;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
}

.page-gdpr__hero-section {
  padding: 120px 20px 60px 20px; /* Adjusted padding-top for fixed header */
  background-color: var(--bg-light);
  text-align: center;
  overflow: hidden;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  color: var(--text-dark);
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__section {
  padding: 80px 20px;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

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

.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--secondary-color);
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Color Contrast Handling */
.page-gdpr__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-gdpr__light-bg .page-gdpr__main-title,
.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__sub-title {
  color: var(--primary-color);
}

.page-gdpr__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__sub-title {
  color: var(--secondary-color);
}

.page-gdpr__dark-bg .page-gdpr__link {
  color: var(--secondary-color);
}

.page-gdpr__dark-bg .page-gdpr__link:hover {
  color: var(--text-light);
}

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

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

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

  .page-gdpr__hero-section {
    padding-top: 100px; /* Adjusted for tablet */
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 100px 15px 40px 15px; /* Adjusted padding-top for mobile */
  }

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

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

  .page-gdpr__intro-text {
    font-size: 1em;
  }

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

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

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

  .page-gdpr__container {
    padding: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* Force responsive images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-image,
  .page-gdpr__content-image {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}