/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff; /* Explicitly set for clarity, though body is already white */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #f0f8ff; /* Light background for hero section */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

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

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons in Hero */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 500px; /* Constrain button group width */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

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

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

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

/* General Section Styles */
.page-gdpr__section {
  padding: 60px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Primary brand color */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  color: #333333;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  line-height: 1.7;
}

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

/* List Styles */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__list-item {
  background-color: #f8f8f8;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__list-title {
  font-size: 1.25em;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__list-description {
  font-size: 0.95em;
  color: #555555;
}

/* Contact Info Section */
.page-gdpr__contact-info {
  background-color: #f0f8ff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__link:hover {
  text-decoration: underline;
}

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

.page-gdpr__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #eeeeee;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden; /* For details tag */
}

.page-gdpr__faq-item summary { /* For details tag */
  display: block; /* Ensures the entire summary area is clickable */
  cursor: pointer;
  padding: 20px;
  font-weight: bold;
  color: #333333;
  position: relative;
  list-style: none; /* Hide default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker { /* Hide default marker for webkit */
  display: none;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #eeeeee;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  color: #26A9E0;
}

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 0.95em;
  color: #555555;
  background-color: #ffffff;
}

/* Details tag specific styles */
.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: none;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: "−"; /* Change icon when open */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for mobile */
  }

  .page-gdpr__intro-text {
    font-size: 1em;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-gdpr__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-description,
  .page-gdpr__contact-item,
  .page-gdpr__faq-answer p {
    font-size: 0.9em;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__contact-info,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px; /* Add padding to prevent content touching edges */
    padding-right: 15px; /* Add padding to prevent content touching edges */
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Specific adjustment for elements that might have their own padding */
  .page-gdpr__faq-item summary,
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-gdpr__list-item {
    padding: 15px;
  }
}

/* Color contrast adjustments for specific elements if needed */
/* (Assuming default text color #333333 on #FFFFFF background is sufficient) */
/* If any element uses a brand color as background, ensure white text */
.page-gdpr__dark-section {
  background-color: #26A9E0; /* Example dark section */
  color: #ffffff;
}

/* Ensure link color is readable */
.page-gdpr a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #1e87b9;
}

/* Login button specific color */
.page-gdpr__btn-login {
  background-color: #EA7C07; /* Login specific color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-gdpr__btn-login:hover {
  background-color: #d86c00;
  border-color: #d86c00;
}