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

.page-gdpr {
  color: var(--text-light); /* Default for body background being dark, adjusted by sections */
  background-color: transparent; /* Body background is handled by shared.css var(--black-color) */
}

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column; /* Default for mobile */
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom */
  text-align: center;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-gdpr__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
  z-index: 1;
}

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: 100%;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.page-gdpr__intro-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: var(--login-color); /* #EA7C07 */
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #d16b06; /* Darken #EA7C07 */
}

.page-gdpr__btn-primary--large {
  font-size: 1.25rem;
  padding: 18px 35px;
}

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

.page-gdpr__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

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

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: inherit;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: inherit;
  margin-top: 30px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-gdpr__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-gdpr__paragraph--white {
  color: var(--text-light);
}

.page-gdpr__highlight {
  font-weight: 600;
  color: var(--primary-color);
}

.page-gdpr__dark-section .page-gdpr__highlight {
  color: var(--secondary-color);
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-gdpr__list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1rem;
}

.page-gdpr__list--white li {
  color: var(--text-light);
}

.page-gdpr a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr a:hover {
  color: #1e87b3; /* Darken #26A9E0 */
}

.page-gdpr__link--white {
  color: var(--secondary-color);
}

.page-gdpr__link--white:hover {
  color: #cccccc;
}

.page-gdpr__image-text-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
  align-items: center;
}

.page-gdpr__image-text-block--reverse {
  flex-direction: column-reverse;
}

.page-gdpr__image-text-block img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-gdpr__text-block {
  flex: 1;
}

.page-gdpr__card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-gdpr__cta-section {
  background-color: var(--bg-dark);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
}

.page-gdpr__cta-content {
  max-width: 900px;
}

.page-gdpr__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-light);
}

.page-gdpr__cta-text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: var(--text-light);
}

/* FAQ Section */
.page-gdpr__faq-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.page-gdpr__faq-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__faq-item {
  background-color: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: #f5f5f5;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: var(--primary-color);
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-gdpr__hero-section {
    flex-direction: row;
    text-align: left;
    padding: 80px 40px;
  }

  .page-gdpr__hero-content {
    margin-bottom: 0;
    margin-right: 50px;
    max-width: 50%;
  }

  .page-gdpr__hero-image-wrapper {
    flex: 1;
    margin-top: 0;
    max-width: 50%;
  }

  .page-gdpr__image-text-block {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  .page-gdpr__image-text-block--reverse {
    flex-direction: row-reverse;
  }

  .page-gdpr__image-text-block img {
    max-width: 45%;
    flex-shrink: 0;
  }

  .page-gdpr__text-block {
    padding: 0 20px;
  }

  .page-gdpr__card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-gdpr__main-title {
    font-size: 2rem;
  }

  .page-gdpr__intro-text {
    font-size: 1rem;
  }

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

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

  .page-gdpr__sub-title {
    font-size: 1.3rem;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list li,
  .page-gdpr__card-text {
    font-size: 0.95rem;
  }

  .page-gdpr__cta-section {
    padding: 50px 15px;
  }

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

  .page-gdpr__cta-text {
    font-size: 1rem;
  }

  .page-gdpr__card-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-content,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-text-block,
  .page-gdpr__text-block,
  .page-gdpr__card-grid,
  .page-gdpr__faq-section,
  .page-gdpr__faq-item,
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer,
  .page-gdpr__cta-section,
  .page-gdpr__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Ensure no horizontal scroll */
  }
  
  .page-gdpr__hero-section, .page-gdpr__dark-section, .page-gdpr__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Buttons responsiveness */
  .page-gdpr__btn-primary,
  .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;
  }
  .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__hero-content .page-gdpr__btn-primary {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* General contrast fixes for specific elements if needed */
.page-gdpr__dark-bg .page-gdpr__link--white {
  color: var(--secondary-color);
}
.page-gdpr__dark-bg .page-gdpr__link--white:hover {
  color: #cccccc;
}