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

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjust padding-top for header offset */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4); /* Darken image for text readability */
}

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

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
}

/* General Content Sections */
.page-gdpr__content-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__dpo-section,
.page-gdpr__faq-section,
.page-gdpr__cta-section {
  padding: 60px 0;
}

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

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

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #1a7bb7;
}

/* Colors based on body background */
.page-gdpr__dark-bg {
  background-color: #0a0a0a; /* Dark background from shared */
  color: #ffffff; /* Light text */
}

.page-gdpr__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff; /* Light text */
}

/* Principles Section Grid */
.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.1); /* Semi-transparent light background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%; /* Ensure image fills card width */
}

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

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

/* Rights Section List */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__rights-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background */
  border-left: 5px solid #26A9E0;
  padding: 20px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__rights-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

.page-gdpr__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto 20px; /* Center image */
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Security Section */
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__security-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-gdpr__security-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #26A9E0;
}

/* DPO Section */
.page-gdpr__contact-info {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  margin-top: 30px;
  text-align: center;
}

.page-gdpr__contact-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-gdpr__contact-text {
  font-size: 1.1em;
  margin-bottom: 10px;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  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;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #26A9E0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

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

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

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

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  margin: 15px 10px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 80px 0 40px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__paragraph,
  .page-gdpr__card-text,
  .page-gdpr__rights-text,
  .page-gdpr__security-item,
  .page-gdpr__contact-text,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }
  .page-gdpr__card-image {
    height: 150px;
  }
  .page-gdpr__card-title {
    font-size: 1.3em;
  }
  .page-gdpr__rights-title {
    font-size: 1.2em;
  }
  .page-gdpr__contact-title {
    font-size: 1.5em;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: calc(100% - 30px) !important;
    display: block !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  /* Mobile image and container responsive styles */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__content-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__dpo-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section,
  .page-gdpr__card,
  .page-gdpr__rights-item,
  .page-gdpr__contact-info,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-gdpr__grid {
    grid-template-columns: 1fr;
  }
}

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