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

/* Base Styles for .page-gdpr - Ensuring contrast with dark body background */
.page-gdpr {
  font-family: Arial, sans-serif;
  color: var(--text-main-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

/* Ensure headings have good contrast */
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-gdpr h4,
.page-gdpr h5,
.page-gdpr h6 {
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

/* H1 specific styling - no fixed large font size */
.page-gdpr__main-title {
  font-weight: bold;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(2.2rem, 4vw, 3.5rem); 
}

/* Section titles */
.page-gdpr__section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--glow-color);
}

/* Keyword highlight */
.page-gdpr__keyword-highlight {
  color: var(--gold-color);
  font-weight: bold;
}

/* Links */
.page-gdpr__link {
  color: var(--glow-color);
  text-decoration: underline;
}
.page-gdpr__link:hover {
  color: var(--text-main-color);
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--background-color);
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
}

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

.page-gdpr__hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 1; /* Ensure text is above any background elements if layered */
}

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

/* Video Section */
.page-gdpr__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--deep-green-color);
}

.page-gdpr__video-container {
  width: 100%; /* Desktop width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden; /* Prevent video overflow */
}

.page-gdpr__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%; /* Desktop width */
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  background-color: #000; /* Black background for video */
}

.page-gdpr__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Ensure link is clickable over video */
}

/* Content Area */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-gdpr__section-intro p {
    margin-bottom: 1em;
    color: var(--text-secondary-color);
}

/* Grid Container for Cards */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Cards */
.page-gdpr__card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  color: var(--text-main-color);
}

.page-gdpr__card-title {
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.3em;
}

.page-gdpr__card p {
  color: var(--text-secondary-color);
  margin-bottom: 1em;
}

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

/* List styles */
.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: var(--text-secondary-color);
}

.page-gdpr__list-item strong {
  color: var(--text-main-color);
}

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

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

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

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

.page-gdpr__faq-item summary {
    list-style: none;
}

.page-gdpr__faq-question:hover {
  background-color: var(--main-color);
}

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

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary-color);
  max-height: 0; /* For JS-controlled expand/collapse */
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer { /* For native details element */
  max-height: none;
  padding-top: 15px;
}

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--deep-green-color);
}

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

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  min-width: 150px; /* Ensure a minimum button width */
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  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%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--glow-color);
  color: #08160F; /* Dark text on glow background */
}

/* --- Responsive Design --- */

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

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

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 20px;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  /* Video Section Mobile */
  .page-gdpr__video-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }

  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Content Area Mobile */
  .page-gdpr__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__grid-container {
    grid-template-columns: 1fr; /* Single column layout for cards */
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
  }

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

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

  /* CTA Section Mobile */
  .page-gdpr__cta-section {
    padding: 40px 15px;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    min-width: unset; /* Remove min-width for full width */
  }

  /* Mobile image specific rules */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}