.page-gdpr {
  font-family: Arial, sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding as body handles header offset */
  background: linear-gradient(to right, #26A9E0, #34BBE0);
  color: #FFFFFF;
  text-align: center;
}

.page-gdpr__hero-section .page-gdpr__container {
  display: flex;
  flex-direction: column; /* Default column for image-then-content */
  align-items: center;
  gap: 20px;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain; /* Ensure image is contained, not cropped */
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login/Register color */
  color: #FFFFFF;
  border: 2px solid transparent;
}

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

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a83b0;
}

/* General Section Styling */
.page-gdpr__introduction,
.page-gdpr__user-rights,
.page-gdpr__faq {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background for these sections */
  color: #333333;
}

.page-gdpr__principles,
.page-gdpr__implementation,
.page-gdpr__cta-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Dark background for these sections */
  color: #FFFFFF;
}

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

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

.page-gdpr__text-block a {
  color: #EA7C07;
  text-decoration: underline;
}

/* Principles Grid */
.page-gdpr__principles-grid,
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__principle-card,
.page-gdpr__right-card {
  background-color: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-gdpr__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 5px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

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

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

/* Implementation List */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-gdpr__list-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #FFFFFF;
}

.page-gdpr__list-item p {
  color: #f0f0f0;
}

.page-gdpr__list-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

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

.page-gdpr__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  list-style: none; /* Hide default marker for details */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-question::marker {
  display: none; /* Hide default marker for other browsers */
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

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

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
}

.page-gdpr__faq-answer a {
  color: #EA7C07;
  text-decoration: underline;
}

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-gdpr__cta-section .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__cta-section .page-gdpr__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-gdpr__cta-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

/* General Image and Container Responsive Styles */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box; /* Ensure padding/border included in width */
  filter: none; /* Absolutely no filter to change image color */
}

.page-gdpr__section,
.page-gdpr__card,
.page-gdpr__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 15px;
  }

  /* Hero Section */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
  }

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.9em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Section Titles */
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  /* Grids */
  .page-gdpr__principles-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-gdpr__principle-card,
  .page-gdpr__right-card {
    padding: 20px;
  }

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

  /* Implementation List */
  .page-gdpr__list-item {
    padding: 20px;
  }

  .page-gdpr__list-title {
    font-size: 1.4em;
  }

  /* FAQ */
  .page-gdpr__faq-question {
    padding: 15px;
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 0.95em;
  }

  /* General Image and Container Responsive Overrides */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .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;
  }
}