.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Default light background */
}

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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #f5f5f5; /* Light background for hero section */
}

.page-gdpr__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-gdpr__lead-text {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure button fits container */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

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

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

.page-gdpr__btn--secondary:hover {
  background-color: #e0f2f7;
  color: #1a8cc7;
  border-color: #1a8cc7;
}

/* Login button specific style */
.page-gdpr__btn[href*="login"] {
  background-color: #EA7C07;
  border-color: #EA7C07;
  color: #FFFFFF;
}
.page-gdpr__btn[href*="login"]:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}


.page-gdpr__content-section {
  padding: 60px 0;
}

.page-gdpr__article-wrap {
  max-width: 900px; /* Slightly narrower for readability in long text */
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__section-title {
  font-size: clamp(24px, 3vw, 38px);
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #333333;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr p {
  margin-bottom: 15px;
}

.page-gdpr__image-figure {
  margin: 30px 0;
  text-align: center;
}

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

.page-gdpr__image-caption {
  font-size: 14px;
  color: #666666;
  margin-top: 10px;
}

.page-gdpr__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__section-title--light,
.page-gdpr__sub-title--light,
.page-gdpr__lead-text--light,
.page-gdpr__text-block--light {
  color: #ffffff;
}

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

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

.page-gdpr__faq-question {
  background-color: #f9f9f9;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #eaf6fa;
}

.page-gdpr__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__faq-answer p {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0;
}

/* FAQ Active state for JS (if implemented, though not for 188BET homepage style) */
.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px; /* Large enough to accommodate content */
}

.page-gdpr__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
}

.page-gdpr__contact-section {
  padding-top: 40px;
  padding-bottom: 60px;
  text-align: center;
}

/* --- Responsive Styles --- */

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

  /* 1. Top section title + CTA */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .page-gdpr__lead-text {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 15px;
  }

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

  /* 4. Buttons and button containers */
  .page-gdpr__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px; /* Adjust padding for smaller screens */
  }
  .page-gdpr__cta-buttons {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    flex-wrap: wrap !important; /* Ensure wrapping if needed for multiple buttons */
  }


  /* 2. Single-column long text containers */
  .page-gdpr__content-section {
    padding: 30px 0;
  }

  .page-gdpr__article-wrap {
    padding: 0 15px; /* Adjust padding for mobile */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__section-title {
    font-size: 28px;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-gdpr__sub-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  /* 3. General images and figure */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__image-figure {
    margin: 20px 0;
    padding: 0 15px; /* Ensure figure itself respects padding */
  }

  /* 5. FAQ Block */
  .page-gdpr__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-gdpr__faq-question {
    font-size: 16px;
    padding: 12px 15px;
  }
  .page-gdpr__faq-answer p {
    padding: 12px 15px;
  }

  .page-gdpr__cta-bottom-section,
  .page-gdpr__contact-section {
    padding: 30px 0;
  }
}

/* Tablet: max-width: 1024px */
@media (max-width: 1024px) {
  .page-gdpr__container {
    padding: 0 25px;
  }
  .page-gdpr__article-wrap {
    padding: 0 25px;
  }
  .page-gdpr__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }
  .page-gdpr__section-title {
    font-size: clamp(28px, 3.5vw, 38px);
  }
  .page-gdpr__sub-title {
    font-size: clamp(22px, 2.8vw, 28px);
  }
  .page-gdpr__cta-buttons {
    gap: 10px;
  }
}