/* style/gdpr.css */
.page-gdpr {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF; /* Ensure consistency with body background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: 40px;
  color: #FFFFFF; /* Text color for hero section */
  text-align: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability, not changing color */
}

.page-gdpr__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* Ensure sufficient height */
}

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__intro-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-gdpr__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-gdpr__cta-button:hover {
  background-color: #e0a53b;
}

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

.page-gdpr__section-block {
  margin-bottom: 60px;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__rights-list,
.page-gdpr__compliance-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-gdpr__list-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__list-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-gdpr__list-description {
  font-size: 1em;
  color: #555555;
}

.page-gdpr__compliance-list .page-gdpr__list-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__contact-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-gdpr__contact-button:hover {
  background-color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr__hero-container {
    padding: 80px 15px;
    min-height: 300px;
  }

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

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

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

  .page-gdpr__section-text {
    font-size: 0.95em;
  }

  .page-gdpr__rights-list,
  .page-gdpr__compliance-list {
    grid-template-columns: 1fr;
  }

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

  /* Ensure images are responsive and do not overflow */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }

  .page-gdpr {
    overflow-x: hidden;
  }
}