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

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

.page-gdpr__hero-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding-top: 10px; /* Assuming shared.css handles body padding-top */
  padding-bottom: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-section .page-gdpr__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-gdpr__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

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

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

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

.page-gdpr__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-gdpr__content-grid:nth-child(even) {
  flex-direction: row-reverse;
}

.page-gdpr__content-grid .page-gdpr__text-content {
  flex: 1;
}

.page-gdpr__content-grid .page-gdpr__image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.0em;
}

.page-gdpr__list-item::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-gdpr__dark-bg .page-gdpr__list-item::before {
  color: #ffffff;
}

.page-gdpr__data-list-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-gdpr__data-list {
  flex: 1;
  list-style: none;
  padding: 0;
}

.page-gdpr__usage-list, .page-gdpr__rights-list, .page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

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

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

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

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

.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;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  cursor: pointer;
  list-style: none;
  position: relative;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevent click on toggle icon from interfering with summary click */
}

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
}

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

/* General image responsiveness */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-gdpr__content-grid {
    flex-direction: column;
  }

  .page-gdpr__content-grid:nth-child(even) {
    flex-direction: column;
  }

  .page-gdpr__data-list-wrapper {
    flex-direction: column;
  }
}

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

  .page-gdpr__container {
    padding: 15px;
  }

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

  .page-gdpr__hero-section .page-gdpr__container {
    gap: 20px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    text-align: center;
  }

  .page-gdpr__description {
    font-size: 1em;
    text-align: center;
  }

  .page-gdpr__hero-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-image {
    object-fit: contain !important; /* Ensure image is not cropped on mobile */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  /* General Sections */
  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  /* Content Grids (e.g., Our Commitment, Your Rights) */
  .page-gdpr__content-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__content-grid:nth-child(even) {
    flex-direction: column;
  }

  .page-gdpr__content-grid .page-gdpr__image-wrapper,
  .page-gdpr__content-grid .page-gdpr__text-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Data Collection Section */
  .page-gdpr__data-list-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__data-list {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons */
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
    text-align: center;
  }

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

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

  /* All images and image containers */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__image-wrapper,
  .page-gdpr__data-list-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-section .page-gdpr__container {
    padding-left: 0;
    padding-right: 0;
  }
}