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

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

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
  background-color: var(--page-gdpr-background);
  text-align: center;
}

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

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

.page-gdpr__hero-content {
  max-width: 800px;
  margin-top: 40px;
  padding: 0 20px;
}

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

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

/* General Section Styles */
.page-gdpr__section {
  padding: 80px 0;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  font-size: 1em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__sub-title {
  color: #000000;
}

.page-gdpr__light-bg .page-gdpr__text-block,
.page-gdpr__light-bg p,
.page-gdpr__light-bg li {
  color: #333333;
}

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

/* Grid Container for Cards */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Card Styles */
.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__light-bg .page-gdpr__card {
  background-color: #f8f8f8;
  border-color: #e0e0e0;
  color: #333333;
}

.page-gdpr__card--dark {
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
}

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

.page-gdpr__light-bg .page-gdpr__card-title {
  color: var(--page-gdpr-primary-color);
}

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

.page-gdpr__light-bg .page-gdpr__card p {
  color: #555555;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

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

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

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

/* Image and Text Blocks */
.page-gdpr__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-gdpr__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__image-left,
.page-gdpr__image-right {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-gdpr__text-content {
  flex: 1;
  max-width: 50%;
}

.page-gdpr__list {
  list-style: none;
  padding-left: 0;
}

.page-gdpr__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--page-gdpr-text-secondary);
  text-align: justify;
}

.page-gdpr__light-bg .page-gdpr__list li {
  color: #333333;
}

.page-gdpr__list li::before {
  content: '✔';
  color: var(--page-gdpr-primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-gdpr__list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  text-align: center;
}

.page-gdpr__list--inline li {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  padding: 20px;
  border-radius: 8px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-sizing: border-box;
  text-align: center;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__light-bg .page-gdpr__list--inline li {
  background-color: #f0f0f0;
  border-color: #d0d0d0;
  color: #333333;
}

.page-gdpr__list--inline li::before {
  display: none;
}

.page-gdpr__image-center {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Info */
.page-gdpr__contact-info {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__light-bg .page-gdpr__contact-info p {
  color: #333333;
}

.page-gdpr__contact-link {
  color: var(--page-gdpr-primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
}

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

.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;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.page-gdpr__faq-question:hover {
  background-color: var(--page-gdpr-deep-green);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: var(--page-gdpr-text-main);
}

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

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

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
  color: var(--page-gdpr-text-secondary);
}

/* Details tag specific styles */
.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
  background-color: var(--page-gdpr-deep-green);
}

.page-gdpr__faq-item summary {
  list-style: none;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__image-text-block {
    flex-direction: column;
    text-align: center;
  }

  .page-gdpr__image-text-block--reverse {
    flex-direction: column;
  }

  .page-gdpr__image-left,
  .page-gdpr__image-right {
    max-width: 80%;
    margin-bottom: 30px;
  }

  .page-gdpr__text-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-gdpr__hero-content {
    margin-top: 30px;
  }

  .page-gdpr__main-title {
    font-size: 2em; /* Clamp is preferred, but for strict example, smaller fixed size */
    line-height: 1.3;
  }

  .page-gdpr__description {
    font-size: 1em;
  }

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

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

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

  .page-gdpr__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-bottom: 10px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-gdpr__hero-image,
  .page-gdpr__image-left,
  .page-gdpr__image-right,
  .page-gdpr__image-center {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__image-text-block,
  .page-gdpr__text-content,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__list--inline li {
    min-width: unset;
    max-width: 100%;
    padding: 15px;
  }

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

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

/* Contrast Fixes - Ensure readability */
.page-gdpr__light-bg .page-gdpr__card {
  background-color: #ffffff; /* Explicitly white for contrast */
  color: #333333;
}
.page-gdpr__light-bg .page-gdpr__list li {
  color: #333333;
}
.page-gdpr__light-bg .page-gdpr__contact-info p {
  color: #333333;
}

/* H1 font-size clamp for better responsiveness */
.page-gdpr__main-title {
  font-size: clamp(1.8em, 4vw + 1rem, 2.8em);
}