/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF); /* Inherit or default to white */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #26A9E0; /* Brand primary color for hero */
  color: #FFFFFF; /* White text for dark background */
  overflow: hidden;
  min-height: 500px;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2; /* Subtle background image */
}

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

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-gdpr__content-area {
  background-color: #FFFFFF; /* White background for content sections */
  color: #333333; /* Dark text for white background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-bottom: 40px;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Brand primary color for titles */
  margin-bottom: 30px;
  text-align: center;
}

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

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

.page-gdpr__keyword {
  font-weight: bold;
  color: #26A9E0;
}

/* List styles */
.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

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

/* Image styles */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block; /* Ensure images behave as blocks for margin */
}

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  font-size: 1.1em;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary:hover {
  background-color: #1a7fb8; /* Slightly darker on hover */
}

.page-gdpr__btn-primary--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* CTA Section */
.page-gdpr__cta-section {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.page-gdpr__cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #FFFFFF;
}

.page-gdpr__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.1; /* Very subtle background image */
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid #d0d0d0;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #000000; /* Ensure dark text on light background */
}

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

/* Hide default details arrow */
.page-gdpr__faq-item summary {
  list-style: none;
}

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

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1.1em;
  color: #333333;
}

/* Ensure links within content are styled */
.page-gdpr a {
  color: #26A9E0;
  text-decoration: none;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }

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

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

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

  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    font-size: 1em;
  }

  .page-gdpr__cta-title {
    font-size: 2.4em;
  }

  .page-gdpr__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  .page-gdpr__hero-section {
    padding: 60px 15px;
  }

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-primary--large {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-gdpr__content-area,
  .page-gdpr__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.3em;
  }

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

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

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

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

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

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

/* Ensure no filter on images */
.page-gdpr img {
  filter: none !important;
}