/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light backgrounds */
}

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, as body handles header offset */
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #017439; /* Dark brand color background */
  color: #ffffff; /* Light text for dark background */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  width: 100%;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-gdpr__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Registration/Login red */
  color: #FFFF00; /* Registration/Login yellow text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #a30606;
}

.page-gdpr__content-section {
  padding: 60px 20px;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__text-contrast-fix {
  color: #ffffff; /* For text on dark backgrounds */
}

.page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit from section background */
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.7;
  color: inherit;
}

.page-gdpr__text-block a {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__dark-bg .page-gdpr__text-block a {
  color: #FFFF00; /* Yellow for links on dark background */
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.7;
  color: inherit;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__faq-section {
  padding: 60px 20px;
  background-color: #f5f5f5;
  color: #333333;
}

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

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #017439;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

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

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-gdpr__content-section {
    padding: 50px 20px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

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

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-gdpr__btn-primary {
    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;
  }

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

  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 25px;
  }

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

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important;
    min-height: unset !important;
  }

  .page-gdpr__faq-section {
    padding: 40px 15px;
  }

  .page-gdpr__faq-question {
    padding: 15px 15px;
    font-size: 0.95rem;
  }

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