/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px; /* Base padding for desktop */
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #FFFFFF; /* Light background for hero */
  text-align: center;
  box-sizing: border-box;
}

.page-gdpr__container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for content alignment */
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 20px;
  box-sizing: border-box;
}

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

.page-gdpr__content-section.page-gdpr__dark-bg {
  background-color: #26A9E0; /* Brand main color for dark sections */
  color: #FFFFFF; /* White text for contrast */
}

.page-gdpr__content-section.page-gdpr__dark-bg .page-gdpr__link {
  color: #FFFFFF; /* Ensure links are visible on dark background */
  text-decoration: underline;
}
.page-gdpr__content-section.page-gdpr__dark-bg .page-gdpr__link:hover {
  color: #f0f0f0;
}


.page-gdpr__text-block {
  font-size: 1rem;
  line-height: 1.7;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 25px;
  color: inherit; /* Inherit color from parent section (light/dark bg) */
  text-align: center;
}

.page-gdpr__sub-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  margin-top: 35px;
  margin-bottom: 15px;
  color: inherit; /* Inherit color from parent section */
}

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

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

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

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

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

/* Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 200px; /* Ensure buttons are not too small */
  max-width: 100%; /* Ensure buttons adapt to container */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Brand color for secondary action */
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1a7bbd;
  border-color: #1a7bbd;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-section,
  .page-gdpr__content-section {
    padding: 40px 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
}

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

  .page-gdpr__hero-section,
  .page-gdpr__content-section {
    padding: 30px 15px;
  }

  .page-gdpr__container {
    padding: 0 10px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__list {
    margin-left: 20px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min image size for mobile */
    min-height: 200px !important; /* Enforce min image size for mobile */
  }
  
  /* Mobile container responsiveness */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__content-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile button responsiveness */
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    margin-top: 30px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

/* Ensure no filter is applied to images */
.page-gdpr img {
  filter: none !important;
}

/* Ensure content area images maintain minimum size */
.page-gdpr__content-section img {
  min-width: 200px;
  min-height: 200px;
}
@media (max-width: 768px) {
  .page-gdpr__content-section img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}