/* style/gdpr.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #000000;
  --bg-light: #FFFFFF;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark); /* Ensure consistency if body background is not fully black */
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
}

.page-gdpr__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

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

.page-gdpr__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: bold;
  margin-bottom: 30px;
  color: inherit; /* Inherit from section for contrast */
}

.page-gdpr__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  color: inherit;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
}

.page-gdpr__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-gdpr__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-gdpr__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-gdpr__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

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

.page-gdpr__image-wrapper {
  flex: 1;
  min-width: 250px; /* Minimum width for image wrapper */
  max-width: 50%;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__text-content {
  flex: 1;
  max-width: 50%;
}

.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: darken(var(--primary-color), 10%);
}

.page-gdpr__contact-info {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 18px;
}

.page-gdpr__contact-item {
  color: var(--text-light);
}

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

.page-gdpr__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-gdpr__faq-answer {
  padding: 15px 25px 25px;
  font-size: 16px;
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
  color: var(--text-dark);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-gdpr__description {
    font-size: 15px;
  }

  .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: clamp(20px, 6vw, 32px);
    margin-bottom: 25px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(18px, 5vw, 24px);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer p {
    font-size: 15px;
  }

  .page-gdpr__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-gdpr__content-grid--reverse {
    flex-direction: column;
  }

  .page-gdpr__image-wrapper,
  .page-gdpr__text-content {
    max-width: 100%;
    flex: none;
  }

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

  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-left: auto;
    margin-right: auto;
  }

  /* Ensure all images are responsive */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image containers must be responsive */
  .page-gdpr__image-wrapper,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-gdpr__faq-answer {
    padding: 10px 20px 20px;
  }
}

/* Ensure no CSS filter changes image colors */
.page-gdpr img {
  filter: none !important;
}