.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so use light text */
  background-color: transparent; /* Rely on body background from shared.css */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum height */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7); /* Slightly dark overlay for text readability */
  width: 100%;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
}

.page-gdpr__subtitle {
  font-size: clamp(1em, 2vw, 1.2em);
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

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

.page-gdpr__content-area,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__implementation-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
  padding: 60px 0;
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
}

.page-gdpr__dark-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-gdpr__light-section .page-gdpr__section-title,
.page-gdpr__light-section .page-gdpr__card-title,
.page-gdpr__light-section .page-gdpr__card-text,
.page-gdpr__light-section .page-gdpr__text-block,
.page-gdpr__light-section .page-gdpr__contact-link,
.page-gdpr__light-section .page-gdpr__faq-qtext {
  color: #333333;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__grid {
  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.95); /* Light background for contrast */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333; /* Dark text on light background */
}

.page-gdpr__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439; /* Brand color for emphasis */
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #555555;
}

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

.page-gdpr__rights-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent on dark background */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  color: #ffffff;
}

.page-gdpr__rights-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-gdpr__rights-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  font-size: 1.1em;
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  color: #ffffff;
}

.page-gdpr__contact-link {
  color: #FFFF00; /* Highlighted link color */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.95); /* Light background for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #017439; /* Brand color for questions */
  list-style: none;
  position: relative;
  user-select: none;
}

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

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #333333;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__subtitle {
    font-size: 1.1em;
  }
  .page-gdpr__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-gdpr__card-image {
    max-width: 200px;
  }
}

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

  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-gdpr__hero-content {
    padding: 30px 15px;
  }

  .page-gdpr__main-title {
    font-size: 2em !important;
  }

  .page-gdpr__subtitle {
    font-size: 1em !important;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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;
  }

  .page-gdpr__content-area,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__implementation-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px;
  }

  .page-gdpr__text-block {
    font-size: 1em;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-image {
    max-width: 150px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

  .page-gdpr__rights-item {
    padding: 15px;
  }

  .page-gdpr__rights-title {
    font-size: 1.1em;
  }

  .page-gdpr__contact-list {
    font-size: 1em;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__grid-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific override for .page-gdpr__hero-content to ensure padding is applied correctly without affecting width */
  .page-gdpr__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-gdpr__grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}