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

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

.page-gdpr__top-section {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
}

.page-gdpr__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__top-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

.page-gdpr__btn-secondary {
  background-color: #C30808; /* Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-gdpr__btn-secondary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

.page-gdpr__content-section {
  padding: 40px 0;
}

.page-gdpr__article-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.page-gdpr__article {
  flex: 3;
  min-width: 0; /* Ensures it shrinks */
}

.page-gdpr__aside {
  flex: 1;
  min-width: 280px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__article-heading {
  font-size: 2em;
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__article h2:first-of-type {
    margin-top: 0;
}

.page-gdpr__article p {
  margin-bottom: 1em;
  color: #333333;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  color: #333333;
}

.page-gdpr__list li {
  margin-bottom: 0.5em;
}

.page-gdpr__list li strong {
  color: #017439;
}

.page-gdpr__image-figure {
  margin: 20px 0;
  text-align: center;
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__image-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

.page-gdpr__image-caption {
  font-style: italic;
  font-size: 0.9em;
  color: #555555;
  margin-top: 10px;
}

.page-gdpr__promo-box {
  background-color: #e0f2f1;
  border: 1px solid #017439;
  border-radius: 8px;
  padding: 25px;
  margin-top: 30px;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-sizing: border-box;
}

.page-gdpr__promo-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 10px;
}

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

.page-gdpr__promo-box .page-gdpr__btn {
  margin-top: 10px;
  width: 100%;
}

/* Links within content */
.page-gdpr__article a {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__article a:hover {
  color: #00562e;
}

/* --- Responsive Styles --- */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__top-section {
    padding-top: 10px !important; /* Specific override for mobile */
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 10px;
    padding: 0 10px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-gdpr__top-cta {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-gdpr__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__content-section {
    padding: 20px 0;
  }

  .page-gdpr__article-wrap {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__article-heading {
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  .page-gdpr__image-figure {
    margin: 15px 0;
    padding: 5px;
  }

  .page-gdpr__image-figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__promo-box {
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 20px;
    padding: 20px;
    box-sizing: border-box !important;
  }

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

  /* Ensure all content containers are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__article-wrap {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__article-wrap {
    flex-direction: column;
    gap: 25px;
  }

  .page-gdpr__article {
    flex: auto;
  }

  .page-gdpr__promo-box {
    max-width: 600px; /* Constrain promo box width on tablets */
    margin-left: auto;
    margin-right: auto;
  }
}