:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-color-page: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text for dark background */
  background-color: var(--background-color-page);
  /* padding-top: 10px; Removed, body handles --header-offset, sections can add small top padding */
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 40px; /* Space below content before next section */
  padding-top: 10px; /* Small top padding for visual spacing */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.2;
  /* No fixed large font-size, relying on context and responsiveness */
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color);
}

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

.page-gdpr__section-title {
  font-weight: bold;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
}

.page-gdpr__section-description {
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-gdpr__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch; /* Ensure cards in grid have equal height */
}

.page-gdpr__grid-item {
  display: flex;
  flex-direction: column;
}

.page-gdpr__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  height: 100%; /* Ensure cards in grid have equal height */
  display: flex;
  flex-direction: column;
}

.page-gdpr__card-title {
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-gdpr__card-title--small {
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-gdpr__card-image {
  width: 100%;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

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

.page-gdpr__list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
}

.page-gdpr__list-icon {
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
  flex-shrink: 0;
  font-size: 1.1em;
}

.page-gdpr__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-gdpr__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
  transform: translateY(-2px);
}

.page-gdpr__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-gdpr__cta-button--large {
  padding: 18px 35px;
  font-size: 1.1em;
}

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

.page-gdpr__right-item .page-gdpr__card-title {
  color: var(--primary-color);
}

.page-gdpr__contact-cta {
  text-align: center;
  margin-top: 40px;
}

.page-gdpr__contact-cta p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-gdpr__grid--reverse-mobile {
  grid-template-areas: "image content";
}

.page-gdpr__grid--reverse-mobile .page-gdpr__grid-item:first-child {
  grid-area: content;
}

.page-gdpr__grid--reverse-mobile .page-gdpr__grid-item:last-child {
  grid-area: image;
}

.page-gdpr__sharing-section .page-gdpr__grid--sharing {
  grid-template-columns: 1fr 1fr;
}

.page-gdpr__faq-section {
  background-color: var(--card-bg);
  padding-bottom: 80px;
}

.page-gdpr__faq-section .page-gdpr__section-title,
.page-gdpr__faq-section .page-gdpr__section-description {
  color: var(--text-main);
}

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

.page-gdpr__faq-item {
  background-color: var(--background-color-page);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-gdpr__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--border-color);
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-gdpr__faq-item[open] summary {
  border-bottom: 1px solid var(--border-color);
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  color: var(--text-secondary);
  border-top: none;
}

.page-gdpr__faq-answer p {
  margin: 0;
  color: var(--text-secondary);
}

.page-gdpr__contact-info-section .page-gdpr__contact-details {
  background-color: var(--deep-green);
  text-align: center;
  padding: 40px;
  margin-top: 40px;
}

.page-gdpr__contact-info-section .page-gdpr__contact-details p {
  margin-bottom: 15px;
  color: var(--text-main);
  font-size: 1.1em;
}

.page-gdpr__contact-link {
  color: var(--gold-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: var(--glow-color);
}

.page-gdpr__conclusion-section {
  text-align: center;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__grid--reverse-mobile {
    grid-template-areas: unset; /* Reset grid area for mobile */
  }
  .page-gdpr__grid--reverse-mobile .page-gdpr__grid-item:first-child {
    order: 2;
  }
  .page-gdpr__grid--reverse-mobile .page-gdpr__grid-item:last-child {
    order: 1;
  }
}

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

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-section {
    padding: 30px 0;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-gdpr__hero-image {
    margin-bottom: 15px;
  }

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

  .page-gdpr__intro-text {
    font-size: 1em;
  }

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

  .page-gdpr__section-title {
    font-size: 1.5em;
  }

  .page-gdpr__section-description {
    margin-bottom: 30px;
  }

  .page-gdpr__grid,
  .page-gdpr__rights-grid,
  .page-gdpr__sharing-section .page-gdpr__grid--sharing {
    grid-template-columns: 1fr;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__list li {
    margin-bottom: 8px;
  }

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add margin for stacked buttons */
  }

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

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure images are not too small */
    min-height: 200px !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-content,
  .page-gdpr__faq-item,
  .page-gdpr__contact-details,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__faq-item summary {
    padding: 15px 20px;
    font-size: 0.95em;
  }

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

  .page-gdpr__contact-info-section .page-gdpr__contact-details {
    padding: 30px 20px;
  }
}