/* 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 content area */
}

/* Hero Section */
.page-gdpr__hero-section {
  background-color: #f8f8f8; /* Light background for the hero */
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as per instruction */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__container {
  max-width: 1200px;
  width: 100%; /* Ensure it takes full width up to max-width */
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-gdpr__intro-description {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-gdpr__hero-image-wrapper {
  margin-top: 30px;
  width: 100%;
  max-width: 1000px; /* Example max-width for hero image */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 40px 20px;
  background-color: #ffffff;
}

.page-gdpr__text-block {
  margin-bottom: 40px;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em); /* Responsive font size for H2 */
  color: #26A9E0;
  margin-bottom: 25px;
  font-weight: bold;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em); /* Responsive font size for H3 */
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  color: #333333;
}

.page-gdpr__text-block ul {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-gdpr__text-block li {
  margin-bottom: 8px;
  color: #333333;
}

.page-gdpr__text-block a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 500;
}

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

/* Image with Text Block */
.page-gdpr__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-gdpr__image-text-block .page-gdpr__image-wrapper {
  flex: 1;
  min-width: 300px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__image-text-block .page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__image-text-block .page-gdpr__text-content {
  flex: 2;
  min-width: 300px;
}

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

.page-gdpr__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf7fc; /* Lighter brand blue for question background */
  border-bottom: 1px solid #e0e0e0;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #26A9E0;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-gdpr__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
}

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


/* --- Responsive Design --- */

/* Mobile-specific styles */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-gdpr__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
  }

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

  .page-gdpr__content-section {
    padding: 20px 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.5em; /* Smaller H2 for mobile */
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    font-size: 1.2em; /* Smaller H3 for mobile */
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__image-text-block .page-gdpr__image-wrapper {
    min-width: unset; /* Reset min-width */
    width: 100%;
  }

  .page-gdpr__image-text-block .page-gdpr__text-content {
    min-width: unset; /* Reset min-width */
    width: 100%;
  }

  /* Image responsiveness */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__faq-answer {
    padding: 10px 20px;
  }
}

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

/* Button responsiveness (if any were present) */
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-buttons,
.page-gdpr__button-group,
.page-gdpr__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .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__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}