/* style/gdpr.css */

.page-gdpr {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-size: 16px;
  background-color: #ffffff; /* Explicitly set for content area if shared.css doesn't cover it */
}

.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px; /* Space below hero content */
  background-color: #f0f8ff; /* Light blue background for hero section */
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 20px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3rem); /* H1 clamp for responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-gdpr__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  margin-bottom: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  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: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #e0f2f7;
}

.page-gdpr__content-section {
  padding: 40px 0;
  background-color: #ffffff;
}

.page-gdpr__article-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: 2rem;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-gdpr__article-wrap h3 {
  font-size: 1.4rem;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__article-wrap p {
  margin-bottom: 15px;
}

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

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

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

.page-gdpr__figure {
  margin: 30px 0;
  text-align: center;
}

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

.page-gdpr__figcaption {
  font-size: 0.9rem;
  color: #666666;
  margin-top: 10px;
  font-style: italic;
}

.page-gdpr__contact-info {
  margin-top: 40px;
  text-align: center;
  padding: 20px;
  background-color: #f0f8ff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

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

.page-gdpr__contact-info a {
  display: inline-block;
  margin-top: 10px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  /* 1. Top section title + dual CTA */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Small top padding for hero section */
    padding-bottom: 20px;
  }

  .page-gdpr__hero-content {
    margin-top: 10px;
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: 2rem; /* Adjust H1 size for mobile */
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  /* 4. Buttons and button containers */
  .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 !important;
    padding-right: 15px !important;
  }

  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 2. Single column long text container */
  .page-gdpr__content-section {
    padding: 20px 0;
  }

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

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

  .page-gdpr__article-wrap h3 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__list {
    margin-left: 15px;
  }

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

  /* 3. Generic images and figures */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-gdpr__figure {
    margin: 20px 0;
  }

  .page-gdpr__figcaption {
    font-size: 0.85rem;
  }

  .page-gdpr__contact-info {
    padding: 15px;
    margin-top: 30px;
  }

  .page-gdpr__contact-info p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
}