.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background); /* Use shared background color */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  background-color: var(--background);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image wrapper */
  margin-bottom: 30px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-gdpr__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__content-area {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: bold;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-gdpr__text-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.05em;
}

.page-gdpr__text-block h3 {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--deep-green);
}

.page-gdpr__text-block p {
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__text-block a {
  color: var(--deep-green);
  text-decoration: underline;
}

.page-gdpr__dark-bg {
  background-color: var(--background);
  color: var(--text-main);
}

.page-gdpr__text-main {
  color: var(--text-main);
}

.page-gdpr__text-secondary {
  color: var(--text-secondary);
}

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

.page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-gdpr__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.page-gdpr__card-dark {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-gdpr__card-image,
.page-gdpr__info-card-icon {
  width: 100%;
  max-width: 200px; /* Ensure images are not too small but fit the card */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__card-title,
.page-gdpr__info-card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-gdpr__card-description,
.page-gdpr__info-card-text {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-gdpr__info-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main);
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--divider);
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid var(--divider);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevent text selection from interfering with toggle */
}

.page-gdpr__faq-toggle {
  margin-left: 15px;
  font-size: 1.5em;
  line-height: 1;
  pointer-events: none; /* Prevent toggle from interfering with details click */
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider);
}

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

/* Hide default details marker */
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-gdpr__faq-item summary::marker {
  display: none;
}

.page-gdpr__cta-section {
  padding: 80px 20px;
  background-color: var(--deep-green);
}

.page-gdpr__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__cta-content .page-gdpr__btn-primary,
.page-gdpr__cta-content .page-gdpr__btn-secondary {
  margin: 15px 10px;
}

.page-gdpr__link-text {
  color: var(--gold);
}

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }

  .page-gdpr__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-gdpr__subtitle {
    font-size: 1em;
  }

  .page-gdpr__section {
    padding: 40px 15px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.8em, 7vw, 2em);
  }

  .page-gdpr__text-block {
    padding: 0 10px;
  }

  .page-gdpr__text-block h3 {
    font-size: clamp(1.2em, 5vw, 1.5em);
  }

  .page-gdpr__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card,
  .page-gdpr__info-card {
    padding: 20px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure width is 100% on mobile */
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__text-block,
  .page-gdpr__grid-layout,
  .page-gdpr__faq-list,
  .page-gdpr__cta-section,
  .page-gdpr__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile button responsiveness */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important; /* Stack buttons vertically */
  }

  .page-gdpr__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}