/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Assuming shared.css sets a light background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-gdpr__hero-section {
  background-color: #F8F8F8;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-gdpr__hero-image-wrapper {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__content-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.page-gdpr__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 15px;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-gdpr__list-item {
  background-color: #F9F9F9;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  max-width: 40%;
  margin-bottom: 30px;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  max-width: 40%;
  margin-bottom: 30px;
}

.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-gdpr__cta-button--secondary:hover {
  background-color: #E6F7FF;
  color: #26A9E0;
}

.page-gdpr__faq-section {
  background-color: #F8F8F8;
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #F1F1F1;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #E0E0E0;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  color: #333333;
  font-size: 1.2em;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px;
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
  margin-bottom: 0;
  font-size: 1em;
  color: #555555;
}

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

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

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

  .page-gdpr__paragraph, .page-gdpr__list-item p {
    font-size: 1em;
  }

  .page-gdpr__image--right,
  .page-gdpr__image--left {
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding: 60px 0;
  }

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

  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-gdpr__section {
    padding: 40px 0;
  }

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

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

  .page-gdpr__content-block {
    flex-direction: column;
  }

  .page-gdpr__image,
  .page-gdpr__image--right,
  .page-gdpr__image--left {
    float: none;
    margin: 0 auto 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__list-item {
    padding: 15px;
  }

  .page-gdpr__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__cta-wrapper {
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-gdpr__faq-question h3 {
    font-size: 1.1em;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px;
  }

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure all image containers are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}

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

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

  .page-gdpr__sub-title {
    font-size: 1.2em;
  }

  .page-gdpr__faq-question {
    font-size: 1em;
  }

  .page-gdpr__faq-question h3 {
    font-size: 1em;
  }
}