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

.page-gdpr__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f8f8; /* Slightly off-white background */
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  margin-top: -5px; /* Slightly overlap with image */
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

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

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__section-title--white {
  color: #ffffff;
}

.page-gdpr__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__text-block--white {
  color: #ffffff;
}

.page-gdpr__sub-section {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #fcfcfc;
  border-left: 5px solid #26A9E0;
  border-radius: 4px;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 20px;
  max-width: 50%; /* Adjust for text wrapping */
}

.page-gdpr__image--left {
  float: left;
  margin-right: 20px;
  max-width: 50%; /* Adjust for text wrapping */
}

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

.page-gdpr__principle-item,
.page-gdpr__measure-item {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark section */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__principle-title,
.page-gdpr__measure-title {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__rights-item {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.page-gdpr__contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

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

.page-gdpr__link:hover {
  color: #1a7fb2;
}

.page-gdpr__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    margin-bottom: 30px;
  }

  .page-gdpr__hero-content {
    padding: 30px 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

  .page-gdpr__section {
    padding: 40px 15px;
  }

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

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

  .page-gdpr__principle-title,
  .page-gdpr__measure-title {
    font-size: 1.2em;
  }

  .page-gdpr__image--right,
  .page-gdpr__image--left {
    float: none;
    margin: 0 auto 30px auto;
    max-width: 80%;
  }

  .page-gdpr__contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    margin-bottom: 20px;
  }

  .page-gdpr__hero-image-container {
    max-height: 300px; /* Adjust height for mobile */
  }

  .page-gdpr__hero-content {
    padding: 25px 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em); /* Smaller font for mobile */
    margin-bottom: 10px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Images responsive (general rule) */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image containers */
  .page-gdpr__hero-image-container,
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__sub-section,
  .page-gdpr__principle-item,
  .page-gdpr__measure-item,
  .page-gdpr__rights-item,
  .page-gdpr__contact-methods {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-gdpr__section {
    padding: 30px 0; /* Remove horizontal padding as container handles it */
  }

  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

  .page-gdpr__sub-title {
    font-size: 1.2em;
  }

  .page-gdpr__principle-title,
  .page-gdpr__measure-title {
    font-size: 1.1em;
  }

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

  /* Buttons responsive */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important; /* Ensure button text has padding */
    padding-right: 15px !important;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Clear floats for mobile images */
  .page-gdpr__image--right,
  .page-gdpr__image--left {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }
}