/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--primary-color); /* Inherit from shared, expected dark */
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__dark-bg {
  background-color: #0A2239;
  color: #ffffff;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjust padding to ensure content is below header */
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* General Content Sections */
.page-gdpr__content-area,
.page-gdpr__faq-section,
.page-gdpr__video-section {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #0A2239;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #FFD700;
}

.page-gdpr__subsection-title {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #0A2239;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__dark-bg .page-gdpr__text-block {
  color: #f0f0f0;
}

/* Card Grid */
.page-gdpr__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333333;
}

.page-gdpr__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: #0A2239;
  margin-bottom: 15px;
}

.page-gdpr__card p {
  font-size: 1em;
  color: #555555;
}

/* List Styles */
.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-top: 20px;
  color: #333333;
}

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

.page-gdpr__list li strong {
  color: #0A2239;
}

/* CTA Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #FFD700;
  color: #0A2239;
  border: 2px solid #FFD700;
}

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #0A2239;
  border: 2px solid #0A2239;
}

.page-gdpr__btn-secondary:hover {
  background-color: #0A2239;
  color: #ffffff;
}

/* Video Section */
.page-gdpr__video-section {
  text-align: center;
  background-color: #0A2239;
  color: #ffffff;
}

.page-gdpr__video-section .page-gdpr__section-title {
  color: #FFD700;
}

.page-gdpr__video-section .page-gdpr__section-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-gdpr__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto 30px;
  background-color: #000;
  border-radius: 10px;
}

.page-gdpr__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  color: #0A2239;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #0A2239;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
  color: #0A2239;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px 20px !important;
}

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

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding: 100px 0 40px;
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__content-area,
  .page-gdpr__faq-section,
  .page-gdpr__video-section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__subsection-title {
    font-size: 1.5em;
  }
  .page-gdpr__card-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
  }
  .page-gdpr__faq-title {
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px 20px !important;
  }

  /* Mobile specific image, video, button adaptations */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__card img {
    width: 100% !important; /* Ensure card images are also full width */
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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; /* Ensure buttons stack vertically */
  }
}

/* Ensure fixed header spacing for video section on mobile */
@media (max-width: 768px) {
  .page-gdpr__video-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
}

/* Fixed header spacing for hero section (assuming shared.css handles body padding-top) */
.page-gdpr__hero-section {
    padding-top: 0; /* Handled by body padding-top from shared.css */
}

/* Ensure contrast for specific elements */
.page-gdpr__section-description {
    color: #f0f0f0; /* Light text on dark background */
}

.page-gdpr__video-section .page-gdpr__section-description {
    color: #f0f0f0; /* Light text on dark background */
}