.page-gdpr {
  color: var(--text-main, #FFF6D6); /* Default text color for dark background */
  background-color: var(--background, #0A0A0A); /* Ensure background is dark */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
  overflow: hidden;
  color: var(--text-main, #FFF6D6);
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-gdpr__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  z-index: 1;
  color: #ffffff;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main, #FFF6D6);
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* Text Main #FFF6D6 is too light for this gradient, use pure white for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

.page-gdpr__section {
  padding: 60px 20px;
  color: var(--text-main, #FFF6D6);
}

.page-gdpr__section--dark {
  background-color: var(--card-bg, #111111);
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--main-color, #F2C14E);
}

.page-gdpr__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--text-main, #FFF6D6);
}

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

.page-gdpr__card {
  background-color: var(--card-bg, #111111);
  border: 1px solid var(--border, #3A2A12);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main, #FFF6D6);
}

.page-gdpr__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 4px;
  display: block;
  object-fit: cover;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--main-color, #F2C14E);
}

.page-gdpr__card-text {
  font-size: 1em;
  color: var(--text-main, #FFF6D6);
}

.page-gdpr__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 30px;
  color: var(--text-main, #FFF6D6);
}

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

.page-gdpr__list-item strong {
  color: var(--main-color, #F2C14E);
}

.page-gdpr__list-item a {
  color: var(--main-color, #F2C14E);
  text-decoration: underline;
}

.page-gdpr__content-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-gdpr__text-block {
  flex: 1;
}

.page-gdpr__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--main-color, #F2C14E);
}

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

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

.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: var(--main-color, #F2C14E);
  border: 2px solid var(--main-color, #F2C14E);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 0 10px 20px;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-gdpr__btn-secondary:hover {
  background: var(--main-color, #F2C14E);
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-gdpr__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-content {
    width: 95%;
    padding: 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__content-flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__paragraph {
    font-size: 0.95em;
  }
  .page-gdpr__list {
    margin-left: 10px;
  }
  .page-gdpr__list-item {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__hero-image-container,
  .page-gdpr__image-block,
  .page-gdpr__container,
  .page-gdpr__card,
  .page-gdpr__content-flex,
  .page-gdpr__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .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;
    margin: 10px 0 !important; /* Adjust margins for full width buttons */
  }
  .page-gdpr__section--contact .page-gdpr__btn-secondary,
  .page-gdpr__section--contact .page-gdpr__btn-primary {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Fixed header spacing for first section */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}