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

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  overflow: hidden;
  background-color: #1a1a1a;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
  color: #ffffff;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-gdpr__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-gdpr__dark-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #2a2a2a;
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 600;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.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.3);
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  width: 50%;
  max-width: 600px;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  width: 50%;
  max-width: 600px;
}

.page-gdpr__image--full {
  width: 100%;
  max-width: 1000px;
  margin-bottom: 40px;
}

.page-gdpr__image--center {
  margin-top: 0;
  margin-bottom: 40px;
}

.page-gdpr__introduction .page-gdpr__container,
.page-gdpr__data-collection .page-gdpr__container,
.page-gdpr__user-rights .page-gdpr__container,
.page-gdpr__security-measures .page-gdpr__container,
.page-gdpr__cookies-policy .page-gdpr__container,
.page-gdpr__contact-dp .page-gdpr__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__introduction .page-gdpr__container,
.page-gdpr__data-collection .page-gdpr__container,
.page-gdpr__security-measures .page-gdpr__container {
  text-align: center;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

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

.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
  width: 100%;
}

.page-gdpr__card {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #4dc2ff;
  text-decoration: underline;
}

.page-gdpr__cta-button,
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button {
  margin-top: 30px;
}

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

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

.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__button-group {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
  width: 100%;
}

.page-gdpr__faq-section {
  padding-bottom: 80px;
}

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

.page-gdpr__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #f0f0f0;
  text-align: justify;
}

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

/* Desktop specific layout adjustments */
@media (min-width: 769px) {
  .page-gdpr__introduction .page-gdpr__container,
  .page-gdpr__data-collection .page-gdpr__container,
  .page-gdpr__user-rights .page-gdpr__container,
  .page-gdpr__security-measures .page-gdpr__container,
  .page-gdpr__cookies-policy .page-gdpr__container,
  .page-gdpr__contact-dp .page-gdpr__container {
    display: block; /* Reset flex for specific sections for text/image float */
  }

  .page-gdpr__introduction .page-gdpr__text-block,
  .page-gdpr__data-collection .page-gdpr__text-block,
  .page-gdpr__user-rights .page-gdpr__card,
  .page-gdpr__security-measures .page-gdpr__list,
  .page-gdpr__cookies-policy .page-gdpr__text-block,
  .page-gdpr__contact-dp .page-gdpr__text-block {
    clear: both; /* Clear floats for text blocks after images */
  }

  .page-gdpr__introduction .page-gdpr__text-block,
  .page-gdpr__data-collection .page-gdpr__text-block {
    padding-left: 55%; /* Adjust for floated image */
    box-sizing: border-box;
  }

  .page-gdpr__data-collection .page-gdpr__list {
    padding-right: 55%;
    box-sizing: border-box;
  }
}

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

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
    padding-bottom: 20px;
  }

  .page-gdpr__hero-image {
    max-height: 300px;
  }

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

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

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

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

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-gdpr__text-block {
    font-size: 1em;
    padding: 0 15px;
    text-align: left;
  }

  .page-gdpr__image,
  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    float: none;
    margin: 20px auto !important;
  }

  .page-gdpr__image--right,
  .page-gdpr__image--left,
  .page-gdpr__image--full {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }

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

  .page-gdpr__grid-container {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

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

  .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__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

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

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

/* Ensure all content containers are responsive */
.page-gdpr__section,
.page-gdpr__card,
.page-gdpr__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Fixed header spacing - if shared.css doesn't provide body padding */
/* This is a fallback and should ideally be handled by shared.css on body */
/* If body already has padding-top, this should NOT be applied to .page-gdpr */
/* If .page-gdpr needs specific top spacing (e.g., for hero), it should be a small fixed value like 10px */
/* For this page, assuming shared.css handles body padding-top, so only small hero padding is applied. */