.page-gdpr {
  color: #ffffff; /* Body background is dark (#111), so text must be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjusted for header offset */
  background-color: #017439; /* Brand main color for hero */
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Overlay for readability */
  z-index: 1;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-gdpr__hero-section .page-gdpr__container {
  z-index: 2;
  position: relative;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Use custom font color for main title */
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-gdpr__btn-primary {
  background-color: #C30808; /* Custom color for primary action */
  color: #FFFF00; /* Custom font color for primary action */
  border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
  background-color: #9c0606;
  border-color: #9c0606;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-gdpr__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #FFFF00; /* Consistent heading color */
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439; /* Brand main color for subheadings on light background */
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Default text color for dark background */
}

.page-gdpr__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

/* Color contrast specific styles */
.page-gdpr__dark-bg {
  background-color: #017439; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__text-block,
.page-gdpr__dark-bg .page-gdpr__list-item {
  color: #f0f0f0; /* Light text for dark background */
}

.page-gdpr__dark-bg .page-gdpr__subsection-title {
  color: #FFFF00; /* Highlight subheadings on dark background */
}

.page-gdpr__light-bg {
  background-color: #FFFFFF; /* White background for light sections */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: #017439; /* Brand main color for titles on light background */
}

.page-gdpr__light-bg .page-gdpr__subsection-title {
  color: #017439;
}

.page-gdpr__light-bg .page-gdpr__text-block,
.page-gdpr__light-bg .page-gdpr__list-item {
  color: #333333;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #017439;
  color: #ffffff;
}

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

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 15px;
}

.page-gdpr__faq-item:last-child {
  border-bottom: none;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px 0;
  transition: color 0.3s ease;
}

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

.page-gdpr__faq-title {
  font-size: 1.3em;
  margin: 0;
  color: inherit; /* Inherit color from parent for hover effect */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px; /* Initial padding 0 */
  font-size: 1.1em;
  color: #f0f0f0;
}

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

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

.page-gdpr__contact-info {
  font-style: normal;
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #333333;
}

.page-gdpr__contact-info strong {
  color: #017439;
}

.page-gdpr__contact-link {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__contact-link:hover {
  color: #004d26;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }

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

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

  .page-gdpr__subsection-title {
    font-size: 1.6em;
  }
}

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

  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure proper spacing on mobile */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    text-align: center;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

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

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

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

  .page-gdpr__subsection-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-title,
  .page-gdpr__faq-answer p {
    font-size: 1em;
  }

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

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 15px; /* Adjust padding for mobile */
  }

  .page-gdpr__contact-info {
    padding-left: 0;
  }
}