/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Dark body background #121212, so light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Fixed header offset: Assuming shared.css sets body padding-top */
.page-gdpr__hero-section {
  position: relative;
  padding-top: 0; /* Important: Set to 0 if shared.css handles body padding */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #CC0000, #FFD700); /* Brand colors for hero background */
  text-align: center;
  overflow: hidden; /* Ensure no overflow */
}

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

.page-gdpr__main-title {
  font-size: 42px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gdpr__description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
}

.page-gdpr__dark-bg {
  background-color: #121212; /* Original body background for contrast */
}

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

.page-gdpr__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #e0e0e0; /* Light grey for paragraphs */
}

.page-gdpr strong {
  color: #FFD700; /* Highlight important keywords with gold */
}

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

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

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

.page-gdpr a {
  color: #CC0000; /* Red for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr a:hover {
  color: #FFD700; /* Gold on hover */
}

.page-gdpr__contact-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #e0e0e0;
}

.page-gdpr__contact-list li strong {
  color: #FFD700;
}

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

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #CC0000; /* Red background for question */
  color: #ffffff;
  border: 1px solid #CC0000;
  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-color: #b30000; /* Darker red on hover */
  border-color: #b30000;
}

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

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

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

.page-gdpr__faq-item.active .page-gdpr__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to X, or could change to minus */
}

.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: #333333; /* Dark background for answer */
  color: #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* Use !important and large value */
  padding: 20px 25px !important;
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 36px;
  }
  .page-gdpr__description {
    font-size: 17px;
  }
  .page-gdpr__section-title {
    font-size: 28px;
  }
  .page-gdpr p, .page-gdpr__list li {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  /* Ensure content area does not cause horizontal scroll */
  .page-gdpr {
    overflow-x: hidden;
  }

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }
  .page-gdpr__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-gdpr__description {
    font-size: 15px;
    padding: 0 15px; /* Add padding to prevent text touching edges */
  }

  .page-gdpr__content-section {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding: 0 15px; /* Add padding to prevent content touching edges */
  }
  .page-gdpr__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-gdpr p, .page-gdpr__list li, .page-gdpr__contact-list li {
    font-size: 14px;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__image-wrapper {
    margin: 20px auto;
  }

  /* FAQ responsive */
  .page-gdpr__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }
  .page-gdpr__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }
  .page-gdpr__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px !important;
  }

  /* Buttons responsive (placeholder for generic buttons, none in this page content) */
  .page-gdpr__cta-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;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 24px;
  }
  .page-gdpr__section-title {
    font-size: 20px;
  }
}