/* style/gdpr.css */
.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__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  margin-bottom: 40px;
  text-align: center;
  background-color: #f0f0f0;
}

.page-gdpr__hero-image-wrap {
  position: relative;
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  padding: 30px 20px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-gdpr__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  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--register {
  background-color: #C30808; /* Custom color for register */
  color: #ffffff; /* Ensuring WCAG AA contrast */
  border: 2px solid #C30808;
}

.page-gdpr__btn--register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-gdpr__btn--login {
  background-color: #C30808; /* Custom color for login */
  color: #ffffff; /* Ensuring WCAG AA contrast */
  border: 2px solid #C30808;
}

.page-gdpr__btn--login:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-gdpr__article-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
}

.page-gdpr__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
}

.page-gdpr strong {
  font-weight: 700;
  color: #017439;
}

.page-gdpr__link-text {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__link-text:hover {
  color: #005f2e;
}

.page-gdpr__image-figure {
  margin: 30px 0;
  text-align: center;
}

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

.page-gdpr__image-caption {
  font-size: 14px;
  color: #666666;
  margin-top: 10px;
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333333;
}

.page-gdpr__cta-box {
  background-color: #017439;
  color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 50px;
}

.page-gdpr__cta-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-gdpr__cta-box p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    margin-bottom: 20px;
    padding-top: 10px !important; /* Ensure small padding */
  }

  .page-gdpr__hero-content {
    padding: 20px 15px 30px;
  }

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

  .page-gdpr__description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
  }

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

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

  .page-gdpr__article-wrap {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__section-title {
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr p,
  .page-gdpr__list-item {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-gdpr__image-figure {
    margin: 20px 0;
  }

  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__cta-box {
    padding: 30px 20px;
    margin-top: 30px;
  }

  .page-gdpr__cta-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .page-gdpr__cta-box p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Ensure all image containers are responsive */
  .page-gdpr__hero-image-wrap,
  .page-gdpr__image-figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
}