.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Use shared background, default to white */
}

.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 space below fixed header */
  color: #ffffff;
  overflow: hidden;
}

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

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

.page-gdpr__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 40px 20px;
}

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

.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%;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #ffffff;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
}

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

.page-gdpr__btn-primary:hover {
  background: #d46d06;
  border-color: #d46d06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__content-section {
  padding: 60px 20px;
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

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

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

.page-gdpr__principle-item, .page-gdpr__right-item, .page-gdpr__security-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__dark-section .page-gdpr__principle-item,
.page-gdpr__dark-section .page-gdpr__right-item,
.page-gdpr__dark-section .page-gdpr__security-item {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-gdpr__principle-item:hover, .page-gdpr__right-item:hover, .page-gdpr__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr__principle-item img,
.page-gdpr__right-item img,
.page-gdpr__security-item img {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__principle-title, .page-gdpr__right-title, .page-gdpr__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-gdpr__dark-section .page-gdpr__principle-title,
.page-gdpr__dark-section .page-gdpr__right-title,
.page-gdpr__dark-section .page-gdpr__feature-title {
  color: #ffffff;
}

.page-gdpr__data-list, .page-gdpr__data-usage-list, .page-gdpr__third-party-list, .page-gdpr__cookie-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__data-list li,
.page-gdpr__data-usage-list li,
.page-gdpr__third-party-list li,
.page-gdpr__cookie-list li {
  margin-bottom: 10px;
  color: inherit;
}

.page-gdpr__data-list strong,
.page-gdpr__data-usage-list strong,
.page-gdpr__third-party-list strong,
.page-gdpr__cookie-list strong {
  color: #26A9E0;
}

.page-gdpr__dark-section .page-gdpr__data-list strong,
.page-gdpr__dark-section .page-gdpr__data-usage-list strong,
.page-gdpr__dark-section .page-gdpr__third-party-list strong,
.page-gdpr__dark-section .page-gdpr__cookie-list strong {
  color: #ffffff;
}

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

.page-gdpr__contact-info {
  margin-top: 30px;
  text-align: center;
}

.page-gdpr__contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-gdpr__contact-info img {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr a {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr a:hover {
  color: #1a7bb5;
}

.page-gdpr__dark-section a {
  color: #ffffff;
}

.page-gdpr__dark-section a:hover {
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__intro-text {
    font-size: 1.1em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__principles-grid, .page-gdpr__rights-grid, .page-gdpr__security-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-image img {
    border-radius: 4px;
  }
  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__main-title {
    font-size: 2.2em;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__content-section {
    padding: 40px 15px;
  }
  .page-gdpr__dark-section {
    padding: 40px 15px;
  }
  .page-gdpr__principles-grid, .page-gdpr__rights-grid, .page-gdpr__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__principle-item, .page-gdpr__right-item, .page-gdpr__security-item {
    padding: 20px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__contact-info img {
    max-width: 100%;
  }
}