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

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

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

.page-gdpr__dark-bg {
  background-color: #0A2342;
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__content-block p,
.page-gdpr__rights-list li p,
.page-gdpr__text-block {
  margin-bottom: 1em;
  color: #f0f0f0; /* Light grey for paragraph text on dark backgrounds */
}

.page-gdpr__light-bg .page-gdpr__content-block p,
.page-gdpr__light-bg .page-gdpr__rights-list li p,
.page-gdpr__light-bg .page-gdpr__text-block {
  color: #333333; /* Dark grey for paragraph text on light backgrounds */
}

.page-gdpr__content-block a,
.page-gdpr__light-bg .page-gdpr__content-block a {
  color: #FFD700;
  text-decoration: underline;
}

.page-gdpr__content-block a:hover,
.page-gdpr__light-bg .page-gdpr__content-block a:hover {
  color: #ffffff;
}

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
  text-align: left;
  max-width: 60%;
  margin-left: auto; /* Center content when image is present */
  margin-right: auto;
}

.page-gdpr__main-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-gdpr__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  max-width: 40%;
}

.page-gdpr__hero-image {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background-color: #FFD700;
  color: #0A2342;
  border: 2px solid #FFD700;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
}

/* Image Styling */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

/* Rights List */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__rights-list li {
  background-color: rgba(0, 0, 0, 0.1); /* Slightly transparent dark for items on light bg */
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
}

.page-gdpr__light-bg .page-gdpr__rights-list li {
  background-color: rgba(255, 255, 255, 0.9); /* White background on light sections */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-gdpr__rights-list li .page-gdpr__sub-title {
  margin-top: 0;
  color: #FFD700;
}

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

.page-gdpr__faq-item {
  background-color: rgba(0, 0, 0, 0.1); /* Slightly transparent dark for items on light bg */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__light-bg .page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.9); /* White background on light sections */
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-gdpr__light-bg .page-gdpr__faq-question {
  background-color: #ffffff;
  color: #333333;
}

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

.page-gdpr__light-bg .page-gdpr__faq-question:hover {
  background-color: #f5f5f5;
}

.page-gdpr__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
  font-weight: bold;
}

.page-gdpr__light-bg .page-gdpr__faq-title {
  color: #333333;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-gdpr__light-bg .page-gdpr__faq-toggle {
  color: #0A2342;
}

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

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

.page-gdpr__light-bg .page-gdpr__faq-answer {
  color: #333333;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Ensure it expands */
  padding: 15px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
  }

  .page-gdpr__hero-content {
    padding-right: 0;
    max-width: 80%;
    margin-bottom: 40px;
  }

  .page-gdpr__hero-image-wrapper {
    max-width: 80%;
  }

  .page-gdpr__main-title {
    font-size: 3em;
  }

  .page-gdpr__hero-description {
    font-size: 1.2em;
  }

  .page-gdpr__section-title {
    font-size: 2em;
  }

  .page-gdpr__sub-title {
    font-size: 1.5em;
  }
}

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

  .page-gdpr__hero-section {
    padding: 40px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-gdpr__hero-content {
    max-width: 95%;
    padding: 0 15px; /* Add padding for content */
  }

  .page-gdpr__hero-image-wrapper {
    max-width: 95%;
    padding: 0 15px; /* Add padding for image wrapper */
  }

  .page-gdpr__main-title {
    font-size: 2.2em;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__section {
    padding: 40px 0;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .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;
    margin-bottom: 10px; /* Space between stacked buttons */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-top: 20px;
  }

  .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-direction: column !important;
    align-items: center;
    gap: 10px;
  }

  .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;
  }

  .page-gdpr__faq-question {
    padding: 15px;
  }

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

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 15px;
  }

  .page-gdpr__rights-list li {
    padding: 15px;
  }
}