/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: var(--secondary-color, #ffffff); /* Assuming var(--secondary-color) is white */
}

/* Container for main content width */
.page-gdpr__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared */
  padding-bottom: 40px;
  text-align: center;
  background-color: #f8f8f8; /* Light background for hero */
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size */
  font-weight: 700;
  color: #26A9E0; /* Primary color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  width: 100%; /* Ensure container width for mobile */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0; /* Primary color */
  color: #ffffff; /* White text for contrast */
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
  background-color: #1e87c0; /* Slightly darker */
  border-color: #1e87c0;
}

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Primary color for text */
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #e0f2f7; /* Light background */
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 50px 0;
}

.page-gdpr__dark-section {
  background-color: #26A9E0; /* Primary color background */
  color: #ffffff; /* White text for contrast */
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.2em); /* Responsive font size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__article-wrap {
  max-width: 900px; /* Max width for article content */
  margin: 0 auto;
}

.page-gdpr__text-block {
  margin-bottom: 25px;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em); /* Responsive font size */
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__dark-section .page-gdpr__sub-title {
  color: #ffffff;
}

/* Lists */
.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 25px;
}

.page-gdpr__list--numbered {
  list-style: decimal;
}

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

/* Images */
.page-gdpr__image-figure {
  margin: 30px 0;
  text-align: center;
}

.page-gdpr__image-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__image-caption {
  font-style: italic;
  font-size: 0.9em;
  color: inherit;
  margin-top: 10px;
}

/* Info Card */
.page-gdpr__info-card {
  background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
  border-left: 5px solid #EA7C07; /* Orange accent */
  padding: 25px;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333; /* Dark text for light background */
}

.page-gdpr__card-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #EA7C07; /* Orange color */
  margin-bottom: 15px;
}

/* Promo Box (similar to info card but with CTA) */
.page-gdpr__promo-box {
  background-color: rgba(255, 255, 255, 0.9);
  border-left: 5px solid #26A9E0; /* Primary color accent */
  padding: 25px;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
}

.page-gdpr__promo-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-gdpr__promo-text {
  margin-bottom: 20px;
}

/* Links within content */
.page-gdpr__link {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #1e87c0;
}

/* Copyright Section */
.page-gdpr__copyright-section {
  background-color: #1a1a1a; /* Dark footer background */
  color: #cccccc;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9em;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Top section (title + CTA) */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important; /* Full width for buttons */
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Single column long text container */
  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .page-gdpr__sub-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  /* Universal images and figures */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__image-figure {
    margin: 20px 0;
  }

  .page-gdpr__image-caption {
    font-size: 0.85em;
  }

  /* Card and Promo Box */
  .page-gdpr__info-card,
  .page-gdpr__promo-box {
    padding: 20px;
    margin-top: 30px;
  }

  .page-gdpr__card-title,
  .page-gdpr__promo-title {
    font-size: 1.1em;
    margin-bottom: 10px;
  }

  /* Footer */
  .page-gdpr__copyright-section {
    padding: 15px 0;
  }

  .page-gdpr__copyright-text {
    font-size: 0.8em;
  }

  /* Ensure content containers also adapt */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__article-wrap {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}