/* style/gdpr.css */
/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Main text color, light for dark background */
  background-color: var(--background-color, #08160F); /* Dark background */
  padding-bottom: 60px; /* Space for footer */
}

/* Section specific styling */
.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  margin-top: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive font size for H1 */
  color: var(--gold-color, #F2C14E); /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

/* General Titles */
.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--gold-color, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__right-title,
.page-gdpr__protection-title {
  font-size: 1.5em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: bold;
}

/* Text blocks and paragraphs */
.page-gdpr p {
  margin-bottom: 1em;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__text-block {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--divider-color, #1E3A2A);
  color: var(--text-secondary, #A7D9B8);
}

/* Images within content */
.page-gdpr__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button fits container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
  background: var(--btn-gradient, linear-gradient(180deg, #2AD16F 0%, #13994A 100%));
  color: var(--text-main, #F2FFF6); /* Light text on dark button */
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--glow-color-rgb, 87, 227, 141), 0.4);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--gold-color, #F2C14E); /* Gold text */
  border: 2px solid var(--gold-color, #F2C14E);
}

.page-gdpr__btn-secondary:hover {
  background: var(--gold-color, #F2C14E);
  color: var(--background-color, #08160F); /* Dark text on gold button */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--gold-color-rgb, 242, 193, 78), 0.4);
}

/* Cards and Grid Layouts */
.page-gdpr__card {
  background-color: var(--card-bg, #11271B); /* Dark card background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-secondary, #A7D9B8);
  border: 1px solid var(--border-color, #2E7A4E);
  height: 100%; /* Ensure cards in a grid have equal height */
  box-sizing: border-box;
}

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

.page-gdpr__card ul {
  list-style: none;
  padding-left: 0;
}

.page-gdpr__card ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--glow-color, #57E38D); /* Checkmark color */
  font-weight: bold;
}

/* FAQ Section */
.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-gdpr__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main, #F2FFF6); /* Question text color */
  background-color: var(--deep-green, #0A4B2C); /* Slightly different background for question header */
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: var(--primary-color, #11A84E);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color, #F2C14E);
}

/* For details tag, hide default marker */
.page-gdpr__faq-item summary {
  list-style: none;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  border-top: 1px solid var(--divider-color, #1E3A2A);
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__right-title,
  .page-gdpr__protection-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  /* Mobile general */
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for smaller screens */
  }

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

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

  .page-gdpr__right-title,
  .page-gdpr__protection-title {
    font-size: 1.3em;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure minimum size */
    min-height: 200px !important; /* Ensure minimum size */
  }
  
  /* All containers with images/content must be responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__rights-grid,
  .page-gdpr__protection-grid,
  .page-gdpr__cta-buttons,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* No padding-left/right here as container already handles it for main content */
    /* For specific sections that need padding, apply directly */
  }

  /* Button responsive */
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to button group */
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__rights-grid,
  .page-gdpr__protection-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }
}