/* General styling for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
  line-height: 1.6;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #E53935; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  color: #E53935; /* Primary color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  text-align: center;
  padding-bottom: 50px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #ffffff;
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default cover for desktop */
}

.page-gdpr__hero-content {
  max-width: 800px;
  padding: 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #E53935; /* Primary color */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333333;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box; /* For responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__cta-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: none;
}

.page-gdpr__cta-button--secondary:hover {
  background: #E53935;
  color: #ffffff;
}

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-gdpr__content-section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-gdpr__feature-card {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 10px;
}

.page-gdpr__rights-list,
.page-gdpr__data-list,
.page-gdpr__data-purpose-list,
.page-gdpr__legal-basis-list,
.page-gdpr__security-list,
.page-gdpr__sharing-list,
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr__rights-item,
.page-gdpr__data-list li,
.page-gdpr__data-purpose-list li,
.page-gdpr__legal-basis-list li,
.page-gdpr__security-list li,
.page-gdpr__sharing-list li,
.page-gdpr__contact-list li {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-gdpr__rights-heading {
  font-size: 1.3em;
  color: #E53935;
  margin-bottom: 10px;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__contact-link {
  color: #E53935;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  color: #FF5A4F;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding-bottom: 80px;
}

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

.page-gdpr__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
  overflow: hidden; /* For transition effect if not using <details> */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #fcfcfc;
  transition: background-color 0.3s ease;
  list-style: none; /* For <summary> tag */
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
  background-color: #f0f0f0;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #E53935;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #555555;
  max-height: 0; /* For transition if not using <details> */
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 500px; /* Adjust as needed */
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__container {
    padding: 20px 30px;
  }

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

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

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }
}

@media (max-width: 768px) {
  /* General Mobile Adaption */
  .page-gdpr__container {
    padding: 20px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__subsection-title {
    font-size: 1.4em;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 30px;
  }

  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Mobile hero image: contain, no cropping */
    aspect-ratio: unset !important; /* Reset aspect ratio */
    max-height: none !important; /* No max height */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Buttons */
  .page-gdpr__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-gdpr__content-section,
  .page-gdpr__feature-card,
  .page-gdpr__rights-item,
  .page-gdpr__data-list li,
  .page-gdpr__data-purpose-list li,
  .page-gdpr__legal-basis-list li,
  .page-gdpr__security-list li,
  .page-gdpr__sharing-list li,
  .page-gdpr__contact-list li,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-gdpr__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-gdpr__rights-heading {
    font-size: 1.2em;
  }

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

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