.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background); /* Body background from shared */
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--deep-green); /* Use a custom background color */
  color: var(--text-main);
  overflow: hidden;
}

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

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* Using clamp for responsive H1 */
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gold);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  background: var(--button);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-main);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--border);
  cursor: pointer;
}

.page-gdpr__btn-secondary:hover {
  background: var(--border);
  color: #ffffff;
}

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

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

.page-gdpr__intro-section, .page-gdpr__data-collection-section, .page-gdpr__sharing-section, .page-gdpr__changes-section, .page-gdpr__faq-section {
  background-color: var(--background);
  color: var(--text-main);
}

.page-gdpr__rights-section, .page-gdpr__security-section, .page-gdpr__cookie-section, .page-gdpr__contact-section {
  background-color: var(--card-b-g);
  color: var(--text-main);
}

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

.page-gdpr__section-title--light {
  color: var(--text-main);
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-gdpr__text-block--light {
  color: var(--text-secondary);
}

.page-gdpr__text-block a {
  color: var(--glow);
  text-decoration: underline;
}

.page-gdpr__text-block a:hover {
  color: var(--gold);
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__rights-item {
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards */
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__rights-title {
  font-size: 1.4em;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-gdpr__rights-description {
  font-size: 0.95em;
  color: var(--text-secondary);
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 50%;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  max-width: 50%;
}

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

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

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

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

.page-gdpr__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

.page-gdpr__faq-answer a {
  color: var(--glow);
  text-decoration: underline;
}

.page-gdpr__faq-answer a:hover {
  color: var(--gold);
}

/* Clearfix for floated images */
.page-gdpr__container::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

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

  .page-gdpr__rights-list {
    grid-template-columns: 1fr;
  }

  .page-gdpr__image--right, .page-gdpr__image--left {
    float: none;
    margin: 30px auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, small top padding here */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
  }

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

  .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

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

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

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

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

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

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

  /* Ensure all containers and sections respect mobile width */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }

  /* If multiple buttons are in a group, stack them */
  .page-gdpr__hero-content > .page-gdpr__btn-primary {
    display: block; /* Make primary button block level on mobile */
    margin-bottom: 15px; /* Add spacing if multiple buttons */
  }
}