.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches shared.css body background */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: #1a1a1a;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  color: #FFFFFF;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
}

.page-gdpr__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.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: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-gdpr__content-section,
.page-gdpr__data-collection-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
  padding: 60px 20px;
}

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

.page-gdpr__dark-bg {
  background-color: #121212; /* Even darker background for light text */
  color: #FFFFFF;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
  line-height: 1.3;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

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

.page-gdpr__list li {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 10px;
}

.page-gdpr__list li strong {
  color: #26A9E0;
}

.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__right-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-gdpr__contact-info {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
  text-align: center;
  color: #f0f0f0;
}

.page-gdpr__contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−'; /* Change to minus sign when open */
}

/* Ensure all links within content areas are readable */
.page-gdpr a {
  color: #26A9E0;
  text-decoration: none;
}

.page-gdpr a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding: 10px 15px 40px;
  }

  .page-gdpr__hero-image {
    margin-bottom: 20px;
  }

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: 2em; /* Smaller on mobile */
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__content-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    padding: 40px 15px;
  }

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 25px;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__list li,
  .page-gdpr__card-text,
  .page-gdpr__contact-info p,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }

  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__right-card {
    padding: 25px;
  }

  .page-gdpr__card-title {
    font-size: 1.3em;
  }

  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

  .page-gdpr__faq-toggle {
    font-size: 1.3em;
  }

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

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure content area images are at least 200px */
.page-gdpr__image-content {
  min-width: 200px;
  min-height: 200px;
}

/* Color contrast fix for general text on dark background */
.page-gdpr p,
.page-gdpr li,
.page-gdpr__text-block,
.page-gdpr__card-text,
.page-gdpr__contact-info p,
.page-gdpr__faq-answer {
  color: #f0f0f0;
}

.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
  color: #26A9E0;
}