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

.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  padding-top: 10px; /* Small top padding for the first section */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

.page-gdpr__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #555555;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-gdpr__cta-button--primary {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-gdpr__cta-button--primary:hover {
  background-color: #1a8cc4;
}

.page-gdpr__cta-button--secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

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

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__card {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #666666;
  text-align: justify;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  padding: 0;
}

.page-gdpr__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #444444;
}

/* FAQ styles - details/summary approach */
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #f5f5f5;
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}
.page-gdpr__faq-answer p a {
  color: #26A9E0;
  text-decoration: underline;
}
.page-gdpr__faq-answer p a:hover {
  color: #1a8cc4;
}

.page-gdpr__contact-cta {
  text-align: center;
  padding: 40px 20px;
  background-color: #f0f8ff; /* Light blue background for CTA */
  border-radius: 8px;
  margin-top: 40px;
}

.page-gdpr__cta-text {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #333333;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2.2em, 4vw, 2.5em);
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-gdpr__card-title {
    font-size: 1.25em;
  }
  .page-gdpr__intro-text,
  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__cta-text {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-gdpr__hero-section {
    margin-bottom: 20px;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }
  .page-gdpr__hero-image-wrapper {
    padding-bottom: 75%; /* 4:3 aspect ratio for mobile */
  }
  .page-gdpr__hero-content {
    margin: 20px auto;
    padding: 0 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em); /* Adjusted to clamp for mobile */
    margin-bottom: 15px;
  }
  .page-gdpr__intro-text {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  /* Buttons and button containers */
  .page-gdpr__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__contact-cta .page-gdpr__cta-button {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Content Sections and containers */
  .page-gdpr__content-section {
    padding: 20px 0;
  }
  .page-gdpr__container {
    padding: 0 15px !important; /* Ensure padding for mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-gdpr__paragraph {
    font-size: 1em;
  }

  /* Grid and Cards */
  .page-gdpr__grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 150px; /* Adjust min height for mobile cards */
  }
  .page-gdpr__card-title {
    font-size: 1.1em;
  }
  .page-gdpr__card-text {
    font-size: 0.95em;
  }

  /* Lists */
  .page-gdpr__list {
    margin-left: 20px;
    margin-bottom: 20px;
  }
  .page-gdpr__list-item {
    font-size: 1em;
    margin-bottom: 8px;
  }

  /* FAQ */
  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px;
  }
  .page-gdpr__faq-qtext {
    font-size: 15px;
  }
  .page-gdpr__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }

  /* Contact CTA */
  .page-gdpr__contact-cta {
    padding: 30px 15px;
  }
  .page-gdpr__cta-text {
    font-size: 1em;
  }
}