/* style/gdpr.css */

/* --- Base Styles --- */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so text must be light */
}

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

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

.page-gdpr__heading {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-gdpr__sub-heading {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for better readability */
}

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

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

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #EA7C07; /* Login orange for hover */
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column; /* Default to column for mobile first */
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, body handles header offset */
  background: linear-gradient(135deg, #26A9E0, #0a0a0a); /* Brand color gradient */
  color: #ffffff;
}

.page-gdpr__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-gdpr__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 15px; /* Add padding for mobile */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  max-width: 100%; /* Ensure buttons adapt */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-width: 1200px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* --- Section Specific Styles --- */
.page-gdpr__intro-section,
.page-gdpr__data-collection-section,
.page-gdpr__cookies-section,
.page-gdpr__contact-section {
  background-color: #0a0a0a; /* Dark background from body */
  color: #ffffff;
}

.page-gdpr__rights-section,
.page-gdpr__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-gdpr__dark-bg {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
}
.page-gdpr__dark-bg .page-gdpr__heading {
  color: #ffffff;
}
.page-gdpr__dark-bg .page-gdpr__sub-heading {
  color: #ffffff;
}
.page-gdpr__dark-bg .page-gdpr__paragraph {
  color: #f0f0f0;
}
.page-gdpr__dark-bg .page-gdpr__list-item {
  color: #f0f0f0;
}


.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 800px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

/* --- FAQ Section --- */
.page-gdpr__faq-section {
  background-color: #0a0a0a;
  color: #ffffff;
  padding-bottom: 80px;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  background-color: #2a2a2a;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  color: #f0f0f0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: #3a3a3a;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: "−";
}

/* Details element specific styling to remove default marker */
.page-gdpr__faq-item summary {
  list-style: none;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}


/* --- Responsive Styles --- */
@media (min-width: 769px) {
  .page-gdpr__hero-section {
    flex-direction: row; /* Desktop: row layout */
    text-align: left;
    padding-top: 60px; /* More padding for desktop hero */
    padding-bottom: 60px;
  }

  .page-gdpr__hero-content {
    flex: 1;
    margin-right: 40px;
    margin-bottom: 0;
  }

  .page-gdpr__hero-image-container {
    flex: 1;
  }

  .page-gdpr__cta-buttons {
    justify-content: flex-start;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__heading {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-gdpr__sub-heading {
    font-size: 1.5em;
  }

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

  .page-gdpr__hero-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Stack buttons */
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsive (if any, though none explicitly requested for this page) */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos/buttons */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-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;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-gdpr__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

/* Ensure content area images meet minimum size requirement */
.page-gdpr__image,
.page-gdpr__hero-image {
  min-width: 200px;
  min-height: 200px;
}