/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.page-gdpr__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-gdpr__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__section-title {
  font-size: 2em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  font-size: 1em;
  color: inherit;
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: inherit;
}

.page-gdpr__list-strong {
  color: inherit;
}

.page-gdpr__keyword {
  font-weight: bold;
  color: inherit; /* Inherit color to ensure contrast */
}

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__link {
  color: #C30808;
  text-decoration: underline;
}

.page-gdpr__link:hover {
  text-decoration: none;
}

/* FAQ Section Styles */
.page-gdpr__faq-section {
  padding: 60px 20px;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #f1f1f1;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
  font-size: 1.1em;
  margin: 0;
  color: #333333;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-gdpr__faq-answer p {
  margin: 0;
  padding-bottom: 15px;
  color: #333333;
}

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

  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-gdpr__intro-text {
    font-size: 1em;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.3em;
  }

  .page-gdpr__content-section,
  .page-gdpr__faq-section {
    padding: 40px 15px;
  }

  .page-gdpr__container {
    padding: 0;
  }

  /* Images 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;
  }

  /* FAQ specific mobile adjustments */
  .page-gdpr__faq-question {
    padding: 15px 20px;
  }

  .page-gdpr__faq-title {
    font-size: 1em;
  }

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

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px;
  }
}