/* 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: var(--dark-bg); /* Inherit from shared.css */
}

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

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 0;
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-gdpr__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login/CTA color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Primary brand color */
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #e0f4ff;
  color: #1e87c6;
}

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

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

.page-gdpr__dark-section {
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF; /* Light text for dark background */
}

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

.page-gdpr__sub-title {
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-gdpr__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-gdpr__text-block {
  flex: 1;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
}

.page-gdpr__image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

.page-gdpr__link {
  color: #EA7C07; /* Link color for better visibility */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #d16b06;
}

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

.page-gdpr__faq-list {
  max-width: 900px;
  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 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #f0f0f0;
  user-select: none; /* Prevent text selection on click */
  list-style: none;
  color: #26A9E0;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

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

.page-gdpr__faq-answer {
  padding: 15px 25px 20px 25px;
  background-color: #ffffff;
  color: #333333;
  font-size: 0.95em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-gdpr__main-title {
    font-size: 2.2em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
  .page-gdpr__content-wrapper {
    flex-direction: column;
  }
  .page-gdpr__content-wrapper--reversed {
    flex-direction: column;
  }
  .page-gdpr__image-wrapper {
    order: -1; /* Image above text on mobile for reversed sections */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-gdpr__main-title {
    font-size: 1.8em;
    padding: 0 15px;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px; /* Add space between stacked buttons */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.6em;
    padding: 0 15px;
  }

  .page-gdpr__sub-title {
    font-size: 1.2em;
    padding: 0 15px;
  }

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

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__image-wrapper,
  .page-gdpr__content-wrapper,
  .page-gdpr__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-gdpr__faq-answer {
    padding: 10px 20px 15px 20px;
  }
  .page-gdpr__list {
    padding-left: 15px;
  }
}

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