/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for hero background */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any background effects */
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1a7bb5;
}

.page-gdpr__section {
  padding: 80px 20px;
  text-align: center;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  margin-bottom: 20px;
  font-weight: 700;
  color: #26A9E0; /* Brand color for section titles */
}

.page-gdpr__section-intro {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: #f0f0f0; /* Light text for section intros on dark body */
}

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

.page-gdpr__principles-grid,
.page-gdpr__protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-gdpr__principle-card,
.page-gdpr__protection-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: 600;
  color: #26A9E0; /* Brand color for card titles */
}

.page-gdpr__principles-section,
.page-gdpr__protection-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

/* Light background for cards */
.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-gdpr__light-bg .page-gdpr__card-title {
  color: #26A9E0; /* Brand color on light background */
}

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

.page-gdpr__dark-bg {
  background-color: #0a0a0a; /* Same as body background or slightly darker */
  color: #ffffff; /* Light text for dark background */
}

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

.page-gdpr__dark-bg .page-gdpr__section-intro {
  color: #f0f0f0;
}

.page-gdpr__rights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
  text-align: left;
}

.page-gdpr__right-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible card on dark background */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__right-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__right-item p {
  color: #f0f0f0;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure these are also large enough */
  min-height: 200px;
}

.page-gdpr__contact-info {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  color: #f0f0f0;
}

.page-gdpr__contact-info p {
  margin-bottom: 15px;
}

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

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-gdpr__contact-list li a {
  color: #26A9E0;
  text-decoration: none;
}

.page-gdpr__contact-list li a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #ffffff; /* Light background for FAQ items */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f8f8f8; /* Slightly off-white for summary */
  border-bottom: 1px solid #eee;
  font-weight: 600;
  font-size: 1.1em;
  color: #333333;
  list-style: none; /* Hide default details marker */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default details marker for webkit */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: #e0f2f7; /* Lighter background when open */
  color: #26A9E0;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  color: #26A9E0;
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  text-align: left;
}

/* No CSS filters for images */
.page-gdpr img {
  filter: none;
}

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-gdpr__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust for mobile */
  }

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__section {
    padding: 40px 15px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-gdpr__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__principles-grid,
  .page-gdpr__protection-grid,
  .page-gdpr__rights-list {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__principle-card,
  .page-gdpr__protection-card,
  .page-gdpr__right-item {
    padding: 20px;
  }

  .page-gdpr__card-title,
  .page-gdpr__right-title {
    font-size: 1.2em;
  }

  .page-gdpr__content-image {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__contact-info {
    padding: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    padding: 15px 20px;
  }

  /* Image, video, button global responsive rules (explicitly defined as required) */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }

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