/* style/gdpr.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #26A9E0;
  --button-login: #EA7C07;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default to dark text for assumed light body background */
  background-color: var(--background-light);
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #f0f8ff; /* A very light blue tint */
  color: var(--text-dark);
  text-align: center;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-gdpr__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.5em);
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__introduction-section,
.page-gdpr__data-collection-section,
.page-gdpr__cookie-contact-section {
  padding: 60px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__security-sharing-section,
.page-gdpr__conclusion-section {
  padding: 60px 0;
}

.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__conclusion-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-gdpr__security-sharing-section {
  background-color: var(--background-light);
  color: var(--text-dark);
}

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

.page-gdpr__principle-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  color: var(--text-light);
}

.page-gdpr__principle-item h3 {
  color: var(--secondary-color);
  margin-top: 0;
  font-size: 1.3em;
}

.page-gdpr__data-list,
.page-gdpr__purpose-list,
.page-gdpr__rights-list,
.page-gdpr__sharing-list,
.page-gdpr__contact-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-gdpr__data-list li,
.page-gdpr__purpose-list li,
.page-gdpr__rights-list li,
.page-gdpr__sharing-list li,
.page-gdpr__contact-list li {
  margin-bottom: 10px;
}

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-gdpr__link-inline {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-gdpr__dark-bg .page-gdpr__link-inline {
  color: var(--secondary-color);
}

.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

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

.page-gdpr__faq-item {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  background: #f0f0f0;
  color: var(--primary-color);
  list-style: none;
}

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

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

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

.page-gdpr__faq-answer {
  padding: 15px 20px;
  background: #ffffff;
  color: var(--text-dark);
  border-top: 1px solid #eee;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-gdpr__btn-primary:hover {
  background-color: #1e87b7;
}

.page-gdpr__keyword {
  font-weight: bold;
  color: var(--primary-color);
}

.page-gdpr__dark-bg .page-gdpr__keyword {
  color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

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

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

  .page-gdpr__introduction-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-sharing-section,
  .page-gdpr__cookie-contact-section,
  .page-gdpr__faq-section,
  .page-gdpr__conclusion-section {
    padding: 40px 0;
  }

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

  .page-gdpr__principles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Images responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important;
    min-height: unset !important;
  }
  
  /* Buttons responsiveness */
  .page-gdpr__btn-primary {
    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;
    text-align: center;
  }

  /* Ensure containers with buttons/images are also responsive */
  .page-gdpr__hero-section,
  .page-gdpr__introduction-section .page-gdpr__container,
  .page-gdpr__principles-section .page-gdpr__container,
  .page-gdpr__data-collection-section .page-gdpr__container,
  .page-gdpr__rights-section .page-gdpr__container,
  .page-gdpr__security-sharing-section .page-gdpr__container,
  .page-gdpr__cookie-contact-section .page-gdpr__container,
  .page-gdpr__faq-section .page-gdpr__container,
  .page-gdpr__conclusion-section .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific padding for hero content */
  .page-gdpr__hero-content {
    padding: 0 15px;
  }
}