/* style/gdpr.css */
/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #08160F; /* Background color from custom scheme */
  color: #F2FFF6; /* Main text color from custom scheme for dark background */
  padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #08160F; /* Ensure hero section uses the dark background */
  box-sizing: border-box;
}

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

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

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size for H1 */
  font-weight: bold;
  line-height: 1.2;
  color: #F2FFF6; /* Main text color for H1 */
  margin-bottom: 20px;
  max-width: 100%;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
  max-width: 100%;
}

/* Content Area */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F; /* Ensure content area uses the dark background */
  box-sizing: border-box;
}

.page-gdpr__text-block {
  background-color: #11271B; /* Card BG color for text blocks */
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Main text color for blocks */
}

.page-gdpr__section-title {
  font-size: 2em;
  color: #F2FFF6; /* Main text color for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color for paragraphs */
}

.page-gdpr__text-block strong {
  color: #57E38D; /* Glow color for emphasis */
}

.page-gdpr__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #F2FFF6; /* Main text color for list items */
}

.page-gdpr__list li {
  margin-bottom: 10px;
  color: #F2FFF6; /* Main text color for list items */
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff; /* White text for buttons */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

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

.page-gdpr__btn-contact {
  margin-top: 20px;
}

.page-gdpr__btn-register {
  margin-top: 30px;
  font-size: 1.1em;
  padding: 15px 30px;
}

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

.page-gdpr__faq-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Main text color */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green for FAQ question background */
  color: #F2FFF6; /* Main text color */
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #13994A; /* Slightly lighter green on hover */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6; /* Main text color */
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Secondary text color for answers */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

/* For <details> tag, native open/close handling */
.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 2000px; /* Sufficiently large to show full content */
  padding-top: 15px;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: #13994A; /* Highlight open FAQ */
}

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

/* CTA Section at the end */
.page-gdpr__cta-section {
  text-align: center;
  padding: 40px;
  background-color: #0A4B2C; /* Deep Green for CTA background */
  border-radius: 8px;
  margin-top: 40px;
  border: 1px solid #2E7A4E;
}

.page-gdpr__cta-section .page-gdpr__section-title {
  color: #F2FFF6;
  margin-bottom: 20px;
}

.page-gdpr__cta-section p {
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-gdpr a {
  color: #57E38D; /* Link color using Glow */
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #F2C14E; /* Gold color on hover */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-gdpr__hero-image {
    width: 100%;
    height: auto;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__content-area {
    padding: 30px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__text-block {
    padding: 25px;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 30px;
  }
  .page-gdpr__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is for visual top space */
  }
  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-gdpr__hero-description {
    font-size: 0.95em;
  }
  .page-gdpr__content-area {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__text-block {
    padding: 20px;
    margin-bottom: 20px;
    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.5em;
    margin-bottom: 15px;
  }
  .page-gdpr__list {
    padding-left: 15px;
  }
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box !important;
  }
  .page-gdpr__faq-question {
    padding: 12px 15px;
    font-size: 0.95em;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px 12px;
  }
  .page-gdpr__cta-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons mobile adaptation */
  .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-left: 15px;
    padding-right: 15px;
    margin-top: 15px; /* Add margin for stacked buttons */
  }
  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-top: 20px;
  }
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

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