/* style/gdpr.css */
:root {
  --rr99-primary-color: #11A84E;
  --rr99-secondary-color: #22C768;
  --rr99-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --rr99-card-bg: #11271B;
  --rr99-background: #08160F;
  --rr99-text-main: #F2FFF6;
  --rr99-text-secondary: #A7D9B8;
  --rr99-border-color: #2E7A4E;
  --rr99-glow-color: #57E38D;
  --rr99-gold-color: #F2C14E;
  --rr99-divider-color: #1E3A2A;
  --rr99-deep-green: #0A4B2C;
}

.page-gdpr {
  background-color: var(--rr99-background); /* Body background is dark, use light text */
  color: var(--rr99-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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 */
  box-sizing: border-box;
  background-color: var(--rr99-deep-green);
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Using clamp for H1 */
  color: var(--rr99-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-gdpr__description {
  font-size: 1.1em;
  color: var(--rr99-text-secondary);
  margin-bottom: 40px;
}

.page-gdpr__section {
  padding: 60px 20px;
  box-sizing: border-box;
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--rr99-primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--rr99-gold-color);
  border-radius: 2px;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  color: var(--rr99-text-main);
  font-size: 1.05em;
  line-height: 1.7;
}

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

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--rr99-text-secondary);
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rr99-primary-color);
  font-weight: bold;
  font-size: 1.2em;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__dark-section {
  background-color: var(--rr99-card-bg);
  color: var(--rr99-text-main);
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: var(--rr99-gold-color);
}

.page-gdpr__dark-section .page-gdpr__list-item {
  color: var(--rr99-text-secondary);
}

.page-gdpr__contact-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-gdpr__contact-item {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--rr99-text-main);
}

.page-gdpr__contact-link {
  color: var(--rr99-primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: var(--rr99-gold-color);
}

.page-gdpr__cta-section {
  background: var(--rr99-deep-green);
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-gdpr__cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__cta-title {
  font-size: 2.5em;
  color: var(--rr99-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  color: var(--rr99-text-secondary);
  margin-bottom: 40px;
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

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

.page-gdpr__btn-primary {
  background: var(--rr99-button-gradient);
  color: var(--rr99-text-main);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--rr99-primary-color);
  border: 2px solid var(--rr99-primary-color);
}

.page-gdpr__btn-secondary:hover {
  background: var(--rr99-primary-color);
  color: var(--rr99-text-main);
}

.page-gdpr__faq-section {
  padding: 60px 20px;
  background-color: var(--rr99-background);
  box-sizing: border-box;
}

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

.page-gdpr__faq-item {
  margin-bottom: 20px;
  background-color: var(--rr99-card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid var(--rr99-border-color);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: var(--rr99-text-main);
  font-size: 1.15em;
  background-color: var(--rr99-deep-green);
  border-bottom: 1px solid var(--rr99-divider-color);
  user-select: none;
  list-style: none; /* For details summary */
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: var(--rr99-gold-color);
}

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

.page-gdpr__faq-answer {
  padding: 20px;
  color: var(--rr99-text-secondary);
  font-size: 1em;
  line-height: 1.7;
}

/* Ensure details summary does not have pointer-events: none */
.page-gdpr__faq-item summary .page-gdpr__faq-qtext,
.page-gdpr__faq-item summary .page-gdpr__faq-toggle {
  pointer-events: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
  }

  .page-gdpr__section-title {
    font-size: 2em;
  }
}

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

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

  .page-gdpr__section {
    padding: 40px 15px;
  }

  .page-gdpr__container,
  .page-gdpr__cta-container,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

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

  /* Image responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size on mobile */
    min-height: 200px !important; /* Ensure min size on mobile */
  }

  /* Button responsive */
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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: 12px 20px;
  }

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

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

  .page-gdpr__cta-title {
    font-size: 2em;
  }

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

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

  .page-gdpr__section-title {
    font-size: 1.5em;
  }

  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
}