/* style/gdpr.css */
:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --background-color: #F5F7FA;
  --border-color: #E0E0E0;
  --header-offset: 0px; /* Will be set by shared.css or overridden if needed */
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color for light body background */
  background-color: var(--background-color);
}

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

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding as body will handle header offset */
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for hero image */
}

.page-gdpr__hero-content {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background for text */
  border-radius: 8px;
  margin-top: 20px; /* Separate image and text vertically */
  max-width: 800px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-gdpr__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-gdpr__subtitle {
  font-size: 1.2em;
  color: var(--text-main-color);
  margin-bottom: 0;
}

.page-gdpr__section-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__text-block {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-gdpr__list-item {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.page-gdpr__light-bg {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}

.page-gdpr__dark-section {
  background-color: var(--primary-color);
  color: #ffffff;
}

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

.page-gdpr__dark-section .page-gdpr__link {
  color: #ffffff;
  text-decoration: underline;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__link:hover {
  text-decoration: underline;
}

.page-gdpr__contact-methods {
  text-align: center;
  margin-top: 30px;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.2em;
  }

  .page-gdpr__subtitle {
    font-size: 1.1em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

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

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

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-gdpr__hero-image {
    max-height: 400px; /* Adjust hero image height for mobile */
  }

  .page-gdpr__hero-content {
    margin-top: 15px;
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

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

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

  .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr__contact-item {
    font-size: 0.95em;
  }

  .page-gdpr__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 15px auto;
  }

  .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;
    font-size: 1em;
  }

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

  /* As this is not a homepage, the specific mobile rules for hero-carousel-section (slider), 
     guide-box (5 team cards), home-content-box (700px scroll), and blog-grid are not applicable. 
     General image and button responsiveness are handled above. */
  /* General content sections */
  .page-gdpr__section {
    padding: 20px 0;
  }

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