/* style/gdpr.css */
:root {
  --page-gdpr-primary-color: #11A84E;
  --page-gdpr-secondary-color: #22C768;
  --page-gdpr-bg-color: #08160F;
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border-color: #2E7A4E;
  --page-gdpr-glow-color: #57E38D;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
  color: var(--page-gdpr-text-main);
  background-color: var(--page-gdpr-bg-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-gdpr-bg-color);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text contrast */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.page-gdpr__main-title {
  color: var(--page-gdpr-text-main);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-gdpr__intro-text {
  color: var(--page-gdpr-text-secondary);
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-gdpr__heading {
  color: var(--page-gdpr-text-main);
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__paragraph {
  color: var(--page-gdpr-text-main);
  margin-bottom: 15px;
  text-align: justify;
}

.page-gdpr__paragraph strong {
  color: var(--page-gdpr-glow-color);
}

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

.page-gdpr__list-item {
  color: var(--page-gdpr-text-main);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-gdpr__list-item::before {
  content: '✔';
  color: var(--page-gdpr-primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

.page-gdpr__list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-gdpr__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-gdpr__image-block {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  max-width: 50%;
  height: auto;
  display: block;
}

.page-gdpr__image-text-block .page-gdpr__list {
  flex: 1;
  margin: 0;
}

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

.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  color: var(--page-gdpr-text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  display: block;
}

.page-gdpr__card-title {
  color: var(--page-gdpr-glow-color);
  font-weight: bold;
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  color: var(--page-gdpr-text-secondary);
  font-size: 0.95em;
}

.page-gdpr__cta-button {
  display: inline-block;
  background: var(--page-gdpr-button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  filter: brightness(1.1);
}

.page-gdpr__cta-button--secondary {
  background: none;
  border: 2px solid var(--page-gdpr-primary-color);
  color: var(--page-gdpr-primary-color);
  margin-top: 20px;
}

.page-gdpr__cta-button--secondary:hover {
  background-color: var(--page-gdpr-primary-color);
  color: #ffffff;
}

.page-gdpr__link {
  color: var(--page-gdpr-glow-color);
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--page-gdpr-text-main);
  font-weight: bold;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-gdpr-glow-color);
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--page-gdpr-text-secondary);
  text-align: justify;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-gdpr__image-text-block {
    flex-direction: column;
  }

  .page-gdpr__image-block {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__section {
    padding: 40px 0;
  }

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

  .page-gdpr__main-title {
    font-size: 2em; /* Adjust H1 for mobile */
  }

  .page-gdpr__heading {
    font-size: 1.5em;
  }

  .page-gdpr p,
  .page-gdpr li {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Card image specific override */
  .page-gdpr__card-icon {
    max-height: 150px !important; /* Adjust max-height for card icons on mobile */
    object-fit: contain !important; /* Ensure smaller images are contained */
  }

  /* Button responsiveness */
  .page-gdpr__cta-button,
  .page-gdpr__cta-button--secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Ensure containers for images/buttons/videos are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__security-features,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific for security features to stack */
  .page-gdpr__security-features {
    grid-template-columns: 1fr;
  }

  /* Video responsiveness (general rule, even if no video on this page) */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
}