/* style/gdpr.css */

/* General page styles */
.page-gdpr {
  color: #333333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  background-color: var(--background-color, #ffffff);
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #f5f5f5;
  color: #333333;
  box-sizing: border-box;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  width: 100%;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  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;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87c0;
  border-color: #1e87c0;
}

/* Content Sections */
.page-gdpr__section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-gdpr__section--alt-bg {
  background-color: #f9f9f9;
}

.page-gdpr__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #ffffff; /* Ensure white text on dark background */
}

.page-gdpr__subsection-title {
  font-size: clamp(1.5em, 2.5vw, 2em);
  color: #000000;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-gdpr__dark-section .page-gdpr__subsection-title {
  color: #ffffff;
}

.page-gdpr__sub-subsection-title {
  font-size: clamp(1.2em, 2vw, 1.6em);
  color: #333333;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-gdpr__dark-section .page-gdpr__sub-subsection-title {
  color: #ffffff;
}

.page-gdpr__content-block {
  margin-bottom: 30px;
}

.page-gdpr__content-block p {
  margin-bottom: 15px;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__content-block ul,
.page-gdpr__content-block ol {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__content-block ul li,
.page-gdpr__content-block ol li {
  margin-bottom: 8px;
  color: inherit;
}

.page-gdpr__content-block ul {
  list-style-type: disc;
}

.page-gdpr__content-block ol {
  list-style-type: decimal;
}

.page-gdpr__image-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  text-align: center;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #eaf7ff; /* Light blue background for FAQ */
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-gdpr__faq-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f0f8ff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: #d9edf7;
  border-bottom: 1px solid #cce8f4;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.2s ease;
}

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

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

/* Ensure details summary marker is hidden */
.page-gdpr__faq-item summary {
  list-style: none;
}

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

/* Contact Info */
.page-gdpr__contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #555555;
}

.page-gdpr__contact-info a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

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

/* Last Updated */
.page-gdpr__last-updated {
  text-align: right;
  font-size: 0.9em;
  color: #777777;
  margin-top: 50px;
  padding-right: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }

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

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100%;
    max-width: 300px; /* Limit button width on tablets */
  }
}

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

  .page-gdpr__hero-section {
    padding: 30px 15px !important;
    padding-top: 10px !important;
  }

  .page-gdpr__section,
  .page-gdpr__faq-section {
    padding: 30px 15px !important;
  }

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

  .page-gdpr__main-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }

  .page-gdpr__subsection-title {
    font-size: clamp(1.3em, 4vw, 1.6em);
  }

  .page-gdpr__sub-subsection-title {
    font-size: clamp(1.1em, 3.5vw, 1.4em);
  }

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

  /* Videos responsive (if any, though none on this page) */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important;
  }

  /* Buttons responsive */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    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-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-gdpr__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  .page-gdpr__last-updated {
    padding-left: 15px;
    padding-right: 15px;
  }
}