.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background is black from shared.css */
}

.page-gdpr__hero-section {
  position: relative;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #003366;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
}

.page-gdpr__hero-container {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

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

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

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

.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: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #FFD700;
  color: #003366;
  border: 2px solid #FFD700;
}

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

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

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

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-gdpr__content-section,
.page-gdpr__rights-section,
.page-gdpr__protection-section,
.page-gdpr__data-collection-section,
.page-gdpr__sharing-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
  padding: 80px 20px;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-gdpr__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__ordered-list {
  list-style: decimal inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list-item {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 10px;
}

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

.page-gdpr__link:hover {
  color: #e6c200;
}

/* Color contrast specific styles */
.page-gdpr__dark-section {
  background-color: #003366;
  color: #ffffff;
}

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

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Rights Section */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.page-gdpr__right-description {
  font-size: 1em;
  line-height: 1.7;
}

/* Protection Section */
.page-gdpr__protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-gdpr__protection-item {
  text-align: center;
  padding: 20px;
}

.page-gdpr__protection-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__protection-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__protection-description {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Sharing Section */
.page-gdpr__sharing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

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

.page-gdpr__sharing-description {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Contact Section */
.page-gdpr__contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__contact-card {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-gdpr__contact-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__contact-detail {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-gdpr__contact-link {
  color: #FFD700;
  text-decoration: none;
}

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

/* FAQ Section */
.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  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;
  font-size: 1.2em;
  color: #ffffff;
  background-color: #003366;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #004488;
}

.page-gdpr__faq-title {
  margin: 0;
  font-weight: bold;
  color: #FFD700;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

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

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

/* General image styling for content area */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
}

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

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }
  .page-gdpr__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-gdpr__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }
  .page-gdpr__content-section,
  .page-gdpr__rights-section,
  .page-gdpr__protection-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__sharing-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    padding: 50px 15px;
  }
  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__subsection-title {
    font-size: 1.5em;
  }
  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__right-description,
  .page-gdpr__protection-description,
  .page-gdpr__sharing-description,
  .page-gdpr__contact-detail {
    font-size: 0.95em;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__rights-grid,
  .page-gdpr__protection-grid,
  .page-gdpr__sharing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__contact-card {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-gdpr__protection-image {
    height: 200px;
  }
  .page-gdpr__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__hero-buttons {
    gap: 10px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    font-size: 1em;
    padding: 10px 15px;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
  }
  .page-gdpr__faq-title {
    font-size: 1em;
  }
}