/* style/gdpr.css */

/* --- Base Styles --- */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #0a0a0a (dark), so use light text */
  background-color: transparent; /* Main content background will be handled by sections */
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0a0a0a; /* Match shared body background */
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  height: auto;
  display: block;
  margin-bottom: 30px; /* Space between image and text */
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Global image size requirement */
  min-height: 200px; /* Global image size requirement */
}

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

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

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

/* --- Content Area --- */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #0a0a0a; /* Dark background for content sections */
  color: #ffffff; /* Light text on dark background */
}

.page-gdpr__dark-section {
  background-color: #0a0a0a; /* Explicitly dark section */
  color: #ffffff;
}

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

.page-gdpr__section-title {
  color: #26A9E0; /* Brand color for section titles */
  font-size: 2.2em;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__text-block {
  margin-bottom: 15px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__text-block a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
}

.page-gdpr__text-block a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.page-gdpr__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Global image size requirement */
  min-height: 200px; /* Global image size requirement */
  filter: none; /* Ensure no filter is applied */
}

.page-gdpr__image-text-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}

.page-gdpr__image-text-block--reversed {
  flex-direction: column-reverse; /* For alternating layout */
}

/* --- List Styles --- */
.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__list-item strong {
  color: #26A9E0;
}

/* --- Buttons --- */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box; /* For responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

.page-gdpr__btn-primary:hover {
  background-color: #1a8ccb; /* Slightly darker */
  border-color: #1a8ccb;
}

.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__btn-center {
  display: block;
  margin: 30px auto;
  width: fit-content;
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%; /* Ensure container takes full width for flex-wrap */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  cursor: pointer;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  font-size: 1.1em;
  color: #ffffff; /* Question text is white */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0; /* Brand color for toggle icon */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  color: #ffffff; /* White when open */
}

.page-gdpr__faq-answer {
  padding: 15px 25px 25px;
  font-size: 0.95em;
  color: #f0f0f0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem); /* Responsive font size for H1 */
    margin-bottom: 15px;
  }

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

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

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

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }

  .page-gdpr__image-text-block,
  .page-gdpr__image-text-block--reversed {
    flex-direction: column; /* Stack on mobile */
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers responsive */
  .page-gdpr__hero-image,
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* Buttons responsive */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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 {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__faq-item summary {
    padding: 15px 20px;
  }

  .page-gdpr__faq-qtext {
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    padding: 10px 20px 20px;
  }
  
  /* Ensure content containers are responsive */
  .page-gdpr__container,
  .page-gdpr__hero-content,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}