/* style/gdpr.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --login-button-color: #EA7C07;
  --background-color-light: #FFFFFF;
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  color: var(--text-color-light);
  background-color: var(--primary-color);
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 40px; /* Space between image and text */
  border-radius: 8px;
}

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

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

.page-gdpr__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, 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: var(--login-button-color);
  color: var(--secondary-color);
  border: 2px solid var(--login-button-color);
}

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

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

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

.page-gdpr__content-area,
.page-gdpr__rights-section,
.page-gdpr__data-handling-section,
.page-gdpr__faq-section,
.page-gdpr__contact-section {
  padding: 60px 20px;
  color: var(--text-color-dark);
}

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

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

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

.page-gdpr__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__rights-section,
.page-gdpr__data-handling-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-gdpr__rights-section .page-gdpr__container,
.page-gdpr__data-handling-section .page-gdpr__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.page-gdpr__image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto 40px;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding-left: 20px;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

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

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

.page-gdpr__medium-bg {
  background-color: #f5f5f5; /* A slightly off-white for contrast */
  color: var(--text-color-dark);
}

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

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

.page-gdpr__faq-item details > summary {
  list-style: none;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid transparent;
}

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

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

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-color-dark);
  background-color: var(--secondary-color);
}

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

.page-gdpr__link {
  color: var(--login-button-color);
  text-decoration: underline;
  font-weight: 600;
}

.page-gdpr__link:hover {
  color: darken(var(--login-button-color), 10%);
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-gdpr__rights-section .page-gdpr__container,
  .page-gdpr__data-handling-section .page-gdpr__container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
  }

  .page-gdpr__rights-section .page-gdpr__text-block,
  .page-gdpr__data-handling-section .page-gdpr__text-block {
    width: calc(60% - 40px);
  }

  .page-gdpr__rights-section .page-gdpr__image,
  .page-gdpr__data-handling-section .page-gdpr__image {
    width: calc(40% - 40px);
    margin: 0;
  }

  .page-gdpr__image--left {
    order: 1;
    float: none;
  }

  .page-gdpr__image--right {
    order: 2;
    float: none;
  }

  .page-gdpr__rights-section .page-gdpr__text-block {
    order: 1;
  }

  .page-gdpr__data-handling-section .page-gdpr__text-block {
    order: 2;
  }

  .page-gdpr__list {
    margin-left: 0;
    padding-left: 0;
  }
}

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

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

  .page-gdpr__hero-image {
    margin-bottom: 30px;
  }

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

  .page-gdpr__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-gdpr__content-area,
  .page-gdpr__rights-section,
  .page-gdpr__data-handling-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section {
    padding: 40px 15px;
  }

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .page-gdpr__text-block {
    font-size: 0.95rem;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    float: none;
    margin: 20px auto;
  }

  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-gdpr__faq-answer {
    font-size: 0.95rem;
    padding: 15px 20px;
  }

  .page-gdpr__faq-toggle {
    font-size: 1.2rem;
  }
}

/* Ensure all images and video elements are responsive */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__section,
.page-gdpr__card,
.page-gdpr__container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}