/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 40px;
  background: #F4F7FB; /* Background */
  text-align: center;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: #1F2D3D;
  margin-bottom: 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

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

.page-gdpr__content-area {
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D; /* Text Main */
}

.page-gdpr__dark-section {
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: inherit;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-gdpr__principle-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure equal height */
}

.page-gdpr__principle-item:hover {
  transform: translateY(-5px);
}

.page-gdpr__principle-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__principle-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-gdpr__rights-item {
  background: #FFFFFF; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
  height: 100%; /* Ensure equal height */
}

.page-gdpr__rights-title {
  font-size: 1.3em;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__rights-description {
  font-size: 0.95em;
  color: #1F2D3D; /* Text Main */
}

.page-gdpr__security-measures {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__measure-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 1em;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.page-gdpr__measure-item strong {
  color: #A5C4FF; /* Glow */
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__contact-item {
  background: #FFFFFF; /* Card BG */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #1F2D3D; /* Text Main */
  font-size: 1em;
  border: 1px solid #D6E2FF; /* Border */
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__contact-item a {
  color: #2F6BFF; /* Main Color */
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__contact-item a:hover {
  text-decoration: underline;
}

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

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  list-style: none;
  user-select: none;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 25px;
  font-size: 1em;
  color: #e0e0e0;
}

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

/* Placeholder styles for homepage modules (even if not used on this page, required by template) */
.page-gdpr__hero-section { padding-top: 10px; }
.page-gdpr__home-content { border: 1px solid #FBB00D; border-radius: 10px; height: 650px; overflow-y: auto; }
.page-gdpr__row-games, .page-gdpr__row-sport, .page-gdpr__row-coop { background-color: #1A202C; padding: 40px 20px; max-width: 1330px; margin: 0 auto; }
.page-gdpr__games-title, .page-gdpr__sport-title, .page-gdpr__coop-title { color: #fff; text-align: center; }
.page-gdpr__slider-wrapper { overflow: hidden; }
.page-gdpr__slider-track { display: flex; flex-wrap: nowrap; gap: 16px; }
.page-gdpr__game-slide { flex: 0 0 200px; max-width: 200px; }
.page-gdpr__banners-top-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
.page-gdpr__banner-item img {   object-fit: contain; margin: 0 auto; display: block; }
.page-gdpr__blog-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.page-gdpr__blog-card-link { display: flex; flex-direction: column; height: 100%; }
.page-gdpr__btn-outline { margin-top: auto; }
.page-gdpr__blog-slider-track { display: flex; flex-wrap: nowrap; gap: 20px; }
.page-gdpr__blog-slide { flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); }

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-image {
    width: 100%;
    height: auto;
  }

  .page-gdpr__principles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-gdpr__rights-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-gdpr__slider-track {
    gap: 12px;
  }

  .page-gdpr__game-slide {
    flex: 0 0 180px;
    max-width: 180px;
  }

  .page-gdpr__banners-top-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 700px;
  }

  .page-gdpr__blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-gdpr__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

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

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

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

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

  .page-gdpr__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  /* Button containers mobile adaptation */
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Allow multiple buttons to wrap */
    gap: 10px; /* Spacing between wrapped buttons */
    display: flex; /* Ensure flex context for wrapping */
    flex-direction: column; /* Stack buttons vertically by default */
  }

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

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

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

  .page-gdpr__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

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

  .page-gdpr__principle-item {
    padding: 20px;
  }

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

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

  .page-gdpr__rights-item {
    padding: 20px;
  }

  .page-gdpr__rights-title {
    font-size: 1.1em;
  }

  .page-gdpr__measure-item,
  .page-gdpr__contact-item {
    padding: 12px 15px;
    font-size: 0.9em;
  }

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

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

  /* Homepage modules mobile adaptation (even if not used, required) */
  .page-gdpr__home-content {
    height: auto;
    overflow-y: visible;
  }

  .page-gdpr__row-games, .page-gdpr__row-sport, .page-gdpr__row-coop {
    padding: 20px 0;
  }

  .page-gdpr__slider-track {
    gap: 10px;
  }

  .page-gdpr__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
  }

  .page-gdpr__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
    padding: 0 15px;
  }

  .page-gdpr__banner-item img {
    max-width: 100% !important;
    
  }

  .page-gdpr__blog-masonry {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-gdpr__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Universal image and container responsive styles for content area */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__section,
.page-gdpr__card,
.page-gdpr__container,
.page-gdpr__hero-section,
.page-gdpr__principles-grid,
.page-gdpr__rights-list,
.page-gdpr__security-measures,
.page-gdpr__contact-list,
.page-gdpr__faq-list {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__principles-grid,
  .page-gdpr__rights-list,
  .page-gdpr__security-measures,
  .page-gdpr__contact-list,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}