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

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default for light backgrounds */
}

/* Ensure images are responsive by default */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  background: var(--color-background);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: center;
  padding: 0 20px;
  color: var(--color-text-main);
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-gold);
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
}

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

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

.page-gdpr__section-title--white {
  color: var(--color-text-main);
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--color-deep-green);
}

.page-gdpr__sub-title--white {
  color: var(--color-gold);
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  color: #333333;
}

.page-gdpr__text-block--white p {
  color: var(--color-text-secondary);
}

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

.page-gdpr__text-block--white .page-gdpr__list {
  color: var(--color-text-secondary);
}

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

.page-gdpr__image {
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__image--center {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-gdpr__dark-section {
  background: var(--color-card-bg);
  color: var(--color-text-main);
}

.page-gdpr__dark-section .page-gdpr__text-block {
  color: var(--color-text-secondary);
}

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

.page-gdpr__link:hover {
  color: var(--color-glow);
}

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

.page-gdpr__faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #333333;
}

.page-gdpr__faq-item[open] {
  background: #f9f9f9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  font-size: 1.1em;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--color-primary);
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  color: #555555;
  font-size: 0.95em;
}

.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  padding: 0 20px;
}

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

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

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

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

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

  .page-gdpr__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-bottom: 10px; /* For multiple buttons */
  }

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

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

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

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

  /* Mobile image specific overrides */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__content-area,
  .page-gdpr__text-block,
  .page-gdpr__faq-list,
  .page-gdpr__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
}