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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000;
  color: #FFFFFF;
  gap: 30px;
}

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

.page-gdpr__main-heading {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight with a gold accent */
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

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

.page-gdpr__section--light {
  background-color: #f8f8f8;
}

.page-gdpr__section--cta {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-gdpr__section--cta .page-gdpr__section-title {
  color: #FCBC45;
}

.page-gdpr__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__section--cta .page-gdpr__text-block {
  color: #FFFFFF;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-gdpr__content-grid--reverse {
  grid-template-columns: 1fr;
}

.page-gdpr__content-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

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

.page-gdpr__principle-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

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

.page-gdpr__card-description {
  font-size: 0.95em;
  color: #555555;
}

.page-gdpr__rights-list ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr__rights-list li {
  background-color: #FFFFFF;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #FCBC45;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  color: #333333;
}

.page-gdpr__rights-list li strong {
  color: #000000;
}

.page-gdpr__button {
  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;
  font-size: 1.1em;
  text-align: center;
}

.page-gdpr__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-gdpr__button--primary:hover {
  background-color: #e0a538;
  border-color: #e0a538;
}

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

.page-gdpr__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

/* Responsive Design */
@media (min-width: 768px) {
  .page-gdpr__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 60px;
  }

  .page-gdpr__hero-content {
    flex: 1;
    text-align: left;
  }

  .page-gdpr__hero-image {
    flex: 1;
    margin-top: 0;
  }

  .page-gdpr__content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-gdpr__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
  }

  .page-gdpr__content-grid--reverse .page-gdpr__text-block {
    order: 2;
  }

  .page-gdpr__content-grid--reverse img {
    order: 1;
  }

  .page-gdpr__main-heading {
    font-size: 3.5em;
  }

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

@media (max-width: 768px) {
  .page-gdpr__main-heading {
    font-size: 2.2em;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__hero-section {
    padding: 40px 15px;
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
  }
  /* Ensure content area images are responsive and do not overflow */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
  .page-gdpr__content-grid img {
    min-width: 200px; /* Ensure mobile images are still minimum size */
    min-height: 200px;
  }
}