/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--secondary-color, #FFFFFF); /* Body background from shared.css */
}

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #1A7BB0);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure hero section has a decent height */
}

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

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

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-top: -60px; /* Overlap with hero for visual effect */
  position: relative;
  z-index: 1;
}

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

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-gdpr__text-block {
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #333333;
}

.page-gdpr__text-block p {
  margin-bottom: 20px;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: #333333;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  margin: 10px;
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1A7BB0;
  border-color: #1A7BB0;
}

.page-gdpr__cta-button {
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

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

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 300px;
  }

  .page-gdpr__hero-title {
    font-size: 1.8em;
  }

  .page-gdpr__hero-description {
    font-size: 0.95em;
  }

  .page-gdpr__content-area {
    padding: 30px 15px;
    margin-top: -30px;
  }

  .page-gdpr__section-title {
    font-size: 1.5em;
  }

  .page-gdpr__text-block p,
  .page-gdpr__list-item {
    font-size: 0.95em;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .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;
    padding-right: 15px;
    margin-left: 0;
    margin-right: 0;
  }

  .page-gdpr__container,
  .page-gdpr__content-area,
  .page-gdpr__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-gdpr__hero-section .page-gdpr__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    display: block;
    margin-bottom: 15px;
  }

  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.5em;
  }

  .page-gdpr__hero-description {
    font-size: 0.9em;
  }

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