.page-gdpr {
  color: #ffffff; /* Dark body background #121212, so light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background 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;
  padding: 100px 0;
  text-align: center;
  background-color: var(--primary-color, #FFD700); /* Default to gold if dark-bg is not applied */
  color: #000000; /* Dark text for gold background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-gdpr__hero-section.page-gdpr__dark-bg {
  background-color: #000080; /* Navy background */
  color: #ffffff; /* White text for navy background */
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: inherit;
  font-weight: bold;
  max-width: 900px;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #000080; /* Navy text for gold button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid transparent;
}

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

.page-gdpr__btn--center {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

.page-gdpr__section {
  padding: 60px 0;
  text-align: left;
  background-color: #121212; /* Match body background */
  color: #ffffff;
}

.page-gdpr__section.page-gdpr__dark-bg {
  background-color: #000080; /* Navy background */
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #FFD700; /* Gold title */
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__image--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 30px;
  max-width: 45%;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 30px;
  max-width: 45%;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 900px;
}

.page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 4px solid #FFD700;
  border-radius: 4px;
  font-size: 1.05em;
}

.page-gdpr__contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
}

.page-gdpr__link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFD700; /* Gold question text */
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__btn-primary {
    padding: 10px 20px;
  }
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__text-block {
    font-size: 1em;
  }
  .page-gdpr__list-item {
    padding: 12px 15px;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }

  /* Mobile specific image handling */
  .page-gdpr img {
    max-width: 100% !important;
    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;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-gdpr__btn-primary,
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure proper spacing */
  }
}

/* Specific contrast adjustments if needed (using brand colors) */
.page-gdpr__dark-bg .page-gdpr__link {
  color: #FFD700;
}
.page-gdpr__dark-bg .page-gdpr__link:hover {
  color: #e6c200;
}