/* style/gdpr.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --bg-color: #FFFFFF; /* Default background, will be overridden by shared.css if defined */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
}

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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  min-height: 500px;
  justify-content: center;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--text-color-light);
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

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

.page-gdpr__intro-section, .page-gdpr__data-processing-section, .page-gdpr__sharing-retention-section, .page-gdpr__cta-section {
  padding: 60px 0;
}

.page-gdpr__rights-section, .page-gdpr__security-section, .page-gdpr__contact-faq-section {
  padding: 60px 0;
  color: var(--text-color-light);
}

.page-gdpr__rights-section .page-gdpr__section-title,
.page-gdpr__security-section .page-gdpr__section-title,
.page-gdpr__contact-faq-section .page-gdpr__section-title {
  color: var(--text-color-light);
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-gdpr__text-block a {
  color: var(--login-color);
  text-decoration: underline;
}

.page-gdpr__text-block a:hover {
  text-decoration: none;
}

.page-gdpr__image-container {
  text-align: center;
  margin: 40px 0;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__rights-list, .page-gdpr__security-measures-list, .page-gdpr__bullet-list, .page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__list-item h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-gdpr__list-item p {
  color: var(--text-color-light);
  line-height: 1.6;
}

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

.page-gdpr__processing-item {
  background-color: var(--secondary-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__processing-item h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-gdpr__processing-item p {
  color: var(--text-color-dark);
  margin-bottom: 10px;
}

.page-gdpr__processing-item .page-gdpr__bullet-list {
  margin-top: 0;
}

.page-gdpr__processing-item .page-gdpr__bullet-list li {
  color: var(--text-color-dark);
  margin-bottom: 5px;
  position: relative;
  padding-left: 20px;
}

.page-gdpr__processing-item .page-gdpr__bullet-list li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

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

.page-gdpr__contact-list li {
  background-color: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding: 15px 0;
}

.page-gdpr__contact-list li:last-child {
  border-bottom: none;
}

.page-gdpr__contact-list li a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-gdpr__contact-list li a:hover {
  text-decoration: underline;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-color-light);
}

.page-gdpr__faq-item summary {
  list-style: none;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--secondary-color);
  outline: none;
}

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

.page-gdpr__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--text-color-light);
  line-height: 1.6;
}

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

.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 20px;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

.page-gdpr__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

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

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

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

.page-gdpr__dark-section .page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__dark-section .page-gdpr__list-item h3 {
  color: var(--secondary-color);
}

.page-gdpr__dark-section .page-gdpr__list-item p {
  color: var(--text-color-light);
}

.page-gdpr__dark-section .page-gdpr__text-block {
  color: var(--text-color-light);
}

.page-gdpr__dark-section .page-gdpr__text-block a {
  color: var(--secondary-color);
}

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


/* Responsive Styles */
@media (max-width: 992px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
  }

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

  .page-gdpr__processing-grid, .page-gdpr__grid-two-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

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

  .page-gdpr__list-item, .page-gdpr__processing-item {
    padding: 20px;
  }

  .page-gdpr__list-item h3,
  .page-gdpr__processing-item h3 {
    font-size: 1.2em;
  }

  /* 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__intro-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__security-section,
  .page-gdpr__sharing-retention-section,
  .page-gdpr__contact-faq-section,
  .page-gdpr__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

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

  /* Mobile 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;
  }

  .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: 0 !important; /* Buttons themselves have padding */
    padding-right: 0 !important;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  /* Video responsiveness (if any, though not in this specific page) */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.3em, 6vw, 1.8em);
  }

  .page-gdpr__hero-section {
    padding: 30px 10px;
  }

  .page-gdpr__container {
    padding: 20px 10px;
  }

  .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}

.page-gdpr .highlight {
  color: var(--primary-color);
}

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