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

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

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.page-gdpr__hero-section .page-gdpr__container {
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-gdpr__sub-section-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

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

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

.page-gdpr__content-area {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Custom color for login/primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  text-decoration: underline;
  color: #1e87c0;
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #e5e5e5;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevent clicks on text from blocking summary toggle */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  pointer-events: none; /* Prevent clicks on toggle from blocking summary toggle */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #555555;
  text-align: justify;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-item summary {
  list-style: none;
}

.page-gdpr__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  margin-top: 60px;
  border-radius: 10px;
}

.page-gdpr__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-section-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-gdpr__hero-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 30px;
  }
  .page-gdpr__sub-section-title {
    font-size: 1.2em;
  }
  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-gdpr__cta-title {
    font-size: 2em;
  }
  .page-gdpr__cta-description {
    font-size: 1.1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0;
  }
  
  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
  .page-gdpr__faq-question {
    font-size: 0.95em;
  }
  .page-gdpr__faq-answer {
    font-size: 0.9em;
  }
}

/* Ensure all content images in .page-gdpr are at least 200px wide for display, not just source */
.page-gdpr .page-gdpr__content-image {
  min-width: 200px; /* Minimum display width */
  min-height: 200px; /* Minimum display height */
}

/* For any img within .page-gdpr, ensure it adheres to the minimum display size */
.page-gdpr img:not(.page-gdpr__hero-image) {
  min-width: 200px; 
  min-height: 200px;
  object-fit: cover; /* Helps maintain aspect ratio while filling space */
}

/* Override for mobile to ensure responsiveness without breaking min-size */
@media (max-width: 768px) {
  .page-gdpr img:not(.page-gdpr__hero-image) {
    min-width: unset; /* Remove min-width on mobile to allow full responsiveness */
    min-height: unset;
  }
}