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

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

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0; /* Assumes shared.css handles body padding-top */
  padding-bottom: 80px;
  background-color: #26A9E0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-content {
  flex: 1;
  padding: 40px 20px;
  max-width: 50%;
  z-index: 1;
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-gdpr__hero-buttons {
  display: flex;
  gap: 20px;
}

.page-gdpr__hero-image-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 20px;
}

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

/* Buttons */
.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, 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: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

/* General Section Styling */
.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-gdpr__introduction-section,
.page-gdpr__protection-section,
.page-gdpr__faq-section {
  padding: 60px 0;
}

.page-gdpr__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__card-title,
.page-gdpr__dark-section .page-gdpr__paragraph,
.page-gdpr__dark-section .page-gdpr__list-item,
.page-gdpr__dark-section .page-gdpr__link,
.page-gdpr__dark-section .page-gdpr__contact-link {
  color: #ffffff; /* Ensure white text on dark background */
}

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

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

.page-gdpr__paragraph--note {
  font-style: italic;
  text-align: center;
  margin-top: 30px;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

/* Protection List */
.page-gdpr__protection-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.page-gdpr__list-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 4px;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__dark-section .page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #ffffff;
    color: #ffffff;
}

/* Contact Section */
.page-gdpr__contact-section {
  padding: 60px 0;
  text-align: center;
}

.page-gdpr__contact-info {
  margin: 30px 0;
  font-size: 1.2em;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
}

.page-gdpr__contact-link,
.page-gdpr__link {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover,
.page-gdpr__link:hover {
  color: #f0f0f0;
}

.page-gdpr__legal-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-gdpr__legal-links .page-gdpr__list-item {
    background: none;
    border-left: none;
    box-shadow: none;
    padding: 0;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f5f5f5;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Changes '+' to 'x' or '-' */
}

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

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

.page-gdpr__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 3em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__hero-section {
      padding-bottom: 60px;
  }
  .page-gdpr__hero-content {
      max-width: 55%;
  }
  .page-gdpr__hero-image-container {
      padding-right: 0;
  }
  .page-gdpr__protection-list {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fallback if shared.css doesn't apply to body */
    padding-bottom: 40px;
  }

  .page-gdpr__hero-content {
    max-width: 100%;
    padding: 20px;
  }

  .page-gdpr__hero-title {
    font-size: 2.5em !important;
  }

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

  .page-gdpr__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__hero-buttons a {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__hero-image-container {
    padding: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-gdpr__paragraph {
    font-size: 1em;
  }

  .page-gdpr__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

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

  .page-gdpr__protection-list {
    grid-template-columns: 1fr;
  }

  .page-gdpr__list-item {
    font-size: 1em;
    padding: 15px;
  }

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

  .page-gdpr__legal-links {
    flex-direction: column;
    gap: 10px;
  }
  .page-gdpr__legal-links .page-gdpr__list-item {
      text-align: center;
  }

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

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

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }

  /* General Image and container responsiveness for mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__introduction-section,
  .page-gdpr__rights-section,
  .page-gdpr__protection-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    padding: 40px 0 !important;
  }
  
  .page-gdpr__content-area,
  .page-gdpr__text-block,
  .page-gdpr__card,
  .page-gdpr__section,
  .page-gdpr__box,
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  
  .page-gdpr__list-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Override for fixed header offset if shared.css does NOT handle body padding */
  /* .page-gdpr { padding-top: var(--header-offset, 120px); } */
  /* Assuming shared.css handles body padding-top, so .page-gdpr__hero-section padding-top: 0 is correct */
}