.page-gdpr {
  background-color: #B71C1C; /* Custom background color */
  color: #FFF5E1; /* Main text color for contrast with dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.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: relative; /* Changed from absolute to relative */
  top: auto; /* Remove absolute positioning */
  left: auto; /* Remove absolute positioning */
  transform: none; /* Remove transform */
  width: 90%;
  max-width: 800px;
  color: #FFF5E1;
  z-index: 10;
  padding: 20px;
  margin-top: 20px; /* Space between image and content */
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}

.page-gdpr__main-title {
  color: #F4D34D; /* Gold color for main title */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 25px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
  color: #333333; /* Dark text for contrast on gold button */
  border: 2px solid #F2B544; /* Custom border color */
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background-color: #C91F17; /* Main color */
  color: #FFF5E1; /* Main text color */
  border: 2px solid #E53935; /* Auxiliary color */
}

.page-gdpr__btn-secondary:hover {
  background-color: #E53935;
  transform: translateY(-2px);
}

.page-gdpr__section {
  padding: 60px 20px;
  background-color: #B71C1C; /* Consistent with body background */
}

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

.page-gdpr__section-title {
  color: #F4D34D; /* Gold color for section titles */
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__subsection-title {
  color: #FFCC66; /* Glow color for subsections */
  font-size: 1.6em;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #FFF5E1;
}

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

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

.page-gdpr__list-item {
  background-color: #D32F2F; /* Card BG color */
  color: #FFF5E1; /* Main text color */
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #F2B544; /* Border color */
  border-radius: 5px;
  font-size: 1.05em;
}

.page-gdpr__list-item strong {
  color: #F4D34D; /* Gold for strong text */
}

.page-gdpr__link {
  color: #F4D34D; /* Gold for links */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #FFCC66; /* Glow for link hover */
}

.page-gdpr__btn-text-link {
  display: inline-block;
  margin-top: 20px;
  color: #F4D34D; /* Gold for text links */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #F2B544;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.page-gdpr__btn-text-link:hover {
  color: #FFCC66;
  border-color: #FFCC66;
}

/* FAQ Section */
.page-gdpr__faq {
  padding-bottom: 60px;
}

.page-gdpr__faq-item {
  background-color: #D32F2F; /* Card BG color */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #7A0E0E; /* Deep Red border */
}

.page-gdpr__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #FFF5E1; /* Main text color */
  background-color: #C91F17; /* Main color for summary background */
  border-bottom: 1px solid #7A0E0E;
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  font-size: 1.1em;
  color: #F4D34D; /* Gold for FAQ questions */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  color: #FFF5E1;
}

.page-gdpr__faq-answer {
  padding: 20px;
  background-color: #D32F2F; /* Card BG color for answer */
  color: #FFF5E1; /* Main text color */
  font-size: 1em;
}

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

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

  .page-gdpr__hero-content {
    width: 95%;
    padding: 15px;
    margin-top: 15px;
  }

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

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-gdpr__subsection-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
    box-sizing: border-box !important;
  }

  .page-gdpr__list-item {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .page-gdpr__faq-item summary {
    padding: 15px;
  }

  .page-gdpr__faq-qtext {
    font-size: 1em;
  }

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

  /* Ensure all content containers have proper padding for mobile */
  .page-gdpr__section, .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  /* The following rule is often redundant if the above is applied to container/section */
  /* .page-gdpr__container > *:not(.page-gdpr__image) { */
  /*   padding-left: 0 !important; */
  /*   padding-right: 0 !important; */
  /* } */
}

/* Image and video responsive overrides for all images in .page-gdpr */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}