/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  padding-top: 10px; /* Aligns with common header offset strategy */
  padding-bottom: 60px;
  background-color: #ffffff;
  text-align: center;
}

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

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

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  color: #017439; /* Brand primary color */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.15rem;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-gdpr__cta-buttons--center {
    justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary,
.page-gdpr__text-link {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for button responsiveness */
  max-width: 100%; /* Ensure buttons adapt to container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Custom Register/Login color */
  color: #FFFF00; /* Custom Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__text-link {
    color: #017439;
    text-decoration: underline;
    padding: 0;
    border: none;
    background: none;
    font-weight: normal;
}
.page-gdpr__text-link:hover {
    color: #005f2e;
    text-decoration: none;
}


/* General Content Sections */
.page-gdpr__section {
  padding: 40px 0;
}

.page-gdpr__content-area {
  background-color: #ffffff; /* Explicitly set for light sections */
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #017439; /* Brand primary color as background */
  color: #ffffff; /* White text for dark background */
}

.page-gdpr__heading-2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #017439;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

.page-gdpr__heading-2--white {
  color: #ffffff;
}

.page-gdpr__heading-3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__heading-3--white {
  color: #ffffff;
}

.page-gdpr__paragraph {
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-gdpr__paragraph--white {
  color: #ffffff;
}

/* Images within content */
.page-gdpr__image-full-width {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Copyright Section */
.page-gdpr__copyright-section {
  padding: 20px 0;
  background-color: #017439; /* Brand primary color */
  text-align: center;
}

.page-gdpr__copyright-text {
  font-size: 0.9rem;
  color: #ffffff;
  margin: 0;
}

/* --- Responsive Styles (Mobile) --- */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px; /* Smaller padding on mobile */
  }

  /* HERO Section */
  .page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, body handles main offset */
    padding-bottom: 40px;
  }

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

  .page-gdpr__main-title {
    font-size: 2rem; /* Fixed font size for mobile H1 */
    margin-bottom: 15px;
  }

  .page-gdpr__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* CTA Buttons (Mobile) */
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .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;
  }

  /* General Content Sections (Mobile) */
  .page-gdpr__section {
    padding: 30px 0;
  }

  .page-gdpr__heading-2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-gdpr__heading-3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__paragraph {
    font-size: 0.95rem;
  }

  /* Images (Mobile) */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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;
  }
}