/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-gdpr__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__top-section {
  padding-top: 10px; /* Adhering to ~10px top spacing if body padding-top is handled by shared.css */
  padding-bottom: 40px;
  text-align: center;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-gdpr__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #333333;
}

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

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

.page-gdpr__btn--register,
.page-gdpr__btn--login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-gdpr__btn--register:hover,
.page-gdpr__btn--login:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: inherit;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-gdpr__intro-text--dark {
  font-size: 1.1em;
  max-width: 800px;
  margin: -20px auto 30px auto;
  color: #ffffff;
  text-align: center;
}

.page-gdpr__content-block {
  font-size: 1.05em;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__content-block p {
  margin-bottom: 1em;
  color: inherit;
}

.page-gdpr__content-block a {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__dark-bg .page-gdpr__content-block a {
  color: #FFFF00;
}

.page-gdpr__sub-title {
  font-size: clamp(1.3em, 2.5vw, 1.8em);
  color: inherit;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.page-gdpr__figure {
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  background-color: #f8f8f8;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

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

.page-gdpr__figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

.page-gdpr__dark-bg .page-gdpr__figcaption {
  color: #e0e0e0;
}

.page-gdpr__contact-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__contact-list li {
  margin-bottom: 8px;
}

.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-gdpr__btn--contact {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-gdpr__btn--contact:hover {
  background-color: #005a2d;
  transform: translateY(-2px);
}

.page-gdpr__btn--join {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-gdpr__btn--join:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

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

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

  .page-gdpr__top-section {
    padding-top: 10px !important; /* Fixed top spacing */
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .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__section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-gdpr__content-block {
    font-size: 1em;
  }

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

  .page-gdpr__figure {
    margin: 20px auto;
    padding: 10px;
  }

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

  .page-gdpr__figcaption {
    font-size: 0.85em;
  }

  .page-gdpr__contact-list {
    margin-left: 20px;
  }

  .page-gdpr__cta-wrapper {
    margin-top: 30px;
  }
}

/* General image responsiveness for all images within .page-gdpr */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure containers for images are also responsive */
.page-gdpr__section,
.page-gdpr__content-block {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}