.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text should be light */
  background-color: #0a0a0a; /* Ensure consistency with shared.css body background */
}

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

.page-gdpr__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  text-align: center;
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-gdpr__hero-section .page-gdpr__container {
  position: relative;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-gdpr__btn-primary:hover {
  background-color: #d82c2c;
  transform: translateY(-2px);
}

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

.page-gdpr__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #1a1a1a; /* Another dark background variation */
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439; /* Brand primary color for sub-titles */
  font-weight: bold;
}

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

.page-gdpr__inline-link {
  color: #FFFF00; /* Custom font color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__inline-link:hover {
  color: #d4d400;
  text-decoration: underline;
}

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

.page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white background for list items */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #017439; /* Brand color accent */
  color: #ffffff;
}

.page-gdpr__list-item h3 {
  color: #FFFF00; /* Custom font color for list item titles */
  margin-top: 0;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__contact-info {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #ffffff;
}

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

.page-gdpr__resource-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.page-gdpr__resource-item {
  background-color: rgba(1, 116, 57, 0.8); /* Semi-transparent brand primary */
  padding: 12px 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-gdpr__resource-item:hover {
  background-color: #017439;
}

.page-gdpr__resource-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__faq-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

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

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

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

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439; /* Brand primary color for toggle */
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
  color: #FFFF00; /* Custom color for active toggle */
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
    padding-bottom: 60px;
  }
  .page-gdpr__main-title {
    font-size: 2em;
    line-height: 1.3;
  }
  .page-gdpr__description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.5em;
  }
  .page-gdpr__text-block, .page-gdpr__list-item p {
    font-size: 0.95em;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__content-area,
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  /* Mobile image adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__content-image {
    margin: 20px auto;
  }
  /* Mobile container adaptation */
  .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__resource-list {
    flex-direction: column;
  }
  .page-gdpr__resource-item {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__faq-title {
    font-size: 1em;
  }
  .page-gdpr__faq-question {
    padding: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 15px !important;
  }
}