/* style/gdpr.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --background-color: #0a0a0a;
  --text-light: #ffffff;
  --text-dark: #333333;
  --border-color: rgba(255, 255, 255, 0.2);
}

/* Base styles for the GDPR page */
.page-gdpr {
  color: var(--text-light); /* Default light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--background-color);
}

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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  /* No fixed font-size, rely on clamp for responsiveness if needed, otherwise browser default */
}

.page-gdpr__description {
  font-size: 1.1em;
  color: var(--secondary-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-gdpr__keyword {
  font-weight: 600;
  color: var(--primary-color);
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: darken(var(--primary-color), 10%);
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  list-style: none;
  color: var(--primary-color);
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--text-dark);
  line-height: 1.7;
}

.page-gdpr__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

.page-gdpr__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-gdpr__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
  .page-gdpr__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-gdpr__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-gdpr__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 15px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-gdpr__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

  .page-gdpr__list {
    margin-left: 20px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__image-content {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__cta-section {
    padding: 60px 0;
  }

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

  .page-gdpr__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-gdpr__faq-item summary {
    padding: 15px;
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px 15px 15px;
  }

  /* Ensure no horizontal scroll from any element */
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__cta-section,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__hero-image,
  .page-gdpr__image-content,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.7em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
  .page-gdpr__cta-title {
    font-size: 1.7em;
  }
}