.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F4F7FB; /* General page background */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px; /* Small bottom padding for content below image */
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  background-color: #2F6BFF; /* Brand blue background for hero section */
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no filter is applied */
}

.page-gdpr__hero-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  color: #ffffff; /* White text for blue background */
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto 20px auto;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a4cd9;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__container {
  max-width: 960px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #1F2D3D; /* Text Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  filter: none; /* Ensure no filter is applied */
}

.page-gdpr__content-image--right {
  float: right;
  margin-left: 30px;
  width: 50%;
  max-width: 500px;
}

/* Principles Section */
.page-gdpr__section--principles {
  background-color: #2F6BFF; /* Brand blue background */
  color: #ffffff;
}

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

.page-gdpr__section--principles .page-gdpr__paragraph {
  color: #f0f0f0;
}

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

.page-gdpr__card {
  background-color: #ffffff; /* Card BG color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  border: 1px solid #D6E2FF; /* Border color */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-gdpr__card--principle .page-gdpr__card-title {
  font-size: 1.3em;
  color: #2F6BFF; /* Main brand color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card--principle .page-gdpr__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

/* Rights Section */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  clear: both; /* Clear float for image */
}

.page-gdpr__list-item {
  background-color: #ffffff;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr__list-title {
  font-size: 1.15em;
  color: #1F2D3D;
  margin-bottom: 8px;
  font-weight: bold;
}

.page-gdpr__list-text {
  font-size: 0.95em;
  color: #555555;
}

/* Measures Section */
.page-gdpr__section--measures {
  background-color: #F4F7FB; /* Light background */
}

.page-gdpr__section--measures .page-gdpr__section-title {
  color: #1F2D3D;
}

.page-gdpr__section--measures .page-gdpr__paragraph {
  color: #333333;
}

.page-gdpr__grid-container--measures {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  text-align: center;
}

.page-gdpr__card--measure {
  background-color: #ffffff;
  padding: 25px;
}

.page-gdpr__measure-icon {
  width: 100px; /* Fixed size for icons */
  height: 100px;
  object-fit: contain;
  margin: 0 auto 15px auto;
  filter: none; /* Ensure no filter is applied */
}

.page-gdpr__card--measure .page-gdpr__card-title {
  font-size: 1.2em;
  color: #2F6BFF;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__card--measure .page-gdpr__card-text {
  font-size: 0.9em;
  color: #555555;
}

/* Cookies Section */
.page-gdpr__section--cookies {
  text-align: center;
}

/* Contact Section */
.page-gdpr__section--contact {
  background-color: #2F6BFF;
  color: #ffffff;
}

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

.page-gdpr__section--contact .page-gdpr__paragraph,
.page-gdpr__contact-text {
  color: #f0f0f0;
}

.page-gdpr__contact-info {
  padding-top: 20px;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__contact-list .page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

.page-gdpr__contact-list .page-gdpr__list-title {
  color: #A5C4FF; /* Glow color for strong text */
}

.page-gdpr__link {
  color: #A5C4FF;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #ffffff;
}

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

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

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

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General Section Styling */
  .page-gdpr__section {
    padding: 40px 15px;
  }

  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

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

  .page-gdpr__content-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .page-gdpr__content-image--right {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* Principles Section */
  .page-gdpr__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

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

  /* Rights Section */
  .page-gdpr__rights-list {
    margin-top: 20px;
  }

  .page-gdpr__list-item {
    padding: 15px;
    margin-bottom: 10px;
  }

  .page-gdpr__list-title {
    font-size: 1.1em;
  }

  .page-gdpr__list-text {
    font-size: 0.9em;
  }

  /* Measures Section */
  .page-gdpr__grid-container--measures {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .page-gdpr__measure-icon {
    width: 80px;
    height: 80px;
  }

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

  .page-gdpr__card--measure .page-gdpr__card-text {
    font-size: 0.85em;
  }

  /* Contact Section */
  .page-gdpr__contact-list {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__contact-list .page-gdpr__list-item {
    padding: 15px;
  }

  /* Universal Image and Container Rules for Mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}