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

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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: var(--secondary-color, #FFFFFF);
  text-align: center;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-gdpr__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-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: #FFFFFF; /* High contrast text for button */
  border: 2px solid #C30808;
}

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

.page-gdpr__btn--secondary {
  background-color: #017439; /* Primary brand color */
  color: #FFFFFF;
  border: 2px solid #017439;
}

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

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

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

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__text-block,
.page-gdpr__dark-bg .page-gdpr__list-highlight,
.page-gdpr__dark-bg .page-gdpr__principle-title,
.page-gdpr__dark-bg .page-gdpr__principle-description,
.page-gdpr__dark-bg .page-gdpr__rights-list li,
.page-gdpr__dark-bg .page-gdpr__security-measures-list li,
.page-gdpr__dark-bg .page-gdpr__contact-text,
.page-gdpr__dark-bg .page-gdpr__contact-list li {
  color: #FFFFFF;
}

.page-gdpr__dark-bg .page-gdpr__text-link {
  color: #FFFF00; /* High contrast for links on dark background */
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 25px;
  color: #333333;
}

.page-gdpr__text-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__text-link:hover {
  color: #005f2e;
}

.page-gdpr__image-wrapper {
  margin: 30px auto;
  text-align: center;
}

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

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

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

.page-gdpr__principles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__principle-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__dark-bg .page-gdpr__principle-item {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.page-gdpr__principle-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__dark-bg .page-gdpr__principle-title {
  color: #FFFFFF;
}

.page-gdpr__principle-description {
  font-size: 1em;
  color: #555555;
}

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

.page-gdpr__rights-list,
.page-gdpr__security-measures-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__rights-list li,
.page-gdpr__security-measures-list li {
  background-color: #f9f9f9;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #017439;
  border-radius: 4px;
  font-size: 1.05em;
  color: #333333;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-gdpr__dark-bg .page-gdpr__rights-list li,
.page-gdpr__dark-bg .page-gdpr__security-measures-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left-color: #FFFF00; /* Highlight on dark background */
  color: #FFFFFF;
}

.page-gdpr__list-highlight {
  font-weight: bold;
  color: #017439;
}

.page-gdpr__dark-bg .page-gdpr__list-highlight {
  color: #FFFF00;
}

.page-gdpr__contact-info {
  margin-top: 30px;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-gdpr__dark-bg .page-gdpr__contact-info {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-gdpr__dark-bg .page-gdpr__contact-text {
  color: #FFFFFF;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-gdpr__contact-list li {
  font-size: 1.05em;
  margin-bottom: 8px;
  color: #333333;
}

.page-gdpr__dark-bg .page-gdpr__contact-list li {
  color: #FFFFFF;
}

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

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

@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.2em);
  }

  .page-gdpr__principles-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

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

  .page-gdpr__main-title {
    font-size: 1.8em !important;
    padding: 0 15px;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
    padding: 0 15px;
  }

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

  .page-gdpr__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* 2. Single column long text containers */
  .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__section-title {
    font-size: 1.6em !important;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

  .page-gdpr__principle-item {
    padding: 20px;
  }

  .page-gdpr__principle-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-gdpr__principle-description {
    font-size: 0.9em;
  }

  .page-gdpr__rights-list li,
  .page-gdpr__security-measures-list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  .page-gdpr__contact-info {
    padding: 20px;
  }

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

  .page-gdpr__contact-list li {
    font-size: 0.95em;
  }

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

  .page-gdpr__image-wrapper {
    margin: 20px auto;
  }

  .page-gdpr__image-caption {
    font-size: 0.85em;
  }

  /* 4. Buttons and button containers (already covered in top section CTA, but reinforced) */
  .page-gdpr__cta-group {
    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;
  }

  /* 5. Tutorial/FAQ sections - N/A for this GDPR page, general content blocks covered */
  .page-gdpr__principles-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__cta-group--bottom {
    padding: 0 15px;
  }
}