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

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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background: #26A9E0;
  color: #ffffff;
}

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

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

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__text-highlight {
  font-weight: bold;
}

.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;
  margin: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-gdpr__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e8fc4;
}

.page-gdpr__cta-bottom {
  margin-top: 40px;
}

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

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

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #333333;
}

.page-gdpr__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

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

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

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-gdpr__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr__text-link:hover {
  color: #1e8fc4;
}

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

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  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 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
  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;
  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: #26A9E0;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 20px;
  background: #fcfcfc;
  border-radius: 0 0 8px 8px;
  color: #555555;
}

.page-gdpr__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

.page-gdpr__contact-cta {
  padding: 60px 0;
  text-align: center;
}

.page-gdpr__copyright-info {
  padding: 20px 0;
  background: #333333;
  color: #ffffff;
  text-align: center;
  font-size: 0.9em;
}

/* Responsive Design */
/* Mobile specific rules (max-width: 768px) */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

  .page-gdpr__cta-button {
    padding: 10px 20px;
    font-size: 0.95em;
    margin: 8px 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__cta-bottom {
    margin-top: 30px;
  }

  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-cta {
    padding: 30px 0;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__list li {
    font-size: 0.95em;
  }

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

  .page-gdpr__image-wrapper {
    margin: 20px 0;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px 18px;
    font-size: 1em;
  }

  .page-gdpr__faq-qtext {
    font-size: 15px;
  }

  .page-gdpr__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

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

  .page-gdpr__copyright-info {
    padding: 15px 0;
    font-size: 0.85em;
  }

  .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;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

/* Tablet specific rules (max-width: 1023px) - general content adjustments */
@media (max-width: 1023px) {
  .page-gdpr__container {
    padding: 0 25px;
  }

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

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

  .page-gdpr__hero-section {
    padding-bottom: 30px;
  }

  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-cta {
    padding: 40px 0;
  }
}

/* Desktop specific rules (min-width: 1024px) */
@media (min-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2.5em, 4vw, 3.2em); /* Responsive font size for H1 */
  }
}