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

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

/* Hero Section */
.page-gdpr__hero-section {
  background-color: #1A202C; /* Main brand color */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

/* General Section Styling */
.page-gdpr__intro-section, 
.page-gdpr__rights-section, 
.page-gdpr__measures-section, 
.page-gdpr__contact-section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__intro-section {
  background-color: #f9f9f9;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

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

.page-gdpr__right-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-gdpr__card-title {
  font-size: 1.6em;
  color: #1A202C;
  margin-bottom: 15px;
}

.page-gdpr__card-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

/* Measures Section */
.page-gdpr__measures-section {
  background-color: #f9f9f9;
}

.page-gdpr__measures-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-gdpr__measures-image {
  flex: 1 1 400px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Ensure image is responsive */
  height: auto;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__measures-text {
  flex: 2 1 500px;
}

.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-gdpr__list-item::before {
  content: '✔';
  color: #FFD700;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
}

/* Buttons */
.page-gdpr__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
  margin-right: 15px;
  min-width: 200px; /* Ensure button minimum size */
  text-align: center;
}

.page-gdpr__button--primary {
  background-color: #1A202C;
  color: #ffffff;
  border: 2px solid #1A202C;
}

.page-gdpr__button--primary:hover {
  background-color: #FFD700;
  color: #1A202C;
  border-color: #FFD700;
  transform: translateY(-3px);
}

.page-gdpr__button--secondary {
  background-color: transparent;
  color: #1A202C;
  border: 2px solid #1A202C;
}

.page-gdpr__button--secondary:hover {
  background-color: #1A202C;
  color: #ffffff;
  transform: translateY(-3px);
}

.page-gdpr__button--primary-alt {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-gdpr__button--primary-alt:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
}

/* Contact Section */
.page-gdpr__contact-section {
  text-align: center;
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-gdpr__contact-section .page-gdpr__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__measures-content {
    flex-direction: column;
  }
  .page-gdpr__measures-image {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header if needed, but shared.css should handle it */
  }
  .page-gdpr__hero-section {
    padding: 60px 20px;
  }
  .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__rights-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__button {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  /* Ensure content images are responsive and don't overflow */
  .page-gdpr__container img,
  .page-gdpr__measures-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  /* Specific rule for all images within .page-gdpr to prevent overflow */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__button {
    font-size: 1em;
    padding: 10px 20px;
  }
}