/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Default background for the page content */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, not --header-offset */
  padding-bottom: 40px;
  background-color: #f5f5f5; /* Light background for hero section */
}

.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;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: 42px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195, 8, 8, 0.3);
}

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

.page-gdpr__btn-secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 116, 57, 0.3);
}

/* General Content Section */
.page-gdpr__content-section {
  padding: 60px 0;
}

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

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

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

.page-gdpr__section-title {
  font-size: 34px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__section-title--white {
  color: #ffffff;
}

.page-gdpr__text-block--white {
  color: #f0f0f0;
}

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
}

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

.page-gdpr__list--white .page-gdpr__list-item {
    color: #f0f0f0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
}

.page-gdpr__list-item strong {
    color: #017439;
}
.page-gdpr__list--white .page-gdpr__list-item strong {
    color: #FFFF00;
}

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

.page-gdpr a:hover {
    color: #005a2e;
    text-decoration: none;
}

/* Image Card within content */
.page-gdpr__image-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 20px;
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
    color: #333333;
}

.page-gdpr__image-card .page-gdpr__card-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
    border-radius: 6px;
}

.page-gdpr__card-caption {
    font-size: 15px;
    color: #666666;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-gdpr__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
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;
  font-size: 17px;
  font-weight: 600;
  color: #333333;
}
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;
  line-height: 1.5;
  text-align: left;
}
.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #fcfcfc;
  border-top: 1px solid #eee;
  border-radius: 0 0 8px 8px;
  font-size: 15px;
  color: #555555;
}
.page-gdpr__faq-answer p {
    margin-bottom: 0;
}


/* Contact Section */
.page-gdpr__contact-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439;
}

.page-gdpr__contact-section .page-gdpr__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-gdpr__contact-section p {
  color: #f0f0f0;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 36px;
  }
  .page-gdpr__section-title {
    font-size: 30px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    min-width: 160px;
  }
}

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

  /* Hero Section */
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-gdpr__hero-content {
    padding: 0 15px;
  }
  .page-gdpr__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-gdpr__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Content Sections */
  .page-gdpr__content-section {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .page-gdpr p,
  .page-gdpr__list-item {
    font-size: 15px;
  }

  /* Image within content */
  .page-gdpr__image-card {
      padding: 15px;
      margin: 20px auto;
  }
  .page-gdpr__image-card .page-gdpr__card-image {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
  }

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

  /* Contact Section */
  .page-gdpr__contact-section {
    padding: 50px 0;
  }
  .page-gdpr__contact-section p {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* Universal image and container responsive rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}