/* style/gdpr.css */

/* --- Base Styles --- */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Default body background is white */
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't exceed container */
}

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

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

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

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

/* --- Content Section --- */
.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #ffffff; /* Explicitly light background */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__article-wrap {
  max-width: 900px; /* Slightly narrower for readability */
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__section-title {
  font-size: 2.2rem;
  color: #017439;
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.3;
}

.page-gdpr__section-title:first-of-type {
  margin-top: 0;
}

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.page-gdpr strong {
  color: #017439;
}

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

.page-gdpr__image-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 auto; /* Center image */
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-gdpr__image-caption {
  font-size: 0.95rem;
  color: #666666;
  margin-top: 10px;
}

/* --- Principles List --- */
.page-gdpr__principles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__principle-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__principle-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-gdpr__principle-title {
  font-size: 1.4rem;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

/* --- Rights List (UL) --- */
.page-gdpr__rights-list {
  list-style: none; /* Remove default list style */
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__rights-item {
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #017439; /* Highlight with brand color */
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-gdpr__rights-title {
  font-size: 1.3rem;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

/* --- Security Measures List (UL) --- */
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__security-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 18px 25px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  font-size: 1.05rem;
}