/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Default text color for the dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-gdpr__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__text-block--center {
  text-align: center;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

.page-gdpr__list-protection {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-protection li {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #ffffff;
}

.page-gdpr__list-title {
  font-size: 1.3em;
  color: #FFFF00; /* Register/Login Font color */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  box-sizing: border-box;
}

.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;
  display: block;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.page-gdpr__cta-button {
  display: block;
  width: fit-content;
  margin: 20px auto 0 auto;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login Font color */
  border: 2px solid #C30808;
}

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

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

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

.page-gdpr__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

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

.page-gdpr__image-wrapper {
  flex: 1;
  min-width: 200px;
}

.page-gdpr__image-wrapper--center {
  text-align: center;
  margin-top: 30px;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-gdpr__commitment-item {
  background: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__commitment-item .page-gdpr__item-title {
  color: #017439;
}

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

.page-gdpr__right-item {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__right-item .page-gdpr__item-title {
  color: #FFFF00; /* Register/Login Font color */
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-gdpr__detail-block {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__detail-block .page-gdpr__block-title {
  font-size: 1.3em;
  color: #FFFF00; /* Register/Login Font color */
  margin-top: 0;
  margin-bottom: 15px;
}

.page-gdpr__faq-section {
  padding: 60px 0;
}

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

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

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: #017439;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  list-style: none; /* Hide default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

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

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

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

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

.page-gdpr__contact-section {
  padding: 60px 0;
}

.page-gdpr__contact-details {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-gdpr__contact-info {
  flex: 1;
  color: #f0f0f0;
}

.page-gdpr__contact-link {
  color: #FFFF00; /* Register/Login Font color */
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
}

/* Section background colors */
.page-gdpr__dark-section {
  background-color: #017439; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: #017439;
}

.page-gdpr__light-bg .page-gdpr__description,
.page-gdpr__light-bg .page-gdpr__text-block,
.page-gdpr__light-bg .page-gdpr__list li {
  color: #333333;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-gdpr__content-grid,
  .page-gdpr__contact-details {
    flex-direction: column;
  }
  .page-gdpr__image-wrapper,
  .page-gdpr__contact-info {
    width: 100%;
  }
  .page-gdpr__hero-content {
    padding: 30px;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__description,
  .page-gdpr__text-block,
  .page-gdpr p,
  .page-gdpr li {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-gdpr__hero-section,
  .page-gdpr__introduction,
  .page-gdpr__what-is-gdpr,
  .page-gdpr__our-commitment,
  .page-gdpr__your-rights,
  .page-gdpr__data-protection,
  .page-gdpr__data-processing,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section,
  .page-gdpr__container,
  .page-gdpr__hero-content,
  .page-gdpr__commitment-item,
  .page-gdpr__right-item,
  .page-gdpr__detail-block,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Video responsiveness (though not present, for completeness) */
  .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;
  }

  /* Button responsiveness */
  .page-gdpr__cta-button,
  .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;
  }
  .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;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
  }

  .page-gdpr__hero-content {
    padding: 20px;
  }
  .page-gdpr__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
}