.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--Text-Main); /* Fallback to Text Main */
  background-color: var(--background); /* Fallback to Background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  padding-top: 10px; /* Aligns with shared header offset */
  padding-bottom: 40px;
  background-color: var(--background);
  color: var(--Text-Main);
  text-align: center;
  position: relative;
}

.page-gdpr__hero-content-wrapper {
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover; /* Ensures image covers the area */
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-gdpr__hero-text-container {
  padding: 0 20px;
  max-width: 800px;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  color: var(--Text-Main);
  margin-bottom: 20px;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--Text-Secondary);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

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

.page-gdpr__cta-buttons--center {
  margin-top: 40px;
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 0;
  background-color: var(--background);
  color: var(--Text-Main);
}

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

.page-gdpr__section-description {
  font-size: 1.1em;
  color: var(--Text-Secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--Text-Main);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__content-block {
  margin-bottom: 40px;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  color: var(--Text-Secondary);
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr__list li strong {
  color: var(--Text-Main);
}

.page-gdpr__image-inline {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-gdpr__card {
  background-color: var(--Card-BG);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--Text-Main);
}

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--Text-Main);
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: var(--Text-Secondary);
}

/* Dark Section Specifics */
.page-gdpr__dark-section {
  background-color: var(--Deep-Green);
  color: var(--Text-Main);
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__section-description {
  color: var(--Text-Main);
}

.page-gdpr__dark-section .page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--Border);
}

.page-gdpr__dark-section .page-gdpr__card-title {
  color: var(--Text-Main);
}

.page-gdpr__dark-section .page-gdpr__card-text {
  color: var(--Text-Secondary);
}

/* Security Measures Section */
.page-gdpr__grid-container--security {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  text-align: center;
}

.page-gdpr__security-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--Card-BG);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__security-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-gdpr__security-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--Text-Main);
  margin-bottom: 10px;
}

.page-gdpr__security-text {
  font-size: 1em;
  color: var(--Text-Secondary);
}

.page-gdpr__final-security-text {
  font-size: 1.1em;
  color: var(--Text-Secondary);
  text-align: center;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.page-gdpr__contact-info {
  background-color: var(--Card-BG);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__contact-text {
  color: var(--Text-Secondary);
  margin-bottom: 20px;
}

.page-gdpr__contact-info .page-gdpr__cta-buttons {
  justify-content: flex-start;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: var(--Deep-Green);
  color: var(--Text-Main);
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: var(--Card-BG);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--Text-Main);
  cursor: pointer;
  background-color: var(--Card-BG);
  border-bottom: 1px solid var(--Divider);
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: var(--Gold);
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 20px 30px 30px;
  font-size: 1.05em;
  color: var(--Text-Secondary);
  background-color: var(--Card-BG);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }

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

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

  .page-gdpr__hero-image {
    max-height: 500px;
  }

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

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 15px;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-gdpr__hero-content-wrapper {
    flex-direction: column;
  }

  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Prevent cropping on mobile */
    aspect-ratio: unset;
    max-height: none;
    margin-bottom: 20px;
  }

  .page-gdpr__hero-text-container {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .page-gdpr__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

  .page-gdpr__list {
    margin-left: 15px;
  }

  .page-gdpr__list li {
    font-size: 0.95em;
  }

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

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__content-block,
  .page-gdpr__contact-info,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__card,
  .page-gdpr__security-item {
    padding: 20px;
  }

  .page-gdpr__security-icon {
    width: 100px;
    height: 100px;
  }

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

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

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

/* Ensure images in content areas are not too small */
.page-gdpr__image-inline {
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__security-icon {
  min-width: 200px; /* Overrides smaller icon sizes if they were set */
  min-height: 200px;
  width: 200px; /* Fixed size to meet minimum requirement, will be responsive via max-width 100% on mobile */
  height: 200px;
}

@media (max-width: 768px) {
  .page-gdpr__security-icon {
    width: 100px; /* Smaller on mobile for better layout */
    height: 100px;
    min-width: unset; /* Allow smaller display on mobile if needed for layout, but generator ensures minimum original size */
    min-height: unset;
  }
  /* Specific override to prevent small icons, even if security icon is smaller for layout */
  .page-gdpr__security-item img {
      max-width: 100% !important;
      height: auto !important;
      min- /* Minimum size for content images on mobile */
      min-
  }
}

/* General text contrast */
.page-gdpr p, .page-gdpr li, .page-gdpr span {
  color: var(--Text-Secondary);
}
.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
  color: var(--Text-Main);
}
.page-gdpr__card-title {
  color: var(--Text-Main);
}
.page-gdpr__card-text {
  color: var(--Text-Secondary);
}
.page-gdpr__faq-question {
  color: var(--Text-Main);
}
.page-gdpr__faq-answer {
  color: var(--Text-Secondary);
}

/* No filter on images */
.page-gdpr img {
  filter: none;
}