/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for default white body background */
  background-color: #FFFFFF;
}

.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 as body handles --header-offset */
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__main-title {
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1.2;
  color: #017439;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-gdpr__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__content-area {
  background-color: #FFFFFF;
  color: #333333;
}

.page-gdpr__section-title {
  font-size: 2em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__section-title--light {
  color: #FFFFFF;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #444444;
}

.page-gdpr__image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #444444;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr__list-item strong {
  color: #017439;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-gdpr__btn-primary:hover {
  background-color: #005f2f;
  border-color: #005f2f;
}

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2f;
  border-color: #005f2f;
}

/* Dark Section for FAQ */
.page-gdpr__dark-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-gdpr__dark-section .page-gdpr__text-block {
  color: #f0f0f0;
}

.page-gdpr__dark-section .page-gdpr__list-item {
  color: #f0f0f0;
}

.page-gdpr__dark-section .page-gdpr__list-item strong {
  color: #FFFFFF;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 80px 0;
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  list-style: none; /* For details tag */
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #FFFFFF;
}

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

.page-gdpr__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__faq-answer a:hover {
  color: #005f2f;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__hero-section,
  .page-gdpr__section {
    padding: 40px 0 !important;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-gdpr__main-title {
    font-size: 2em !important;
  }

  .page-gdpr__intro-description {
    font-size: 1em !important;
  }

  .page-gdpr__section-title {
    font-size: 1.6em !important;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer p {
    font-size: 0.95em !important;
  }

  /* Image Responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Button Responsiveness */
  .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 !important;
    padding-right: 15px !important;
    margin-bottom: 10px;
  }

  .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 !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* FAQ */
  .page-gdpr__faq-question {
    padding: 15px 20px !important;
    font-size: 1em !important;
  }

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