/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set body background color to white */
}

.page-gdpr__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  padding-bottom: 40px;
  overflow: hidden;
  color: #333333; /* Dark text for light hero section */
  background-color: #f8f8f8;
}

.page-gdpr__hero-image {
  width: 100%;
  max-height: 400px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-gdpr__main-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.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: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Custom color for register/login type buttons */
  color: #FFFF00; /* Custom font color */
  border: 2px solid #C30808;
}

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

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

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

.page-gdpr__section {
  padding: 60px 0;
}

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

.page-gdpr__section-title {
  font-size: 2em;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__content-area p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-gdpr__principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-gdpr__card-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-gdpr__card p {
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-gdpr__card img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 15px;
}

.page-gdpr__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__dark-section p {
  color: #f0f0f0;
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__rights-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.05em;
  line-height: 1.5;
}

.page-gdpr__rights-item strong {
  color: #FFFF00; /* Highlight for key terms */
}

.page-gdpr__rights-image {
  margin-top: 40px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__highlight {
  color: #017439;
  font-weight: 600;
}

.page-gdpr__commitment-image {
  margin-top: 40px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__implementation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__implementation-steps .page-gdpr__card a {
  margin-top: 15px;
  display: inline-block;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__contact-item {
  background-color: rgba(255, 255, 255, 0.15);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.05em;
}

.page-gdpr__contact-item a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-gdpr__contact-item a:hover {
  color: #fff;
}

.page-gdpr__conclusion-section .page-gdpr__cta-buttons {
  margin-top: 40px;
}

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

  .page-gdpr__hero-section {
    padding-top: 10px; /* Ensure small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: 1.8em;
    padding: 0 10px;
  }

  .page-gdpr__description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .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;
  }

  .page-gdpr__section {
    padding: 40px 0;
  }

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

  .page-gdpr__section-title {
    font-size: 1.5em;
    margin-bottom: 30px;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__implementation-steps {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }

  .page-gdpr__rights-list,
  .page-gdpr__contact-list {
    padding: 0 10px;
  }

  .page-gdpr__rights-item,
  .page-gdpr__contact-item {
    padding: 15px;
    font-size: 1em;
  }
}