.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: var(--black-color); /* Inherited from shared, assumed dark */
}

/* Base styles for sections to ensure proper spacing and alignment */
.page-gdpr__hero-section,
.page-gdpr__content-area,
.page-gdpr__cta-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
}

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff; /* White text for brand color background */
}

.page-gdpr__hero-image-container {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px; /* Space between image and content */
}

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

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

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

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

/* Content Area */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #ffffff; /* White background for content */
  color: #333333; /* Dark text for white background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: -30px; /* Overlap with hero section slightly for visual effect */
  position: relative;
  z-index: 1;
}

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

.page-gdpr__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1em;
  line-height: 1.7;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-gdpr__image-inline {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__link:hover {
  color: #EA7C07; /* Login color for hover */
  text-decoration: none;
}

/* CTA Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button fits */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb2;
}

.page-gdpr__cta-section {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px; /* Space between buttons */
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-gdpr__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0; /* Brand color for FAQ questions */
  background-color: #eaf7ff; /* Lighter brand color for question background */
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
  background-color: #d7efff;
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
}

/* Ensure details summary marker is hidden */
.page-gdpr__faq-item summary {
  list-style: none;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
}

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

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

  .page-gdpr__main-title {
    font-size: 1.8em !important;
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__content-area {
    padding: 30px 15px;
    margin-top: -20px;
  }

  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .page-gdpr__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
  }

  .page-gdpr__list {
    padding-left: 15px;
  }

  .page-gdpr__list-item {
    margin-bottom: 8px;
  }

  .page-gdpr__image-inline {
    margin: 20px auto;
  }

  /* Mobile image, video, button responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr video,
  .page-gdpr__video {
    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-section,
  .page-gdpr__content-area,
  .page-gdpr__cta-section,
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .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;
    margin: 10px 0 !important; /* Stack buttons vertically */
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .page-gdpr__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }

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

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