/* style/gdpr.css */

/* General page styling */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Fallback to white if var is not set */
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.page-gdpr__hero-section {
  background-color: #f8f8f8; /* Light background for hero */
  padding: 60px 0;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-gdpr__hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-gdpr__main-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
}

/* Content Sections */
.page-gdpr__content-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__data-processing-section,
.page-gdpr__security-section,
.page-gdpr__contact-section {
  padding: 50px 0;
}

.page-gdpr__section-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr__content-section p,
.page-gdpr__content-section li,
.page-gdpr__principles-section p,
.page-gdpr__principles-section li,
.page-gdpr__rights-section p,
.page-gdpr__rights-section li,
.page-gdpr__data-processing-section p,
.page-gdpr__data-processing-section li,
.page-gdpr__security-section p,
.page-gdpr__security-section li,
.page-gdpr__contact-section p,
.page-gdpr__contact-section li {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
}

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

/* Dark Background Sections */
.page-gdpr__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text for contrast */
  padding: 50px 0;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #ffffff; /* White title for dark background */
}

/* Images */
.page-gdpr__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body already handles offset */
  }
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__description {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__security-section,
  .page-gdpr__contact-section {
    padding: 30px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__hero-image,
  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.3em;
  }
}