.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #F5F7FA; /* Matches body background */
}

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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background-color: #F5F7FA;
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for desktop hero image */
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop to fill space */
}

.page-gdpr__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
  background-color: #F5F7FA;
  border-radius: 8px;
  margin-top: -80px; /* Overlap slightly for visual effect, but content is below image */
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: #E53935;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-gdpr__description {
  font-size: clamp(1em, 1.2vw, 1.2em);
  color: #333333;
  margin-bottom: 30px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-gdpr__light-bg {
  background-color: #F5F7FA;
  color: #333333;
  padding: 80px 0;
}

.page-gdpr__dark-bg {
  background-color: #E53935;
  color: #ffffff;
  padding: 80px 0;
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__text-block,
.page-gdpr__dark-bg .page-gdpr__principle-title,
.page-gdpr__dark-bg .page-gdpr__principle-description,
.page-gdpr__dark-bg .page-gdpr__data-type-title,
.page-gdpr__dark-bg .page-gdpr__data-type-description,
.page-gdpr__dark-bg .page-gdpr__contact-list,
.page-gdpr__dark-bg .page-gdpr__contact-item strong {
  color: #ffffff;
}

.page-gdpr__principles-list,
.page-gdpr__data-types-list,
.page-gdpr__security-measures-list,
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 30px;
}

.page-gdpr__principles-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-gdpr__principle-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-gdpr__principle-item:hover {
  transform: translateY(-5px);
}

.page-gdpr__principle-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #ffffff;
}

.page-gdpr__principle-description {
  font-size: 1em;
  line-height: 1.6;
  color: #ffffff;
}

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

.page-gdpr__card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid #E0E0E0;
  color: #333333;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-gdpr__card-title {
  font-size: 1.3em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #333333;
}

.page-gdpr__data-type-item,
.page-gdpr__measure-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-gdpr__data-type-item:hover,
.page-gdpr__measure-item:hover {
  transform: translateY(-5px);
}

.page-gdpr__data-type-title,
.page-gdpr__measure-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #ffffff;
}

.page-gdpr__data-type-description,
.page-gdpr__measure-description {
  font-size: 1em;
  line-height: 1.6;
  color: #ffffff;
}

.page-gdpr__contact-list {
  padding-left: 20px;
  text-align: left;
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-gdpr__contact-item a {
  color: #FFD700; /* Highlight links in dark section */
  text-decoration: underline;
}

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

.page-gdpr__commitment-section .page-gdpr__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* General image styling for content areas */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__container {
    padding: 20px 30px;
  }

  .page-gdpr__hero-content {
    margin-top: -60px;
    padding: 30px 20px;
  }

  .page-gdpr__section-title {
    padding-top: 40px;
  }

  .page-gdpr__light-bg, .page-gdpr__dark-bg {
    padding: 60px 0;
  }

  .page-gdpr__principles-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-gdpr__rights-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

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

  .page-gdpr__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important;
  }

  .page-gdpr__hero-image {
    object-fit: contain !important; /* Mobile hero image should contain, not crop */
    max-height: 300px;
    aspect-ratio: unset;
  }

  .page-gdpr__hero-content {
    margin-top: -40px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }

  .page-gdpr__description {
    font-size: 1em;
  }

  .page-gdpr__btn-primary {
    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__section-title {
    font-size: 1.8em;
    padding-top: 30px;
    margin-bottom: 30px;
  }

  .page-gdpr__text-block {
    font-size: 1em;
  }

  .page-gdpr__light-bg, .page-gdpr__dark-bg {
    padding: 40px 0;
  }

  .page-gdpr__principles-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__principle-item {
    padding: 20px;
  }

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

  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

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

  .page-gdpr__data-types-list,
  .page-gdpr__security-measures-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__data-type-item,
  .page-gdpr__measure-item {
    padding: 20px;
  }

  .page-gdpr__data-type-title,
  .page-gdpr__measure-title {
    font-size: 1.2em;
  }

  .page-gdpr__contact-list {
    padding-left: 15px;
  }

  .page-gdpr__contact-item {
    font-size: 1em;
  }

  /* Universal image/container mobile adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__security-section,
  .page-gdpr__contact-section,
  .page-gdpr__commitment-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}