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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
  padding-bottom: 40px;
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  color: #000000; /* Dark text for light background */
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto 20px auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000; /* Ensure high contrast */
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: #333333; /* Ensure high contrast */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--border-color, #3A2A12);
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

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

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

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

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

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

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

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

.page-gdpr__card {
  background-color: var(--card-bg-color, #111111);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-main-color, #FFF6D6);
  border: 1px solid var(--border-color, #3A2A12);
}

.page-gdpr__card-image {
  width: 100%;
  height: auto;
  max-width: 200px; /* Example max-width, ensure minimum 200px */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: var(--aux-color, #FFD36B);
  margin-bottom: 15px;
}

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

.page-gdpr__button-link {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000000; /* Ensure dark text for light button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
}

.page-gdpr__button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

.page-gdpr__contact-details p {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-main-color, #FFF6D6);
}

.page-gdpr__contact-link {
  color: var(--aux-color, #FFD36B);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: var(--main-color, #F2C14E);
  text-decoration: underline;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000000; /* Black text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 30px;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 211, 107, 0.5);
}

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

.page-gdpr__faq-item {
  background-color: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--text-main-color, #FFF6D6);
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 211, 107, 0.1);
}

.page-gdpr__faq-question h3 {
  margin: 0;
  color: var(--text-main-color, #FFF6D6);
  font-size: 1em; /* Adjust to fit within question div */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  color: var(--aux-color, #FFD36B);
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
  color: var(--main-color, #F2C14E);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main-color, #FFF6D6);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px 20px 20px;
}

.page-gdpr__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-main-color, #FFF6D6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-gdpr__hero-description {
    font-size: clamp(0.9em, 2.5vw, 1.1em);
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }

  .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr__card-text, .page-gdpr__contact-details p, .page-gdpr__faq-answer p {
    font-size: 1em;
  }

  .page-gdpr__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-image {
    max-width: 150px;
  }

  .page-gdpr__button-link,
  .page-gdpr__btn-primary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .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;
  }

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

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

@media (max-width: 480px) {
  .page-gdpr__hero-section {
    padding-bottom: 20px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }

  .page-gdpr__hero-description {
    font-size: clamp(0.85em, 3vw, 1em);
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.4em, 7vw, 2em);
  }

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