/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Assuming shared body background is light */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: #26A9E0; /* Brand color for hero background */
  color: #ffffff;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px; /* Limit height for hero image */
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

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

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 100%;
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
}

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

/* CTA Buttons in Hero */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* General Section Styles */
.page-gdpr__section {
  padding: 50px 0;
  background-color: #f9f9f9; /* Light background for sections */
  color: #333333;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-gdpr__content-area--reverse {
  flex-direction: column-reverse; /* For image-text layout */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
}

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

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

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

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

.page-gdpr__dark-section p {
  color: #f0f0f0;
}

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

.page-gdpr__dark-section .page-gdpr__list {
  color: #f0f0f0;
}

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

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

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #ffffff;
  list-style: none; /* For details summary */
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-gdpr__faq-answer p {
  margin-bottom: 0;
  color: #f0f0f0;
}

.page-gdpr__faq-answer a {
  color: #ffffff;
  text-decoration: underline;
}

.page-gdpr__faq-answer a:hover {
  color: #e0e0e0;
}

/* Conclusion Section */
.page-gdpr__conclusion {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.page-gdpr__cta-buttons--center {
  margin-top: 30px;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-gdpr__content-area {
    flex-direction: row;
    align-items: center;
  }

  .page-gdpr__content-area--reverse {
    flex-direction: row-reverse;
  }

  .page-gdpr__text-block,
  .page-gdpr__image {
    flex: 1;
  }

  .page-gdpr__text-block {
    padding-right: 40px;
  }

  .page-gdpr__content-area--reverse .page-gdpr__text-block {
    padding-right: 0;
    padding-left: 40px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    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__cta-buttons--center {
    flex-direction: column;
  }

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

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

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

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

  .page-gdpr p,
  .page-gdpr li {
    font-size: 15px;
  }

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

  /* Ensure all containers with images/buttons/videos are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__faq-section,
  .page-gdpr__faq-item,
  .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;
    overflow-x: hidden !important;
  }
  
  .page-gdpr__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-gdpr__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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