.page-gdpr {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: transparent; /* Body background handled by shared.css var(--site-bg) */
  padding-bottom: 60px; /* Space above footer */
}

.page-gdpr__hero-section {
  position: relative;
  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: linear-gradient(180deg, #0A0A0A 0%, #111111 100%); /* Subtle gradient for hero background */
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover; /* Ensure images fill their space */
  width: 1200px; /* Target width for hero image (example) */
  height: 675px; /* Target height for hero image (example) */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Constrain text width for readability */
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
  color: #FFD36B; /* Auxiliary color for main title */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-gdpr__intro-text {
  font-size: 1.15rem;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  filter: brightness(1.1); /* Subtle hover effect */
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #0A0A0A; /* Main background color */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-gdpr__section-dark {
  background-color: #0A0A0A;
  color: #FFF6D6;
  padding: 40px 20px;
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2C14E; /* Primary color for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
}

.page-gdpr p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-gdpr__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #F2C14E; /* Primary color for list icons */
  font-weight: bold;
  font-size: 1.2rem;
}

.page-gdpr__image-container {
  text-align: center;
  margin: 40px 0;
}

.page-gdpr__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  width: 800px; /* Example target width */
  height: 600px; /* Example target height */
  object-fit: cover; /* Ensure images fill their space */
}

.page-gdpr__rights-grid, .page-gdpr__compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: #111111; /* Card background color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-gdpr__card-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Auxiliary color for card titles */
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card p {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-gdpr__faq-container {
  margin-top: 30px;
  margin-bottom: 40px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card background */
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF6D6;
}

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

details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: rgba(255, 255, 255, 0.05); /* Lighter hover for dark background */
}

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Primary color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Darker background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

.page-gdpr a {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr a:hover {
  color: #F2C14E; /* Primary color on hover */
  text-decoration: underline;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__intro-text {
    font-size: 1rem;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-gdpr__list-item {
    padding-left: 25px;
  }

  .page-gdpr__list-item::before {
    font-size: 1rem;
  }

  .page-gdpr__image-container {
    margin: 30px 0;
  }

  .page-gdpr__image-container img {
    min-width: unset; /* Allow smaller images on mobile if needed by layout */
    min-height: unset;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__rights-grid, .page-gdpr__compliance-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2rem;
  }

  .page-gdpr__faq-container {
    margin-top: 20px;
    margin-bottom: 30px;
  }

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

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

  .page-gdpr__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

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

  /* Ensure all containers with images/buttons are responsive */
  .page-gdpr__section, .page-gdpr__card, .page-gdpr__container,
  .page-gdpr__hero-container, .page-gdpr__hero-image, .page-gdpr__hero-content,
  .page-gdpr__rights-grid, .page-gdpr__compliance-grid, .page-gdpr__data-collection-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Override padding for specific elements that might get double-padded */
  .page-gdpr__content-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-gdpr__section-dark {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-gdpr__card {
    padding: 20px !important;
  }
}