.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background);
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  min-height: 500px;
  color: var(--text-main);
  background-color: var(--card-bg);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit image height to prevent it from being too tall */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 1200px; /* Display width in desktop */
  max-height: 675px; /* Maintain aspect ratio */
}

.page-gdpr__hero-content {
  position: relative; /* Ensure content is above image if z-index is used, but not overlapping */
  z-index: 2;
  padding: 20px;
  margin-top: 20px; /* Space between image and content */
  max-width: 800px;
}

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: var(--text-main);
  /* Avoid fixed font-size, rely on weight/line-height */
  font-size: clamp(2em, 4vw, 3.2em);
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-gdpr__btn-secondary:hover {
  background: var(--border);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-main);
  line-height: 1.3;
}

.page-gdpr__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

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

.page-gdpr__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-gdpr__list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--deep-green); /* Checkmark color */
  font-weight: bold;
}

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

.page-gdpr__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__link {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  text-decoration: underline;
  color: var(--glow);
}

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

.page-gdpr__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-gdpr__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-main);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--text-main);
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none; /* Disable text selection on iOS */
  -webkit-user-select: none; /* Disable text selection on iOS */
  -moz-user-select: none; /* Disable text selection on Firefox */
  -ms-user-select: none; /* Disable text selection on IE/Edge */
  user-select: none; /* Disable text selection */
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow);
}

.page-gdpr__faq-answer {
  padding: 0 25px 18px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

.page-gdpr__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-gdpr__cta-content {
  max-width: 800px;
}

/* Color classes for smart contrast */
.page-gdpr__dark-bg {
  background-color: var(--background);
  color: var(--text-main);
}

.page-gdpr__light-bg {
  background-color: #08160F;
  color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

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

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

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding-bottom: 40px;
    min-height: auto;
  }

  .page-gdpr__hero-content {
    padding: 15px;
    margin-top: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em);
    margin-bottom: 10px;
  }

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: center;
  }

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

  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list li,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }

  .page-gdpr__list li::before {
    font-size: 0.9em;
    top: 3px;
  }

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

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-gdpr__faq-toggle {
    font-size: 1.3em;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-content,
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific override for section padding to prevent double padding */
  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}