/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #F2FFF6); /* Default to light text for dark body background */
  background-color: var(--background-color, #08160F); /* Ensure consistency with body */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--background-color, #08160F);
  overflow: hidden;
}

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

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

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

.page-gdpr__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-main-color, #F2FFF6);
}

.page-gdpr__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary-color, #A7D9B8);
}

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

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Main text color */
  border: none;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--main-color, #11A84E);
  border: 2px solid var(--border-color, #2E7A4E);
  margin-left: 15px;
}

.page-gdpr__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Use border color with transparency */
  transform: translateY(-2px);
}

.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: var(--text-main-color, #F2FFF6);
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-main-color, #F2FFF6);
}

.page-gdpr__text-block {
  max-width: 900px;
  margin: 0 auto 20px auto;
  font-size: 1.05em;
  color: var(--text-secondary-color, #A7D9B8);
}

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

.page-gdpr__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Color scheme application */
.page-gdpr__dark-bg {
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
}

.page-gdpr__light-text {
  color: var(--text-main-color, #F2FFF6);
}

.page-gdpr__introduction .page-gdpr__text-block {
  color: var(--text-secondary-color, #A7D9B8);
}

.page-gdpr__data-handling .page-gdpr__text-block {
  color: var(--text-secondary-color, #A7D9B8);
}

.page-gdpr__contact-us .page-gdpr__text-block {
  color: var(--text-secondary-color, #A7D9B8);
}

.page-gdpr__updates .page-gdpr__text-block {
  color: var(--text-secondary-color, #A7D9B8);
}

/* FAQ Styles */
.page-gdpr__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  border: 1px solid var(--border-color, #2E7A4E);
  box-sizing: border-box;
  color: var(--text-main-color, #F2FFF6);
}

.page-gdpr__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main-color, #F2FFF6);
}

.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;
  padding-right: 10px;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold-color, #F2C14E);
}

.page-gdpr__faq-answer {
  padding-top: 15px;
  font-size: 0.95em;
  color: var(--text-secondary-color, #A7D9B8);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__subtitle {
    font-size: 1em;
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
  .page-gdpr__text-block {
    font-size: 0.95em;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-bottom: 10px;
  }
  .page-gdpr__hero-content .page-gdpr__btn-secondary {
    margin-top: 10px;
  }
  .page-gdpr__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-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-list {
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__faq-item {
    padding: 15px;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
  }
  .page-gdpr__faq-answer {
    font-size: 0.9em;
  }
}

@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;
  }
}