:root {
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-background: #08160F;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-gdpr-border: #2E7A4E;
  --page-gdpr-glow: #57E38D;
  --page-gdpr-gold: #F2C14E;
  --page-gdpr-divider: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
  --page-gdpr-primary-color: #11A84E; /* Main color */
  --page-gdpr-secondary-color: #22C768; /* Auxiliary color */
}

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

.page-gdpr__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-gdpr__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Ensure text readability */
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--page-gdpr-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--page-gdpr-text-main);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  position: relative;
}

.page-gdpr__heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--page-gdpr-primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-gdpr__sub-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--page-gdpr-primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__paragraph {
  font-size: 1.1rem;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__paragraph strong {
  color: var(--page-gdpr-text-main);
}

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

.page-gdpr__list--ordered {
  list-style-type: decimal;
  padding-left: 20px;
}

.page-gdpr__list-item {
  font-size: 1.1rem;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-gdpr__list-item::before {
  content: '✓';
  color: var(--page-gdpr-primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-gdpr__list--ordered .page-gdpr__list-item::before {
  content: counter(list-item) '.';
  color: var(--page-gdpr-primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  padding-right: 10px;
}

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

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

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

.page-gdpr__link--cta {
  display: inline-block;
  padding: 12px 25px;
  background: var(--page-gdpr-button-gradient);
  color: var(--page-gdpr-text-main);
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 10px 10px 10px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__link--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  color: var(--page-gdpr-text-main);
  text-decoration: none;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  cursor: pointer;
  background-color: var(--page-gdpr-deep-green);
  border-bottom: 1px solid var(--page-gdpr-border);
}

.page-gdpr__faq-question:hover {
  background-color: rgba(var(--page-gdpr-deep-green), 0.8);
}

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

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

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

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

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--page-gdpr-text-secondary);
  text-align: justify;
}

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

/* Ensure color contrast for all text elements */
.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr strong {
  color: var(--page-gdpr-text-main);
}

.page-gdpr p, .page-gdpr li, .page-gdpr__faq-answer {
  color: var(--page-gdpr-text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    max-width: 700px;
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
  }

  .page-gdpr__subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
  }
}

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important;
  }

  .page-gdpr__hero-image-wrapper {
    max-height: 400px;
  }

  .page-gdpr__hero-content {
    max-width: 90%;
    padding: 10px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__subtitle {
    font-size: clamp(0.85rem, 3vw, 1.1rem);
  }

  .page-gdpr__heading {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-gdpr__sub-heading {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__paragraph, .page-gdpr__list-item {
    font-size: 1rem;
  }

  /* Images responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Button responsiveness */
  .page-gdpr__link--cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }

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

  .page-gdpr__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 300px;
  }
  .page-gdpr__hero-content {
    padding: 8px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }
  .page-gdpr__subtitle {
    font-size: clamp(0.8rem, 4vw, 1rem);
  }
  .page-gdpr__faq-question {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .page-gdpr__faq-toggle {
    margin-left: 0;
    margin-top: 5px;
  }
}

/* Hide details marker for cleaner look */
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-gdpr__faq-item summary {
  list-style: none;
}