.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: #121212; /* Match body dark background for consistency */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual appeal */
  padding: 30px;
  background: rgba(0, 0, 0, 0.6); /* Dark semi-transparent background for text */
  border-radius: 10px;
  color: #ffffff;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-gdpr__hero-description {
  font-size: 1.1rem;
  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: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.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__section {
  padding: 80px 0;
}

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

.page-gdpr__subsection-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark body background */
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-gdpr__list-item strong {
  color: #ffffff;
}

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

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 40px;
  margin-bottom: 20px;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 40px;
  margin-bottom: 20px;
}

.page-gdpr__commitment .page-gdpr__text-block, .page-gdpr__data-collection .page-gdpr__text-block, .page-gdpr__security-measures .page-gdpr__text-block, .page-gdpr__retention .page-gdpr__text-block, .page-gdpr__contact .page-gdpr__text-block {
    color: #f0f0f0;
}

/* Dark background sections */
.page-gdpr__dark-bg {
  background-color: #121212; /* Body background color */
  color: #ffffff;
}

/* Light background sections */
.page-gdpr__light-bg {
  background-color: #202020;
  color: #f0f0f0;
}

.page-gdpr__light-bg .page-gdpr__section-title {
    color: #26A9E0;
}

.page-gdpr__contact-info {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

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

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

/* FAQ styles */
.page-gdpr__faq-list {
  margin-top: 40px;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2rem;
  color: #ffffff;
  background-color: #202020;
}

.page-gdpr__faq-question:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

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

/* Clear floats */
.page-gdpr__section::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 50vh;
  }
  .page-gdpr__hero-content {
    margin-top: -100px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: 2rem;
  }
  .page-gdpr__subsection-title {
    font-size: 1.5rem;
  }
  .page-gdpr__image--right,
  .page-gdpr__image--left {
    float: none;
    margin: 40px auto;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-gdpr__hero-content {
    margin-top: -80px;
    padding: 20px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-gdpr__hero-description {
    font-size: 1rem;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .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: 1.8rem;
    margin-bottom: 30px;
  }
  .page-gdpr__subsection-title {
    font-size: 1.3rem;
  }
  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__contact-info,
  .page-gdpr__faq-answer {
    font-size: 0.95rem;
  }
  .page-gdpr__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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,
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}