/* style/gdpr.css */
/*
  Body background color is #FFFFFF from shared.css (var(--background-color)).
  Therefore, main text color should be dark (#333333) to ensure contrast.
*/

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff; /* Explicitly setting background for safety, though body handles it */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  background-color: #f0f0f0; /* Light background for hero section */
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  height: auto;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and text */
  border-radius: 8px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

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

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

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: -40px; /* Overlap with hero section for visual flow */
  position: relative;
  z-index: 1;
}

.page-gdpr__section-title {
  font-size: 2em;
  font-weight: 600;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-gdpr__section-title--white {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 1em;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Example max-width, ensuring min 200px */
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum display size */
  min-height: 200px; /* Minimum display size */
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box; /* For responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

/* Specific button colors for login/register if present, using custom colors */
.page-gdpr__btn-register {
  background-color: #C30808; /* Custom Register color */
  color: #FFFF00; /* Custom Register Font color */
  border: 2px solid #C30808;
}
.page-gdpr__btn-register:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-gdpr__btn-login {
  background-color: #C30808; /* Custom Login color */
  color: #FFFF00; /* Custom Login Font color */
  border: 2px solid #C30808;
}
.page-gdpr__btn-login:hover {
  background-color: #a30606;
  border-color: #a30606;
}

/* User Rights List */
.page-gdpr__user-rights-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-gdpr__user-rights-list li {
  margin-bottom: 10px;
  color: #333333;
}