/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding: 100px 0 60px;
  text-align: center;
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for title */
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* General Content Area */
.page-gdpr__content-area {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 2em;
  color: #26A9E0; /* Brand color for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
}

.page-gdpr__sub-section-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: left;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-gdpr strong {
  color: #ffffff;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  color: #e0e0e0;
}

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

/* Buttons */
.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;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Text links */
.page-gdpr__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr__text-link:hover {
  color: #1e87b8;
}

/* CTA Section */
.page-gdpr__cta-section {
  background-color: #1a1a1a;
  padding: 50px 20px;
  text-align: center;
  border-radius: 8px;
  margin-top: 60px;
  color: #ffffff;
}

.page-gdpr__cta-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-gdpr__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  color: #26A9E0;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #e0e0e0;
}

/* Details element specific styling */
.page-gdpr__faq-item details > summary {
  list-style: none;
}
.page-gdpr__faq-item details > summary::-webkit-details-marker {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  .page-gdpr__hero-title {
    font-size: 2em;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__content-area {
    padding: 30px 0;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__sub-section-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
  }

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

  /* Ensure image containers also adapt */
  .page-gdpr__content-area,
  .page-gdpr__cta-section,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Buttons responsive */
  .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;
    padding: 12px 15px;
  }

  /* If multiple buttons in a row, make them stack */
  .page-gdpr__cta-section .page-gdpr__btn-primary {
    margin: 10px 0;
  }

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

  .page-gdpr__faq-toggle {
    font-size: 1.2em;
  }

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