/* style/gdpr.css */

/* BEM Naming Convention: page-gdpr__element-name */
/* Colors: Main #26A9E0, Auxiliary #FFFFFF, Login #EA7C07 */

.page-gdpr {
  /* body padding-top is handled by shared.css var(--header-offset) */
  /* Default text color for dark body background */
  color: #f0f0f0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--black-color);
  color: #ffffff;
  text-align: center;
}

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

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

.page-gdpr__hero-content {
  max-width: 800px;
  width: 100%;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Section Styling */
.page-gdpr__content-section {
  padding: 80px 0;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 600;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

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

/* Color Contrast Handling */
.page-gdpr__dark-bg {
  background-color: var(--black-color); /* Assuming var(--black-color) is dark */
  color: #f0f0f0;
}

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

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg a {
  color: #26A9E0;
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg a {
  color: #26A9E0;
}

/* Image with Text Block */
.page-gdpr__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

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

.page-gdpr__image-text-block .page-gdpr__image-content {
  flex: 1;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__image-text-block .page-gdpr__text-content {
  flex: 1;
  max-width: 50%;
}

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

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__cta-button {
  display: inline-block;
  background-color: #26A9E0; /* Main color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  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,
.page-gdpr__cta-button:hover {
  background-color: #1e87c0;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 80px 0;
  background-color: var(--black-color);
  color: #f0f0f0;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #f0f0f0;
}

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

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

.page-gdpr__faq-question {
  font-size: 1.1em;
  color: #26A9E0;
}

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

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  color: #f0f0f0;
}

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-gdpr__cta-section .page-gdpr__section-title {
  color: #333333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__image-text-block {
    flex-direction: column;
    text-align: center;
  }

  .page-gdpr__image-text-block .page-gdpr__image-content,
  .page-gdpr__image-text-block .page-gdpr__text-content {
    max-width: 100%;
    flex: none;
  }
}

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

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

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

  .page-gdpr__description {
    font-size: 1em;
  }

  .page-gdpr__content-section {
    padding: 50px 0;
  }

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

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

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

  /* Responsive Buttons */
  .page-gdpr__btn-primary,
  .page-gdpr__cta-button,
  .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: 12px 20px;
  }

  .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__cta-buttons {
    display: flex;
    flex-direction: column;
  }

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

  .page-gdpr__faq-item summary {
    padding: 15px;
  }

  .page-gdpr__faq-question {
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px 15px 15px;
  }
}