/* style/gdpr.css */
.page-gdpr {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main, assuming dark body bg */
  background: #08160F; /* Background */
}

/* Color contrast classes based on custom colors */
.page-gdpr__dark-bg {
  background: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__card-bg {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__light-bg {
  background: #F2FFF6; /* Text Main as light background */
  color: #08160F; /* Background as dark text */
}

.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 as per requirement */
  box-sizing: border-box;
  text-align: center;
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-width: 1920px; /* Max width for the image container */
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any background elements */
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-gdpr__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button color for text */
  border: 2px solid #2AD16F; /* Button color for border */
}

.page-gdpr__btn-secondary:hover {
  background: #2AD16F; /* Button color */
  color: #F2FFF6; /* Text Main */
  border-color: #2AD16F;
}

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

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

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); /* Responsive font size */
  font-weight: 700;
  color: inherit; /* Inherit from section for contrast */
  text-align: center;
  margin-bottom: 30px;
}

.page-gdpr__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: inherit; /* Inherit from section for contrast */
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: inherit;
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2AD16F; /* Button color for checkmark */
  font-weight: bold;
}

.page-gdpr__policy-links a {
  color: #57E38D; /* Glow color for links */
  text-decoration: underline;
}

.page-gdpr__policy-links a:hover {
  color: #F2FFF6; /* Text Main color for hover */
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 20px;
}

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

.page-gdpr__faq-item {
  background: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-item[open] {
  background: #11271B; /* Card BG when open */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* Remove default marker for summary */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-gdpr__faq-question:hover {
  background: #11271B; /* Card BG */
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

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

.page-gdpr__contact-us {
  text-align: center;
  padding: 60px 20px;
}

/* Keywords styling */
.keyword {
  color: #57E38D; /* Glow color to highlight keywords */
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-gdpr__hero-image-container {
    margin-bottom: 20px;
  }

  .page-gdpr__hero-image {
    height: 300px;
  }

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

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

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

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-gdpr__text-block {
    font-size: 0.95rem;
  }

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

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

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

  .page-gdpr__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content to prevent overflow */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Adjust padding for hero-content if it has its own container */
  .page-gdpr__hero-content {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    box-sizing: border-box;
  }
}