.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px;
  background: linear-gradient(135deg, #000080, #333399);
  color: #ffffff;
  overflow: hidden;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
}

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

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Allowed for subtle effect, not color change */
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #000080;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

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

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

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

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

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-gdpr__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__principles-section,
.page-gdpr__protection-section,
.page-gdpr__contact-section {
  background-color: #000080;
  color: #ffffff;
}

.page-gdpr__principles-section .page-gdpr__section-title,
.page-gdpr__protection-section .page-gdpr__section-title,
.page-gdpr__contact-section .page-gdpr__section-title {
  color: #FFD700;
}

.page-gdpr__principles-section .page-gdpr__text-block,
.page-gdpr__protection-section .page-gdpr__text-block,
.page-gdpr__contact-section .page-gdpr__text-block {
  color: #f0f0f0;
}

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

.page-gdpr__card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-gdpr__principles-section .page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__principles-section .page-gdpr__card-title {
  color: #FFD700;
}

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

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

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

.page-gdpr__image-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

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

.page-gdpr__protection-list,
.page-gdpr__cookie-list,
.page-gdpr__cookie-management-list,
.page-gdpr__contact-list,
.page-gdpr__process-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__protection-section .page-gdpr__list-item,
.page-gdpr__contact-section .page-gdpr__list-item {
  color: #f0f0f0;
}

.page-gdpr__cookie-section .page-gdpr__list-item {
  color: #333333;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__list-item strong {
  color: #FFD700;
}

.page-gdpr__link {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #e6c200;
}

.page-gdpr__faq-section {
  padding-bottom: 80px;
}

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

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

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

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

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

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

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

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

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }

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

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

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

  .page-gdpr__principles-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-gdpr__card {
    padding: 25px;
  }
}

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

  .page-gdpr__hero-section {
    padding: var(--header-offset, 120px) 15px 40px;
  }

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

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

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

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

  .page-gdpr__content-area {
    padding: 40px 15px;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-gdpr__hero-image,
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__image-wrapper,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__principles-grid,
  .page-gdpr__rights-grid,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
  }

  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

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

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

  .page-gdpr__subsection-title {
    font-size: 1.2em;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

  .page-gdpr__faq-title {
    font-size: 1em;
  }
  
  .page-gdpr__list-item {
    font-size: 1em;
  }
}