/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000; /* Ensuring text contrast with body background */
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header, assuming shared.css sets body padding-top: 0 */
}

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient */
  color: #ffffff;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  padding-bottom: 60px;
  margin-top: 0;
}

.page-gdpr__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__hero-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffc107; /* Highlight with auxiliary color */
}

.page-gdpr__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-gdpr__hero-button {
  display: inline-block;
  background-color: #ffc107;
  color: #333333;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__hero-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-gdpr__content-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Slightly lighter dark background for content */
}

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

.page-gdpr__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #007bff; /* Primary color for main titles */
  margin-top: 40px;
  margin-bottom: 30px;
  text-align: left;
}

.page-gdpr__text-block {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible background for text blocks */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-gdpr__text-block p:last-child {
  margin-bottom: 0;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

.page-gdpr__list li strong {
  color: #ffc107; /* Highlight list item strong text */
}

.page-gdpr__link {
  color: #ffc107; /* Auxiliary color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #007bff;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin-top: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08); /* Darker background for FAQ items */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #007bff; /* Primary color for question background */
  color: #ffffff;
  border: 1px solid #0056b3;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: #0056b3;
  border-color: #004085;
}

.page-gdpr__faq-question:active {
  background: #004085;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107; /* Auxiliary color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.03); /* Lighter dark for answer background */
  border-radius: 0 0 8px 8px;
  color: #e0e0e0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 38px;
  }
  .page-gdpr__hero-description {
    font-size: 17px;
  }
  .page-gdpr__section-title {
    font-size: 28px;
  }
  .page-gdpr__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top is correct */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding-top: 0 !important;
    padding-bottom: 40px;
  }
  .page-gdpr__hero-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-gdpr__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-gdpr__hero-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__content-section {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-gdpr__text-block {
    padding: 20px;
  }
  .page-gdpr__list {
    margin-left: 20px;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
  }
  .page-gdpr__faq-question h3 {
    font-size: 16px;
  }
  .page-gdpr__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px !important;
  }
  /* Mobile image and container responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__container,
  .page-gdpr__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__text-block, .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__hero-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    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__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;
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}