.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Inherit from body background #0d0d0d */
}

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

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

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

/* General Section Styling */
.page-gdpr__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-gdpr__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #f0f0f0; /* Lighter white for dark background */
}

/* Cards & Info Boxes */
.page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-gdpr__card, .page-gdpr__info-box {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark body */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #ffffff; /* White text for dark background */
}

.page-gdpr__card-title, .page-gdpr__box-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text, .page-gdpr__box-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Buttons */
.page-gdpr__btn-primary {
  background-color: #017439; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #017439;
}

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #ffffff;
}

.page-gdpr__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

/* Sections */
.page-gdpr__principles-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-gdpr__rights-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Body background color */
  color: #ffffff;
}

.page-gdpr__data-processing-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-gdpr__content-block {
  margin-bottom: 40px;
}

.page-gdpr__content-subtitle {
  font-size: 1.8em;
  color: #017439; /* Brand primary color */
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-gdpr__security-measures-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Body background color */
  color: #ffffff;
}

.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-gdpr__security-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-left: 5px solid #017439; /* Brand primary color accent */
  border-radius: 5px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Video Section */
.page-gdpr__video-section {
  margin-top: 60px;
  text-align: center;
}

.page-gdpr__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 20px;
  border-radius: 8px;
}

.page-gdpr__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-gdpr__video-caption {
  font-size: 1em;
  color: #f0f0f0;
  margin-top: 10px;
}

/* Contact Section */
.page-gdpr__contact-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-gdpr__contact-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 600px;
  text-align: center;
}

.page-gdpr__contact-item {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-gdpr__contact-link {
  color: #017439; /* Brand primary color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Body background color */
  color: #ffffff;
}

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

.page-gdpr__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #017439; /* Brand primary color */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  user-select: none;
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-question::marker {
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

/* Custom colors */
.page-gdpr__btn-register {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register font color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #C30808;
}

.page-gdpr__btn-register:hover {
  background-color: #9c0606;
  border-color: #9c0606;
}

.page-gdpr__btn-login {
  background-color: #C30808; /* Login button color */
  color: #FFFF00; /* Login font color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #C30808;
}

.page-gdpr__btn-login:hover {
  background-color: #9c0606;
  border-color: #9c0606;
}

/* Dark/Light Background Handling */
.page-gdpr__dark-bg {
  color: #ffffff; /* Deep dark background, use light text */
}

.page-gdpr__light-bg {
  color: #333333; /* Light background, use dark text */
  background: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .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__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-intro {
    font-size: 0.95em;
  }
  .page-gdpr__card, .page-gdpr__info-box {
    padding: 20px;
  }
  .page-gdpr__card-title, .page-gdpr__box-title {
    font-size: 1.3em;
  }
  .page-gdpr__content-subtitle {
    font-size: 1.5em;
  }
  .page-gdpr__security-list {
    grid-template-columns: 1fr;
  }

  /* Mobile image and video adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    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__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,
  .page-gdpr__content-block,
  .page-gdpr__principles-section .page-gdpr__container,
  .page-gdpr__rights-section .page-gdpr__container,
  .page-gdpr__data-processing-section .page-gdpr__container,
  .page-gdpr__security-measures-section .page-gdpr__container,
  .page-gdpr__contact-section .page-gdpr__container,
  .page-gdpr__faq-section .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; /* Ensure no horizontal scroll */
  }
  .page-gdpr__hero-cta-buttons, .page-gdpr__cta-wrapper {
    flex-wrap: wrap !important;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__card-title, .page-gdpr__box-title {
    font-size: 1.2em;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
}