/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8;
}

.page-gdpr__hero-section {
  position: relative;
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #ffffff;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 450px;
  overflow: hidden;
}

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

.page-gdpr__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-gdpr__section {
  padding: 60px 20px;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__introduction {
  background-color: #fefefe;
}

.page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #8B0000;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__paragraph {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #333333;
}

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

.page-gdpr__card {
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-gdpr__card-title {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
}

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

.page-gdpr__ordered-list {
  padding-left: 20px;
  margin-top: 20px;
}

.page-gdpr__list-item {
  background-color: #fffaf0;
  border-left: 4px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 1.05em;
  color: #333333;
}

.page-gdpr__list-item strong {
  color: #8B0000;
}

.page-gdpr__call-to-action {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: #fffaf0;
  border-radius: 8px;
  border: 1px solid #FFD700;
}

.page-gdpr__call-to-action p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.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, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-gdpr__btn-primary:hover {
  background-color: #e6c200;
  color: #8B0000;
  border-color: #e6c200;
}

.page-gdpr__btn-secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
  margin-left: 15px;
}

.page-gdpr__btn-secondary:hover {
  background-color: #a01d1d;
  color: #FFD700;
  border-color: #a01d1d;
}

.page-gdpr__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fefefe;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #FFD700;
  color: #8B0000;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #e6c200;
}

.page-gdpr__faq-heading {
  margin: 0;
  color: #8B0000;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
  font-size: 0.95em;
}

.page-gdpr__conclusion {
  text-align: center;
  background-color: #FFD700;
  color: #8B0000;
  padding: 80px 20px;
}

.page-gdpr__conclusion .page-gdpr__section-title {
  color: #8B0000;
}

.page-gdpr__conclusion .page-gdpr__section-title::after {
  background-color: #8B0000;
}

.page-gdpr__conclusion .page-gdpr__paragraph {
  color: #8B0000;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__cta-final .page-gdpr__btn-primary {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
}

.page-gdpr__cta-final .page-gdpr__btn-primary:hover {
  background-color: #a01d1d;
  border-color: #a01d1d;
}

.page-gdpr__cta-final .page-gdpr__btn-secondary {
  background-color: #FFD700;
  color: #8B0000;
  border-color: #FFD700;
}

.page-gdpr__cta-final .page-gdpr__btn-secondary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

/* Responsive Styles */
@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__main-title {
    font-size: 2em;
  }

  .page-gdpr__hero-description {
    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__paragraph, .page-gdpr__list-item, .page-gdpr__card-text {
    font-size: 0.95em;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    display: block;
    width: 100%;
    margin: 10px 0 !important;
    text-align: center;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-final {
    flex-direction: column;
    gap: 10px;
  }

  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

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