.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default for light background */
  background-color: var(--secondary-color, #FFFFFF); /* Body background is light */
}

.page-gdpr__section {
  padding: 60px 0;
  margin-bottom: 0;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #f0f0f0;
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-size: 38px;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-gdpr__intro-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #017439; /* Primary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: #005f2c; /* Slightly darker primary */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__section-title {
  font-size: 32px;
  color: #017439; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-gdpr__subsection-title {
  font-size: 24px;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 20px;
}

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

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

.page-gdpr__link:hover {
  color: #005f2c;
}

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

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

.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__card {
  background: #ffffff; /* White background for card */
  color: #333333; /* Dark text for card */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-gdpr__card-title {
  font-size: 20px;
  color: #017439;
  margin-top: 0;
  margin-bottom: 15px;
}

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

/* Image specific styles */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__image--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  max-width: 45%;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 45%;
}

.page-gdpr__clear-float::after {
  content: "";
  display: table;
  clear: both;
}

/* Color contrast specific classes */
.page-gdpr__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__subsection-title,
.page-gdpr__dark-bg .page-gdpr__link {
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__section-title::after {
  background-color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__list,
.page-gdpr__dark-bg .page-gdpr__list-item,
.page-gdpr__dark-bg .page-gdpr__text-block {
  color: #f0f0f0;
}

/* Contact section specific styles */
.page-gdpr__contact-info {
  margin-top: 30px;
  text-align: center;
}

.page-gdpr__contact-item {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333333;
}

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

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333; /* Ensure dark text on light background */
}