.page-gdpr {
  background-color: var(--background-color, #08160F); /* Fallback to custom background if shared is not set */
  color: var(--text-main, #F2FFF6);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  background-color: var(--background-color, #08160F);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-gdpr__hero-content {
  position: relative; /* Ensure content is above the image */
  z-index: 2;
  margin-top: -150px; /* Pull content up over the dimmed part of the image */
  padding: 0 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__hero-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for primary button */
  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, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-gdpr__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border color with transparency */
  transform: translateY(-2px);
}

.page-gdpr__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, #F2FFF6);
}

.page-gdpr__introduction-section {
  background-color: var(--background-color, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__paragraph strong {
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__principles-section {
  background-color: var(--card-bg, #11271B); /* Darker background for principles */
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__paragraph {
  color: var(--text-main, #F2FFF6);
}

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

.page-gdpr__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main, #F2FFF6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__card-description {
  font-size: 0.95em;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-gdpr__rights-section {
  background-color: var(--background-color, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__measures-section {
  background-color: var(--card-bg, #11271B);
}

.page-gdpr__measure-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-gdpr__measure-icon {
  width: 200px; /* Min size for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__contact-section {
  background-color: var(--background-color, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__contact-item .page-gdpr__link {
  color: var(--glow-color, #57E38D); /* Using Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-item .page-gdpr__link:hover {
  color: var(--gold-color, #F2C14E);
  text-decoration: underline;
}

.page-gdpr__faq-section {
  background-color: var(--card-bg, #11271B);
}

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

.page-gdpr__faq-item {
  background-color: var(--deep-green, #0A4B2C);
  border: 1px solid var(--divider-color, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  list-style: none;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Slightly lighter on hover */
}

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
}

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

.text-main-color {
  color: var(--glow-color, #57E38D);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    margin-top: -100px;
  }

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

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

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

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

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

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

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

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

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

  .page-gdpr__card-description {
    font-size: 0.9em;
  }

  .page-gdpr__measure-icon {
    width: 200px; /* Min size for content images */
    height: auto;
  }

  .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,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__hero-content,
  .page-gdpr__hero-cta,
  .page-gdpr__button-group,
  .page-gdpr__btn-container,
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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