.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  text-align: center;
  background-color: #017439; /* Brand green background */
  background-image: url('[GALLERY:hero:1920x1080:gdpr_hero,data_security,privacy_policy,da_ga_thomo_cpc3]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-gdpr__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: 1;
}

.page-gdpr__hero-section .page-gdpr__container {
  position: relative;
  z-index: 2;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

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

.page-gdpr__content-area {
  padding: 60px 0;
  background-color: #f8f8f8; /* Light background for content */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__section-heading {
  font-size: 2em;
  color: #017439; /* Brand color for headings */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
}

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

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

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__contact-info {
  background-color: #e8f5e9; /* Light green background */
  border-left: 5px solid #017439;
  padding: 20px;
  margin: 30px 0;
  border-radius: 5px;
  color: #333333;
}

.page-gdpr__contact-info p {
  margin: 5px 0;
}

.page-gdpr__contact-info a {
  color: #017439;
  text-decoration: underline;
}

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

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

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

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

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

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

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

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

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-gdpr__btn-primary:hover {
  background-color: #005f2f;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #017439;
  cursor: pointer;
  font-size: 1.1em;
}

.page-gdpr__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-gdpr__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 20px;
    min-height: 300px;
  }

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

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

  .page-gdpr__section-heading {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr p, .page-gdpr li {
    font-size: 1em;
    line-height: 1.5;
  }

  .page-gdpr__content-area {
    padding: 40px 0;
  }

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

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

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

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

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

  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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;
  }

  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
}