.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color from custom palette */
  background-color: var(--background-color, #08160F); /* Default background color from custom palette */
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

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

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
}

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: var(--primary-color, #11A84E);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid var(--primary-color, #11A84E);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--primary-color, #11A84E);
  color: #ffffff;
}

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

.page-gdpr__intro-section {
  background-color: var(--background-color, #08160F);
}

.page-gdpr__principles-section,
.page-gdpr__dark-section {
  background-color: var(--card-bg, #11271B);
}

.page-gdpr__data-collection-section {
  background-color: var(--background-color, #08160F);
}

.page-gdpr__security-section {
  background-color: var(--card-bg, #11271B);
}

.page-gdpr__rights-section {
  background-color: var(--background-color, #08160F);
}

.page-gdpr__cookies-section {
  background-color: var(--background-color, #08160F);
}

.page-gdpr__children-privacy-section {
  background-color: var(--card-bg, #11271B);
}

.page-gdpr__policy-changes-section {
  background-color: var(--background-color, #08160F);
}

.page-gdpr__contact-section {
  background-color: var(--card-bg, #11271B);
}

.page-gdpr__faq-section {
  background-color: var(--background-color, #08160F);
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
}

.page-gdpr__text-block:last-child {
  margin-bottom: 0;
}

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

.page-gdpr__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-gdpr__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 30px;
  color: var(--text-main, #F2FFF6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card p {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
}

.page-gdpr__image-text-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-gdpr__image-text-block .page-gdpr__image {
  flex: 1;
  min-width: 400px;
  border-radius: 10px;
  object-fit: cover;
}

.page-gdpr__image-text-block .page-gdpr__text-content {
  flex: 2;
}

.page-gdpr__sub-title {
  font-size: 1.3em;
  color: var(--text-main, #F2FFF6);
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-gdpr__image--center {
  margin: 40px auto 0 auto;
  display: block;
  max-width: 800px;
}

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

.page-gdpr__rights-list li {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__rights-list li p {
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__last-updated {
  text-align: right;
  font-style: italic;
  font-size: 0.9em;
  color: var(--text-secondary, #A7D9B8);
  margin-top: 30px;
}

.page-gdpr__address {
  font-style: normal;
  color: var(--text-secondary, #A7D9B8);
  margin-top: 20px;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: rgba(var(--primary-color-rgb, 17, 168, 78), 0.1);
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  /* For details tag, browser handles show/hide */
}

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

/* Responsive styles */
@media (max-width: 992px) {
  .page-gdpr__image-text-block {
    flex-direction: column;
    align-items: center;
  }
  .page-gdpr__image-text-block .page-gdpr__image {
    min-width: unset;
    width: 100%;
    max-width: 600px; /* Constrain image on tablet */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-content {
    margin-top: 20px;
  }

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

  .page-gdpr__hero-description {
    font-size: 1em;
  }

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

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

  .page-gdpr__grid {
    grid-template-columns: 1fr;
  }
  
  .page-gdpr__grid--2-col {
    grid-template-columns: 1fr;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.3em;
  }

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

  .page-gdpr__rights-list li {
    padding: 20px;
  }

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

  /* Mobile image responsive adaptation */
  .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,
  .page-gdpr__image-text-block,
  .page-gdpr__grid,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  
  .page-gdpr__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Mobile button responsive adaptation */
  .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 space between stacked buttons */
  }
  
  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-bottom: 0; /* Remove extra margin if only one button */
  }

  .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;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}