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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: var(--background, #08160F); /* Ensure background matches body */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 500px; /* Ensure image itself also respects max-height */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Overlap slightly with image for design, but text is below image in DOM */
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with some transparency */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__main-title {
  font-size: clamp(2rem, 4vw, 2.8rem); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  max-width: 60ch; /* Limit title length for readability */
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__description {
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  max-width: 80ch; /* Limit description length for readability */
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

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

/* General Section Styles */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 30px;
  margin-top: 40px;
}

.page-gdpr__subsection-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--text-main, #F2FFF6);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr strong {
  color: var(--text-main, #F2FFF6);
}

.page-gdpr a {
  color: var(--gold, #F2C14E); /* Using Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr a:hover {
  color: var(--glow, #57E38D);
  text-decoration: underline;
}

/* Dark Section */
.page-gdpr__dark-section {
  background-color: var(--card-bg, #11271B); /* Using Card BG for dark sections */
  color: var(--text-main, #F2FFF6);
  padding: 60px 0;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__dark-section p {
  color: var(--text-secondary, #A7D9B8);
}

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

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

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

.page-gdpr__card-title {
  font-size: 1.3rem;
  color: var(--glow, #57E38D); /* Using Glow for card titles */
  margin-bottom: 15px;
}

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

/* Content Images */
.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Rights List */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__rights-list li {
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter card background */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--deep-green, #0A4B2C);
  border-radius: 5px;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__rights-list li strong {
  color: var(--glow, #57E38D);
}

/* Button Link (for Cookie Policy) */
.page-gdpr__button-link {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background 0.3s ease, transform 0.2s ease;
}

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

/* Contact List */
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  color: var(--text-secondary, #A7D9B8);
}

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

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

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--glow, #57E38D);
  list-style: none; /* Remove default marker */
  outline: none;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate + to become X or - */
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1rem;
  line-height: 1.7;
}

/* Conclusion Section */
.page-gdpr__conclusion-section {
  text-align: center;
  padding: 60px 0;
  background-color: var(--background, #08160F);
}

.page-gdpr__final-cta {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--glow, #57E38D);
  margin-top: 30px;
  margin-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    margin-top: -80px;
    max-width: 700px;
  }
}

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

  .page-gdpr__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__hero-image {
    max-height: 300px;
  }

  .page-gdpr__hero-content {
    margin-top: -60px;
    padding: 15px;
    max-width: 90%;
  }

  .page-gdpr__main-title {
    font-size: 1.8rem;
    max-width: 100%;
  }

  .page-gdpr__description {
    font-size: 1rem;
    max-width: 100%;
  }

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

  .page-gdpr__cta-button--large {
    padding: 15px 20px;
  }

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

  .page-gdpr__section-title {
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .page-gdpr__subsection-title {
    font-size: 1.5rem;
    margin-top: 20px;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2rem;
  }

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

  .page-gdpr__button-link {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

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

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-content,
  .page-gdpr__introduction-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__responsibilities-section,
  .page-gdpr__cookie-policy-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section,
  .page-gdpr__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Ensure hero section padding is correct on mobile */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles header offset */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Ensure button containers handle multiple buttons */
  .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; /* Ensure flex for wrapping */
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
  /* Mobile video responsiveness - boilerplate for any potential videos */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.5rem;
  }
  .page-gdpr__section-title {
    font-size: 1.8rem;
  }
}