.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set for clarity */
}

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

.page-gdpr__hero-section {
  position: relative;
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
  padding: 100px 0 60px; /* Adjust for header offset */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2; /* Subtle overlay */
}

.page-gdpr__hero-section .page-gdpr__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-gdpr__intro-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #F0F0F0;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for CTA */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background-color: #D46F05;
  transform: translateY(-2px);
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
}

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

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

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

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__text-block--highlight {
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-top: 30px;
}

.page-gdpr__dark-section .page-gdpr__text-block--highlight {
  color: #FFFFFF;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-gdpr__ordered-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
}

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

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.95);
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  min-height: 250px; /* Ensure cards have a minimum height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.page-gdpr__dark-section .page-gdpr__card {
  background-color: rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

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

.page-gdpr__image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__inline-link {
  color: #EA7C07;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__inline-link:hover {
  color: #D46F05;
}

.page-gdpr__dark-section .page-gdpr__inline-link {
  color: #FFFFFF;
}

.page-gdpr__dark-section .page-gdpr__inline-link:hover {
  color: #F0F0F0;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 60px 0;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__faq-item.active .page-gdpr__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.page-gdpr__faq-title {
  margin: 0;
  color: #FFFFFF;
  font-size: 1.2em;
}

.page-gdpr__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFFFFF;
}

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  font-size: 1.1em;
  color: #F0F0F0;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__intro-description {
    font-size: 1.2em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.6em;
  }
  .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr__card-text {
    font-size: 1em;
  }
  .page-gdpr__card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-gdpr__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-gdpr__intro-description {
    font-size: 1.1em;
    margin-bottom: 20px;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr__card-text {
    font-size: 0.95em;
  }
  .page-gdpr__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 20px;
    min-height: auto;
  }
  .page-gdpr__card-title {
    font-size: 1.3em;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-gdpr__faq-title {
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
    font-size: 1em;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px 20px;
  }
  
  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Ensure content containers also adapt */
  .page-gdpr__container,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-gdpr__hero-section .page-gdpr__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__hero-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Specific adjustments for list margins on mobile */
  .page-gdpr__list, .page-gdpr__ordered-list {
    margin-left: 15px;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__intro-description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
}