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

.page-gdpr__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #017439; /* Brand primary color */
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  z-index: 1;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.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: 12px 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;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Custom color for register/login buttons */
  color: #FFFFFF; /* High contrast for text */
  border: 2px solid #C30808;
}

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

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #017439; /* Brand primary color for text */
  border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-top: 30px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-gdpr__section-spacing {
  margin-bottom: 60px;
}

.page-gdpr__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 2em;
  color: #017439; /* Brand primary color */
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__dark-section .page-gdpr__sub-title {
  color: #FFFFFF;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-gdpr__dark-section {
  background-color: #017439;
  color: #FFFFFF;
  padding: 60px 20px;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

.page-gdpr__dark-section .page-gdpr__link {
  color: #FFFFFF;
}

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

.page-gdpr__contact-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
}

.page-gdpr__faq-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
}

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

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

.page-gdpr__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-question {
  background-color: #e6e6e6;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
  max-height: 0; /* Initial state */
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
  }
  .page-gdpr__content-area,
  .page-gdpr__section-spacing,
  .page-gdpr__dark-section,
  .page-gdpr__faq-section {
    padding: 30px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
  .page-gdpr p,
  .page-gdpr li {
    font-size: 1em;
  }
  
  /* Mobile image responsive adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important; /* Reset min-width for mobile */
    min-height: unset !important; /* Reset min-height for mobile */
  }
  
  /* Mobile video responsive adaptation (if any) */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper,
  .page-gdpr__hero-image-container,
  .page-gdpr__container,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.3em;
  }
}