/* style/gdpr.css */

/* Base Styles for GDPR Page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color, #333333);
  background-color: var(--bg-color, #FFFFFF);
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  text-align: center;
  background: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

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

.page-gdpr__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Area */
.page-gdpr__content-area {
  padding: 60px 20px;
  background-color: #FFFFFF; /* Light background for main content */
  color: #333333;
}

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

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

.page-gdpr__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

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

/* 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;
  margin: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Brand primary color */
  border: 2px solid #26A9E0;
}

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

/* Links within text */
.page-gdpr__content-area a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr__content-area a:hover {
  color: #1e87b7;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  user-select: none;
  list-style: none; /* Hide default marker for <details> */
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  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: 0.95em;
  color: #555555;
}

/* Call to Action Section */
.page-gdpr__cta-section {
  padding: 80px 20px;
  text-align: center;
  background: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
}

.page-gdpr__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

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

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

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    min-height: 300px;
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__description {
    font-size: 1em;
  }
  .page-gdpr__content-area {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
  .page-gdpr__text-block {
    font-size: 0.95em;
  }
  .page-gdpr__cta-section {
    padding: 60px 15px;
  }
  .page-gdpr__cta-title {
    font-size: 2em;
  }
  .page-gdpr__cta-description {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100%;
    margin: 0; /* Remove horizontal margin for full width */
  }

  /* Force responsive images, videos, and containers */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-area,
  .page-gdpr__cta-section,
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper,
  .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 !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .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 !important; /* Ensure text padding */
    padding-right: 15px !important;
  }

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

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

/* Color Contrast Fixes (if needed, applied as classes) */
.page-gdpr__dark-bg {
  color: #ffffff;
  background: #26A9E0;
}

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

.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}