/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background #0a0a0a is dark, so use light text */
  background-color: transparent; /* Main content background is transparent to show body background */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden; /* Prevent content overflow */
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px; /* Space between image and content */
}

.page-gdpr__hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: rgba(38, 169, 224, 0.8); /* Brand color with transparency for dark bg */
  color: #ffffff;
}

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

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

/* General Section Styles */
.page-gdpr__section {
  padding: 50px 20px;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for content */
  box-sizing: border-box;
}

.page-gdpr__dark-section {
  background-color: #1a1a1a; /* Darker background for contrast on dark body */
  color: #ffffff;
}

.page-gdpr__heading {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 600;
  color: #26A9E0; /* Brand primary color for headings */
  text-align: center;
  margin-bottom: 30px;
}

.page-gdpr__dark-section .page-gdpr__heading {
  color: #ffffff;
}

.page-gdpr__sub-heading {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr__dark-section .page-gdpr__paragraph {
  color: #f0f0f0;
}

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

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image--full-width {
  width: 100%;
}

/* Lists */
.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-gdpr__list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.page-gdpr__list--grid .page-gdpr__list-item {
  background-color: rgba(38, 169, 224, 0.1); /* Light brand color background */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

/* Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Ensure padding doesn't cause overflow */
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  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: #1e87b5;
  border-color: #1e87b5;
}

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

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

/* Links */
.page-gdpr a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #1e87b5;
  text-decoration: none;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(38, 169, 224, 0.2); /* Brand color with transparency */
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker for details summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

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

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Conclusion CTA Section */
.page-gdpr__conclusion-cta-section .page-gdpr__container {
  text-align: center;
  padding: 40px 20px;
  background-color: #26A9E0; /* Brand color for conclusion */
  color: #ffffff;
  border-radius: 8px;
}

.page-gdpr__conclusion-cta-section .page-gdpr__heading {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-gdpr__conclusion-cta-section .page-gdpr__paragraph {
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

  .page-gdpr__hero-section {
    padding-top: 5px;
    padding-bottom: 20px;
  }

  .page-gdpr__hero-content {
    padding: 20px 15px;
    border-radius: 0;
  }

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

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

  .page-gdpr__section {
    padding: 30px 0;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__heading {
    font-size: 1.8em;
  }

  .page-gdpr__sub-heading {
    font-size: 1.3em;
  }

  .page-gdpr__list--grid {
    grid-template-columns: 1fr; /* Stack items on mobile */
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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;
  }
  
  /* Mobile image and container responsiveness */
  .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__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  
  /* Specific sections that might have 0 padding-left/right on desktop need explicit mobile padding */
  .page-gdpr__hero-section .page-gdpr__hero-content,
  .page-gdpr__conclusion-cta-section .page-gdpr__container {
    border-radius: 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__faq-question {
    padding-left: 15px;
    padding-right: 15px;
  }

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