.page-gdpr {
  color: #ffffff; /* Body background is dark (#1a1a2e), so main text is light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

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

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

.page-gdpr__dark-bg {
  background-color: #1a1a2e; /* Matches body background for consistency */
  color: #ffffff;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding, add small decorative top padding */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
  text-align: center;
  position: relative; /* Ensure content is above image if any overlap */
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #26A9E0;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.page-gdpr__cta-buttons--centered {
  margin-top: 40px;
}

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

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Section Titles */
.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-gdpr__intro-section p,
.page-gdpr__rights-section p,
.page-gdpr__security-section p,
.page-gdpr__contact-section p,
.page-gdpr__future-section p {
  color: #333333;
  margin-bottom: 20px;
}

.page-gdpr__intro-section .page-gdpr__subtitle,
.page-gdpr__rights-section .page-gdpr__subtitle,
.page-gdpr__contact-section .page-gdpr__subtitle {
  color: #26A9E0;
}

.page-gdpr__dark-bg .page-gdpr__subtitle {
  color: #ffffff;
}

.page-gdpr__dark-bg p {
  color: #f0f0f0;
}

.page-gdpr__subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-gdpr__grid-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__grid-item p {
  color: #f0f0f0;
}

.page-gdpr__grid-item .page-gdpr__subtitle {
  color: #ffffff;
  font-size: 1.3rem;
  margin-top: 0;
}

/* Lists */
.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__dark-bg .page-gdpr__list {
  color: #f0f0f0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

.page-gdpr__list li strong {
  color: #26A9E0;
}

.page-gdpr__dark-bg .page-gdpr__list li strong {
  color: #ffffff;
}

/* Images within content */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

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

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

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

/* Clearfix for floated images */
.page-gdpr__rights-section::after,
.page-gdpr__security-section::after {
  content: "";
  display: table;
  clear: both;
}

/* Links within text */
.page-gdpr a {
  color: #26A9E0;
  text-decoration: underline;
}

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

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

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-gdpr__image--left,
  .page-gdpr__image--right {
    float: none;
    margin: 0 auto 30px auto;
    max-width: 100%;
  }
}

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

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

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: 2rem;
  }

  .page-gdpr__hero-description {
    font-size: 1rem;
  }

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

  .page-gdpr__subtitle {
    font-size: 1.3rem;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  /* Mobile image responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-image-wrapper {
    max-height: none;
  }
}