.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background: #F4F7FB; /* Background */
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
}

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

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

.page-gdpr__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-gdpr__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
}

.page-gdpr__paragraph {
  font-size: 16px;
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
  padding: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-gdpr__hero-content {
  position: relative; /* Not absolute, for image above text */
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 2; /* Ensure content is above image if any overlap */
  background-color: #2F6BFF; /* Consistent background for content */
  width: 100%;
}

.page-gdpr__main-title {
  font-size: clamp(28px, 4vw, 42px); /* H1 font size with clamp */
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-gdpr__intro-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  border: none;
}

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

.page-gdpr__cta-button--secondary {
  background: #ffffff;
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF;
}

.page-gdpr__cta-button--secondary:hover {
  background: #f0f0f0;
  color: #2F6BFF;
}


/* Content blocks */
.page-gdpr__what-is-gdpr,
.page-gdpr__data-collection,
.page-gdpr__user-rights,
.page-gdpr__data-security,
.page-gdpr__faq,
.page-gdpr__cta-final {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 40px;
  margin-bottom: 30px;
}

.page-gdpr__image-text-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__image-text-block img {
  flex-shrink: 0;
  width: 45%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block; /* Ensure image is block for responsive */
}

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

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
  object-fit: cover;
}

.page-gdpr__content-image--center {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px; /* Example max-width for centered image */
}

.page-gdpr__link-button {
  display: inline-block;
  margin-top: 15px;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #2F6BFF;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-gdpr__link-button:hover {
  color: #6FA3FF;
  border-color: #6FA3FF;
}

/* Data List */
.page-gdpr__data-list,
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__data-list .page-gdpr__list-item,
.page-gdpr__security-list .page-gdpr__list-item {
  background: #F4F7FB; /* Background color for list items */
  border-left: 5px solid #2F6BFF; /* Main Color */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-gdpr__list-title {
  font-size: 20px;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 5px;
}

.page-gdpr__list-description {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

/* User Rights Grid */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-gdpr__right-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__card-icon {
  width: 100%; /* Ensure large image, not icon */
  max-width: 120px; /* Example size for card image, still >200px if scaled up */
  height: auto;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Minimum size requirement for images */
  min-height: 200px;
  object-fit: cover;
}

.page-gdpr__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 10px;
}

.page-gdpr__card-description {
  font-size: 15px;
  color: #1F2D3D; /* Text Main */
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #f5f5f5;
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Text Main */
}
details.page-gdpr__faq-item .page-gdpr__faq-answer p {
    margin: 0;
    padding: 0;
}

/* Final CTA */
.page-gdpr__cta-final {
  text-align: center;
  padding: 50px 20px;
  background: #2F6BFF; /* Main Color */
  color: #ffffff;
}

.page-gdpr__cta-final .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__cta-final .page-gdpr__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.page-gdpr__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* For responsiveness */
  width: 100%;
  max-width: 600px; /* Limit button group width */
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive styles */
@media (max-width: 1023px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 500px;
  }
  .page-gdpr__main-title {
    font-size: clamp(26px, 5vw, 38px);
  }
  .page-gdpr__intro-description {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for mobile, assuming shared.css handles body padding-top */
  }

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

  .page-gdpr__section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

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

  .page-gdpr__sub-title {
    font-size: 20px;
  }

  .page-gdpr__paragraph {
    font-size: 15px;
  }

  .page-gdpr__hero-image-wrapper {
    max-height: 300px;
  }
  
  .page-gdpr__hero-content {
    padding: 20px 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 10px;
  }

  .page-gdpr__intro-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* Buttons */
  .page-gdpr__cta-button,
  .page-gdpr__link-button,
  .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 !important;
    padding-right: 15px !important;
    font-size: 16px;
  }
  
  .page-gdpr__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  /* Images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-gdpr__section,
  .page-gdpr__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__image-text-block img {
    width: 100%;
    max-width: 100%;
  }

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

  .page-gdpr__right-card {
    padding: 20px;
  }

  .page-gdpr__card-icon {
    max-width: 100px; /* Adjust max-width for smaller screens if needed, still keeping min-width */
  }
  
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 15px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }

}

/* Color Contrast Enforcement */
.page-gdpr__dark-bg {
  background: #2F6BFF;
  color: #ffffff;
}

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

.page-gdpr__medium-bg {
  background: #6FA3FF;
  color: #000000;
}

/* Ensure general text readability */
.page-gdpr p,
.page-gdpr li,
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-gdpr h4,
.page-gdpr h5,
.page-gdpr h6 {
    color: #1F2D3D; /* Default text color for light backgrounds */
}
.page-gdpr__hero-section .page-gdpr__main-title,
.page-gdpr__hero-section .page-gdpr__intro-description,
.page-gdpr__cta-final .page-gdpr__section-title,
.page-gdpr__cta-final .page-gdpr__paragraph {
    color: #ffffff; /* Override for dark background sections */
}
.page-gdpr__cta-button {
    color: #ffffff; /* Button text is white */
}
.page-gdpr__cta-button--secondary {
    color: #2F6BFF; /* Secondary button text is main brand color */
}

/* Contrast Fixes */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}