.page-gdpr {
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared, default white */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #017439; /* Primary brand color */
  color: #FFFFFF;
  overflow: hidden;
}

.page-gdpr__hero-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 40px;
}

.page-gdpr__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-gdpr__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-gdpr__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #017439;
}

.page-gdpr__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: left;
}

.page-gdpr__dark-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #e02c2c;
}

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #017439;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #017439;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

.page-gdpr__btn-full-width {
  width: 100%;
  margin-top: 30px;
}

.page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333333;
}

.page-gdpr__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.7;
}

.page-gdpr__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-gdpr__rights-list {
  list-style-type: disc;
  text-align: left;
  margin: 30px 0;
  padding-left: 40px;
}

.page-gdpr__rights-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-gdpr__text-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__text-link:hover {
  color: #005f2a;
}

.page-gdpr__list {
  list-style-type: disc;
  text-align: left;
  margin: 20px 0;
  padding-left: 25px;
}

.page-gdpr__list-item {
  font-size: 1em;
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-gdpr__list--white-text .page-gdpr__list-item {
  color: #FFFFFF;
}

.page-gdpr__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__security-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #333333;
}

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

.page-gdpr__security-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-gdpr__security-description {
  font-size: 0.95em;
  line-height: 1.6;
}

.page-gdpr__faq {
  background-color: #f8f8f8;
}

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

.page-gdpr__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #FFFFFF;
  color: #017439;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #f0f0f0;
}

.page-gdpr__faq-question-text {
  font-size: 1.2em;
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.page-gdpr__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(0deg); /* '+' becomes '-' */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

.page-gdpr__faq-answer-text {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-gdpr__contact-us {
  background-color: #017439;
  color: #FFFFFF;
}

.page-gdpr__contact-us .page-gdpr__section-title {
  color: #FFFFFF;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
  .page-gdpr__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-gdpr__hero-content {
    max-width: 100%;
    text-align: center;
  }

  .page-gdpr__hero-image-wrapper {
    margin-top: 40px;
  }

  .page-gdpr__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-gdpr__card {
    align-items: center;
    text-align: center;
  }

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

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }

  .page-gdpr__hero-section,
  .page-gdpr__section {
    padding: 30px 15px;
  }

  .page-gdpr__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .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;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
  }

  .page-gdpr__btn-full-width {
    width: 100% !important;
  }

  .page-gdpr__hero-image,
  .page-gdpr__card-image,
  .page-gdpr__security-icon,
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__card,
  .page-gdpr__security-item,
  .page-gdpr__faq-item,
  .page-gdpr__faq-list,
  .page-gdpr__grid-layout,
  .page-gdpr__security-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

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

  .page-gdpr__rights-list,
  .page-gdpr__list {
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }

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

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

  .page-gdpr__faq-question-text {
    font-size: 1.1em;
  }
}