/* style/gdpr.css */
/* BEM Naming: page-gdpr__element-name */

.page-gdpr {
  color: #ffffff; /* Default text color for the page content, contrasting with dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Main content area doesn't have its own background, body handles it */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 60px;
  text-align: center;
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff;
}

.page-gdpr__hero-section.page-gdpr__dark-bg {
  background-color: #017439; /* Explicitly set brand color for dark background */
  color: #ffffff;
}

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

.page-gdpr__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-gdpr__hero-image-wrapper {
  margin-top: 40px;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure image behaves as a block element for max-width */
  margin: 0 auto;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #ffffff; /* White background for content sections for readability */
  color: #333333; /* Dark text for white background */
}

.page-gdpr__content-section.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand primary color for titles */
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
  text-align: justify;
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-gdpr__link {
  color: #017439; /* Brand primary color for links */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #005f2b; /* Slightly darker green on hover */
}

.page-gdpr__image-container {
  margin: 40px 0;
  text-align: center;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure image behaves as a block element for max-width */
  margin: 0 auto;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
}

/* Call to Action Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 50px 0;
  background-color: #f8f8f8; /* Light background for CTA */
  margin-top: 40px;
  border-radius: 8px;
}

.page-gdpr__cta-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #333333;
  font-weight: bold;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #017439; /* Primary brand color for button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent; /* Required for contrast section */
}

.page-gdpr__btn-primary:hover {
  background-color: #005f2b; /* Darker green on hover */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }

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

  .page-gdpr__section-title {
    font-size: 1.5em;
  }

  .page-gdpr__content-section,
  .page-gdpr__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important; /* Allow smaller display if needed, but min 200px requested for generation */
    min-height: unset !important;
  }

  /* Mobile container responsiveness */
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__cta-section,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile button responsiveness */
  .page-gdpr__btn-primary {
    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;
  }
}

/* Ensure no filter on images */
.page-gdpr img {
  filter: none !important;
}