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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  padding-bottom: 40px;
  background-color: #f8f8f8;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr__hero-content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-gdpr__cta-buttons--bottom {
    margin-top: 40px;
    margin-bottom: 40px;
}

.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, border-color 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
}

.page-gdpr__content-section {
  padding: 50px 0;
  background-color: #FFFFFF;
}

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

.page-gdpr__heading {
  font-size: 2.2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__sub-heading {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr p {
  margin-bottom: 1em;
  color: #444444;
}

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

.page-gdpr__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__figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

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

  /* 1. Top section (hero) + CTA */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Small top padding, relies on body padding-top from shared.css */
    padding-bottom: 30px;
  }

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .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: 12px 15px;
  }

  /* 2. Single column long text container */
  .page-gdpr__content-section {
    padding: 30px 0;
  }

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

  .page-gdpr__heading {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-gdpr p {
    font-size: 1em;
  }

  /* 3. General images and figure */
  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__figure {
    margin: 20px 0;
    /* padding: 0 15px; Removed to prevent double padding if article-wrap already has it */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

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

  /* 4. Buttons and button containers (already covered in top section, but re-emphasize for general) */
  .page-gdpr__cta-buttons--bottom {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* 5. Registration tutorial & FAQ (not explicitly in outline for this page, so no specific rules) */
}

/* Color contrast safety */
.page-gdpr {
  color: #333333; /* Default text for assumed light body background */
}

.page-gdpr__hero-section {
  background-color: #f8f8f8; /* Light background */
}

.page-gdpr__content-section {
  background-color: #FFFFFF; /* Light background */
}

.page-gdpr__main-title {
  color: #26A9E0;
}

.page-gdpr__heading {
  color: #26A9E0;
}

.page-gdpr__sub-heading {
  color: #333333;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #26A9E0;
}