/* style/gdpr.css */
.page-gdpr {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  background-color: #2F6BFF;
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  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 {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-gdpr__btn--secondary:hover {
  background: #F4F7FB;
  color: #2F6BFF;
  border-color: #2F6BFF;
}

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #2F6BFF;
  margin-top: 40px;
  margin-bottom: 20px;
}

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

.page-gdpr__principle-item,
.page-gdpr__right-item,
.page-gdpr__measure-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

.page-gdpr__principle-heading,
.page-gdpr__right-heading,
.page-gdpr__measure-heading {
  font-size: 1.3em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-gdpr__image-wrapper {
  text-align: center;
  margin: 40px auto;
  max-width: 680px;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__image-caption {
  font-size: 0.9em;
  color: #555;
  margin-top: 10px;
}

.page-gdpr__text-link {
  color: #2F6BFF;
  text-decoration: underline;
}

.page-gdpr__text-link:hover {
  color: #6FA3FF;
}

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

.page-gdpr__contact-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
  text-align: center;
}

.page-gdpr__contact-heading {
  font-size: 1.5em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-gdpr__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 30px 0;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-gdpr__intro-text {
    font-size: 1em;
  }

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

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

  .page-gdpr__content-section {
    padding: 40px 0;
  }

  .page-gdpr__article-wrap {
    padding: 0 15px;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__principle-list,
  .page-gdpr__rights-list,
  .page-gdpr__compliance-measures,
  .page-gdpr__contact-options {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 0 15px; /* Add padding to grid containers */
  }

  .page-gdpr__principle-item,
  .page-gdpr__right-item,
  .page-gdpr__measure-item,
  .page-gdpr__contact-item {
    padding: 20px;
  }

  .page-gdpr__principle-heading,
  .page-gdpr__right-heading,
  .page-gdpr__measure-heading,
  .page-gdpr__contact-heading {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-gdpr p {
    font-size: 0.95em;
  }

  .page-gdpr__image-wrapper {
    margin: 30px auto;
    padding: 0 15px;
  }

  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Ensure all containers with images also adapt */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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