/* style/gdpr.css */

.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); /* Fixed header offset */
}

.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero text */
  color: #FFFFFF;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
}

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

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

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

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-gdpr__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-gdpr__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
  font-size: 1.1em;
}

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

.page-gdpr__button--register:hover {
  background-color: #f0f0f0;
  color: #333333;
}

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

.page-gdpr__button--login:hover {
  background-color: #e0a53a;
  color: #000000;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF; /* Ensures content area is white */
}

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

.page-gdpr__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  color: #555555;
}

.page-gdpr__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.page-gdpr__article {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-gdpr__article-image {
  width: 400px; /* HTML has 400x300, CSS should match or be responsive */
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min size constraint */
  min-height: 200px; /* Min size constraint */
}

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

.page-gdpr__article-text {
  color: #444444;
  font-size: 1em;
}

.page-gdpr__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__link:hover {
  text-decoration: underline;
  color: #e0a53a;
}

.page-gdpr__faq-section {
  background-color: #f0f0f0;
  padding: 60px 20px;
  border-radius: 10px;
  margin-bottom: 60px;
}

.page-gdpr__faq-question {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-gdpr__faq-question::after {
  content: '+';
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-gdpr__faq-answer {
  color: #555555;
  font-size: 1em;
  padding-bottom: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding-bottom 0.5s ease-out;
}

.page-gdpr__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding-bottom: 20px;
}


.page-gdpr__call-to-action {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 60px;
}

.page-gdpr__call-to-action .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__call-to-action .page-gdpr__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

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

.page-gdpr__button--register-cta:hover {
  background-color: #e0a53a;
  color: #000000;
}

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

.page-gdpr__button--promotions:hover {
  background-color: #f0f0f0;
  color: #333333;
}

.page-gdpr__related-links {
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__link-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 30px;
}

.page-gdpr__link-list li a {
  font-size: 1.1em;
  color: #FCBC45;
  text-decoration: none;
  font-weight: normal;
}

.page-gdpr__link-list li a:hover {
  text-decoration: underline;
  color: #e0a53a;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.5em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__article-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-gdpr__hero-section {
    padding: 60px 15px;
  }
  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__button {
    width: 100%;
    max-width: 300px;
  }
  .page-gdpr__content-area {
    padding: 30px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-gdpr__article-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-gdpr__article-image {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto;
    min-width: 200px; /* Min size constraint */
    min-height: 200px; /* Min size constraint */
  }
  /* Mobile image overflow prevention */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
  .page-gdpr__faq-section {
    padding: 40px 15px;
  }
  .page-gdpr__faq-question {
    font-size: 1.3em;
  }
  .page-gdpr__call-to-action {
    padding: 40px 15px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__link-list {
    flex-direction: column;
    gap: 10px;
  }
  .page-gdpr__link-list li a {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__hero-description {
    font-size: 0.9em;
  }
  .page-gdpr__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__article-title {
    font-size: 1.3em;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
  }
}

/* Ensure content area images maintain minimum size and don't overflow on mobile */
@media (max-width: 768px) {
  .page-gdpr img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min-width is respected */
    min-height: 200px; /* Ensure min-height is respected */
  }
  /* Specific rules to prevent content images from being too small */
  .page-gdpr__article-image {
    width: 100%; /* Ensure it scales down if needed, but not smaller than min */
    height: auto;
    max-width: 100%;
  }
  .page-gdpr__hero-image {
    min-width: 100%; /* Hero image should always be full width */
    min-height: 200px; /* But still respect min height */
    height: auto;
  }
}

/* Global image size constraint for content area (desktop) */
.page-gdpr img:not(.shared-header img):not(.shared-footer img) {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Added for consistency */
}

/* No CSS filter on images */
.page-gdpr img {
  filter: none !important;
}