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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  overflow: hidden;
  color: #ffffff;
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

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

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-gdpr__subtitle {
  font-size: clamp(1em, 2vw, 1.3em);
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
  text-align: left;
}

.page-gdpr__dark-section .page-gdpr__text-block {
  color: #F0F0F0;
}

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

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #F0F8FF;
  color: #1E8BC3;
  border-color: #1E8BC3;
}

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

.page-gdpr__dark-section .page-gdpr__list {
  color: #F0F0F0;
}

.page-gdpr__list--numbered {
  list-style-type: decimal;
}

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

.page-gdpr__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

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

.page-gdpr__grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-gdpr__grid--reverse .page-gdpr__grid-item:first-child {
  order: 2;
}

.page-gdpr__grid--reverse .page-gdpr__grid-item:last-child {
  order: 1;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-gdpr__card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

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

.page-gdpr__text-block--centered {
  text-align: center;
}

.page-gdpr__text-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__text-link:hover {
  color: #1E8BC3;
}

.page-gdpr__contact-section .page-gdpr__btn-primary,
.page-gdpr__contact-section .page-gdpr__btn-secondary {
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-gdpr__grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__grid--reverse .page-gdpr__grid-item:first-child {
    order: initial;
  }
  .page-gdpr__grid--reverse .page-gdpr__grid-item:last-child {
    order: initial;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    min-height: 400px;
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-gdpr__subtitle {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-gdpr__text-block {
    font-size: 1em;
  }
  .page-gdpr__list {
    margin-left: 15px;
  }
  .page-gdpr__list-item {
    font-size: 0.95em;
  }
  .page-gdpr__grid--2-col {
    grid-template-columns: 1fr;
  }
  .page-gdpr__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-gdpr__card-title {
    font-size: 1.2em;
  }
  .page-gdpr__card-text {
    font-size: 0.9em;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-gdpr__grid-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile button responsiveness */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important; /* Adjust margin for vertical stacking */
  }
  .page-gdpr__hero-content .page-gdpr__btn-primary {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__contact-section .page-gdpr__btn-primary,
  .page-gdpr__contact-section .page-gdpr__btn-secondary {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}