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

/* Base styles for the page, assuming shared.css sets body background to var(--background) */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* #F2FFF6 for dark background */
  background-color: var(--background); /* #08160F */
  line-height: 1.6;
}

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

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

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

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

.page-gdpr__hero-content {
  max-width: 800px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  color: var(--text-main); /* #F2FFF6 */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  /* No fixed font-size, rely on clamp or responsive scaling */
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-gdpr__description {
  color: var(--text-secondary); /* #A7D9B8 */
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.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, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-gdpr__video-wrapper {
  width: 100%;
  max-width: 800px; /* Max width for video container */
  margin: 0 auto 30px auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.page-gdpr__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-gdpr__video-description {
  color: var(--text-secondary); /* #A7D9B8 */
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 900px;
}

.page-gdpr__section-title {
  color: var(--text-main); /* #F2FFF6 */
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr p,
.page-gdpr li {
  color: var(--text-main); /* #F2FFF6 */
  line-height: 1.6;
  margin-bottom: 15px;
}

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

.page-gdpr a:hover {
  color: var(--gold); /* #F2C14E */
  text-decoration: none;
}

/* Specific background sections */
.page-gdpr__dark-bg {
  background-color: var(--background); /* #08160F */
  color: var(--text-main); /* #F2FFF6 */
  padding: 60px 0;
}

.page-gdpr__light-bg {
  background-color: #E8F5EE; /* Very light green, derived from brand colors */
  color: var(--deep-green); /* #0A4B2C for dark text on light background */
  padding: 60px 0;
}

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__description,
.page-gdpr__light-bg p,
.page-gdpr__light-bg li,
.page-gdpr__light-bg .page-gdpr__card-title,
.page-gdpr__light-bg .page-gdpr__faq-question {
  color: var(--deep-green); /* #0A4B2C */
}

.page-gdpr__light-bg .page-gdpr__list li strong {
  color: var(--deep-green); /* #0A4B2C */
}

.page-gdpr__light-bg .page-gdpr__faq-answer {
  color: rgba(10, 75, 44, 0.7); /* Darker secondary text for light background */
}

/* Intro Section */
.page-gdpr__intro-section .page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

/* Card styles */
.page-gdpr__card {
  background-color: var(--card-bg); /* #11271B */
  color: var(--text-main); /* #F2FFF6 */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-gdpr__card-title {
  color: var(--text-main); /* #F2FFF6 */
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* User Rights Section */
.page-gdpr__user-rights-section .page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list {
  list-style: disc inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-gdpr__list li strong {
  color: var(--text-main); /* #F2FFF6 */
}

/* Data Security Section */
.page-gdpr__data-security-section .page-gdpr__list li {
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-gdpr__data-security-section .page-gdpr__list li strong {
  color: var(--text-main); /* #F2FFF6 */
}

/* Button styles */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  margin: 10px 10px 10px 0;
}

.page-gdpr__btn-primary {
  background: var(--button-gradient); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

/* FAQ styles */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: rgba(0, 0, 0, 0.1); /* Slight highlight when open */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  border-bottom: 1px solid var(--divider); /* #1E3A2A */
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text-main); /* #F2FFF6 */
  list-style: none; /* Remove default marker */
}

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

.page-gdpr__light-bg .page-gdpr__faq-question {
  border-bottom: 1px solid rgba(10, 75, 44, 0.2); /* Lighter divider for light background */
  color: var(--deep-green); /* #0A4B2C */
}

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

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

.page-gdpr__faq-answer {
  padding: 15px 20px 20px 20px;
  color: var(--text-secondary); /* #A7D9B8 */
  background-color: rgba(0, 0, 0, 0.05); /* Slightly darker background for answer */
}

.page-gdpr__light-bg .page-gdpr__faq-answer {
  background-color: rgba(10, 75, 44, 0.05); /* Lighter background for answer on light section */
  color: rgba(10, 75, 44, 0.7); /* Darker secondary text for light background */
}

/* Contact CTA Section */
.page-gdpr__contact-cta {
  text-align: center;
  padding-bottom: 80px;
}

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

/* Global image styles */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-gdpr__hero-section,
  .page-gdpr__video-section,
  .page-gdpr__intro-section,
  .page-gdpr__principles-section,
  .page-gdpr__user-rights-section,
  .page-gdpr__data-security-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-cta {
    padding: 40px 0; /* Adjust section padding for mobile */
  }

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

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

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

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__video-wrapper,
  .page-gdpr__intro-section .page-gdpr__image-content,
  .page-gdpr__user-rights-section .page-gdpr__image-content,
  .page-gdpr__principles-section .page-gdpr__grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .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: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important;
  }

  .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;
    margin: 10px 0 !important; /* Stack buttons vertically */
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

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

  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}