.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--background-color, #1a1a2e); /* Inherit from shared, assume dark */
}

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

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Consistent padding for content */
  box-sizing: border-box;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color for emphasis */
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.8;
}

.page-gdpr__hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 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: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-gdpr__intro-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__contact-section,
.page-gdpr__video-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for sections */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__principles-section,
.page-gdpr__data-processing-section,
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff; /* White text for dark sections */
}

.page-gdpr__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  color: inherit;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

.page-gdpr__paragraph--center {
  text-align: center;
}

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

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

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #ffffff; /* White text for dark section cards */
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFF00; /* Yellow for card titles on dark background */
}

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.6;
  flex-grow: 1; /* Allow text to grow */
}

.page-gdpr__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.page-gdpr__grid-two-cols--reverse {
  grid-template-areas: "image content";
}

.page-gdpr__grid-two-cols--reverse .page-gdpr__image-block {
  grid-area: image;
}

.page-gdpr__grid-two-cols--reverse .page-gdpr__content-block {
  grid-area: content;
}

.page-gdpr__image-block {
  text-align: center;
}

.page-gdpr__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  line-height: 1.7;
  color: inherit;
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFFF00; /* Yellow checkmark */
  font-weight: bold;
}

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

.page-gdpr__security-item {
  text-align: center;
  background-color: #f8f8f8; /* Light background for security items */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  color: #333333; /* Dark text for light background */
}

.page-gdpr__security-icon {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
}

.page-gdpr__security-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #017439; /* Brand primary color for security titles */
}

.page-gdpr__security-text {
  font-size: 1em;
  line-height: 1.6;
}

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

.page-gdpr__contact-item {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  color: #005a2d;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff; /* White text for dark section cards */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.page-gdpr__faq-title {
  font-size: 1.3em;
  margin: 0;
  color: #FFFF00; /* Yellow for FAQ titles on dark background */
}

.page-gdpr__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00; /* Yellow for toggle icon */
  transition: transform 0.3s ease;
}

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

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

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 30px 30px;
}

.page-gdpr__video-section {
  text-align: center;
  background-color: #f0f0f0; /* Light background for video section */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px; /* Max width for video */
  margin: 40px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.page-gdpr__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__grid-two-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-gdpr__grid-two-cols--reverse {
    grid-template-areas: unset; /* Reset grid area for single column */
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
    line-height: 1.2;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__intro-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__contact-section,
  .page-gdpr__video-section,
  .page-gdpr__principles-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 1.5em;
  }
  .page-gdpr__paragraph,
  .page-gdpr__card-text,
  .page-gdpr__list-item,
  .page-gdpr__security-text,
  .page-gdpr__contact-item {
    font-size: 0.95em;
  }
  .page-gdpr__card-title,
  .page-gdpr__faq-title {
    font-size: 1.2em;
  }

  /* Image and video responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper,
  .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;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px 20px;
  }
}