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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  background-color: #f8f8f8;
  text-align: center;
  padding-bottom: 40px;
}

.page-gdpr__hero-image {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #017439; /* Brand primary color for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1rem;
  color: #555555;
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid #eeeeee;
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

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

.page-gdpr__heading {
  font-size: 2.2rem;
  font-weight: 600;
  color: #017439; /* Brand primary color for H2 */
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__text {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-gdpr__principle-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__principle-title {
  font-size: 1.3rem;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__principle-description {
  font-size: 0.95rem;
  color: #555555;
}

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

.page-gdpr__rights-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-gdpr__rights-title {
  font-size: 1.25rem;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__rights-description {
  font-size: 0.95rem;
  color: #555555;
}

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

.page-gdpr__security-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__security-title {
  font-size: 1.3rem;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__security-description {
  font-size: 0.95rem;
  color: #555555;
}

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

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

.page-gdpr__link {
  color: #017439;
  text-decoration: underline;
  font-weight: 500;
}

.page-gdpr__link:hover {
  color: #005f2c;
}

.page-gdpr__cta-buttons {
  text-align: center;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 20px; /* Add padding for container */
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.4rem;
  }

  .page-gdpr__heading {
    font-size: 2rem;
  }

  .page-gdpr__principles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  /* HERO Section */
  .page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: 2rem !important;
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1rem;
    padding: 0 15px;
  }

  /* General Section & Container */
  .page-gdpr__section {
    padding: 40px 0;
  }

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

  .page-gdpr__heading {
    font-size: 1.8rem !important;
    margin-bottom: 25px;
  }

  .page-gdpr__text {
    font-size: 0.95rem;
  }

  /* Principles Grid */
  .page-gdpr__principles-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .page-gdpr__principle-card {
    padding: 20px;
  }

  .page-gdpr__principle-title {
    font-size: 1.2rem;
  }

  /* Rights List */
  .page-gdpr__rights-item {
    padding: 15px;
    margin-bottom: 10px;
  }

  .page-gdpr__rights-title {
    font-size: 1.1rem;
  }

  /* Security List */
  .page-gdpr__security-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-gdpr__security-title {
    font-size: 1.2rem;
  }

  /* Images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Buttons */
  .page-gdpr__cta-buttons {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-gdpr__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
}