/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Body background is dark, so text should be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* inherited from body, which is dark */
}

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

.page-gdpr__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjust for header offset */
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #007bff 100%); /* Brand color gradient */
  color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  color: #26A9E0; /* Brand color for titles */
}

.page-gdpr__intro-section,
.page-gdpr__rights-section,
.page-gdpr__data-processing-section,
.page-gdpr__contact-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background for readability */
  color: #333333; /* Dark text on light background */
}

.page-gdpr__principles-section,
.page-gdpr__security-section,
.page-gdpr__cookies-section,
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Darker background for contrast with light sections */
  color: #FFFFFF;
}

.page-gdpr__principles-section .page-gdpr__section-title,
.page-gdpr__security-section .page-gdpr__section-title,
.page-gdpr__cookies-section .page-gdpr__section-title,
.page-gdpr__faq-section .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
}

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

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensures proper max-width behavior */
  margin: 0 auto;
}

.page-gdpr__principle-list,
.page-gdpr__rights-list,
.page-gdpr__security-list,
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr__principle-item,
.page-gdpr__rights-item,
.page-gdpr__security-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly visible cards on dark bg */
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #FFFFFF;
}

.page-gdpr__intro-section .page-gdpr__principle-item,
.page-gdpr__rights-section .page-gdpr__rights-item,
.page-gdpr__data-processing-section .page-gdpr__list li,
.page-gdpr__contact-section .page-gdpr__list li {
  background-color: #f9f9f9; /* Light background for lists/items in light sections */
  color: #333333;
  border-left-color: #26A9E0;
}

.page-gdpr__principle-title,
.page-gdpr__rights-title,
.page-gdpr__security-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-gdpr__intro-section .page-gdpr__principle-title,
.page-gdpr__rights-section .page-gdpr__rights-title,
.page-gdpr__data-processing-section .page-gdpr__subtitle,
.page-gdpr__contact-section .page-gdpr__list li {
  color: #26A9E0;
}

.page-gdpr__subtitle {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-gdpr__list li::before {
  content: '•';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-gdpr__link:hover {
  color: #1a7bb0;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1); /* Slightly darker for question header */
  color: #FFFFFF;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-title {
  margin: 0;
  color: #FFFFFF; /* Ensure title is white on dark background */
}

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

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px; /* Initial padding is 0 */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px; /* Padding when active */
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 80px 0 40px; /* Adjust for mobile */
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

  .page-gdpr__paragraph {
    font-size: 1em;
  }

  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__cookies-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }

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

  /* Mobile image responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Mobile button responsive */
  .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;
    margin-bottom: 10px; /* Add some space between stacked buttons */
  }

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

  .page-gdpr__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

/* Ensure content images are not filtered */
.page-gdpr img {
  filter: none !important;
}