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

.page-gdpr__hero-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f8f8f8; /* Light background for hero */
  border-bottom: 1px solid #e0e0e0;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

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

.page-gdpr__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

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

.page-gdpr__article-heading {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-gdpr__sub-heading {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__article p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

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

.page-gdpr__list li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

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

.page-gdpr__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  min-width: 200px; /* Minimum size */
  min-height: 200px;
}

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

.page-gdpr__promo-box {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
}

.page-gdpr__promo-title {
  font-size: clamp(1.6em, 3vw, 2.2em);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-gdpr__promo-text {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-promo {
  background-color: #EA7C07; /* Login color for prominent CTA */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-gdpr__btn-promo:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

/* Link styling */
.page-gdpr a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #1f8ec4;
}

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

  .page-gdpr__article-heading {
    font-size: 2.2em;
  }

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

@media (max-width: 768px) {
  /* 1. Top section title + CTA */
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding */
  }

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

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

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

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

  /* 2. Single column long text container */
  .page-gdpr__article-wrap {
    padding: 0 15px;
  }

  .page-gdpr__article-heading {
    font-size: 1.8em !important;
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

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

  /* 3. Generic images and figures */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-gdpr__figure {
    margin: 20px 0;
  }

  /* Ensure content containers don't overflow */
  .page-gdpr__content-section,
  .page-gdpr__container,
  .page-gdpr__promo-box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 4. Buttons and button containers (already covered in top section, reinforcing here) */
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 5. Registration tutorial and FAQ blocks (promo-box is the closest equivalent here) */
  .page-gdpr__promo-box {
    padding: 25px 15px;
    margin-top: 40px;
  }

  .page-gdpr__promo-title {
    font-size: 1.8em !important;
  }

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

  .page-gdpr__list {
    margin-left: 20px;
  }
}