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

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

.page-gdpr__hero-section {
  padding: var(--header-offset, 120px) 20px 60px; /* Ensures content is not covered by fixed header */
  background-color: #017439; /* Primary brand color */
  text-align: center;
  color: #ffffff;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

.page-gdpr__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-gdpr__content-area {
  padding: 60px 0;
}

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

.page-gdpr__dark-section {
  background-color: #0a0a0a; /* Body background color */
  color: #ffffff; /* Light text for dark background */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439; /* Brand color for titles on light background */
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #ffffff; /* White color for titles on dark background */
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439; /* Brand color for subtitles on light background */
}

.page-gdpr__dark-section .page-gdpr__sub-title {
  color: #ffffff; /* White color for subtitles on dark background */
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-gdpr__text-block--center {
  text-align: center;
}

.page-gdpr__text-block a {
  color: #017439; /* Brand color for links on light background */
  text-decoration: underline;
}

.page-gdpr__dark-section .page-gdpr__text-block a {
  color: #FFFF00; /* Yellow for links on dark background for contrast */
}

.page-gdpr__image-wrapper {
  text-align: center;
  margin: 30px 0;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
}

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

.page-gdpr__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item.active {
  background-color: #e0f7fa; /* Lighter background when active */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

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

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

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #f8f8f8;
}

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

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

.page-gdpr__call-to-action {
  padding: 80px 20px;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
  .page-gdpr__cta-button,
  .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;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-gdpr__image,
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__image-wrapper,
  .page-gdpr__container,
  .page-gdpr__call-to-action,
  .page-gdpr__content-area,
  .page-gdpr__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__btn-primary--large {
    font-size: 1em;
    padding: 15px 25px;
  }
}