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

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

.page-gdpr__hero-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Primary brand color for hero */
  color: #ffffff;
  padding-top: calc(var(--header-offset, 120px) + 80px); /* Account for header offset and desired top padding */
}

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

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

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login type buttons */
  color: #FFFF00; /* Custom font color for register/login type buttons */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  margin-left: 15px;
}

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

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

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

.page-gdpr__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

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

.page-gdpr__paragraph {
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.7;
  color: inherit;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 15px;
  width: 40%; /* Example width, adjust as needed */
  min-width: 250px;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 15px;
  width: 40%; /* Example width, adjust as needed */
  min-width: 250px;
}

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

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

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

.page-gdpr__dark-bg .page-gdpr__link {
  color: #FFFF00; /* Yellow for links on dark background */
}

.page-gdpr__faq-section {
  padding: 60px 0;
}

.page-gdpr__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-gdpr__faq-item[open] {
  background-color: #e6e6e6;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid #d0d0d0;
}

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

.page-gdpr__faq-answer {
  padding: 15px 25px;
  font-size: 0.95em;
  color: #555555;
}

.page-gdpr__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.2em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__image--left, .page-gdpr__image--right {
    width: 100%;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 0;
    padding-top: calc(var(--header-offset, 120px) + 60px) !important;
  }
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__content-section .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-gdpr__faq-item {
    margin: 0 15px 15px 15px;
  }
  .page-gdpr__faq-question, .page-gdpr__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__content-section .page-gdpr__image--left, 
  .page-gdpr__content-section .page-gdpr__image--right {
    float: none;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

/* Ensure no image filter */
.page-gdpr img {
  filter: none;
}